licp
2024-11-27 4971b8fecd0c82f9a5e0a9301644653e99dfe66f
src/components/view/b1-inspection-order.vue
@@ -506,6 +506,12 @@
         Add,
      vueQr
      },
    props:{
      param: {
        type: Object,
        default: () => {}
      }
    },
      data() {
         return {
        deleteTilte:'撤销',
@@ -556,6 +562,7 @@
                  //    order: ''
                  // }
               },
          init:false,
               isIndex: true,
               showSelect: true,
               select: true,
@@ -825,6 +832,14 @@
          this.checkDataList = []
          this.isIndeterminate = true;
        }
      },
      param(val){
        if(val&&val.text){
          this.componentData.entity.entrustCode = this.param.text
          this.componentData.entity.state = 1;
          this.tabIndex = 1;
          this.refreshTable()
        }
      }
    },
    created() {
@@ -832,6 +847,14 @@
    },
      mounted() {
         this.entityCopy = this.HaveJson(this.componentData.entity)
      if(this.param&&this.param.text){
        this.componentData.entity.entrustCode = this.param.text
        this.componentData.entity.state = 1;
        this.tabIndex = 1;
        this.refreshTable()
      }else{
        this.refreshTable()
      }
         this.getPower()
         this.getUserMenu()
         this.getAuthorizedPerson()