|
|
|
|
@ -33,6 +33,10 @@ |
|
|
|
|
<template #deviceDueDate="scope"> |
|
|
|
|
{{ scope.row.deviceDueDate ?scope.row.deviceDueDate.substring(0, 10) : ''}} |
|
|
|
|
</template> |
|
|
|
|
<template #dataBirth="scope"> |
|
|
|
|
{{ scope.row.dataBirth ?scope.row.dataBirth.substring(0, 10) : ''}} |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
</avue-crud> |
|
|
|
|
<!-- 设备维护 --> |
|
|
|
|
<equipmentDialog |
|
|
|
|
@ -86,12 +90,6 @@ export default { |
|
|
|
|
inDateArr: [], |
|
|
|
|
form: {}, |
|
|
|
|
deviceData: [], |
|
|
|
|
deviceList: [ |
|
|
|
|
{ label: '设备名称一', value: '1' }, |
|
|
|
|
{ label: '设备名称二', value: '2' }, |
|
|
|
|
{ label: '设备名称三', value: '3' }, |
|
|
|
|
{ label: '设备名称四', value: '4' }, |
|
|
|
|
], |
|
|
|
|
page: { |
|
|
|
|
pageSize: 10, |
|
|
|
|
currentPage: 1, |
|
|
|
|
@ -228,9 +226,18 @@ export default { |
|
|
|
|
search: false, |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// { |
|
|
|
|
// label: '设备型号', |
|
|
|
|
// prop: 'macSpec', |
|
|
|
|
// span: 24, |
|
|
|
|
// width: 150, |
|
|
|
|
// labelWidth: 140, |
|
|
|
|
// overflow: true, |
|
|
|
|
// search: false, |
|
|
|
|
// }, |
|
|
|
|
{ |
|
|
|
|
label: '设备型号', |
|
|
|
|
prop: 'macSpec', |
|
|
|
|
label: '设备名称', |
|
|
|
|
prop: 'deviceName', |
|
|
|
|
span: 24, |
|
|
|
|
width: 150, |
|
|
|
|
labelWidth: 140, |
|
|
|
|
@ -238,8 +245,8 @@ export default { |
|
|
|
|
search: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '设备名称', |
|
|
|
|
prop: 'deviceName', |
|
|
|
|
label: '设备编号', |
|
|
|
|
prop: 'deviceCode', |
|
|
|
|
span: 24, |
|
|
|
|
width: 150, |
|
|
|
|
labelWidth: 140, |
|
|
|
|
@ -256,7 +263,7 @@ export default { |
|
|
|
|
search: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '设备有效期', |
|
|
|
|
label: '设备有效期(天)', |
|
|
|
|
prop: 'equipmentValidityPeriod', |
|
|
|
|
span: 24, |
|
|
|
|
width: 150, |
|
|
|
|
|