9/20 优化定时查询

yanshishuju
wangwei 7 months ago
parent bbe2c526a5
commit fb0d5b8972

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

Loading…
Cancel
Save