添加配置
This commit is contained in:
@@ -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
|
||||
}
|
||||
},
|
||||
// 设置设备
|
||||
|
||||
Reference in New Issue
Block a user