From 01d178bb03b4bf153063b6ee8f076d9f6154ea16 Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期四, 21 十一月 2024 10:07:04 +0800
Subject: [PATCH] 修改树组件传参

---
 Source/plt-web/plt-web-ui/public/index.html                                  |   51 ++++++++++++++++++++++++++++-----------------------
 Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-tree.vue |    5 +++++
 2 files changed, 33 insertions(+), 23 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/public/index.html b/Source/plt-web/plt-web-ui/public/index.html
index d6f34f2..73ec373 100644
--- a/Source/plt-web/plt-web-ui/public/index.html
+++ b/Source/plt-web/plt-web-ui/public/index.html
@@ -27,6 +27,34 @@
   <!-- 寮曞叆闃块噷宸村反鐨勫浘琛ㄥ簱iconfont鍜宻vg鍥炬爣鍚庯紝鐩存帴浣跨敤鍥炬爣鍚嶅嵆鍙紝璁板緱鍔犲墠缂� -->
   <link rel="stylesheet" href="https://at.alicdn.com/t/font_567566_pwc3oottzol.css">
   <script src="//at.alicdn.com/t/font_2621503_zcbiqy2g1i.js"></script>
+  <script>
+    //灏嗗紩鍏ョ殑鍥炬爣搴撴坊鍔犲埌椤圭洰鍥炬爣搴撲腑
+    let fontIconList=[{
+      label: '鑷畾涔夊紩鍏ョ殑svg鍥炬爣',
+      list: [ {
+        label: '鏈烘瀯',
+        value: '#icon-jigou'
+      },
+        {
+          label: '鐭俊绠$悊',
+          value: '#icon-duanxinguanli'
+        },
+        {
+          label: '鍙戠エ绠$悊绯荤粺',
+          value: '#icon-fapiaoguanlixitong'
+        },
+        {
+          label: '瑙掕壊',
+          value: '#icon-jiaose'
+        }]
+    }, {
+      label: "鑷畾涔夊紩鍏ョ殑瀛椾綋鍥炬爣",
+      list: [
+        "iconfont icon-huanyingye",
+      "icon-weixin1"]
+    }
+    ];
+  </script>
 
   <title>PLTWEB骞冲彴</title>
   <style>
@@ -120,29 +148,6 @@
 <!--<script charset="utf-8" src="<%= BASE_URL %>cdn/avue/2.12.4/avue.min.js"></script>-->
 <script charset="utf-8" src="<%= BASE_URL %>cdn/avue/2.13.1/avue.min.js"></script>
 <script charset="utf-8" src="<%= BASE_URL %>cdn/nutflow/wf-design-base/index.umd.min.js"></script>
-
-<script>
-  //灏嗗紩鍏ョ殑鍥炬爣搴撴坊鍔犲埌椤圭洰鍥炬爣搴撲腑
-  let fontIconList=[{
-      label: '闃块噷鍥炬爣-Symbol鍥炬爣',
-      list: [ {
-        label: '鏈烘瀯',
-        value: '#icon-jigou'
-      },
-        {
-          label: '鐭俊绠$悊',
-          value: '#icon-duanxinguanli'
-        },
-        {
-          label: '鍙戠エ绠$悊绯荤粺',
-          value: '#icon-fapiaoguanlixitong'
-        },
-        {
-          label: '瑙掕壊',
-          value: '#icon-jiaose'
-        }]
-  }];
-</script>
 </body>
 
 </html>
diff --git a/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-tree.vue b/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-tree.vue
index 069d2d4..509bdb6 100644
--- a/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-tree.vue
+++ b/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-tree.vue
@@ -250,6 +250,11 @@
         }
       } else {
         delete params.queryRoot;
+        if(this.paramVOS.querytemplate){
+          //璇存槑鏄�氳繃鎸夐挳鐐瑰嚮鎵撳紑鐨勶紝Action鍙傛暟涓厤缃湁this.paramVOS.querytemplate
+          delete params.queryTemplate;
+          delete params.linkTypeFlag;
+        }
       }
       getTree(parentOid, parentBtmName, params,url).then(res => {
         resolve(res.data.treeData )

--
Gitblit v1.9.3