zouyu
2023-09-01 234e8f7af3e93f78e5384b64e26c2f23c659bfcc
src/views/experiment/planAssignments/plan.vue
@@ -106,7 +106,7 @@
            </el-table-column>
            <el-table-column label="操作" width="150">
               <template slot-scope="scope">
                  <el-button size="mini" type="primary" v-if="isIfReport(scope.row)"
                  <el-button size="mini" :disabled="!isIfReport(scope.row)" type="primary" v-if="scope.row.orderNum == '01'"
                     @click="addReported(scope.row.id)">上报</el-button>
                  <el-button size="mini" type="text" @click="openUpDia(scope.row)"
                     v-if="scope.row.orderNum=='02'">分配</el-button>
@@ -139,7 +139,7 @@
            <el-button @click="upDia = false">取 消</el-button>
         </span>
      </el-dialog>
      <el-dialog title="检验" :visible.sync="upInsDia" width="500px">
      <el-dialog title="检验" :visible.sync="upInsDia" width="600px">
         <div class="body" style="max-height: 50vh;overflow-y: auto;">
            <el-row style="line-height: 46px;">
               <el-col :span="5" style="font-size: 14px;text-align: right;">申请单编码:</el-col>
@@ -182,7 +182,7 @@
                           </el-input>
                        </template>
                     </el-table-column>
                     <el-table-column label="操作" width="60">
                     <el-table-column label="操作" width="80">
                        <template slot-scope="scope">
                           <el-button size="mini" type="text"
                              @click.native.prevent="deleteRow(scope.$index, upData.testValue)">删除</el-button>
@@ -264,7 +264,7 @@
            row.children.forEach(a => {
               if (a.testState != null && a.testState != undefined) count++
            })
            return row.testState == undefined && row.orderNum == '01' && count == row
            return row.testState == undefined && count == row
               .children.length
         },
         openUpDia(row) {
@@ -355,7 +355,7 @@
               this.upInsDia = false
               this.selectDataList()
               this.$confirm(
                  `<p style="line-height: 80px">您的项目(${this.upData.name})检验结果为:<span class="${res.data==1?'ins_state_success':'ins_state_error'}">${res.data==1?'合格':'不合格'}</span></p>`,
                  `<p style="line-height: 80px">您的项目(${this.upData.name})检验结果为:<span class="${res.data==1?'ins_state_success':'ins_state_error'}">${res.data==1?'合格':'不合格'}</span></p>`,
                  '提交成功', {
                     confirmButtonText: '确定',
                     cancelButtonText: '关闭',