From 39efab1d5585dcc6229a0c0e88d58556d9a9a67c Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 27 十一月 2024 02:37:22 +0800 Subject: [PATCH] 流程信息配置功能、项目关联流程功能 --- src/views/flowable/definition/index.vue | 22 ++++++++++++++++------ 1 files changed, 16 insertions(+), 6 deletions(-) diff --git a/src/views/flowable/definition/index.vue b/src/views/flowable/definition/index.vue index d8963ad..630c9ce 100644 --- a/src/views/flowable/definition/index.vue +++ b/src/views/flowable/definition/index.vue @@ -262,8 +262,9 @@ data() { return { configForm: { + processDefId: '', deployId: '', - deployVersion: null, + processDefVersion: null, projectType: '', // 椤圭洰绫诲瀷 fundType: '', // 璧勯噾绫诲瀷 investType: '', // 鎶曡祫绫诲埆 @@ -361,22 +362,31 @@ }, methods: { closeConfig() { + this.configForm = { + processDefId: '', + deployId: '', + processDefVersion: null, + projectType: '', // 椤圭洰绫诲瀷 + fundType: '', // 璧勯噾绫诲瀷 + investType: '', // 鎶曡祫绫诲埆 + importanceType: '', // 閲嶇偣鍒嗙被 + } this.processConfigShow = false }, handleConfig(row) { - const infoArr = row.id.split(":"); const params = { - deployId: infoArr[2], - deployVersion: infoArr[1] + processDefId: row.id, + processDefVersion: row.version } getProcessConfigInfoByDeploy(params).then(res => { if (res.data) { this.configForm = res.data } }) - this.configForm.deployId = infoArr[2] - this.configForm.deployVersion = infoArr[1] + this.configForm.processDefId = row.id + this.configForm.deployId = row.deploymentId + this.configForm.processDefVersion = row.version this.configDeployName = row.name this.processConfigShow = true }, -- Gitblit v1.8.0