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' } }