Parcourir la source

独立表单库全局搜索

duy il y a 2 ans
Parent
commit
3af955e439
1 fichiers modifiés avec 8 ajouts et 1 suppressions
  1. 8 1
      src/views/manager/projectinfo/independent.vue

+ 8 - 1
src/views/manager/projectinfo/independent.vue

@@ -497,11 +497,18 @@ export default {
          if(this.treeId){
             this.onLoad2()
           }else{
-             this.$message.warning("请先选择左侧节点");
+                this.tabloading=true;
+                this.tabTypeLazyTree(this.curTreeData.id, this.projectid, this.page.current,this.page.size,this.input3).then((res)=>{
+                console.log(res.records);
+                this.loadData=res.records;
+                this.page.total=res.total;
+                this.tabloading=false;
+                })
           }
     },
     currentChange (currentPage) {
         this.page.current = currentPage;
+         this.searchChange();
 
     },
     sizeChange (pageSize) {