From fdf13539b4ef7f5fddb3b7335015fb3c34915a8b Mon Sep 17 00:00:00 2001
From: wangting <wangting@vci-tech.com>
Date: 星期二, 14 一月 2025 11:50:40 +0800
Subject: [PATCH] 调整查询模板添加窗口各下拉数据的获取

---
 Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/businessTypeQuery/formDialog.vue |   13 +++----------
 1 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/businessTypeQuery/formDialog.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/businessTypeQuery/formDialog.vue
index 3056f86..df7697a 100644
--- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/businessTypeQuery/formDialog.vue
+++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/businessTypeQuery/formDialog.vue
@@ -9,7 +9,7 @@
              width="1620px"
              @close="cancelDialog">
     <div style="min-height: 665px;max-height: 85vh;padding-bottom: 50px;">
-      <basic-form key="linkQueryForm" ref="form"
+      <basic-form key="businessQueryForm" ref="form"
                   :formData="form"
                   :formItems="formItems"
                   :span="4"
@@ -226,11 +226,7 @@
           return false;
         },
         allowDrag: (dropNode) => {
-          if (dropNode.data.attrs && dropNode.data.attrs.length > 0) {
-            return false;
-          } else {
-            return true;
-          }
+          return true;
         },
         props: {
           label: 'name',
@@ -426,10 +422,7 @@
     },
     businessQueryDefineChange(data) {
       if (data.value) {
-        this.businessTreeData = [{
-          name: data.value,
-          attrs: data.item.attrs
-        }]
+        this.businessTreeData = [data.item]
       }
     },
     // 寮�濮嬫嫋鎷芥爲鑺傜偣浜嬩欢

--
Gitblit v1.9.3