opt: 监控大屏显示设备信息优化
This commit is contained in:
@@ -505,7 +505,7 @@ export default {
|
||||
this.arr = [] // 清空
|
||||
if (item.device_code && item.data) {
|
||||
console.log('item', item)
|
||||
let tempDeviceName = ''
|
||||
/* let tempDeviceName = ''
|
||||
if (this.language === 'zh') {
|
||||
tempDeviceName = item.data.zh_device_name
|
||||
}
|
||||
@@ -514,12 +514,10 @@ export default {
|
||||
}
|
||||
if (this.language === 'in') {
|
||||
tempDeviceName = item.data.in_device_name
|
||||
}
|
||||
} */
|
||||
this.arr = [
|
||||
{ name: i18n.t('monitor.click.equipment_number'), value: item.device_code },
|
||||
// { name: tempDeviceName, value: item.device_name }
|
||||
{ name: i18n.t('monitor.click.device_name'), value: tempDeviceName }
|
||||
// { name: i18n.t('monitor.click.device_name'), value: item.device_name }
|
||||
{ name: i18n.t('monitor.click.device_name'), value: item.device_name }
|
||||
]
|
||||
const data = item.data
|
||||
for (const val in data) {
|
||||
@@ -689,6 +687,9 @@ export default {
|
||||
} else if (val === 'requireSucess') {
|
||||
const obj = { name: i18n.t('monitor.click.request_success_flag'), value: data[val] }
|
||||
this.arr.push(obj)
|
||||
} else if (val === 'requireActionSucess') {
|
||||
const obj = { name: '信号成功标记', value: data[val] }
|
||||
this.arr.push(obj)
|
||||
} else if (val === 'applySucess') {
|
||||
const obj = { name: 'applySucess', value: data[val] }
|
||||
this.arr.push(obj)
|
||||
@@ -699,7 +700,7 @@ export default {
|
||||
const obj = { name: i18n.t('monitor.click.inventory_quantity'), value: data[val] }
|
||||
this.arr.push(obj)
|
||||
} else if (val === 'hand_barcode') {
|
||||
const obj = { name: 'hand_barcode', value: data[val] }
|
||||
const obj = { name: '子卷编号', value: data[val] }
|
||||
this.arr.push(obj)
|
||||
} else if (val === 'x') {
|
||||
const obj = { name: 'X', value: data[val] }
|
||||
|
||||
Reference in New Issue
Block a user