From 3b3ebfdcdc23017e22387b86b290a3648384c712 Mon Sep 17 00:00:00 2001 From: gaoluyang <gaoluyang@rengu.cc> Date: 星期三, 31 七月 2024 13:47:35 +0800 Subject: [PATCH] 检测中心-表格排序修改 --- src/components/view/a6-device-management.vue | 3 ++- src/components/view/a6-standard-material-list.vue | 3 ++- src/components/view/a7-standard-method.vue | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/view/a6-device-management.vue b/src/components/view/a6-device-management.vue index 04f59c8..f28e1bc 100644 --- a/src/components/view/a6-device-management.vue +++ b/src/components/view/a6-device-management.vue @@ -529,7 +529,8 @@ } }, requiredAdd: [], - requiredUp: [] + requiredUp: [], + needSort: ['deviceName', 'acquisitionDate', 'activationDate', 'lastCalibrationDate', 'nextCalibrationDate', 'deviceStatus'], }, entityCopy: {}, upIndex: 0, diff --git a/src/components/view/a6-standard-material-list.vue b/src/components/view/a6-standard-material-list.vue index be0e956..188fa49 100644 --- a/src/components/view/a6-standard-material-list.vue +++ b/src/components/view/a6-standard-material-list.vue @@ -109,7 +109,8 @@ tagField: [], selectField: [], requiredAdd: ['model','sample',], - requiredUp: [] + requiredUp: [], + needSort: ['sample'], }, entityCopy: {}, upIndex: 0, diff --git a/src/components/view/a7-standard-method.vue b/src/components/view/a7-standard-method.vue index 58f52cc..d40bad2 100644 --- a/src/components/view/a7-standard-method.vue +++ b/src/components/view/a7-standard-method.vue @@ -170,6 +170,7 @@ requiredAdd: ['code', 'name', 'isProduct', 'isUse', 'nameEn'], requiredUp: ['code', 'name', 'isProduct', 'isUse', 'nameEn'], accept:聽'.xlsx', + needSort: ['createTime', 'updateTime', 'field'], inputType:聽'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' }, entityCopy: {}, -- Gitblit v1.9.3