From f37b3eceb7e962d32ebe420bb8b931ea4dae4fe2 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 28 三月 2024 17:56:33 +0800
Subject: [PATCH] 表单参照

---
 Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue b/Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue
index 0a6ecb1..b2e6561 100644
--- a/Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue
+++ b/Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue
@@ -7,6 +7,7 @@
                :page.sync="pageType"
                :table-loading="loading"
                @row-click="rowClickChange"
+               @search-change='searchChange'
                @selection-change="selectChange">
       <!--top鍖哄煙鎸夐挳-->
       <template slot="menuLeft" slot-scope="scope">
@@ -514,7 +515,7 @@
       });
     },
     pageType() {
-      return this.areasName.indexOf('westArea') == 0  ? this.simplePage : this.page;
+      return this.areasName === 'westArea' ? this.simplePage : this.page;
     }
   },
   watch: {
@@ -538,13 +539,6 @@
           this.parentHeight = this.$el.clientHeight - this.$children[0].$children[1].$children[0].$el.clientHeight - this.$children[0].$children[2].$el.clientHeight - 5;
         }
       }
-    },
-    sourceData:{
-      handler(newval) {
-        //婧愭暟鎹湁鍙樺寲鏃跺彉鏇村綋鍓嶅尯鍩熸暟鎹�
-        console.log(this.areasName);
-        console.log(newval);
-      }
     }
   },
   created() {
@@ -562,6 +556,13 @@
     },
     selectChange(row) {
       this.selectList = row;
+    },
+    TreeSelectChange(row) {
+      this.TreeSelectList = row;
+    },
+    searchChange(form,done){
+      console.log(form)
+      done()
       this.$emit("setDataStore", {
         area: this.areasName,
         dataStore:row

--
Gitblit v1.9.3