|
@@ -749,6 +749,12 @@ export default {
|
|
|
return ids.join(",");
|
|
|
}
|
|
|
},
|
|
|
+ watch: {
|
|
|
+ 'input3'(){
|
|
|
+ this.page.currentPage=1;
|
|
|
+ this.page.current=1
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
//关闭公式弹窗
|
|
|
closeformulaComp(){
|
|
@@ -946,7 +952,6 @@ 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)=>{
|
|
@@ -977,8 +982,6 @@ 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
|
|
@@ -993,7 +996,6 @@ export default {
|
|
|
|
|
|
},
|
|
|
clearinput(){
|
|
|
-
|
|
|
this.searchChange()
|
|
|
},
|
|
|
resetChange(item){
|