From 0c2c35139886532e938ea304254a339bd22cbd41 Mon Sep 17 00:00:00 2001
From: su1124 <1583764726@qq.com>
Date: 星期一, 24 六月 2024 19:26:11 +0800
Subject: [PATCH] su

---
 src/views/system/tijian/index.vue |   26 ++++++++++++++++++++------
 1 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/src/views/system/tijian/index.vue b/src/views/system/tijian/index.vue
index 28416de..cc2786b 100644
--- a/src/views/system/tijian/index.vue
+++ b/src/views/system/tijian/index.vue
@@ -550,7 +550,9 @@
                 >
                   椤圭洰鍒楄〃
                 </div>
-                <el-input placeholder="杈撳叆鍏抽敭瀛楄繘琛岃繃婊�" v-model="filterText">
+                <!-- @input="gaibian" -->
+                <el-input placeholder="杈撳叆鍏抽敭瀛楄繘琛岃繃婊�" 
+                 v-model="filterText">
                 </el-input>
                 <div class="tab3">
                   <el-tree
@@ -1311,6 +1313,7 @@
   },
   data() {
     return {
+      pname:"",
       filterText: "",
       proIdList: [],
       tableDatas: [],
@@ -1556,11 +1559,12 @@
     },
     filterNode(value, data) {
       if (!value) return true;
-      if(value == data.proName){
-        return data.proName.indexOf(value) !== -1;
-      }else{
-        return data.proEngName.indexOf(value) !== -1;
-      }
+      return data.proName.indexOf(value) !== -1;
+      // if(value == data.proName){
+      //   return data.proName.indexOf(value) !== -1;
+      // }else{
+      //   return data.proEngName.indexOf(value) !== -1;
+      // }
     },
     beforeDestroy() {
       clearInterval(this.timer);
@@ -2451,8 +2455,18 @@
         this.getDataList();
       }
     },
+    // gaibian(val){
+    //   console.log(val);
+    //   let pname = val;
+    //   console.log(pname);
+    //   getProParentIdDxList(pname).then(response=>{
+    //     this.Treedata = response.data.list;
+    //   })
+    // },
     getDataList() {
+      console.log(111);
       this.loading = true;
+      // this.pname = "null";
       getProParentIdDxList().then((response) => {
         this.Treedata = response.data.list;
         if (this.tableData[0]) {

--
Gitblit v1.8.0