소스 검색

独立表单库全局搜索

duy 2 년 전
부모
커밋
3af955e439
1개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  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) {