Преглед на файлове

元素库全局搜索修改

duy преди 2 години
родител
ревизия
f4c3d0302d
променени са 1 файла, в които са добавени 8 реда и са изтрити 2 реда
  1. 8 2
      src/views/manager/wbsinfo/element.vue

+ 8 - 2
src/views/manager/wbsinfo/element.vue

@@ -858,7 +858,7 @@ export default {
       currentChange (currentPage) {
         this.page.current = currentPage;
           this.page.currentPage = currentPage;
-      //  this.searchChange();
+       this.searchChange();
 
       },
       sizeChange (pageSize) {
@@ -974,7 +974,13 @@ export default {
             }, 1000);
         }
       }else{
-         this.$message.warning("请选选择左侧节点");
+        //  this.$message.warning("请选选择左侧节点");
+          this.tabloading=true;
+          this.tabTypeLazyTreeAll(this.curTreeData.id, this.page.current,this.page.size,this.input3).then((res)=>{
+          this.loadData=res.records
+          this.page.total=res.total
+          this.tabloading=false;
+        })
       }
 
     },