From 2c5663da38e977aa9ada0f0a8d1bd359c4dca02f Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期四, 07 十一月 2024 14:58:49 +0800
Subject: [PATCH] 调整业务类型和链接类型

---
 Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/rightRegion/bottomTable/index.vue |   32 ++++++++++++++------------------
 1 files changed, 14 insertions(+), 18 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/rightRegion/bottomTable/index.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/rightRegion/bottomTable/index.vue
index f4af7ad..627f21e 100644
--- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/rightRegion/bottomTable/index.vue
+++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/rightRegion/bottomTable/index.vue
@@ -249,7 +249,7 @@
       eventOption: {
         ...basicOption,
         addBtn: false,
-        editBtn: false,
+        // editBtn: false,
         delBtn: false,
         refreshBtn: false,
         highlightCurrentRow: true,
@@ -440,9 +440,9 @@
             },
             change: (val) => {
               const list = ['showType', 'linkType', 'templateId', 'SubUILayout', 'searchObjType', 'queryTemplateName', 'controlPath', 'expandCols', 'rootContent', 'showAbs', 'showLinkAbs', 'separator']
-              list.forEach(item => {
-                this.form[item] = "";
-              })
+              // list.forEach(item => {
+              //   this.form[item] = "";
+              // })
               const searchTarger = this.option.column.find(item => item.prop === 'searchTarger');  // 鑾峰彇鎼滅储绫诲瀷閰嶇疆椤�
               searchTarger.display = true; // 鍒囨崲榛樿灞曠ず鎼滅储绫诲瀷
               // 妯℃澘绫诲瀷涓鸿〃鏍�
@@ -509,9 +509,9 @@
               }
               // 鍒囨崲娓呯┖妯℃澘绫诲瀷
               const list = ['showType', 'linkType', 'templateId', 'SubUILayout', 'queryTemplateName', 'searchObjType'];
-              list.forEach(item => {
-                this.form[item] = '';
-              })
+              // list.forEach(item => {
+              //   this.form[item] = '';
+              // })
             }
           },
           {
@@ -790,15 +790,11 @@
 
     // 缂栬緫鎵撳紑琛ㄥ崟鍓�
     beforeOpen(done, type) {
-      if (type === 'edit') {
-        this.form.showType = 'Ludc';
-        this.$set(this.form, 'showType', 'Ludc');
-        // this.$set(this.option.group[0].column[0],'value','Ludc');
-        // this.option.group[0].column[0].value = 'Ludc';
-        done();
-      } else {
-        done();
-      }
+      // if (type === 'edit') {
+      //   console.log('edit');
+      //   this.form.showType = 'Ludc';
+      // }
+      done();
     },
 
     // 澧炲姞鍏抽棴瀵硅瘽妗� 娓呯┖event鏁扮粍
@@ -940,7 +936,7 @@
     // 妯℃澘绫诲瀷涓烘爲琛�
     templateTypeTreeTable(val) {
       if (!val) return;
-      this.updateDisplay(val, ['showType', 'templateId', 'queryTemplateName', 'expandCols', 'zkfs']);
+      this.updateDisplay(val, ['showType', 'templateId', 'queryTemplateName', 'expandCols', 'expandMode']);
     },
 
     // 妯℃澘绫诲瀷涓鸿〃鍗�
@@ -1123,7 +1119,7 @@
         ...this.basicForm,
         parentId: this.nodeTreeRow.oId === 'parentNode' ? '' : this.nodeTreeRow.parentId,
         buttonParams: bottomParams,
-        tableOId:this.selectList[0].id
+        tableOId: this.selectList[0].id
       } : {
         ...this.basicForm,
         buttonParams: bottomParams

--
Gitblit v1.9.3