添加配置

This commit is contained in:
24kycj
2025-04-30 22:57:52 +08:00
parent e7cd850cf9
commit 77811571d4
4 changed files with 65 additions and 20 deletions
+35
View File
@@ -153,6 +153,10 @@ export default {
{
id: 4,
name: '校准光盘桶'
},
{
id: 5,
name: '校准打印头'
}
],
actionList: [
@@ -257,6 +261,10 @@ export default {
{
id: 4,
name: '校准光盘桶'
},
{
id: 5,
name: '校准打印头'
}
]
this.cdOptions = [
@@ -300,6 +308,10 @@ export default {
{
id: 4,
name: '校准光盘桶'
},
{
id: 5,
name: '校准打印头'
}
]
this.cdOptions = [
@@ -483,6 +495,29 @@ export default {
})
})
break
case 5:
// 校准打印头
that
.$confirm('请校准好打印头再点击确定', '温馨提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
.then(() => {
that.$store
.dispatch('chat/websocketsend', {
req_name: 'CaliPrinterHead',
req_type: 1,
req_info: {}
})
.then(() => {
that.$message({
message: '执行成功',
type: 'success'
})
})
})
break
}
},
// 设置设备