From caeda40f35bca0333d8b7433df101777c6c3a78e Mon Sep 17 00:00:00 2001 From: ssc <273702440@qq.com> Date: Fri, 17 Dec 2021 21:10:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B5=81=E7=A8=8B=E5=9B=BE=E5=AD=98?= =?UTF-8?q?=E5=9C=A8=E5=B9=B6=E8=A1=8C=E8=8A=82=E7=82=B9=E6=97=B6=E5=BE=85?= =?UTF-8?q?=E5=8A=9E=E9=A2=9C=E8=89=B2=E6=A0=87=E8=AE=B0=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/plugin/workflow/mixins/ex-form.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) 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) {