|
@@ -445,12 +445,14 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
mounted: function () {
|
|
mounted: function () {
|
|
|
|
|
+ this.loadData()
|
|
|
if (this.timer) {
|
|
if (this.timer) {
|
|
|
clearInterval(this.timer)
|
|
clearInterval(this.timer)
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
this.timer = setInterval(() => {
|
|
this.timer = setInterval(() => {
|
|
|
- this.loadData()
|
|
|
|
|
|
|
+ this.getMessage() /* 获取公告 */
|
|
|
|
|
+ this.getWait() /* 待办任务*/
|
|
|
|
|
+ this.getOrver() /* 已办任务*/
|
|
|
}, 180000)
|
|
}, 180000)
|
|
|
},
|
|
},
|
|
|
beforeDestroy() {
|
|
beforeDestroy() {
|