|
@@ -267,6 +267,10 @@ export default {
|
|
|
let typeQuery = localStorage.getItem('typeQuery');
|
|
let typeQuery = localStorage.getItem('typeQuery');
|
|
|
if(this.latestUpdateTime!=null && typeQuery == 1){
|
|
if(this.latestUpdateTime!=null && typeQuery == 1){
|
|
|
this.getListTotalFn();
|
|
this.getListTotalFn();
|
|
|
|
|
+ }else{
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
|
+ this.onSearch();
|
|
|
|
|
+ }, 1000);
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
deactivated(){
|
|
deactivated(){
|
|
@@ -306,9 +310,6 @@ export default {
|
|
|
this.getDeptInfo('user');
|
|
this.getDeptInfo('user');
|
|
|
}, 2000);
|
|
}, 2000);
|
|
|
}
|
|
}
|
|
|
- setTimeout(() => {
|
|
|
|
|
- this.onSearch();
|
|
|
|
|
- }, 1000);
|
|
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
getListTotalFn(){
|
|
getListTotalFn(){
|