优化bug
This commit is contained in:
@@ -206,10 +206,10 @@ const defaultData = {
|
||||
system_ip: '', //主机IP
|
||||
system_name: '', //主机名称
|
||||
is_set_cddev: 0,
|
||||
// 左右盘仓
|
||||
// 左右光盘桶
|
||||
strong_list: [
|
||||
{
|
||||
strong_pos: 1, // 1:右盘仓,2:左盘仓
|
||||
strong_pos: 1, // 1:右光盘桶,2:左光盘桶
|
||||
cd_type: 1, //CD类型:CD:1,DVD:2, DVD_DL:3,BD:4,BD_DL:5,BD_TL:6,BD_QL:7
|
||||
cd_num: 0
|
||||
},
|
||||
@@ -360,7 +360,7 @@ const actions = {
|
||||
commit('setData', { name: 'printer_error', data: { type: 'error', notify: '设备门盖被打开,请关闭门盖。' } })
|
||||
}
|
||||
if (info.calibration_flag) {
|
||||
commit('setData', { name: 'printer_error', data: { type: 'error', notify: '请先校准设备。' } })
|
||||
commit('setData', { name: 'printer_error', data: { type: 'error', notify: '请校准打印机。' } })
|
||||
}
|
||||
commit('setData', { name: 'printer_info', data: info })
|
||||
// 驱动信息
|
||||
@@ -488,7 +488,7 @@ const actions = {
|
||||
if (data.resp_info.res_code === 0) {
|
||||
|
||||
} else {
|
||||
commit('setData', { name: 'printer_error', data: { type: 'error', notify: '设置盘仓失败' } })
|
||||
commit('setData', { name: 'printer_error', data: { type: 'error', notify: '设置光盘桶失败' } })
|
||||
}
|
||||
} else if (data.resp_name === 'setCDDeviceRes') {
|
||||
if (data.resp_info.res_code === 0) {
|
||||
@@ -506,7 +506,7 @@ const actions = {
|
||||
if (data.resp_info.res_code === 0) {
|
||||
|
||||
} else {
|
||||
commit('setData', { name: 'printer_error', data: { type: 'error', notify: '校准盘仓失败' } })
|
||||
commit('setData', { name: 'printer_error', data: { type: 'error', notify: '校准光盘桶失败' } })
|
||||
}
|
||||
} else if (data.resp_name === 'CaliPrinterRes') {
|
||||
if (data.resp_info.res_code === 0) {
|
||||
|
||||
Reference in New Issue
Block a user