添加配置
This commit is contained in:
@@ -87,6 +87,12 @@
|
|||||||
<el-switch v-model="setForm.isArrow" active-color="#07C160" inactive-color="#aaa"> </el-switch>
|
<el-switch v-model="setForm.isArrow" active-color="#07C160" inactive-color="#aaa"> </el-switch>
|
||||||
</div>
|
</div>
|
||||||
</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 v-if="setForm.isArrow" class="flex_box flex_col_top set_item">
|
||||||
<div class="set_label">分盘设置:</div>
|
<div class="set_label">分盘设置:</div>
|
||||||
<div class="set_val">
|
<div class="set_val">
|
||||||
@@ -273,6 +279,7 @@ export default {
|
|||||||
ass_task: [],
|
ass_task: [],
|
||||||
task_freq: 1,
|
task_freq: 1,
|
||||||
archive_path: '',
|
archive_path: '',
|
||||||
|
is_sim: true
|
||||||
},
|
},
|
||||||
testForm: {
|
testForm: {
|
||||||
req_name: 'submit_task',
|
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
|
// 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_close = that.setForm.isClose
|
||||||
that.form.is_finished_delete = that.setForm.isDel
|
that.form.is_finished_delete = that.setForm.isDel
|
||||||
that.form.is_printer_labal_failed = that.setForm.isPrint
|
that.form.is_printer_labal_failed = that.setForm.isPrint
|
||||||
|
that.form.is_sim = that.setForm.is_sim
|
||||||
// csv文件处理
|
// csv文件处理
|
||||||
if (!that.form.udf_file && that.soonList.length > 0) {
|
if (!that.form.udf_file && that.soonList.length > 0) {
|
||||||
that.soonList.forEach((item) => {
|
that.soonList.forEach((item) => {
|
||||||
|
|||||||
@@ -9,7 +9,8 @@ const setFormDefault = {
|
|||||||
isClose: true,
|
isClose: true,
|
||||||
isArrow: true,
|
isArrow: true,
|
||||||
isPrint: true,
|
isPrint: true,
|
||||||
disk: 1
|
disk: 1,
|
||||||
|
is_sim: true
|
||||||
}
|
}
|
||||||
const user = {
|
const user = {
|
||||||
state: {
|
state: {
|
||||||
|
|||||||
@@ -950,25 +950,25 @@ export default {
|
|||||||
},
|
},
|
||||||
// 新建作业
|
// 新建作业
|
||||||
showWork() {
|
showWork() {
|
||||||
// if (!that.workStatus) {
|
if (!that.workStatus) {
|
||||||
// that.$message({
|
that.$message({
|
||||||
// message: '请先连接服务',
|
message: '请先连接服务',
|
||||||
// type: 'warning'
|
type: 'warning'
|
||||||
// })
|
})
|
||||||
// return
|
return
|
||||||
// }
|
}
|
||||||
// if (that.printer_info.is_set_cddev == 1) {
|
if (that.printer_info.is_set_cddev == 1) {
|
||||||
// that.$confirm('上下光驱未设置,请前往设置', '温馨提示', {
|
that.$confirm('上下光驱未设置,请前往设置', '温馨提示', {
|
||||||
// confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
// cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
// type: 'warning'
|
type: 'warning'
|
||||||
// }).then(() => {
|
}).then(() => {
|
||||||
// that.goSet('/manage?type=cddev')
|
that.goSet('/manage?type=cddev')
|
||||||
// }).catch(() => {
|
}).catch(() => {
|
||||||
|
|
||||||
// });
|
});
|
||||||
// return
|
return
|
||||||
// }
|
}
|
||||||
that.isNew = true
|
that.isNew = true
|
||||||
that.workShow = true
|
that.workShow = true
|
||||||
that.$nextTick(() => {
|
that.$nextTick(() => {
|
||||||
|
|||||||
@@ -153,6 +153,10 @@ export default {
|
|||||||
{
|
{
|
||||||
id: 4,
|
id: 4,
|
||||||
name: '校准光盘桶'
|
name: '校准光盘桶'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 5,
|
||||||
|
name: '校准打印头'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
actionList: [
|
actionList: [
|
||||||
@@ -257,6 +261,10 @@ export default {
|
|||||||
{
|
{
|
||||||
id: 4,
|
id: 4,
|
||||||
name: '校准光盘桶'
|
name: '校准光盘桶'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 5,
|
||||||
|
name: '校准打印头'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
this.cdOptions = [
|
this.cdOptions = [
|
||||||
@@ -300,6 +308,10 @@ export default {
|
|||||||
{
|
{
|
||||||
id: 4,
|
id: 4,
|
||||||
name: '校准光盘桶'
|
name: '校准光盘桶'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 5,
|
||||||
|
name: '校准打印头'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
this.cdOptions = [
|
this.cdOptions = [
|
||||||
@@ -483,6 +495,29 @@ export default {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
break
|
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