From 3ad1e506102de2e3c344f2f04cb5ed3bc6214d3c Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 19 二月 2025 11:23:32 +0800
Subject: [PATCH] 样式
---
src/views/flowable/definition/index.vue | 24 +++++++++++++++++-------
1 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/src/views/flowable/definition/index.vue b/src/views/flowable/definition/index.vue
index d8963ad..9287c80 100644
--- a/src/views/flowable/definition/index.vue
+++ b/src/views/flowable/definition/index.vue
@@ -62,7 +62,7 @@
<el-table-column label="娴佺▼缂栧彿" align="center" prop="deploymentId" :show-overflow-tooltip="true"/>
<el-table-column label="娴佺▼鏍囪瘑" align="center" prop="flowKey" :show-overflow-tooltip="true" />
<el-table-column label="娴佺▼鍒嗙被" align="center" prop="category" />
- <el-table-column label="娴佺▼鍚嶇О" align="center" width="120" :show-overflow-tooltip="true">
+ <el-table-column label="娴佺▼鍚嶇О" align="center" width="200" :show-overflow-tooltip="true">
<template slot-scope="scope">
<el-button type="text" @click="handleReadImage(scope.row.deploymentId)">
<span>{{ scope.row.name }}</span>
@@ -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