licp
2024-03-21 619bbd1e67aa607ae9ab778be49ad68b88d58e3c
src/components/view/b1-inspect-order-plan.vue
@@ -127,7 +127,7 @@
            :url="$api.insOrderPlan.selectInsOrderPlanList" :upUrl="$api.user.updateUser" :componentData="componentData"
            :key="upIndex" @upUser="upUser" />
      </div>
      <el-dialog title="提示" :visible.sync="claimVisible" width="40%">
      <el-dialog title="提示" :visible.sync="claimVisible" width="400px">
         是否认领委托编号<span style="color:#33C130">{{sampleUserForm.entrustCode}}</span>的任务
         <span slot="footer" class="dialog-footer">
            <el-button @click="claimVisible = false">取 消</el-button>
@@ -166,7 +166,7 @@
               entity: {
                  viewSelf: false,
                  state: 1,
                  childrenLaboratory: null,
                  sonLaboratory: null,
                  insState: null,
                  sampleName: null,
                  orderBy: {
@@ -177,6 +177,7 @@
               isIndex: true,
               showSelect: false,
               select: false,
               sort: false,
               do: [{
                     id: '',
                     font: '检验',
@@ -228,16 +229,6 @@
         this.$nextTick(() => {
            this.refreshTable()
         })
      },
      watch: {
         tabList(newVal) {
            if (newVal && newVal.length > 0) {
               this.componentData.entity.childrenLaboratory = newVal[0].value
               this.$nextTick(() => {
                  this.refreshTable()
               })
            }
         }
      },
      methods: {
         upUser() {
@@ -308,7 +299,7 @@
         },
         handleTab(m, i) {
            this.tabIndex = i;
            this.componentData.entity.childrenLaboratory = m.value
            this.componentData.entity.sonLaboratory = m.value
            this.refreshTable()
         },
         getTypeDicts() {
@@ -357,11 +348,8 @@
                     value: ele.value
                  }
               })
               this.$nextTick(() => {
                  this.componentData.entity.childrenLaboratory = this.tabList[0].value
               })
            })
         }
      }
   }
</script>
</script>