add:新增仙工agv动作块以及优化任务看板

This commit is contained in:
2024-03-27 15:11:55 +08:00
parent 7dc1f2b429
commit 5f8c856a09
4 changed files with 81 additions and 4 deletions

View File

@@ -152,7 +152,8 @@ export default {
// 定时器
const timer = setInterval(() => {
this.settime()// 你所加载数据的方法
}, 1000)
this.getMessage()
}, 10000)
// 销毁定时器
this.$once('hook:beforeDestroy', () => {
clearInterval(timer)
@@ -183,6 +184,11 @@ export default {
this.initStatus()
}, 10000)
},
getMessage() {
deviceCrud.getLedMessage(this.device).then(data => {
this.form = data
})
},
settime() {
const _this = this
const yy = new Date().getFullYear()