[update] 已办,已发,监控流程跳转详情的区分

This commit is contained in:
lideqin
2024-07-18 09:51:14 +08:00
parent f5d7315171
commit 5393ff63de
2 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -50,7 +50,8 @@
<template v-slot:taskNode="{text, record}">
<a-tooltip overlay-class-name="tooltip-style">
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>
<a v-if="text" class="link-a" @click="handleLookDetail(record)">{{ text }}</a>
<a v-if="text && record.snapshotId" class="link-a" @click="handleLookDetail(record)">{{ text }}</a>
<div v-else-if="text && !record.snapshotId" class="table-text">{{ text }}</div>
<div v-else class="table-text">{{ global.emptyLine }}</div>
</a-tooltip>
</template>
@@ -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
+3 -3
View File
@@ -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' }
}