Explorar el Código

技术交底表单

lamphua hace 1 año
padre
commit
6f9891bd0d

+ 6
- 0
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcProjectCommentController.java Ver fichero

@@ -105,6 +105,12 @@ public class CmcProjectCommentController extends BaseController
105 105
             cmcProjectComment.setManageApprover(getLoginUser().getUserId());
106 106
             cmcProjectComment.setManageApprovalTime(new Date());
107 107
         }
108
+        CmcProjectComment projectComment = cmcProjectCommentService.selectCmcProjectCommentByProjectId(cmcProjectComment.getProjectId());
109
+        StringBuilder scApprover = new StringBuilder();
110
+        if (!projectComment.getScApprover().equals("")) {
111
+            scApprover.append(projectComment.getScApprover()).append(",").append(cmcProjectComment.getScApprover());
112
+        }
113
+            cmcProjectComment.setScApprover(scApprover.substring(0, scApprover.length() - 1));
108 114
         return toAjax(cmcProjectCommentService.updateCmcProjectComment(cmcProjectComment));
109 115
     }
110 116
 

+ 2
- 1
oa-ui/src/views/flowable/form/carForm.vue Ver fichero

@@ -204,7 +204,8 @@
204 204
               <!-- 综合事务部管理人员填写 -->
205 205
               <el-form-item label="车牌号:">
206 206
                 <el-checkbox-group v-model="form.cars" :disabled="taskName != '安排用车'">
207
-                  <el-checkbox :label="item.carId" v-for="item in carList" :key="item.carId" :value="item.carId">
207
+                  <el-checkbox :label="item.carId" v-for="item in carList" :key="item.carId" :value="item.carId"
208
+                    v-if="item.remark == null">
208 209
                     {{ item.licensePlate }}
209 210
                   </el-checkbox>
210 211
                 </el-checkbox-group>

+ 12
- 3
oa-ui/src/views/flowable/form/safeForm.vue Ver fichero

@@ -41,7 +41,7 @@
41 41
             <el-input v-model="form.disclosureComment" placeholder="请输入安全交底意见" type="textarea" :autosize="{ minRows: 4 }" />
42 42
           </el-form-item>
43 43
           <el-form-item label="安全交底人" prop="disclosurer">
44
-            {{ form.disclosurerUser ? form.disclosurerUser.nickName : form.user.nickName }}
44
+            <span class="auditor"> {{ form.disclosurerUser ? form.disclosurerUser.nickName : form.user.nickName }}</span>
45 45
           </el-form-item>
46 46
           <el-form-item label="安全交底时间" prop="disclosureTime">
47 47
             <el-date-picker clearable v-model="form.disclosureTime" type="date" value-format="yyyy-MM-dd"
@@ -145,11 +145,11 @@ export default {
145 145
       // 表单校验
146 146
       rules: {
147 147
       },
148
+      formTotal: 0,
148 149
       flowData: {}
149 150
     };
150 151
   },
