|
@@ -946,6 +946,7 @@ export default {
|
|
|
//搜索
|
|
|
searchChange(){
|
|
|
if(this.treeId){
|
|
|
+
|
|
|
if(this.curTreeData.hasChildren){
|
|
|
this.tabloading=true;
|
|
|
this.tabTypeLazyTreeAll(this.curTreeData.id, this.page.current,this.page.size,this.input3).then((res)=>{
|
|
@@ -976,6 +977,8 @@ export default {
|
|
|
}else{
|
|
|
// this.$message.warning("请选选择左侧节点");
|
|
|
if(this.input3){
|
|
|
+ this.page.current=1;
|
|
|
+ this.page.currentPage=1
|
|
|
this.tabloading=true;
|
|
|
this.tabTypeLazyTreeAll(this.curTreeData.id, this.page.current,this.page.size,this.input3).then((res)=>{
|
|
|
this.loadData=res.records
|
|
@@ -990,6 +993,7 @@ export default {
|
|
|
|
|
|
},
|
|
|
clearinput(){
|
|
|
+
|
|
|
this.searchChange()
|
|
|
},
|
|
|
resetChange(item){
|