From dd84749e81ad58875b998f576de89d4fe245bbce Mon Sep 17 00:00:00 2001 From: songguoqiang <765017469@qq.com> Date: Wed, 3 Jan 2024 16:09:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E7=BB=8F=E6=9C=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hrSizingmilldata108.data.ts | 18 +++++- src/views/pszc/hrsizingmilldata108/index.vue | 64 +++++++++++++------ .../hrSizingmilldata90.data.ts | 18 +++++- src/views/pszc/hrsizingmilldata90/index.vue | 11 ++++ 4 files changed, 88 insertions(+), 23 deletions(-) diff --git a/src/views/pszc/hrsizingmilldata108/hrSizingmilldata108.data.ts b/src/views/pszc/hrsizingmilldata108/hrSizingmilldata108.data.ts index e7f69d4..d83f420 100644 --- a/src/views/pszc/hrsizingmilldata108/hrSizingmilldata108.data.ts +++ b/src/views/pszc/hrsizingmilldata108/hrSizingmilldata108.data.ts @@ -89,7 +89,23 @@ export const HrSizingmilldata108 = useCrudSchemas(reactive([ } }, { - label: '创建时间', + label: '开始时间', + field: 'updateTime', + sort: 'custom', + formatter: dateFormatter, + isSearch: false, + search: { + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'daterange', + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + } + }, + isForm: false, + }, + { + label: '结束时间', field: 'createTime', sort: 'custom', formatter: dateFormatter, diff --git a/src/views/pszc/hrsizingmilldata108/index.vue b/src/views/pszc/hrsizingmilldata108/index.vue index f9904ef..b15070c 100644 --- a/src/views/pszc/hrsizingmilldata108/index.vue +++ b/src/views/pszc/hrsizingmilldata108/index.vue @@ -1,7 +1,11 @@