From ff1296b2da187a72238d81f1ca792f4626a5da58 Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期二, 07 一月 2025 11:31:58 +0800
Subject: [PATCH] 获取业务类型树返回图标数据

---
 Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue
index a93c5c3..46cd11f 100644
--- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue
+++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue
@@ -71,13 +71,13 @@
             @refresh-change="handleRefresh"
             @selection-change="selectChangeHandler"
             @row-click="rowClickHandler">
-            <template slot="plCSClass" slot-scope="{row}">
+            <template slot="plImage" slot-scope="{row}">
               <span class="avue-icon">
-                <icon-show :name="row.plCSClass"></icon-show>
+                <icon-show :name="row.plImage"></icon-show>
               </span>
             </template>
-            <template slot-scope="{type,disabled}" slot="plCSClassForm">
-              <input-icon :disabled="disabled" v-model="form.plCSClass"></input-icon>
+            <template slot-scope="{type,disabled}" slot="plImageForm">
+              <input-icon :disabled="disabled" v-model="form.plImage"></input-icon>
             </template>
             <template slot="plTypeType" slot-scope="{row}">
               <el-tag :type="row.plTypeType === 'business' ? '' : 'success'">
@@ -298,7 +298,7 @@
           },
           {
             label: '鍥炬爣',
-            prop: 'plCSClass',
+            prop: 'plImage',
             width: 80,
             rules: [
               {
@@ -312,7 +312,6 @@
             label: '鍒嗙被',
             prop: 'plActionCls',
             type: 'tree',
-            hide: true,
             props: {
               label: 'name',
               value: 'id',
@@ -424,8 +423,9 @@
         this.treeData = this.treeDataFormAtter([data],'Action鍒嗙被');
         const selectTreeData = this.option.column.find(item => item.prop === 'plActionCls'); // 鎵惧埌action娣诲姞鍒嗙被鏍�
         const dicData=this.treeData;
-        dicData[0].disabled=true;//鏍硅妭鐐逛笉鑳介��
+        dicData[0].disabled=true;//鍒嗙被鏍硅妭鐐逛笉鑳介��
         selectTreeData.dicData = dicData;
+        selectTreeData.hide=true;//闅愯棌鍒嗙被鍒椼�備笉鑳界洿鎺ュ湪option璁剧疆锛屼細瀵煎嚭dicData鍔犺浇涓嶅嚭
       })
     },
 
@@ -487,7 +487,7 @@
           this.lastIndex = newIndex;
         },
         () => {
-          this.selectList = [];
+          this.selectList = [row];
         }
       );
 

--
Gitblit v1.9.3