zhangxiaoxu
2025-11-25 0f9b3d3417d1b9f9d1db6e818cd02b4de2867987
pages/home/home.vue
@@ -221,9 +221,9 @@
      </view>
      <!-- 日计划 -->
      <combined-title title="日发运计划" detailsPath="/pages/jihua/jihua" v-if="rijihuaMenu"></combined-title>
      <combined-title title="日发运计划" detailsPath="/pages/jihua/jihua"></combined-title>
      <view class="card-group bottomChild">
         <combination-card class="card" :showTop="false" v-for="(item, index) in fyData.slice(0, 2)" :key="item.id" v-if="rijihuaMenu">
         <combination-card class="card" :showTop="false" v-for="(item, index) in fyData.slice(0, 2)" :key="item.id">
            <template v-slot:top></template>
            <template v-slot:center>
               <view class="main-block-box">
@@ -352,6 +352,7 @@
   },
   computed: {
      rijihuaMenu() {
      console.log(this.$store.state.rijihuaMenu,'this.$store.state.rijihuaMenu==============',this.$store.state)
         return this.$store.state.rijihuaMenu;
      },
      shenqingMenu() {
@@ -420,8 +421,14 @@
         // dataSeletText: '请选择状态',
         // 驳回请求
         rejectForm: {
            procInstIds: '',
            comment: ''
        id: "",
        procInstId: "",
        comment: "",
        type: 0,
        backTaskKey: "-1",
        sendMessage: true,
        sendSms: true,
        sendEmail: true,
         },
         modalType: 0,
         // 删除申请模态框
@@ -579,6 +586,7 @@
         };
         this.$reqGet('xscarshippingdayplan', params)
            .then(res => {
          console.log('发运日计划----------------------------------',res)
               if (res.code == 0) {
                  this.fyData = res.data.records;
                  uni.hideLoading();
@@ -684,15 +692,20 @@
      },
      // 驳回
      rejectClick(v) {
      console.log('驳回====',v)
         this.modalType = 1;
         this.rejectModalShow = true;
         this.rejectForm.procInstIds = v.procInstId;
         this.rejectForm.procInstId = v.procInstId;
      this.rejectForm.id = v.id;
      this.rejectForm.procDefId = v.procDefId;
      this.rejectForm.priority = v.priority;
      this.rejectForm.type = 1;
      },
      // 驳回模态框
      rejectModalConfirm() {
         this.rejectModalShow = false;
         this.$reqPost('backAll', this.rejectForm).then(res => {
         this.$reqPost('back', this.rejectForm).then(res => {
            if (res.code == 0) {
               this.$u.toast('操作成功!');
            } else {
@@ -856,6 +869,7 @@
};
</script>
<style lang="scss" scoped>
::v-deep.home {
   width: 100%;