From dba034239c4ac9df17ae1be069808dbb85ddbc42 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 02 一月 2025 18:27:33 +0800 Subject: [PATCH] 流程推进详情页传递流程名称参数、表格数据项处理,TODO:实际处理人使用额外字段存储 --- src/views/flowable/task/myProcess/detail/index.vue | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/views/flowable/task/myProcess/detail/index.vue b/src/views/flowable/task/myProcess/detail/index.vue index c797cb2..1d29b92 100644 --- a/src/views/flowable/task/myProcess/detail/index.vue +++ b/src/views/flowable/task/myProcess/detail/index.vue @@ -2,7 +2,7 @@ <div class="app-container"> <el-card class="box-card" > <div slot="header" class="clearfix"> - <span class="el-icon-document">宸插畬鎴愪换鍔�</span> + <span class="el-icon-document">浠诲姟璇︽儏</span> <el-button style="float: right;" size="mini" type="danger" @click="goBack">鍏抽棴</el-button> </div> <el-tabs tab-position="top" v-model="activeName" @tab-click="handleClick"> @@ -27,7 +27,10 @@ :icon="setIcon(item.finishTime)" :color="setColor(item.finishTime)" > - <p style="font-weight: 700">{{item.taskName}}</p> + <p style="font-weight: 700">{{item.taskName}} + <span v-if="item.comment && item.comment.type === '3'" style="color: red">(鎵ц浜嗛┏鍥�)</span> + <span v-if="item.overtime" style="color: red">(宸茶秴鏃�)</span> + </p> <el-card :body-style="{ padding: '10px' }"> <el-descriptions class="margin-top" :column="1" size="small" border> <el-descriptions-item v-if="item.assigneeName" label-class-name="my-label"> @@ -189,9 +192,15 @@ }, /** 杩斿洖椤甸潰 */ goBack() { + // 鍏抽棴褰撳墠鏍囩椤� + this.$store.dispatch("tagsView/delView", this.$route); this.$router.push({ path: '/projectFlow/detail', - query: this.goBackParams + query: { + projectId: this.goBackParams.projectId, + processDefId: this.goBackParams.processDefId, + processName: this.goBackParams.processName + } }) }, } -- Gitblit v1.8.0