quanyawei
2023-11-07 e1184e0a7f3dfab19d728fc116da51baa596e4ff
pages/actionChange/workOrderDetails/index.vue
@@ -3,7 +3,8 @@
      <basicInfor :basic-infor="basicInfor" />
      <rectificationInfor ref="rectificationInfor" :basic-infor="basicInfor"
         v-if="!(pageState === 'view' && basicInfor.state === 20)" />
      <approvalnfor ref="approvalnfor" v-if="basicInfor.state >= 30" :basic-infor="basicInfor" />
      <approvalnfor ref="approvalnfor" v-if="basicInfor.state >= 30 && basicInfor.stateName!=='待完成'"
         :basic-infor="basicInfor" />
      <view class="bunts">
         <view class="but butRight">
            <u-button shape="square" @click="refuse" type="error"
@@ -33,7 +34,8 @@
            basicInfor: {},
            unitListL: [],
            userInfor: null,
            show: false
            show: false,
            option: {}
         }
      },
      computed: {
@@ -49,8 +51,13 @@
         this.basicInfor = JSON.parse(option.infor)
         // let type = JSON.parse(option.type)
         console.log('option', option)
         this.option = option
      },
      async mounted() {
         //等待登录成功
         await this.$onLaunched
         this.userInfor = JSON.parse(uni.getStorageSync('userInfor') || 'null')
         if (option.type === 'share' && this.userInfor) {
         if (this.option.type === 'share' && this.userInfor) {
            let params = {
               allocationNum: this.basicInfor.allocationNum,
               userId: this.userInfor.userId
@@ -72,7 +79,7 @@
               }
            })
         }
         console.log('this.basicInfor ', this.basicInfor)
         console.log('this.basicInfor123', this.basicInfor)
      },
      methods: {
         closePop() {},