licp
2024-12-25 7e15a84f1f30803d32c12afe3f80ac24c12b2e46
src/components/view/a7-sample-disposal.vue
@@ -8,7 +8,7 @@
    </el-row>
    <el-tabs type="border-card" v-model="activeName" style="height: 100%;" @tab-click="tabClick">
      <el-tab-pane label="填写" name="填写" style="height: 100%;" :key="1">
        <el-button size="small" type="primary" @click="handleAdd0" style="margin-left: 20px;" v-if="addPower&&currentInfo.examineState!='通过'">新增</el-button>
        <el-button size="small" type="primary" @click="handleAdd0" style="margin-left: 20px;" v-if="addPower&&currentInfo.submitState!='已提交'">新增</el-button>
        <div class="table" style="height: calc(100% - 200px)" v-if="activeName=='填写'">
          <ValueTable ref="ValueTable0" :url="$api.processTotaldeal.pageProcessDeal"
      :componentData="componentData0" :key="upIndex0" :delUrl="$api.processTotaldeal.delProcessDeal" />
@@ -300,17 +300,11 @@
            font: '修改',
            type: 'text',
            method: 'handleAdd0',
            disabFun: (row, index) => {
                    return !this.addPower||this.currentInfo.examineState=='通过'
            }
          },{
            id: 'delete',
            font: '删除',
            type: 'text',
            method: 'doDiy',
            disabFun: (row, index) => {
                    return !this.addPower||this.currentInfo.examineState=='通过'
            }
          }],
          tagField: {},
          selectField: {},
@@ -336,7 +330,7 @@
      if(val1=='填写'){
        this.componentData0.do.forEach((item)=>{
          item.disabFun = (row, index) => {
            return !this.addPower||this.currentInfo.examineState=='通过'
            return !this.addPower||this.currentInfo.submitState=='已提交'
          }
        })
      }