Parcourir la source

修改技术方案总工审核只推到陈洪总工

余思翰 il y a 9 mois
Parent
révision
6b5f7ac171

+ 3
- 2
oa-ui/src/assets/datas/publicData.js Voir le fichier

@@ -1,14 +1,15 @@
1 1
 /*
2 2
  * @Author: ysh
3 3
  * @Date: 2024-04-24 15:07:42
4
- * @LastEditors: 
5
- * @LastEditTime: 2024-05-10 13:40:14
4
+ * @LastEditors: Please set LastEditors
5
+ * @LastEditTime: 2024-09-09 09:20:08
6 6
  */
7 7
 const publicData = {
8 8
   partySecretary: 4, //党委书记
9 9
   leagueSecretary: 142, //团委书记
10 10
   gm: 7, //总经理
11 11
   chairman: 2,//董事长
12
+  zg: 9,
12 13
   pathRoute: [
13 14
     {
14 15
       name: '借款审批',

+ 8
- 8
oa-ui/src/views/flowable/form/technicalPlan.vue Voir le fichier

@@ -121,8 +121,8 @@
121 121
             </div>
122 122
           </el-form-item>
123 123
           <el-form-item label="技术方案审核意见" prop="technicalComment">
124
-            <el-input type="textarea" v-model="form.technicalComment" :autosize="{ minRows: 4 }" placeholder="请输入技术方案审核意见"
125
-              :disabled="taskName != '技术审核'" />
124
+            <el-input type="textarea" v-model="form.technicalComment" :autosize="{ minRows: 4 }"
125
+              placeholder="请输入技术方案审核意见" :disabled="taskName != '技术审核'" />
126 126
           </el-form-item>
127 127
           <el-row>
128 128
             <el-col :span="6" :xs="24" :offset="12">
@@ -206,7 +206,7 @@ import FlowUser from '@/components/flow/User';
206 206
 import flow from '@/views/flowable/task/todo/detail/flow';
207 207
 import { complete, getNextFlowNode } from "@/api/flowable/todo";
208 208
 import { flowXmlAndNode } from "@/api/flowable/definition";
209
-import { getUsersManageLeaderByDept } from '@/api/system/post'
209
+import { getUsersManageLeaderByDept, getUserByPost } from '@/api/system/post'
210 210
 
211 211
 export default {
212 212
   components: {
@@ -474,20 +474,20 @@ export default {
474 474
             });
475 475
             const params = { taskId: this.taskForm.taskId };
476 476
             getNextFlowNode(params).then(res => {
477
-              if (this.taskName == '方案上传') {                
477
+              if (this.taskName == '方案上传') {
478 478
                 this.checkSendUser = true;
479 479
                 this.completeOpen = true;
480 480
                 this.completeTitle = "流程审批";
481 481
               }
482 482
               else if (this.taskName == '技术审核') {
483
-                getUsersManageLeaderByDept({ deptId: 109 }).then(res => {
484
-                  let userId = res.data[0].userId;
485
-                  this.$set(this.taskForm.variables, "approval", userId);
483
+                getUserByPost({ postName: "总工程师" }).then(res => {
484
+                  this.$set(this.taskForm.variables, "approval", res.data[0].userId);
486 485
                   complete(this.taskForm).then(response => {
487 486
                     this.$modal.msgSuccess(response.msg);
488 487
                     this.$emit('goBack')
489 488
                   });
490
-                });
489
+                })
490
+
491 491
               }
492 492
               else if (this.taskName == '总工审核') {
493 493
                 complete(this.taskForm).then(response => {

Loading…
Annuler
Enregistrer