Browse Source

委外验收弹窗title

Shan9312 2 months ago
parent
commit
d504db0173
1 changed files with 12 additions and 6 deletions
  1. 12 6
      src/views/maintenance/subcontractingMainten/tabPage/tab1.vue

+ 12 - 6
src/views/maintenance/subcontractingMainten/tabPage/tab1.vue

@@ -92,9 +92,9 @@
         <el-table-column label="操作" align="center" width="260" class-name="small-padding fixed-width" fixed="right">
         <template slot-scope="{row}">
           <el-button   type="primary" size="mini" @click="form_see(row)">查看</el-button>
-          <el-button v-if="istab1Edit && (row.status !== 0) && (row.status !== 1) "  type="success" size="mini" @click="form_edit(row)">编辑</el-button>
+          <el-button v-if="istab1Edit && (row.status !== 0) && (row.status !== 1) && row.isPasturd "  type="success" size="mini" @click="form_edit(row)">编辑</el-button>
           <el-button v-if="istab1Del && (row.status !== 1) && row.isPasturd "  type="danger" size="mini" @click="form_delete(row)">删除</el-button>
-          <el-button  v-if="row.status !== 0  && row.status !== 1"  style="display:inline-block" type="success" size="mini" @click="form_submit(row)">提交</el-button>
+          <el-button  v-if="row.status !== 0  && row.status !== 1 && row.isPasturd"  style="display:inline-block" type="success" size="mini" @click="form_submit(row)">提交</el-button>
           <!-- <el-button  v-if="row.isAcceptance == 0"  style="display:inline-block" type="warning" size="mini" @click="form_closeSubmit(row)">关单</el-button> -->
 
           <el-button  v-if="istab1Shenhe1 && (row.status== 0) && (row.flowCompeleted == 1) && row.isPasturd "  style="display:inline-block" type="success" size="mini" @click="form_examine(row)">审核1</el-button>
@@ -561,7 +561,10 @@ export default {
         examine22: '审核2',
         examine2: '审核3',
         examine33: '审核4',
-        examine3: '审核5'
+        examine3: '审核5',
+        check1: "部门负责人审核",
+        check2: "财务负责人审核",
+        check3: "场长审核"
       },
 
       istab1Add:[],
@@ -1372,7 +1375,8 @@ export default {
         this.$set(this.examineTemp, 'status', 1)
         this.$set(this.examineTemp, 'workflowNote', '')
       }
-      this.dialogStatus = 'examine'
+      // this.dialogStatus = 'examine'
+      this.dialogStatus = 'check1'
       this.dialogFormVisible_Examine = true
       this.statueReason = false
     },
@@ -1442,7 +1446,8 @@ export default {
         this.$set(this.examineTemp, 'status', 1)
         this.$set(this.examineTemp, 'workflowNote', '')
       }
-      this.dialogStatus = 'examine'
+      // this.dialogStatus = 'examine'
+       this.dialogStatus = 'check2'
       this.statueReason = false
       this.dialogFormVisible_Examine = true
       // GetDataByName(this.getParmCreateNumber).then(response => {
@@ -1586,7 +1591,8 @@ export default {
         this.$set(this.examineTemp, 'status', 1)
         this.$set(this.examineTemp, 'workflowNote', '')
       }
-      this.dialogStatus = 'examine'
+      // this.dialogStatus = 'examine'
+       this.dialogStatus = 'check3'
       this.dialogFormVisible_Examine = true
       this.statueReason = false
     },