9/20 优化定时查询

yanshishuju
wangwei 7 months ago
parent bbe2c526a5
commit fb0d5b8972

@ -524,7 +524,8 @@ export default {
getBusType: [], getBusType: [],
}, },
showType: 1, showType: 1,
routerParam: this.$route.query.routerParam routerParam: this.$route.query.routerParam,
timer: null
} }
}, },
@ -557,6 +558,15 @@ export default {
return return
}) })
}, },
timerAuto() {
//
this.timer = setInterval(() => {
this.getList()
}, 10000)
//
// clearInterval(this.timer)
},
changeInvRemind(val) { changeInvRemind(val) {
let post = { let post = {
workPlaceCode: val workPlaceCode: val
@ -819,6 +829,7 @@ export default {
this.getList(); this.getList();
}); });
this.filterQuery.tagStatus = this.tagStatus this.filterQuery.tagStatus = this.tagStatus
this.timerAuto()
// this.filterQuery.workPlaceCode = this.workPlaceCode +'' // this.filterQuery.workPlaceCode = this.workPlaceCode +''
} }

Loading…
Cancel
Save