|
|
@@ -112,8 +112,8 @@
|
|
|
prop: 'name'
|
|
|
},
|
|
|
{
|
|
|
- label: '编号',
|
|
|
- prop: 'codeNumber'
|
|
|
+ label: '编码',
|
|
|
+ prop: 'code'
|
|
|
},
|
|
|
{
|
|
|
label: '固资编码',
|
|
|
@@ -128,8 +128,8 @@
|
|
|
prop: 'postName'
|
|
|
},
|
|
|
{
|
|
|
- label: '负责人',
|
|
|
- prop: 'chargePerson'
|
|
|
+ label: '片区负责人负责人',
|
|
|
+ prop: 'areaPersonInChargeUserName'
|
|
|
},
|
|
|
{
|
|
|
label: '有效开始时间',
|
|
|
@@ -140,19 +140,31 @@
|
|
|
prop: 'endTime'
|
|
|
},
|
|
|
{
|
|
|
+ prop: 'category.modelType',
|
|
|
label: '型号',
|
|
|
- prop: 'modelType',
|
|
|
- slot: 'modelType'
|
|
|
+ showOverflowTooltip: true,
|
|
|
+ minWidth: 110
|
|
|
},
|
|
|
{
|
|
|
+ prop: 'category.specification',
|
|
|
label: '规格',
|
|
|
- prop: 'specification',
|
|
|
- slot: 'specification'
|
|
|
+ showOverflowTooltip: true,
|
|
|
+ minWidth: 110
|
|
|
},
|
|
|
{
|
|
|
label: '设备位置',
|
|
|
prop: 'pathName',
|
|
|
- slot: 'pathName'
|
|
|
+ formatter: (_row) => {
|
|
|
+ const positionDetail =
|
|
|
+ _row.position &&
|
|
|
+ _row.position.length != 0 &&
|
|
|
+ _row.position[0].detailPosition
|
|
|
+ ? _row.position[0].detailPosition
|
|
|
+ : '-';
|
|
|
+ return _row.deviceLocationName
|
|
|
+ ? _row.deviceLocationName + '-' + positionDetail
|
|
|
+ : '';
|
|
|
+ }
|
|
|
}
|
|
|
],
|
|
|
|
|
|
@@ -228,7 +240,7 @@
|
|
|
if (this.rootId && this.categoryLevelId) {
|
|
|
this.$refs.table.reload({ page: 1, where: where });
|
|
|
} else {
|
|
|
- this.$message.error('请选择设备');
|
|
|
+ this.$message.error('请选择设备类别');
|
|
|
}
|
|
|
},
|
|
|
|