|
@@ -279,7 +279,7 @@
|
|
|
<span slot="measureStatus" slot-scope="text">
|
|
|
<badge :status="DictCache.COLOR.SB_MEASURE_STATUS[text]" :text="yesNoMap[text]" />
|
|
|
</span>
|
|
|
- <div slot="expandedRowRender" slot-scope="record" style="width:100%;padding-right:120px;">
|
|
|
+ <div slot="expandedRowRender" slot-scope="record" style="width:100%;padding-right:250px;">
|
|
|
<a-card :bordered="false" style="width:100%;position: relative; z-inde:9999">
|
|
|
<div slot="title">
|
|
|
<a-row :gutter="20">
|
|
@@ -670,6 +670,12 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}, */
|
|
|
+ {
|
|
|
+ title: '报废日期',
|
|
|
+ dataIndex: 'scrapedDate',
|
|
|
+ width: 120,
|
|
|
+ checked: true
|
|
|
+ },
|
|
|
{
|
|
|
title: '有效期限',
|
|
|
dataIndex: 'nextCheckDate',
|
|
@@ -710,6 +716,16 @@ export default {
|
|
|
dataIndex: 'remark',
|
|
|
width: 100
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '状态',
|
|
|
+ checked: true,
|
|
|
+ dataIndex: 'status',
|
|
|
+ fixed: 'right',
|
|
|
+ align: 'center',
|
|
|
+ width: 100,
|
|
|
+ scopedSlots: { customRender: 'status' }
|
|
|
+
|
|
|
+ },
|
|
|
{
|
|
|
title: '操作',
|
|
|
key: 'action',
|
|
@@ -979,15 +995,15 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
handleBackBatch (status) {
|
|
|
- let ids = []
|
|
|
+ let sbIds = []
|
|
|
const length = this.selectedRows.length
|
|
|
if (length === 0) {
|
|
|
this.$message.info('请选择设备')
|
|
|
return
|
|
|
}
|
|
|
- ids = this.selectedRows.map((item) => item.id)
|
|
|
+ sbIds = this.selectedRows.map((item) => item.id)
|
|
|
const modal = this.$refs.backForm
|
|
|
- modal.base(ids, status)
|
|
|
+ modal.base(sbIds, status)
|
|
|
},
|
|
|
handleStart (record) {
|
|
|
const modal = this.$refs.baseModalStatusLog
|