diff --git a/src/views/plugin/workflow/mixins/ex-form.js b/src/views/plugin/workflow/mixins/ex-form.js index 7f7c3f9..de7a0b8 100644 --- a/src/views/plugin/workflow/mixins/ex-form.js +++ b/src/views/plugin/workflow/mixins/ex-form.js @@ -334,18 +334,11 @@ export default { handleResolveFlows(flow) { const flows = [] - // 更改待办节点颜色 - flow.reverse() - const lastUserEvent = flow.find(f => f.historyActivityType == 'userTask') - const endEvent = flow.find(f => f.historyActivityType == 'endEvent') - if (lastUserEvent && !endEvent) lastUserEvent.class = 'nodePrimary' - flow.reverse() - flow.forEach(f => { - const { assigneeName, createTime, comments } = f + const { assigneeName, createTime, endTime, comments } = f const ff = { id: f.historyActivityId, - class: f.class + class: !endTime ? 'nodePrimary': '' } let tooltip = '' if (assigneeName) {