添加配置
This commit is contained in:
@@ -87,6 +87,12 @@
|
||||
<el-switch v-model="setForm.isArrow" active-color="#07C160" inactive-color="#aaa"> </el-switch>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex_box set_item">
|
||||
<div class="set_label">是否虚拟刻录:</div>
|
||||
<div class="set_val">
|
||||
<el-switch v-model="setForm.is_sim" active-color="#07C160" inactive-color="#aaa"> </el-switch>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="setForm.isArrow" class="flex_box flex_col_top set_item">
|
||||
<div class="set_label">分盘设置:</div>
|
||||
<div class="set_val">
|
||||
@@ -273,6 +279,7 @@ export default {
|
||||
ass_task: [],
|
||||
task_freq: 1,
|
||||
archive_path: '',
|
||||
is_sim: true
|
||||
},
|
||||
testForm: {
|
||||
req_name: 'submit_task',
|
||||
@@ -296,7 +303,8 @@ export default {
|
||||
]
|
||||
}
|
||||
],
|
||||
task_freq: 1
|
||||
task_freq: 1,
|
||||
is_sim: true
|
||||
}
|
||||
},
|
||||
// CD类型:CD 700MB:1,DVD 4.7GB:2, DVD_DL 8.5GB:3,BD 25GB:4,BD_DL 50GB:5,BD_TL 100GB:6,BD_QL 128GB:7
|
||||
@@ -749,6 +757,7 @@ export default {
|
||||
that.form.is_finished_close = that.setForm.isClose
|
||||
that.form.is_finished_delete = that.setForm.isDel
|
||||
that.form.is_printer_labal_failed = that.setForm.isPrint
|
||||
that.form.is_sim = that.setForm.is_sim
|
||||
// csv文件处理
|
||||
if (!that.form.udf_file && that.soonList.length > 0) {
|
||||
that.soonList.forEach((item) => {
|
||||
|
||||
@@ -9,7 +9,8 @@ const setFormDefault = {
|
||||
isClose: true,
|
||||
isArrow: true,
|
||||
isPrint: true,
|
||||
disk: 1
|
||||
disk: 1,
|
||||
is_sim: true
|
||||
}
|
||||
const user = {
|
||||
state: {
|
||||
|
||||
@@ -950,25 +950,25 @@ export default {
|
||||
},
|
||||
// 新建作业
|
||||
showWork() {
|
||||
// if (!that.workStatus) {
|
||||
// that.$message({
|
||||
// message: '请先连接服务',
|
||||
// type: 'warning'
|
||||
// })
|
||||
// return
|
||||
// }
|
||||
// if (that.printer_info.is_set_cddev == 1) {
|
||||
// that.$confirm('上下光驱未设置,请前往设置', '温馨提示', {
|
||||
// confirmButtonText: '确定',
|
||||
// cancelButtonText: '取消',
|
||||
// type: 'warning'
|
||||
// }).then(() => {
|
||||
// that.goSet('/manage?type=cddev')
|
||||
// }).catch(() => {
|
||||
if (!that.workStatus) {
|
||||
that.$message({
|
||||
message: '请先连接服务',
|
||||
type: 'warning'
|
||||
})
|
||||
return
|
||||
}
|
||||
if (that.printer_info.is_set_cddev == 1) {
|
||||
that.$confirm('上下光驱未设置,请前往设置', '温馨提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
that.goSet('/manage?type=cddev')
|
||||
}).catch(() => {
|
||||
|
||||
// });
|
||||
// return
|
||||
// }
|
||||
});
|
||||
return
|
||||
}
|
||||
that.isNew = true
|
||||
that.workShow = true
|
||||
that.$nextTick(() => {
|
||||
|
||||
@@ -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