From 5c929cfb5286a31a4e067cbc61e8774f4e7d42ae Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 06 五月 2025 11:25:41 +0800
Subject: [PATCH] 任务查看:任务名称undefined解决
---
src/views/flowable/task/myProcess/detail/index.vue | 4 +++-
src/views/projectProcess/detail/index.vue | 1 +
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/views/flowable/task/myProcess/detail/index.vue b/src/views/flowable/task/myProcess/detail/index.vue
index 6dc7580..2b81579 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" style="display: flex">
- <div style="flex: 1" class="el-icon-document">{{`浠诲姟璇︽儏锛歚 + this.goBackParams.processName}}</div>
+ <div style="flex: 1" class="el-icon-document">{{`浠诲姟璇︽儏锛歚 + this.taskName}}</div>
<div style="flex: 2; color: #303133">{{projectName + '鈥斺��' + flowName}}</div>
<el-button style="float: right;" size="mini" type="danger" @click="goBack">鍏抽棴</el-button>
</div>
@@ -128,6 +128,7 @@
props: {},
data() {
return {
+ taskName: '', // 浠诲姟鍚嶇О
formLoading: false, // 鍔犺浇琛ㄥ崟
imgLoading: false, // 鍔犺浇娴佺▼鍥�
projectName: '',
@@ -160,6 +161,7 @@
this.goBackParams = this.$route.query && this.$route.query.goBackParams;
this.projectName = this.$route.query && this.$route.query.projectName;
this.flowName = this.$route.query && this.$route.query.flowName;
+ this.taskName = this.$route.query && this.$route.query.taskName;
// 娴佺▼浠诲姟閲嶈幏鍙栧彉閲忚〃鍗�
this.processVariables( this.taskForm.taskId, this.taskForm.procInsId)
this.getFlowRecordList(this.taskForm.procInsId);
diff --git a/src/views/projectProcess/detail/index.vue b/src/views/projectProcess/detail/index.vue
index 12e9824..b0bab34 100644
--- a/src/views/projectProcess/detail/index.vue
+++ b/src/views/projectProcess/detail/index.vue
@@ -417,6 +417,7 @@
query: {
projectName: this.detailData.projectName,
flowName: this.queryParams.processName,
+ taskName: row.taskName,
procInsId: row.processInsId,
deployId: row.deployId,
taskId: row.taskId,
--
Gitblit v1.8.0