Browse Source

修改一些细节

余思翰 1 year ago
parent
commit
b789954f9d

+ 23
- 56
oa-ui/src/views/flowable/form/scTable.vue View File

@@ -4,7 +4,7 @@
4 4
     <table class="table" ref="tableDatas">
5 5
       <tr>
6 6
         <td class="table-title">项目编号</td>
7
-        <td colspan="1">
7
+        <td colspan="1" style="text-align:left;padding-left:10px;">
8 8
           {{ tableForm.projectNumber }}
9 9
         </td>
10 10
         <td class="table-title">项目名称</td>
@@ -14,15 +14,15 @@
14 14
       </tr>
15 15
       <tr>
16 16
         <td class="table-title">姓名</td>
17
-        <td style="text-align:left;padding-left:10px;">{{ user.nickName }}</td>
17
+        <td style="text-align:left;padding-left:10px;">{{ tableForm.nickName }}</td>
18 18
         <td class="table-title">考核年度</td>
19
-        <td></td>
19
+        <td> {{ tableForm.assessTime }}</td>
20 20
         <td colspan="3" class="table-title">部门负责人考核意见</td>
21 21
         <td colspan="3" class="table-title">分管领导考核意见</td>
22 22
       </tr>
23 23
       <tr>
24 24
         <td class="table-title">所在部门</td>
25
-        <td colspan="3" style="text-align:left;padding-left:10px;">{{ user.dept ? user.dept.deptName : "" }}</td>
25
+        <td colspan="3" style="text-align:left;padding-left:10px;">{{ tableForm.deptName }}</td>
26 26
         <td colspan="3">
27 27
           <el-radio-group v-model="tableForm.deptAssessment" :disabled="!isDeptLeader">
28 28
             <el-radio v-for="dict in dict.type.cmc_accessment" :key="dict.value" :label="dict.value">
@@ -40,41 +40,41 @@
40 40
       </tr>
41 41
       <tr>
42 42
         <td class="table-title">部门职务</td>
43
-        <td colspan="3" style="text-align:left;padding-left:10px;">{{ user.postGroup }}</td>
43
+        <td colspan="3" style="text-align:left;padding-left:10px;">{{ tableForm.postGroup }}</td>
44 44
         <td colspan="3" rowspan="5">
45 45
           <el-input type="textarea" :rows="4" placeholder="请输入考核意见" v-model="tableForm.deptAdvice" :disabled="!isDeptLeader">
46 46
           </el-input>
47
-          <el-row justify="center">
48
-            <el-col :span="12">考核人:</el-col>
49
-            <el-col :span="12">日期:</el-col>
47
+          <el-row justify="center" type="flex">
48
+            <el-col :span="12">考核人:<el-input v-model="tableForm.deptAssesser" style="width:150px;" placeholder="请输入考核人" :disabled="!isDeptLeader"></el-input> </el-col>
49
+            <el-col :span="12">日期:<el-date-picker type="date"  placeholder="请选择考核日期" v-model="tableForm.deptTime" style="width:150px;" :disabled="!isDeptLeader"></el-date-picker> </el-col>
50 50
           </el-row>
51 51
         </td>
52 52
         <td colspan="3" rowspan="5">
53 53
           <el-input type="textarea" :rows="4" placeholder="请输入考核意见" v-model="tableForm.managerAdvice" :disabled="!isManager">
54 54
           </el-input>
55 55
           <el-row justify="center">
56
-            <el-col :span="12">考核人:</el-col>
57
-            <el-col :span="12">日期:</el-col>
56
+            <el-col :span="12">考核人:<el-input v-model="tableForm.managerAssesser" style="width:150px;" placeholder="请输入考核人" :disabled="!isManager"></el-input></el-col>
57
+            <el-col :span="12">日期:<el-date-picker type="date"  placeholder="请选择考核日期" v-model="tableForm.managerTime" style="width:150px;" :disabled="!isManager"></el-date-picker></el-col>
58 58
           </el-row>
59 59
         </td>
60 60
       </tr>
61 61
       <tr>
62 62
         <td class="table-title">项目经理</td>
