File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed
components/bpmnProcessDesigner/package/penal/flow-condition
views/bpm/processInstance Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 15
15
</el-select >
16
16
</el-form-item >
17
17
<el-form-item label =" 表达式" v-if =" flowConditionForm.conditionType && flowConditionForm.conditionType === 'expression'" key =" express" >
18
- <el-input v-model =" flowConditionForm.body" clearable @change =" updateFlowCondition" />
18
+ <el-input v-model =" flowConditionForm.body" style = " width : 192 px ; " clearable @change =" updateFlowCondition" />
19
19
</el-form-item >
20
20
<template v-if =" flowConditionForm .conditionType && flowConditionForm .conditionType === ' script' " >
21
21
<el-form-item label =" 脚本语言" key =" language" >
Original file line number Diff line number Diff line change 60
60
审批人:{{ item.assigneeUser.nickname }}
61
61
<el-tag type =" info" size =" mini" >{{ item.assigneeUser.deptName }}</el-tag >
62
62
</label >
63
- <label style =" font-weight : normal " >创建时间:</label >
63
+ <label style =" font-weight : normal " v-if = " item.createTime " >创建时间:</label >
64
64
<label style =" color :#8a909c ; font-weight : normal " >{{ parseTime(item.createTime) }}</label >
65
65
<label v-if =" item.endTime" style =" margin-left : 30px ;font-weight : normal " >审批时间:</label >
66
66
<label v-if =" item.endTime" style =" color :#8a909c ;font-weight : normal " > {{ parseTime(item.endTime) }}</label >
@@ -234,19 +234,19 @@ export default {
234
234
// 审批记录
235
235
this .tasks = response .data ;
236
236
// 排序,将未完成的排在前面,已完成的排在后面;
237
- this .tasks .sort ((a , b ) => {
238
- // 有已完成的情况,按照完成时间倒序
239
- if (a .endTime && b .endTime ) {
240
- return b .endTime - a .endTime ;
241
- } else if (a .endTime ) {
242
- return 1 ;
243
- } else if (b .endTime ) {
244
- return - 1 ;
245
- // 都是未完成,按照创建时间倒序
246
- } else {
247
- return b .createTime - a .createTime ;
248
- }
249
- });
237
+ // this.tasks.sort((a, b) => {
238
+ // // 有已完成的情况,按照完成时间倒序
239
+ // if (a.endTime && b.endTime) {
240
+ // return b.endTime - a.endTime;
241
+ // } else if (a.endTime) {
242
+ // return 1;
243
+ // } else if (b.endTime) {
244
+ // return -1;
245
+ // // 都是未完成,按照创建时间倒序
246
+ // } else {
247
+ // return b.createTime - a.createTime;
248
+ // }
249
+ // });
250
250
251
251
// 需要审核的记录
252
252
const userId = store .getters .userId ;
You can’t perform that action at this time.
0 commit comments