This commit is contained in:
2023-12-20 10:21:14 +08:00
parent e9118a8763
commit f31d69c523

View File

@@ -70,7 +70,7 @@ export default {
return { return {
interTime: this.$store.getters.setTime, interTime: this.$store.getters.setTime,
timer: null, timer: null,
dataInfo: {} // dataInfo: {}
// dataInfo: { // dataInfo: {
// device_info: 'NobleLiftPS10LMT_HuaHai', // device_info: 'NobleLiftPS10LMT_HuaHai',
// task_name: '无', // task_name: '无',
@@ -80,26 +80,28 @@ export default {
// error_name: '障碍物告警', // error_name: '障碍物告警',
// button_name: '继续搬运' // button_name: '继续搬运'
// } // }
// dataInfo: { dataInfo: {
// device_info: 'NobleLiftPS10LMT_HuaHai', device_info: 'NobleLiftPS10LMT_HuaHai',
// // task_type: 'Task Type: Return to Rest', // task_type: 'Task Type: Return to Rest',
// task_type: '任务类型: 返回休息点任务', task_type: '任务类型: 返回休息点任务',
// task_name: '任务号11322', task_name: '任务号11322',
// task_info: '目标点5', task_info: '目标点5',
// task_status: '执行中', task_status: '执行中',
// task_num: '待执行0/2', task_num: '待执行0/2',
// speed: '0.0m/s', speed: '0.0m/s',
// error_name: '正常运行', error_name: '正常运行',
// button_name: '确认完成继续下个任务' button_name: '电量过低,返回充电',
// } zh_button_name: '电量过低,返回充电',
en_button_name: 'Low Battery Level, Return For Charging'
}
} }
}, },
created () { created () {
this.initData() // this.initData()
this.refresh() // this.refresh()
}, },
beforeDestroy () { beforeDestroy () {
clearInterval(this.timer) // clearInterval(this.timer)
}, },
methods: { methods: {
refresh () { refresh () {
@@ -161,10 +163,10 @@ export default {
.con2 .con2
float left float left
.btn .btn
width 410px width 480px
height 91px height 91px
background center / 100% 100% url(../../../images/new/button.png) no-repeat background center / 100% 100% url(../../../images/new/button.png) no-repeat
margin-left 187px margin-left 157px
position relative position relative
top -30px top -30px
color #f6f9fe color #f6f9fe
@@ -279,4 +281,6 @@ export default {
top 126px top 126px
.txt2 .txt2
color #E54F29 !important color #E54F29 !important
.enClass button.btn
font-size 26px
</style> </style>