151 152
   created() {
152
-    this.form.disclosureTime = new Date();
153 153
     this.form.acceptTime = new Date();
154 154
     this.form.user.nickName = this.$store.getters.name;
155 155
     this.getProjectById();
@@ -166,10 +166,12 @@ export default {
166 166
     initForm() {
167 167
       getSafe(this.taskForm.formId).then(res => {
168 168
         if (this.isEmptyObject(res.data)) {
169
+          this.formTotal = 0;
169 170
           this.form.disclosurer = this.$store.getters.userId;
170 171
           this.form.disclosureTime = new Date();
171 172
         }
172 173
         else {
174
+          this.formTotal = 1;
173 175
           this.form = res.data;
174 176
         }
175 177
       })
@@ -261,7 +263,7 @@ export default {
261 263
     submitForm() {
262 264
       this.$refs["form"].validate(valid => {
263 265
         if (valid) {
264
-          if (this.form.safeId != null) {
266
+          if (this.formTotal != 0) {
265 267
             updateSafe(this.form).then(response => {
266 268
               this.$modal.msgSuccess("修改成功");
267 269
               this.open = false;
@@ -313,3 +315,10 @@ export default {
313 315
   }
314 316
 };
315 317
 </script>
318
+
319
+<style>
320
+.auditor {
321
+  font-family: '华文行楷';
322
+  font-size: 20px;
323
+}
324
+</style>

+ 455
- 0
oa-ui/src/views/flowable/form/technicalForm.vue Ver fichero

@@ -0,0 +1,455 @@
1
+<template>
2
+  <div class="app-container">
3
+    <el-row :gutter="20">
4
+      <el-col :span="18" :xs="24">
5
+        <el-form ref="form" :model="form" :rules="rules" label-width="125px">
6
+          <el-form-item label="项目编号:" prop="projectId" v-if="taskForm.procDefName == '技术交底'">
7
+            <el-input v-model="chooseProject.projectNumber" placeholder="请输入项目编号" disabled style="width: 300px" />
8
+            <el-descriptions border v-if="isSelect" style="margin-top: 10px;" :column="1">
9
+              <el-descriptions-item label="项目编号" label-class-name="my-label">{{ chooseProject.projectNumber
10
+              }}</el-descriptions-item>
11
+              <el-descriptions-item label="项目名称" label-class-name="my-label">{{ chooseProject.projectName
12
+              }}</el-descriptions-item>
13
+              <el-descriptions-item label="项目负责人" label-class-name="my-label">{{ chooseProject.projectLeaderUser ?
14
+                chooseProject.projectLeaderUser.nickName : ''
15
+              }}</el-descriptions-item>
16
+              <el-descriptions-item label="承担部门" label-class-name="my-label">
17
+                <el-tag size="small">{{ chooseProject.undertakingDeptName }}</el-tag>
18
+              </el-descriptions-item>
19
+              <el-descriptions-item label="项目类型" label-class-name="my-label">{{ chooseProject.projectType
20
+              }}</el-descriptions-item>
21
+            </el-descriptions>
22
+          </el-form-item>
23
+          <el-row>
24
+            <el-col :span="8" :xs="24">
25
+              <el-form-item label="技术负责人" prop="technicalDirector">
26
+                <el-select v-model="form.technicalDirector" filterable clearable style="width:220px"
27
+                  :disabled="taskName != '技术安排'">
28
+                  <el-option v-for="item in userList" :key="item.userId" :label="item.nickName" :value="item.userId"
29
+                    v-if="item.nickName != 'admin'">
30
+                  </el-option>
31
+                </el-select>
32
+              </el-form-item>
33
+            </el-col>
34
+            <el-col :span="8" :xs="24">
35
+              <el-form-item label="技术设计人" prop="technicalDesigner">
36
+                <el-select v-model="form.technicalDesigner" filterable clearable style="width:220px"
37
+                  :disabled="taskName != '技术安排'">
38
+                  <el-option v-for="item in userList" :key="item.userId" :label="item.nickName" :value="item.userId"
39
+                    v-if="item.nickName != 'admin'">
40
+                  </el-option>
41
+                </el-select>
42
+              </el-form-item>
43
+            </el-col>
44
+            <el-col :span="8" :xs="24">
45
+              <el-form-item label="质量检查员" prop="qualityInspector">
46
+                <el-select v-model="form.qualityInspector" filterable multiple clearable style="width:220px"
47
+                  :disabled="taskName != '技术安排'">
48
+                  <el-option v-for="item in userList" :key="item.userId" :label="item.nickName" :value="item.userId"
49
+                    v-if="item.nickName != 'admin'">
50
+                  </el-option>
51
+                </el-select>
52
+              </el-form-item>
53
+            </el-col>
54
+          </el-row>
55
+          <el-form-item label="技术安排意见" prop="planComment">
56
+            <el-input type="textarea" v-model="form.planComment" placeholder="请输入技术安排意见" />
57
+          </el-form-item>
58
+          <el-row>
59
+            <el-col :span="6" :xs="24" :offset="12">
60
+              <el-form-item label="签名" prop="technicalPlanner" v-if="showFormItem('技术安排')">
61
+                <span class="auditor"> {{ form.planUser ? form.planUser.nickName : planUser }} </span>
62
+              </el-form-item>
63
+            </el-col>
64
+            <el-col :span="6">
65
+              <el-form-item label="日期" prop="technicalTime" v-if="showFormItem('技术安排')">
66
+                <el-date-picker style="width:170px;" clearable v-model="form.technicalTime" type="date"
67
+                  value-format="yyyy-MM-dd" placeholder="请选择技术安排时间">
68
+                </el-date-picker>
69
+              </el-form-item>
70
+            </el-col>
71
+          </el-row>
72
+          <el-divider></el-divider>
73
+          <el-form-item label="技术方案" prop="technicalDocument">
74
+            <el-input v-model="form.technicalDocument" placeholder="请输入技术方案" :disabled="taskName != '方案上传'" />
75
+          </el-form-item>
76
+          <el-form-item label="方案说明" prop="designDescription">
77
+            <el-input type="textarea" v-model="form.designDescription" placeholder="请输入方案说明"
78
+              :disabled="taskName != '方案上传'" />
79
+          </el-form-item>
80
+          <el-row>
81
+            <el-col :span="6" :xs="24" :offset="12">
82
+              <el-form-item label="签名" prop="designUser" v-if="showFormItem('方案上传')">
83
+                <span class="auditor"> {{ form.designUser ? form.designUser.nickName : designUser }} </span>
84
+              </el-form-item>
85
+            </el-col>
86
+            <el-col :span="6">
87
+              <el-form-item label="日期" prop="technicalUploadTime" v-if="showFormItem('方案上传')">
88
+                <el-date-picker style="width:170px;" clearable v-model="form.technicalUploadTime" type="date"
89
+                  value-format="yyyy-MM-dd" placeholder="请选择方案上传时间" :disabled="taskName != '方案上传'">
90
+                </el-date-picker>
91
+              </el-form-item>
92
+            </el-col>
93
+          </el-row>
94
+          <el-divider></el-divider>
95
+          <el-form-item label="技术部审核意见" prop="technicalComment">
96
+            <el-input type="textarea" v-model="form.technicalComment" placeholder="请输入技术审核意见"
97
+              :disabled="taskName != '技术审核'" />
98
+          </el-form-item>
99
+          <el-row>
100
+            <el-col :span="6" :xs="24" :offset="12">
101
+              <el-form-item label="签名" prop="technicalPlanner" v-if="showFormItem('技术审核')">
102
+                <span class="auditor"> {{ form.planUser ? form.planUser.nickName : planUser }} </span>
103
+              </el-form-item>
104
+            </el-col>
105
+            <el-col :span="6">
106
+              <el-form-item label="日期" prop="techApprovalTime" v-if="showFormItem('技术审核')">
107
+                <el-date-picker style="width:170px;" clearable v-model="form.techApprovalTime" type="date"
108
+                  value-format="yyyy-MM-dd" placeholder="请选择技术审核时间" :disabled="taskName != '技术审核'">
109
+                </el-date-picker>
110
+              </el-form-item>
111
+            </el-col>
112
+          </el-row>
113
+          <el-form-item label="总工程师审核意见" prop="manageComment">
114
+            <el-input type="textarea" v-model="form.manageComment" placeholder="请输入总工审核意见"
115
+              :disabled="taskName != '总工审核'" />
116
+          </el-form-item>
117
+          <el-row>
118
+            <el-col :span="6" :xs="24" :offset="12">
119
+              <el-form-item label="签名" prop="manager" v-if="showFormItem('总工审核')">
120
+                <span class="auditor"> {{ form.managerUser ? form.managerUser.nickName : managerUser }} </span>
121
+              </el-form-item>
122
+            </el-col>
123
+            <el-col :span="6">
124
+              <el-form-item label="日期" prop="manageApprovalTime" v-if="showFormItem('总工审核')">
125
+                <el-date-picker style="width:170px;" clearable v-model="form.manageApprovalTime" type="date"
126
+                  value-format="yyyy-MM-dd" placeholder="请选择总工审核时间" :disabled="taskName != '总工审核'">
127
+                </el-date-picker>
128
+              </el-form-item>
129
+            </el-col>
130
+          </el-row>
131
+        </el-form>
132
+        <div style="text-align: center;">
133
+          <el-button type="primary" @click="submitForm">确 定</el-button>
134
+          <el-button @click="cancel">取 消</el-button>
135
+        </div>
136
+      </el-col>
137
+      <el-col :span="6" :xs="24">
138
+        <el-card>
139
+          <h2 style="text-align: center;">流程进度</h2>
140
+          <div>
141
+            <flow :flowData="flowData" />
142
+          </div>
143
+        </el-card>
144
+      </el-col>
145
+    </el-row>
146
+  </div>
147
+</template>
148
+
149
+<script>
150
+import { listTechnical, getTechnical, delTechnical, addTechnical, updateTechnical } from "@/api/oa/technical/technical";
151
+import { getProject } from "@/api/oa/project/project";
152
+import { listUser } from '@/api/system/user';
153
+import flow from '@/views/flowable/task/todo/detail/flow';
154
+import { complete, getNextFlowNode } from "@/api/flowable/todo";
155
+import { flowXmlAndNode } from "@/api/flowable/definition";
156
+import { getUsersDeptLeaderByDept } from '@/api/system/post'
157
+
158
+export default {
159
+  components: {
160
+    flow
161
+  },
162
+  name: "Technical",
163
+  props: {
164
+    taskName: {
165
+      type: String,
166
+      required: true
167
+    },
168
+    taskForm: {
169
+      type: Object,
170
+      required: true
171
+    }
172
+  },
173
+  data() {
174
+    return {
175
+      planUser: '',
176
+      managerUser: '',
177
+      designUser: '',
178
+      // 遮罩层
179
+      loading: true,
180
+      // 选中数组
181
+      ids: [],
182
+      // 非单个禁用
183
+      single: true,
184
+      // 非多个禁用
185
+      multiple: true,
186
+      // 显示搜索条件
187
+      showSearch: true,
188
+      // 总条数
189
+      total: 0,
190
+      // cmc技术交底表格数据
191
+      technicalList: [],
192
+      // 弹出层标题
193
+      title: "",
194
+      // 是否显示弹出层
195
+      open: false,
196
+      // 查询参数
197
+      queryParams: {
198
+        pageNum: 1,
199
+        pageSize: 10,
200
+        projectId: null,
201
+        technicalDirector: null,
202
+        technicalDesigner: null,
203
+        technicalPlanner: null,
204
+        planComment: null,
205
+        qualityInspector: null,
206
+        technicalTime: null,
207
+        technicalDocument: null,
208
+        designDescription: null,
209
+        technicalComment: null,
210
+        manageComment: null,
211
+        technicalUploadTime: null,
212
+        techApprovalTime: null,
213
+        manageApprovalTime: null
214
+      },
215
+      // 表单参数
216
+      form: {
217
+        qualityInspector: [],
218
+      },
219
+      // 表单校验
220
+      rules: {
221
+      },
222
+      userList: [],
223
+      chooseProject: {},
224
+      isSelect: false,
225
+      // 表单参数
226
+      form: {},
227
+      formTotal: 0,
228
+      flowData: {}
229
+    };
230
+  },
231
+  created() {
232
+    if (this.taskName == '技术安排')
233
+      this.planUser = this.$store.getters.name;
234
+    if (this.taskName == '方案上传')
235
+      this.designUser = this.$store.getters.name;
236
+    if (this.taskName == '技术审核')
237
+      this.planUser = this.$store.getters.name;
238
+    if (this.taskName == '总工审核')
239
+      this.managerUser = this.$store.getters.name;
240
+    this.getProjectById();
241
+    this.getUserList();
242
+    this.getList();
243
+    flowXmlAndNode({ procInsId: this.taskForm.procInsId, deployId: this.taskForm.deployId }).then(res => {
244
+      this.flowData = res.data;
245
+    })
246
+  },
247
+  mounted() {
248
+    this.initForm();
249
+  },
250
+  methods: {
251
+    initForm() {
252
+      getTechnical(this.taskForm.formId).then(res => {
253
+        if (this.isEmptyObject(res.data)) {
254
+          this.formTotal = 0;
255
+          this.form.technicalPlanner = this.$store.getters.userId;
256
+          this.form.technicalTime = new Date();
257
+        }
258
+        else {
259
+          this.formTotal = 1;
260
+          this.form = res.data;
261
+          if (res.data.qualityInspector == null || res.data.qualityInspector == undefined || res.data.qualityInspector == "") {
262
+            data.qualityInspector = []
263
+          } else {
264
+            let arr = []
265
+            data.qualityInspector = data.qualityInspector.split(',');
266
+            for (let inspector of data.qualityInspector) {
267
+              arr.push(parseInt(inspector))
268
+            }
269
+            data.qualityInspector = arr
270
+          }
271
+        }
272
+      })
273
+    },
274
+    // 查询项目
275
+    getProjectById() {
276
+      getProject(this.$route.query.formId).then(response => {
277
+        this.chooseProject = response.data;
278
+        this.isSelect = true
279
+      });
280
+    },
281
+    // 查询用户列表
282
+    getUserList() {
283
+      listUser({ pageSize: 9999, pageNum: 1 }).then(res => {
284
+        this.userList = res.rows
285
+      })
286
+    },
287
+    /** 查询cmc技术交底列表 */
288
+    getList() {
289
+      this.loading = true;
290
+      listTechnical(this.queryParams).then(response => {
291
+        this.technicalList = response.rows;
292
+        this.total = response.total;
293
+        this.loading = false;
294
+      });
295
+    },
296
+    // 取消按钮
297
+    cancel() {
298
+      this.open = false;
299
+      this.reset();
300
+    },
301
+    isEmptyObject(obj) {
302
+      for (var key in obj) {
303
+        if (obj.hasOwnProperty(key)) {
304
+          return false;
305
+        }
306
+      }
307
+      return true;
308
+    },
309
+    // 表单重置
310
+    reset() {
311
+      this.form = {
312
+        technicalId: null,
313
+        projectId: null,
314
+        technicalDirector: null,
315
+        technicalDesigner: null,
316
+        technicalPlanner: null,
317
+        planComment: null,
318
+        qualityInspector: null,
319
+        technicalTime: null,
320
+        technicalDocument: null,
321
+        designDescription: null,
322
+        technicalComment: null,
323
+        manageComment: null,
324
+        technicalUploadTime: null,
325
+        techApprovalTime: null,
326
+        manageApprovalTime: null
327
+      };
328
+      this.resetForm("form");
329
+    },
330
+    /** 搜索按钮操作 */
331
+    handleQuery() {
332
+      this.queryParams.pageNum = 1;
333
+      this.getList();
334
+    },
335
+    /** 重置按钮操作 */
336
+    resetQuery() {
337
+      this.resetForm("queryForm");
338
+      this.handleQuery();
339
+    },
340
+    // 多选框选中数据
341
+    handleSelectionChange(selection) {
342
+      this.ids = selection.map(item => item.technicalId)
343
+      this.single = selection.length !== 1
344
+      this.multiple = !selection.length
345
+    },
346
+    /** 新增按钮操作 */
347
+    handleAdd() {
348
+      this.reset();
349
+      this.open = true;
350
+      this.title = "添加cmc技术交底";
351
+    },
352
+    /** 修改按钮操作 */
353
+    handleUpdate(row) {
354
+      this.reset();
355
+      const technicalId = row.technicalId || this.ids
356
+      getTechnical(technicalId).then(response => {
357
+        this.form = response.data;
358
+        this.open = true;
359
+        this.title = "修改cmc技术交底";
360
+      });
361
+    },
362
+    /** 提交按钮 */
363
+    submitForm() {
364
+      this.$refs["form"].validate(valid => {
365
+        if (valid) {
366
+          if (this.formTotal != 0) {
367
+            updateTechnical(this.form).then(response => {
368
+              this.$modal.msgSuccess("修改成功");
369
+              this.open = false;
370
+              this.getList();
371
+            });
372
+            const params = { taskId: this.taskForm.taskId };
373
+            getNextFlowNode(params).then(res => {
374
+              if (this.taskName == '方案上传') {
375
+                this.$set(this.taskForm.variables, "approval", this.form.technicalPlanner);
376
+                complete(this.taskForm).then(response => {
377
+                  this.$modal.msgSuccess(response.msg);
378
+                  this.$emit('goBack')
379
+                });
380
+              }
381
+              else if (this.taskName == '技术审核') {
382
+                getUsersDeptLeaderByDept({ deptId: 110 }).then(res => {
383
+                  let userId = res.data.userId;
384
+                  this.$set(this.taskForm.variables, "approval", userId);
385
+                  complete(this.taskForm).then(response => {
386
+                    this.$modal.msgSuccess(response.msg);
387
+                    this.$emit('goBack')
388
+                  });
389
+                });
390
+              }
391
+              else if (this.taskName == '总工审核') {
392
+                complete(this.taskForm).then(response => {
393
+                  this.$modal.msgSuccess(response.msg);
394
+                  this.$emit('goBack')
395
+                });
396
+              }
397
+            })
398
+          } else {
399
+            this.form.qualityInspector = '';
400
+            addTechnical(this.form).then(response => {
401
+              this.$modal.msgSuccess("新增成功");
402
+              this.open = false;
403
+              this.getList();
404
+            });
405
+            const params = { taskId: this.taskForm.taskId };
406
+            getNextFlowNode(params).then(res => {
407
+              this.$set(this.taskForm.variables, "formId", this.taskForm.formId);
408
+              this.$set(this.taskForm.variables, "approval", this.form.technicalDesigner);
409
+              complete(this.taskForm).then(response => {
410
+                this.$modal.msgSuccess(response.msg);
411
+                this.$emit('goBack')
412
+              });
413
+            })
414
+          }
415
+        }
416
+      });
417
+    },
418
+    /** 删除按钮操作 */
419
+    handleDelete(row) {
420
+      const technicalIds = row.technicalId || this.ids;
421
+      this.$modal.confirm('是否确认删除cmc技术交底编号为"' + technicalIds + '"的数据项?').then(function () {
422
+        return delTechnical(technicalIds);
423
+      }).then(() => {
424
+        this.getList();
425
+        this.$modal.msgSuccess("删除成功");
426
+      }).catch(() => { });
427
+    },
428
+    /** 导出按钮操作 */
429
+    handleExport() {
430
+      this.download('oa/technical/export', {
431
+        ...this.queryParams
432
+      }, `technical_${new Date().getTime()}.xlsx`)
433
+    },
434
+    showFormItem(name) {
435
+      let isShow = false;
436
+      if (name == '技术安排')
437
+        isShow = true;
438
+      else if (name == '方案上传')
439
+        isShow = (this.taskName != '技术安排');
440
+      else if (name == '技术审核')
441
+        isShow = (this.taskName != '技术安排' && this.taskName != '方案上传');
442
+      else if (name == '总工审核')
443
+        isShow = (this.taskName == '总工审核');
444
+      return isShow;
445
+    },
446
+  }
447
+};
448
+</script>
449
+
450
+<style>
451
+.auditor {
452
+  font-family: '华文行楷';
453
+  font-size: 20px;
454
+}
455
+</style>

+ 4
- 1
oa-ui/src/views/flowable/task/todo/detail/index.vue Ver fichero

@@ -33,6 +33,7 @@
33 33
           <budget-index :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '项目预算'" @goBack="goBack"></budget-index>
34 34
           <borrow-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '借款审批'" @goBack="goBack"></borrow-form>
35 35
           <safe-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '安全交底'" @goBack="goBack"></safe-form>
36
+          <technical-form :taskName="taskName" :taskForm="taskForm" v-else-if="taskForm.procDefName == '技术交底'" @goBack="goBack"></technical-form>
36 37
           <el-row type="flex" justify="center" v-show="isShowApprove()">
37 38
             <el-button v-if="!formKeyExist" icon="el-icon-edit-outline" type="success" size="mini"
38 39
               @click="handleComplete">审核通过
@@ -183,6 +184,7 @@ import projectProcess from "@/views/flowable/form/projectProcess/index.vue"
183 184
 import AddBudget from '@/views/oa/budget/addBudget.vue';
184 185
 import borrowForm from '@/views/flowable/form/borrowForm.vue';
185 186
 import safeForm from '@/views/flowable/form/safeForm.vue';
187
+import technicalForm from '@/views/flowable/form/technicalForm.vue';
186 188
 import budgetIndex from '@/views/flowable/form/budget/budget.vue';
187 189
 import businessReview from '@/views/flowable/form/projectProcess/businessReview.vue';
188 190
 
@@ -205,6 +207,7 @@ export default {
205 207
     AddBudget,
206 208
     borrowForm,
207 209
     safeForm,
210
+    technicalForm,
208 211
     budgetIndex,
209 212
     businessReview
210 213
   },
@@ -564,7 +567,7 @@ export default {
564 567
     isShowApprove() {
565 568
       if (this.taskName == '员工填报' || this.taskForm.procDefName == '用车审批'
566 569
        || this.taskForm.procDefName == '用车审批(工会)' || this.taskForm.procDefName == '设备审批'|| this.taskForm.procDefName == '项目流转'
567
-       || this.taskForm.procDefName == '项目预算'|| this.taskForm.procDefName == '借款审批'|| this.taskForm.procDefName == '安全交底') {
570
+       || this.taskForm.procDefName == '项目预算' || this.taskForm.procDefName == '借款审批' || this.taskForm.procDefName == '安全交底' || this.taskForm.procDefName == '技术交底') {
568 571
         return false
569 572
       } else {
570 573
         return true

Loading…
Cancelar
Guardar