63
-        <td colspan="3" style="text-align:left;padding-left:10px;">{{ user.pmLevel }}</td>
63
+        <td colspan="3" style="text-align:left;padding-left:10px;">{{ tableForm.pmLevel }}</td>
64 64
       </tr>
65 65
       <tr>
66 66
         <td class="table-title">技术职称</td>
67
-        <td colspan="3" style="text-align:left;padding-left:10px;">{{ user.titles }}</td>
67
+        <td colspan="3" style="text-align:left;padding-left:10px;">{{ tableForm.titles }}</td>
68 68
       </tr>
69 69
       <tr>
70 70
         <td class="table-title">作业类别</td>
71
-        <td colspan="3" style="text-align:left;padding-left:10px;">{{ user.remark }}</td>
71
+        <td colspan="3" style="text-align:left;padding-left:10px;">{{ tableForm.remark }}</td>
72 72
       </tr>
73 73
       <tr>
74 74
         <td class="table-title">入职年月</td>
75
-        <td style="text-align:left;padding-left:10px;">{{ user.entryDate }}</td>
75
+        <td style="text-align:left;padding-left:10px;">{{ tableForm.entryDate }}</td>
76 76
         <td class="table-title">年龄</td>
77
-        <td style="text-align:left;padding-left:10px;">{{ user.age }}</td>
77
+        <td style="text-align:left;padding-left:10px;">{{ tableForm.age }}</td>
78 78
       </tr>
79 79
       <tr>
80 80
         <td rowspan="2" class="table-title">考核内容</td>
@@ -1522,11 +1522,17 @@
1522 1522
       </tr>
1523 1523
       <tr style="height:90px;">
1524 1524
         <td>其他工作</td>
1525
-        <td colspan="9">{{ tableForm.otherWork }}</td>
1525
+        <td colspan="9">
1526
+          <span v-if="!isStaff">{{ tableForm.otherWork }}</span>
1527
+          <el-input v-if="isStaff" v-model="tableForm.otherWork" type="textarea" :rows="2"></el-input>
1528
+        </td>
1526 1529
       </tr>
1527 1530
       <tr style="height:90px;">
1528 1531
         <td>年度自述</td>
1529
-        <td colspan="9">{{ tableForm.selfAssess }}</td>
1532
+        <td colspan="9">
1533
+          <span v-if="!isStaff">{{ tableForm.selfAssess }}</span>
1534
+          <el-input v-if="isStaff" v-model="tableForm.selfAssess" type="textarea" :rows="2"></el-input>
1535
+        </td>
1530 1536
       </tr>
1531 1537
     </table>
1532 1538
     <el-row justify="center" type="flex" style="margin-top:20px;"
@@ -1540,7 +1546,6 @@
1540 1546
 <script>
1541 1547
 import { SCContent } from '@/assets/datas/SCContent'
1542 1548
 import { getDicts as getDicts } from '@/api/system/dict/data'
