Skip to content

Commit 779d897

Browse files
anCheng1994Gogs
authored andcommitted
Merge branch 'yezhaocheng' of kmk/cloud_approval into master
2 parents 29a1801 + 00b259d commit 779d897

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

src/components/bpmnProcessDesigner/package/penal/flow-condition/FlowCondition.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</el-select>
1616
</el-form-item>
1717
<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:192px;" clearable @change="updateFlowCondition" />
1919
</el-form-item>
2020
<template v-if="flowConditionForm.conditionType && flowConditionForm.conditionType === 'script'">
2121
<el-form-item label="脚本语言" key="language">

src/views/bpm/processInstance/detail.vue

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
审批人:{{ item.assigneeUser.nickname }}
6161
<el-tag type="info" size="mini">{{ item.assigneeUser.deptName }}</el-tag>
6262
</label>
63-
<label style="font-weight: normal">创建时间:</label>
63+
<label style="font-weight: normal" v-if="item.createTime">创建时间:</label>
6464
<label style="color:#8a909c; font-weight: normal">{{ parseTime(item.createTime) }}</label>
6565
<label v-if="item.endTime" style="margin-left: 30px;font-weight: normal">审批时间:</label>
6666
<label v-if="item.endTime" style="color:#8a909c;font-weight: normal"> {{ parseTime(item.endTime) }}</label>
@@ -234,19 +234,19 @@ export default {
234234
// 审批记录
235235
this.tasks = response.data;
236236
// 排序,将未完成的排在前面,已完成的排在后面;
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+
// });
250250
251251
// 需要审核的记录
252252
const userId = store.getters.userId;

0 commit comments

Comments
 (0)