From 92e66c2f453e00ac8565e8d803d750842679312d Mon Sep 17 00:00:00 2001 From: clay <20932067@zju.edu.cn> Date: Tue, 21 Mar 2023 22:56:57 +0800 Subject: [PATCH] =?UTF-8?q?clay=20:=20=E8=8A=82=E7=82=B9=E6=B8=B2=E6=9F=93?= =?UTF-8?q?=E7=BB=86=E8=8A=82=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/AvatarEllipsis.vue | 4 +- .../common/operation/OperationRender.vue | 48 +++++++++++-------- 2 files changed, 31 insertions(+), 21 deletions(-) diff --git a/flowable-engine-web/src/components/common/AvatarEllipsis.vue b/flowable-engine-web/src/components/common/AvatarEllipsis.vue index ea36a66..4e5ddec 100644 --- a/flowable-engine-web/src/components/common/AvatarEllipsis.vue +++ b/flowable-engine-web/src/components/common/AvatarEllipsis.vue @@ -65,7 +65,7 @@ export default { this.$set(user, "color", "#0bbd87") } //审批通过 - if (state === 'AGREE') { + if (state === 'AGREE' || state === 'AUTO_PASS') { this.$set(user, "icon", "el-icon-check") this.$set(user, "color", "#0bbd87") } @@ -75,7 +75,7 @@ export default { this.$set(user, "color", "#f78f5f") } //拒绝后评论 - if (state === 'REFUSE') { + if (state === 'REFUSE' || state === 'AUTO_REFUSE') { this.$set(user, "icon", "el-icon-close") this.$set(user, "color", "#f56c6c") } diff --git a/flowable-engine-web/src/views/common/operation/OperationRender.vue b/flowable-engine-web/src/views/common/operation/OperationRender.vue index fe7ffe6..591d19e 100644 --- a/flowable-engine-web/src/views/common/operation/OperationRender.vue +++ b/flowable-engine-web/src/views/common/operation/OperationRender.vue @@ -30,12 +30,12 @@