From 426cad0dd0eef1aefb59c6aaa2e2a2448773dc0b Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期一, 24 七月 2023 17:29:24 +0800
Subject: [PATCH] 1、修改查询按钮时的条件,使用编码来查询。 2、增加申请编码时增加设置默认的租户编码。 3、对传入in('条件sql拼接报错问题进行了修改。 4、模板的启用前进行了对分类启用状态的一个判断工作。

---
 Source/UBCS-WEB/src/components/template/FlowPath.vue |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/template/FlowPath.vue b/Source/UBCS-WEB/src/components/template/FlowPath.vue
index 3081958..24ccf03 100644
--- a/Source/UBCS-WEB/src/components/template/FlowPath.vue
+++ b/Source/UBCS-WEB/src/components/template/FlowPath.vue
@@ -48,6 +48,7 @@
                     {
                         label: '妯℃澘key',
                         prop: 'modelKey',
+                        width:120,
                         sortable: true,
                         type: 'tree',
                         dicData: [],
@@ -69,19 +70,26 @@
                         label: '妯℃澘鍚嶇О',
                         prop: 'modelName',
                         sortable: true,
+                        width:220,
                         addDisabled: true,
                         editDisabled: true,
                     },
                     {
-                        label: '娴佺▼妯℃澘鐢ㄩ��',
+                        label: '妯℃澘鐢ㄩ��',
                         prop: 'buttonTypeKey',
                         type: 'tree',
+                        width:120,
                         dicUrl: '/api/ubcs-flow/processTS/tt',
                         dicMethod: 'post',
                         props: {
                             value: "codee",
                             label: "namee",
                         },
+                    },
+                    {
+                        label: '妯℃澘鎻忚堪',
+                        prop: 'description',
+                        type:'textarea'
                     },
                 ]
             },
@@ -138,8 +146,8 @@
         // 缂栬緫
         async handleEdit(row, index, done, loading) {
             console.log(row)
-            const { modelName, modelKey, buttonTypeKey, id } = row
-            let param = { modelName, modelKey, buttonTypeKey, id }
+            const { modelName, modelKey, buttonTypeKey, id ,description} = row
+            let param = { modelName, modelKey, buttonTypeKey, id,description }
             const response = await flowpathSave({ ...param, ...{ templateId: this.code } })
             if (response.status === 200) {
                 loading()

--
Gitblit v1.9.3