From 5393ff63def7dee078c32b93c86500e92b2a146b Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Thu, 18 Jul 2024 09:51:14 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E5=B7=B2=E5=8A=9E=EF=BC=8C=E5=B7=B2?= =?UTF-8?q?=E5=8F=91=EF=BC=8C=E7=9B=91=E6=8E=A7=E6=B5=81=E7=A8=8B=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E8=AF=A6=E6=83=85=E7=9A=84=E5=8C=BA=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ProcessDetailList.vue | 5 +++-- src/enums/commonEnums.js | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/ProcessDetailList.vue b/src/components/ProcessDetailList.vue index c0fa9b9..987c36a 100644 --- a/src/components/ProcessDetailList.vue +++ b/src/components/ProcessDetailList.vue @@ -50,7 +50,8 @@ @@ -275,7 +276,7 @@ export default { } // 是已办,已发还是监控流程的查审批记录 if (this.detailFrom) { - params.detailFrom = this.detailFrom + params.type = this.detailFrom } if (this.$route.query.processInstanceId) { params.processInstanceId = this.$route.query.processInstanceId diff --git a/src/enums/commonEnums.js b/src/enums/commonEnums.js index 19b7792..84ae5b5 100644 --- a/src/enums/commonEnums.js +++ b/src/enums/commonEnums.js @@ -131,9 +131,9 @@ export const IsReadOnlyEnums = { // 流程中心-查看跳转详情需要传是已办,已发还是监控流程 export const Process = { TO_DO: { text: '待办流程', value: 'todo' }, - DONE: { text: '已办流程', value: 'done' }, - SENT: { text: '已发流程', value: 'sent' }, - MONITOR: { text: '监控流程', value: 'monitor' }, + DONE: { text: '已办流程', value: '1' }, + SENT: { text: '已发流程', value: '2' }, + MONITOR: { text: '监控流程', value: '3' }, DRAFT: { text: '草稿', value: 'draft' } }