projects/mesxc-lb #166

Merged
gtz217 merged 5 commits from projects/mesxc-lb into projects/mesxc-test 2024-01-03 10:21:53 +08:00
Showing only changes of commit e848be2a35 - Show all commits

View File

@ -170,7 +170,12 @@ export default {
{ width: 256, prop: 'code', label: '设备编码' }, { width: 256, prop: 'code', label: '设备编码' },
{ prop: 'location', label: '位置' }, { prop: 'location', label: '位置' },
{ prop: 'responsiblePeopleName', label: '负责人' }, { prop: 'responsiblePeopleName', label: '负责人' },
{ prop: 'dueTime', label: '有效期至' }, {
prop: 'dueDate',
label: '有效期至',
filter: (val) =>
val != null ? moment(val).format('yyyy-MM-DD HH:mm:ss') : '--',
},
{ prop: 'remark', label: '备注' }, { prop: 'remark', label: '备注' },
], ],
searchBarFormConfig: [ searchBarFormConfig: [
@ -250,8 +255,8 @@ export default {
[ [
{ {
datetime: true, datetime: true,
label: '有效期', label: '有效期',
prop: 'dueTime', prop: 'dueDate',
bind: { clearable: true }, bind: { clearable: true },
}, },
{}, {},