|
@@ -242,18 +242,18 @@ export default {
|
|
|
return `${(this.$refs.table.localPagination.current - 1) * this.$refs.table.localPagination.pageSize + index + 1}`
|
|
|
}
|
|
|
},
|
|
|
- {
|
|
|
- title: '设备名称',
|
|
|
- checked: true,
|
|
|
- width: 200,
|
|
|
- dataIndex: 'name'
|
|
|
- },
|
|
|
{
|
|
|
title: '设备编号',
|
|
|
dataIndex: 'no',
|
|
|
width: 120,
|
|
|
checked: true
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '设备名称',
|
|
|
+ checked: true,
|
|
|
+ width: 200,
|
|
|
+ dataIndex: 'name'
|
|
|
+ },
|
|
|
{
|
|
|
title: '设备旧号',
|
|
|
dataIndex: 'zbh',
|
|
@@ -278,6 +278,69 @@ export default {
|
|
|
return this.BaseTool.Object.getField(this.levelMap, text)
|
|
|
}
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '规格型号',
|
|
|
+ dataIndex: 'model',
|
|
|
+ width: 120,
|
|
|
+ checked: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '自定义类型',
|
|
|
+ checked: true,
|
|
|
+ dataIndex: 'useType',
|
|
|
+ width: 120,
|
|
|
+ customRender: (text, record, index) => {
|
|
|
+ return this.BaseTool.Object.getField(this.useTypeMap, text)
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ title: '生产商',
|
|
|
+ dataIndex: 'producerName',
|
|
|
+ width: 120,
|
|
|
+ checked: true
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ title: '大小尺寸',
|
|
|
+ dataIndex: 'zz',
|
|
|
+ width: 120,
|
|
|
+ checked: true
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ title: '系列号(出厂编号)',
|
|
|
+ dataIndex: 'zzh',
|
|
|
+ width: 120,
|
|
|
+ checked: true
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ title: '是否显示',
|
|
|
+ dataIndex: 'isShow',
|
|
|
+ width: 120,
|
|
|
+ checked: true,
|
|
|
+ customRender: (text, record, index) => {
|
|
|
+ return this.BaseTool.Object.getField(this.isShowMap, text)
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ title: '是否子设备',
|
|
|
+ dataIndex: 'isChild',
|
|
|
+ width: 120,
|
|
|
+ checked: true,
|
|
|
+ customRender: (text, record, index) => {
|
|
|
+ return this.BaseTool.Object.getField(this.isChildMap, text)
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ title: '资产编号1',
|
|
|
+ dataIndex: 'financingNo',
|
|
|
+ width: 120,
|
|
|
+ checked: true
|
|
|
+ },
|
|
|
{
|
|
|
title: '设备原值',
|
|
|
dataIndex: 'initialValue',
|
|
@@ -322,14 +385,12 @@ export default {
|
|
|
title: '检定有效期',
|
|
|
dataIndex: 'nextCheckDate',
|
|
|
width: 150,
|
|
|
- fixed: 'right',
|
|
|
checked: true
|
|
|
},
|
|
|
{
|
|
|
title: '检定截止',
|
|
|
dataIndex: 'restDay',
|
|
|
width: 100,
|
|
|
- fixed: 'right',
|
|
|
checked: true,
|
|
|
customRender: (text, record, index) => {
|
|
|
if (record.nextCheckDate == null) {
|
|
@@ -364,7 +425,7 @@ export default {
|
|
|
...this.queryParam,
|
|
|
dataScope: {
|
|
|
sortBy: 'desc',
|
|
|
- sortName: 'update_time'
|
|
|
+ sortName: 'no'
|
|
|
}
|
|
|
}
|
|
|
return getSbInfoPage(Object.assign(parameter, this.queryParam))
|