需求变更整改
This commit is contained in:
@@ -312,15 +312,16 @@ const tableStore = new TableStore({
|
||||
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
|
||||
}
|
||||
},
|
||||
{ title: '设备名称', field: 'name' },
|
||||
{ title: '网络设备ID', field: 'ndid' },
|
||||
{ title: '设备名称', field: 'name', minWidth: 120 },
|
||||
{ title: '网络设备ID', field: 'ndid', minWidth: 120 },
|
||||
|
||||
{
|
||||
title: '设备类型',
|
||||
field: 'devType',
|
||||
formatter: row => {
|
||||
return devTypeOptions.value.find((item: any) => item.value == row.cellValue).label
|
||||
}
|
||||
},
|
||||
minWidth: 120
|
||||
},
|
||||
|
||||
{
|
||||
@@ -328,16 +329,18 @@ const tableStore = new TableStore({
|
||||
field: 'devModel',
|
||||
formatter: row => {
|
||||
return devModelOptions.value.find((item: any) => item.value == row.cellValue).label
|
||||
}
|
||||
},
|
||||
minWidth: 120
|
||||
},
|
||||
{
|
||||
title: '通讯协议',
|
||||
field: 'devAccessMethod',
|
||||
formatter: row => {
|
||||
return row.cellValue === 'MQTT' ? 'MQTT' : row.cellValue === 'CLD' ? 'CLD' : row.cellValue
|
||||
}
|
||||
},
|
||||
minWidth: 120
|
||||
},
|
||||
{ title: '录入时间', field: 'createTime', sortable: true },
|
||||
{ title: '录入时间', field: 'createTime', sortable: true, minWidth: 150 },
|
||||
|
||||
{
|
||||
title: '使用状态',
|
||||
@@ -397,7 +400,8 @@ const tableStore = new TableStore({
|
||||
replaceValue: {
|
||||
未连接: '未连接',
|
||||
已连接: '已连接'
|
||||
}
|
||||
},
|
||||
minWidth: 80
|
||||
},
|
||||
|
||||
{
|
||||
@@ -412,7 +416,8 @@ const tableStore = new TableStore({
|
||||
replaceValue: {
|
||||
1: '离线',
|
||||
2: '在线'
|
||||
}
|
||||
},
|
||||
minWidth: 80
|
||||
},
|
||||
{
|
||||
title: '流程阶段',
|
||||
@@ -428,18 +433,9 @@ const tableStore = new TableStore({
|
||||
2: '功能调试',
|
||||
3: '出厂调试',
|
||||
4: '正式投运'
|
||||
}
|
||||
// formatter: row => {
|
||||
// return row.cellValue == '1'
|
||||
// ? '设备登记'
|
||||
// : row.cellValue == '2'
|
||||
// ? '功能调试'
|
||||
// : row.cellValue == '3'
|
||||
// ? '出厂调试'
|
||||
// : row.cellValue == '4'
|
||||
// ? '设备投运'
|
||||
// : row.cellValue
|
||||
// }
|
||||
},
|
||||
minWidth: 80
|
||||
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
|
||||
Reference in New Issue
Block a user