1543
-import { getUserProfile } from '../../../api/system/user'
1544 1549
 export default {
1545 1550
   dicts: ['cmc_role', 'cmc_skill', 'cmc_accessment'],
1546 1551
   props: {
@@ -1565,26 +1570,15 @@ export default {
1565 1570
       isPiLeader: false,
1566 1571
       isManager: false,
1567 1572
       isStaff: false,
1568
-      user: {}
1569 1573
     }
1570 1574
   },
1571 1575
   created() {
1572 1576
     this.initForm();
1573
-    this.getUseInfo();
1574 1577
   },
1575 1578
   mounted() {
1576 1579
     this.formatForm();
1577 1580
   },
1578 1581
   methods: {
1579
-    getUseInfo() {
1580
-      getUserProfile().then(res => {
1581
-        console.log(res);
1582
-        if (res.data) {
1583
-          this.user = res.data;
1584
-          this.user.postGroup = res.postGroup
1585
-        }
1586
-      })
1587
-    },
1588 1582
     initForm() {
1589 1583
       for (let i = 0; i < SCContent.length + 1; i++) {
1590 1584
         if (i.toString().length == 1) {
@@ -1658,33 +1652,6 @@ export default {
1658 1652
         if (this.tableForm[name] !== undefined)
1659 1653
           this.tableForm[name] = value
1660 1654
       }
1661
-    },
1662
-    addDoubleClickEvent() {
1663
-      document.querySelector('.personInput').addEventListener('dblclick', this.handleDoubleClickEvent)
1664
-    },
1665
-    handleDoubleClickEvent(e) {
1666
-      const input = document.createElement("input");
1667
-      input.type = "text";
1668
-      e.target.append(input);
1669
-      input.style.display = "block";
1670
-      input.value = e.target.innerText;
1671
-      input.focus();
1672
-      input.addEventListener("keyup", function (ev) {
1673
-        if (ev.key === "Enter") {
1674
-          e.target.innerText = input.value;
1675
-          input.style.display = "none";
1676
-        }
1677
-      });
1678
-      input.addEventListener("blur", function (e) {
1679
-        e.target.innerText = input.value;
1680
-        input.style.display = "none";
1681
-      });
1682
-    },
1683
-    removeDoubleClickEvent() {
1684
-      let dom = document.querySelector('.personInput')
1685
-      if (dom.removeEventListener)
1686
-        dom.removeEventListener('dblclick', this.handleDoubleClickEvent)
1687
-
1688 1655
     }
1689 1656
   },
1690 1657
 }

+ 30
- 2
oa-ui/src/views/flowable/task/finished/detail/index.vue View File

@@ -7,12 +7,15 @@
7 7
       </div>
8 8
       <el-tabs  tab-position="top" v-model="activeName" @tab-click="handleClick">
9 9
         <!--表单信息-->
10
-        <el-tab-pane label="表单信息" name="1">
10
+        <!-- <el-tab-pane label="表单信息" name="1">
11 11
           <el-col :span="16" :offset="4" v-if="variableOpen">
12 12
             <div class="test-form">
13 13
               <parser :key="new Date().getTime()" :form-conf="variablesData" />
14 14
             </div>
15 15
           </el-col>
16
+        </el-tab-pane> -->
17
+        <el-tab-pane label="表单信息" name="1">
18
+          <ScTable :tableForm="tableForm"></ScTable>
16 19
         </el-tab-pane>
17 20
         <!--流程流转记录-->
18 21
         <el-tab-pane label="流转记录" name="2">
@@ -74,13 +77,16 @@ import Parser from '@/components/parser/Parser'
74 77
 import {getProcessVariables, flowXmlAndNode} from "@/api/flowable/definition";
75 78
 import flow from '@/views/flowable/task/finished/detail/flow'
76 79
 import "@riophae/vue-treeselect/dist/vue-treeselect.css";
80
+import ScTable from "../../../form/scTable.vue";
81
+import { getAssess, modifyAssess } from '@/api/oa/assess/assess'
77 82
 
78 83
 export default {
79 84
   name: "Record",
80 85
   components: {
81 86
     Parser,
82 87
     flow,
83
-  },
88
+    ScTable
89
+},
84 90
   props: {},
85 91
   data() {
86 92
     return {
@@ -116,18 +122,23 @@ export default {
116 122
       variables: [], // 流程变量数据
117 123
       variablesData: {}, // 流程变量数据
118 124
       variableOpen: false, // 是否加载流程变量数据
125
+      // 表单信息
126
+      tableForm: {}
119 127
     };
120 128
   },
121 129
   created() {
122 130
     this.taskForm.deployId = this.$route.query && this.$route.query.deployId;
123 131
     this.taskForm.taskId  = this.$route.query && this.$route.query.taskId;
124 132
     this.taskForm.procInsId = this.$route.query && this.$route.query.procInsId;
133
+    this.taskForm.formId = this.$route.query.formId;
125 134
     // 回显流程记录
126 135
     // 流程任务重获取变量表单
127 136
     if (this.taskForm.taskId){
128 137
       this.processVariables( this.taskForm.taskId)
138
+      this.getAssessByAssessId(this.taskForm.formId)
129 139
     }
130 140
     this.getFlowRecordList( this.taskForm.procInsId, this.taskForm.deployId);
141
+    
131 142
   },
132 143
   methods: {
133 144
     handleClick(tab, event) {
@@ -177,6 +188,23 @@ export default {
177 188
       const obj = { path: "/task/finished", query: { t: Date.now()} };
178 189
       this.$tab.closeOpenPage(obj);
179 190
     },
191
+    // 获取需要处理的表单表格信息
192
+    getAssessByAssessId(formId) {
193
+      getAssess(formId).then(res => {
194
+        let data = res.data;
195
+        for (let d in data) {
196
+          if (d.includes('role')) {
197
+            data[d] = data[d].split(',')
198
+          }
199
+          if (d.includes('familiar')) {
200
+            data[d] = parseInt(data[d])
201
+          }
202
+        }
203
+        this.tableForm = data;
204
+        this.tableForm.taskId = this.$route.query.taskId;
205
+        this.tableForm.taskName = this.$route.query.taskName;
206
+      })
207
+    },
180 208
   }
181 209
 };
182 210
 </script>

+ 44
- 67
oa-ui/src/views/flowable/task/finished/index.vue View File

@@ -2,20 +2,12 @@
2 2
   <div class="app-container">
3 3
     <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
4 4
       <el-form-item label="名称" prop="name">
5
-        <el-input
6
-          v-model="queryParams.name"
7
-          placeholder="请输入名称"
8
-          clearable
9
-          size="small"
10
-          @keyup.enter.native="handleQuery"
11
-        />
5
+        <el-input v-model="queryParams.name" placeholder="请输入名称" clearable size="small"
6
+          @keyup.enter.native="handleQuery" />
12 7
       </el-form-item>
13 8
       <el-form-item label="开始时间" prop="deployTime">
14
-        <el-date-picker clearable size="small"
15
-                        v-model="queryParams.deployTime"
16
-                        type="date"
17
-                        value-format="yyyy-MM-dd"
18
-                        placeholder="选择时间">
9
+        <el-date-picker clearable size="small" v-model="queryParams.deployTime" type="date" value-format="yyyy-MM-dd"
10
+          placeholder="选择时间">
19 11
         </el-date-picker>
20 12
       </el-form-item>
21 13
       <el-form-item>
@@ -26,64 +18,42 @@
26 18
 
27 19
     <el-row :gutter="10" class="mb8">
28 20
       <el-col :span="1.5">
29
-        <el-button
30
-          type="danger"
31
-          plain
32
-          icon="el-icon-delete"
33
-          size="mini"
34
-          :disabled="multiple"
35
-          @click="handleDelete"
36
-          v-hasPermi="['system:deployment:remove']"
37
-        >删除</el-button>
21
+        <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
22
+          v-hasPermi="['system:deployment:remove']">删除</el-button>
38 23
       </el-col>
39 24
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
40 25
     </el-row>
41 26
 
42 27
     <el-table v-loading="loading" :data="finishedList" border @selection-change="handleSelectionChange">
43 28
       <el-table-column type="selection" width="55" align="center" />
44
-      <el-table-column label="任务编号" align="center" prop="taskId" :show-overflow-tooltip="true"/>
45
-      <el-table-column label="流程名称" align="center" prop="procDefName" :show-overflow-tooltip="true"/>
29
+      <el-table-column label="任务编号" align="center" prop="taskId" :show-overflow-tooltip="true" />
30
+      <el-table-column label="流程名称" align="center" prop="procDefName" :show-overflow-tooltip="true" />
46 31
       <el-table-column label="任务节点" align="center" prop="taskName" />
47 32
       <el-table-column label="流程发起人" align="center">
48 33
         <template slot-scope="scope">
49
-          <label>{{scope.row.startUserName}} <el-tag type="info" size="mini">{{scope.row.startDeptName}}</el-tag></label>
34
+          <label>{{ scope.row.startUserName }} <el-tag type="info" size="mini">{{ scope.row.startDeptName }}</el-tag></label>
50 35
         </template>
51 36
       </el-table-column>
52
-      <el-table-column label="接收时间" align="center" prop="createTime" width="180"/>
53
-      <el-table-column label="审批时间" align="center" prop="finishTime" width="180"/>
54
-      <el-table-column label="耗时" align="center" prop="duration" width="180"/>
37
+      <el-table-column label="接收时间" align="center" prop="createTime" width="180" />
38
+      <el-table-column label="审批时间" align="center" prop="finishTime" width="180" />
39
+      <el-table-column label="耗时" align="center" prop="duration" width="180" />
55 40
       <el-table-column label="操作" width="150" fixed="right" class-name="small-padding fixed-width">
56 41
         <template slot-scope="scope">
57
-          <el-button
58
-            size="mini"
59
-            type="text"
60
-            icon="el-icon-tickets"
61
-            @click="handleFlowRecord(scope.row)"
62
-          >流转记录</el-button>
63
-           <el-button
64
-            size="mini"
65
-            type="text"
66
-            icon="el-icon-refresh-left"
67
-            @click="handleRevoke(scope.row)"
68
-          >撤回
42
+          <el-button size="mini" type="text" icon="el-icon-tickets" @click="handleFlowRecord(scope.row)">流转记录</el-button>
43
+          <el-button size="mini" type="text" icon="el-icon-refresh-left" @click="handleRevoke(scope.row)">撤回
69 44
           </el-button>
70 45
         </template>
71 46
       </el-table-column>
72 47
     </el-table>
73 48
 
74
-    <pagination
75
-      v-show="total>0"
76
-      :total="total"
77
-      :page.sync="queryParams.pageNum"
78
-      :limit.sync="queryParams.pageSize"
79
-      @pagination="getList"
80
-    />
49
+    <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
50
+      @pagination="getList" />
81 51
   </div>
82 52
 </template>
83 53
 
84 54
 <script>
85 55
 import { finishedList, getDeployment, delDeployment, addDeployment, updateDeployment, exportDeployment, revokeProcess } from "@/api/flowable/finished";
86
-
56
+import { getProcessVariables } from "@/api/flowable/definition";
87 57
 export default {
88 58
   name: "Deploy",
89 59
   components: {
@@ -164,18 +134,18 @@ export default {
164 134
       };
165 135
       this.resetForm("form");
166 136
     },
167
-    setIcon(val){
168
-      if (val){
137
+    setIcon(val) {
138
+      if (val) {
169 139
         return "el-icon-check";
170
-      }else {
140
+      } else {
171 141
         return "el-icon-time";
172 142
       }
173 143
 
174 144
     },
175
-    setColor(val){
176
-      if (val){
145
+    setColor(val) {
146
+      if (val) {
177 147
         return "#2bc418";
178
-      }else {
148
+      } else {
179 149
         return "#b3bdbb";
180 150
       }
181 151
 
@@ -193,7 +163,7 @@ export default {
193 163
     // 多选框选中数据
194 164
     handleSelectionChange(selection) {
195 165
       this.ids = selection.map(item => item.id)
196
-      this.single = selection.length!==1
166
+      this.single = selection.length !== 1
197 167
       this.multiple = !selection.length
198 168
     },
199 169
     /** 新增按钮操作 */
@@ -203,21 +173,28 @@ export default {
203 173
       this.title = "添加流程定义";
204 174
     },
205 175
     /** 流程流转记录 */
206
-    handleFlowRecord(row){
207
-      this.$router.push({ path: '/flowable/task/finished/detail/index',
208
-        query: {
209
-          procInsId: row.procInsId,
210
-          deployId: row.deployId,
211
-          taskId: row.taskId,
212
-      }})
176
+    handleFlowRecord(row) {
177
+      console.log(row);
178
+
179
+      getProcessVariables(row.taskId).then(res => {
180
+        this.$router.push({
181
+          path: '/flowable/task/finished/detail/index',
182
+          query: {
183
+            procInsId: row.procInsId,
184
+            deployId: row.deployId,
185
+            taskId: row.taskId,
186
+            formId: res.data.formId
187
+          }
188
+        })
189
+      })
213 190
     },
214 191
     /** 撤回任务 */
215
-    handleRevoke(row){
192
+    handleRevoke(row) {
216 193
       const params = {
217 194
         instanceId: row.procInsId
218 195
       }
219
-      revokeProcess(params).then( res => {
220
-       this.$modal.msgSuccess(res.msg);
196
+      revokeProcess(params).then(res => {
197
+        this.$modal.msgSuccess(res.msg);
221 198
         this.getList();
222 199
       });
223 200
     },
@@ -258,11 +235,11 @@ export default {
258 235
         confirmButtonText: "确定",
259 236
         cancelButtonText: "取消",
260 237
         type: "warning"
261
-      }).then(function() {
238
+      }).then(function () {
262 239
         return delDeployment(ids);
263 240
       }).then(() => {
264 241
         this.getList();
265
-       this.$modal.msgSuccess("删除成功");
242
+        this.$modal.msgSuccess("删除成功");
266 243
       })
267 244
     },
268 245
     /** 导出按钮操作 */
@@ -272,7 +249,7 @@ export default {
272 249
         confirmButtonText: "确定",
273 250
         cancelButtonText: "取消",
274 251
         type: "warning"
275
-      }).then(function() {
252
+      }).then(function () {
276 253
         return exportDeployment(queryParams);
277 254
       }).then(response => {
278 255
         this.download(response.msg);

+ 2
- 2
oa-ui/src/views/flowable/task/myProcess/index.vue View File

@@ -33,11 +33,11 @@
33 33
       <el-table-column label="流程编号" align="center" prop="procInsId" :show-overflow-tooltip="true" />
34 34
       <el-table-column label="流程名称" align="center" prop="procDefName" :show-overflow-tooltip="true" />
35 35
       <el-table-column label="流程类别" align="center" prop="category" width="100px" />
36
-      <el-table-column label="流程版本" align="center" width="80px">
36
+      <!-- <el-table-column label="流程版本" align="center" width="80px">
37 37
         <template slot-scope="scope">
38 38
           <el-tag size="medium">v{{ scope.row.procDefVersion }}</el-tag>
39 39
         </template>
40
-      </el-table-column>
40
+      </el-table-column> -->
41 41
       <el-table-column label="提交时间" align="center" prop="createTime" width="180" />
42 42
       <el-table-column label="流程状态" align="center" width="100">
43 43
         <template slot-scope="scope">

+ 1
- 1
oa-ui/src/views/flowable/task/record/index.vue View File

@@ -16,7 +16,7 @@
16 16
 <!--                <el-button  icon="el-icon-edit-outline" type="primary" size="mini" @click="handleDelegate">委派</el-button>-->
17 17
 <!--                <el-button  icon="el-icon-edit-outline" type="primary" size="mini" @click="handleAssign">转办</el-button>-->
18 18
 <!--                <el-button  icon="el-icon-edit-outline" type="primary" size="mini" @click="handleDelegate">签收</el-button>-->
19
-            <el-button  icon="el-icon-refresh-left" type="warning" size="mini" @click="handleReturn">退回</el-button>
19
+            <!-- <el-button  icon="el-icon-refresh-left" type="warning" size="mini" @click="handleReturn">退回</el-button> -->
20 20
             <el-button  icon="el-icon-circle-close" type="danger" size="mini" @click="handleReject">驳回</el-button>
21 21
           </div>
22 22
      </el-col>

+ 2
- 21
oa-ui/src/views/flowable/task/todo/detail/index.vue View File

@@ -9,32 +9,13 @@
9 9
       </div>
10 10
       <el-tabs tab-position="top" v-model="activeName" @tab-click="handleClick">
11 11
         <!--表单信息-->
12
-        <!-- <el-tab-pane label="表单信息" name="1">
13
-          <el-col :span="16" :offset="4">
14
-            <div class="test-form">
15
-                           <parser :key="new Date().getTime()" :form-conf="variablesData"/>
16
-              <parser :key="new Date().getTime()" :form-conf="variablesData" @submit="submitForm" ref="parser" />
17
-
18
-            </div>
19
-            <div style="margin-left:15%;margin-bottom: 20px;font-size: 14px;">
20
-              <el-button v-if="!formKeyExist" icon="el-icon-edit-outline" type="success" size="mini"
21
-                @click="handleComplete">审批
22
-              </el-button>
23
-              <el-button  icon="el-icon-edit-outline" type="primary" size="mini" @click="handleDelegate">委派</el-button>
24
-              <el-button  icon="el-icon-edit-outline" type="primary" size="mini" @click="handleAssign">转办</el-button>
25
-              <el-button  icon="el-icon-edit-outline" type="primary" size="mini" @click="handleDelegate">签收</el-button>
26
-              <el-button icon="el-icon-refresh-left" type="warning" size="mini" @click="handleReturn">退回</el-button>
27
-              <el-button icon="el-icon-circle-close" type="danger" size="mini" @click="handleReject">驳回</el-button>
28
-            </div>
29
-          </el-col>
30
-        </el-tab-pane> -->
31 12
         <el-tab-pane label="表单信息" name="1">
32 13
           <ScTable :tableForm="tableForm" @submit="handleComplete"></ScTable>
33 14
           <el-row type="flex" justify="center" v-if="taskName != '员工修改'">
34 15
             <el-button v-if="!formKeyExist" icon="el-icon-edit-outline" type="success" size="mini"
35 16
               @click="handleComplete">审核通过
36 17
             </el-button>
37
-            <el-button icon="el-icon-refresh-left" type="warning" size="mini" @click="handleReturn">退回</el-button>
18
+            <!-- <el-button icon="el-icon-refresh-left" type="warning" size="mini" @click="handleReturn">退回</el-button> -->
38 19
             <el-button icon="el-icon-circle-close" type="danger" size="mini" @click="handleReject">驳回</el-button>
39 20
           </el-row>
40 21
         </el-tab-pane>
@@ -515,7 +496,7 @@ export default {
515 496
             }
516 497
           }
517 498
           this.completeOpen = true;
518
-          this.completeTitle = "流程审批";
499
+          this.completeTitle = "选择下一节点审核人";
519 500
         })
520 501
       });
521 502
     },

+ 2
- 2
oa-ui/src/views/flowable/task/todo/index.vue View File

@@ -30,11 +30,11 @@
30 30
       <el-table-column label="任务编号" align="center" prop="taskId" :show-overflow-tooltip="true" />
31 31
       <el-table-column label="流程名称" align="center" prop="procDefName" />
32 32
       <el-table-column label="当前节点" align="center" prop="taskName" />
33
-      <el-table-column label="流程版本" align="center">
33
+      <!-- <el-table-column label="流程版本" align="center">
34 34
         <template slot-scope="scope">
35 35
           <el-tag size="medium">v{{ scope.row.procDefVersion }}</el-tag>
36 36
         </template>
37
-      </el-table-column>
37
+      </el-table-column> -->
38 38
       <el-table-column label="流程发起人" align="center">
39 39
         <template slot-scope="scope">
40 40
           <label>{{ scope.row.startUserName }} <el-tag type="info" size="mini">{{ scope.row.startDeptName

+ 3
- 3
oa-ui/src/views/index.vue View File

@@ -2,7 +2,7 @@
2 2
  * @Author: ysh
3 3
  * @Date: 2024-01-03 09:23:11
4 4
  * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-01-24 09:11:33
5
+ * @LastEditTime: 2024-02-05 14:56:35
6 6
 -->
7 7
 <template>
8 8
   <div class="app-container home">
@@ -11,7 +11,7 @@
11 11
       <div class="user-info">
12 12
         <el-row align="bottom" :gutter="40">
13 13
           <el-col :span="4">
14
-            <h3 style="font-weight: bold;text-align: right;font-size: 18px;"> {{ user.userName }},您好! </h3>
14
+            <h3 style="font-weight: bold;text-align: right;font-size: 18px;"> {{ user.nickName }},您好! </h3>
15 15
             <h2 style="text-align: right;font-size: 24px;font-weight: bold;"> {{ 10 }}℃ </h2>
16 16
             <el-row style="font-size:12px;text-align: right;"> {{ "2024-01-22" }} {{ "星期一" }} </el-row>
17 17
           </el-col>
@@ -20,7 +20,7 @@
20 20
           </el-col>
21 21
           <el-col :span="16">
22 22
             <el-row style="font-size: 20px;font-weight: bold;margin-bottom: 20px;">
23
-              {{ user.userName }} <el-tag type="warning">{{ "高级工程师" }}</el-tag>
23
+              {{ user.nickName }} <el-tag type="warning">{{ "高级工程师" }}</el-tag>
24 24
             </el-row>
25 25
             <el-row>
26 26
               <el-col :span="4">

Loading…
Cancel
Save