优化与对接接口
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
<el-popover v-model="setShow" placement="bottom-end" trigger="click">
|
||||
<div class="set_box">
|
||||
<div class="set_list">
|
||||
<div class="flex_box set_item">
|
||||
<!-- <div class="flex_box set_item">
|
||||
<div class="set_label">优先级:</div>
|
||||
<div class="set_val">
|
||||
<el-select v-model="setForm.priority" placeholder="请选择">
|
||||
@@ -49,7 +49,7 @@
|
||||
<el-option v-for="item in stageList" :key="item.value" :label="item.label" :value="item.value"> </el-option>
|
||||
</el-select>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="flex_box set_item">
|
||||
<div class="set_label">刻录速率:</div>
|
||||
<div class="set_val">
|
||||
@@ -291,18 +291,18 @@ export default {
|
||||
value: 2,
|
||||
label: 'ISO文件刻录'
|
||||
},
|
||||
{
|
||||
value: 3,
|
||||
label: '复制光盘'
|
||||
},
|
||||
{
|
||||
value: 4,
|
||||
label: '自动批量读取光盘'
|
||||
},
|
||||
{
|
||||
value: 5,
|
||||
label: '自动归档任务'
|
||||
},
|
||||
// {
|
||||
// value: 3,
|
||||
// label: '复制光盘'
|
||||
// },
|
||||
// {
|
||||
// value: 4,
|
||||
// label: '自动批量读取光盘'
|
||||
// },
|
||||
// {
|
||||
// value: 5,
|
||||
// label: '自动归档任务'
|
||||
// },
|
||||
],
|
||||
fileProgess: 30,
|
||||
// 模板列表
|
||||
@@ -361,10 +361,10 @@ export default {
|
||||
}
|
||||
],
|
||||
speedList: [
|
||||
{
|
||||
value: 0,
|
||||
label: 'Auto'
|
||||
},
|
||||
// {
|
||||
// value: 0,
|
||||
// label: 'Auto'
|
||||
// },
|
||||
{
|
||||
value: 1,
|
||||
label: '低'
|
||||
@@ -543,9 +543,13 @@ export default {
|
||||
filters: [{ name: 'Soon Work', extensions: ['dwk'] }]
|
||||
})
|
||||
.then((result) => {
|
||||
if (result.filePath == "") { return; }
|
||||
if (result.filePath.substring(result.filePath.length - 5).indexOf('.') == -1) {
|
||||
result.filePath += '.dwk';
|
||||
}
|
||||
fs.writeFileSync(result.filePath, v)
|
||||
that.$message({
|
||||
message: '保存成功',
|
||||
message: '保存成功至'+result.filePath,
|
||||
type: 'success'
|
||||
})
|
||||
})
|
||||
@@ -657,8 +661,20 @@ export default {
|
||||
task.path_file.push(fileList[i].path)
|
||||
task.task_size += fileList[i].size
|
||||
}
|
||||
if (task.task_size > diskSize) {
|
||||
this.$notify({
|
||||
message: `文件大小超过设备容量!`,
|
||||
type: 'warning'
|
||||
})
|
||||
return
|
||||
}
|
||||
that.form.ass_task.push(task)
|
||||
}
|
||||
that.form.burn_speed = that.setForm.speed
|
||||
that.form.is_finished_check = that.setForm.isCheck
|
||||
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
|
||||
// csv文件处理
|
||||
if (!that.form.udf_file && that.soonList.length > 0) {
|
||||
that.soonList.forEach((item) => {
|
||||
|
||||
Reference in New Issue
Block a user