From 4d03e46142ea2712b01f0a628d458c14cd9b11d2 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 18 Mar 2023 01:23:07 +0800 Subject: [PATCH] =?UTF-8?q?Vue3=20=E9=87=8D=E6=9E=84=EF=BC=9A=E9=82=AE?= =?UTF-8?q?=E4=BB=B6=E6=A8=A1=E7=89=88=E7=9A=84=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/infra/config/index.vue | 1 - src/views/infra/file/index.vue | 1 - src/views/infra/fileConfig/index.vue | 1 - src/views/system/mail/template/template.data.ts | 7 +++++-- src/views/system/sms/smsChannel/index.vue | 3 +-- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/views/infra/config/index.vue b/src/views/infra/config/index.vue index 4c35d485..0136a9d5 100644 --- a/src/views/infra/config/index.vue +++ b/src/views/infra/config/index.vue @@ -33,7 +33,6 @@ v-model="queryParams.createTime" value-format="YYYY-MM-DD HH:mm:ss" type="daterange" - range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" diff --git a/src/views/infra/file/index.vue b/src/views/infra/file/index.vue index 5137ec3e..adf9d3a4 100644 --- a/src/views/infra/file/index.vue +++ b/src/views/infra/file/index.vue @@ -23,7 +23,6 @@ v-model="queryParams.createTime" value-format="YYYY-MM-DD HH:mm:ss" type="daterange" - range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" diff --git a/src/views/infra/fileConfig/index.vue b/src/views/infra/fileConfig/index.vue index e38e3a50..ed0cfed7 100644 --- a/src/views/infra/fileConfig/index.vue +++ b/src/views/infra/fileConfig/index.vue @@ -25,7 +25,6 @@ v-model="queryParams.createTime" value-format="YYYY-MM-DD HH:mm:ss" type="daterange" - range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" diff --git a/src/views/system/mail/template/template.data.ts b/src/views/system/mail/template/template.data.ts index 0f4c75f7..aec8c401 100644 --- a/src/views/system/mail/template/template.data.ts +++ b/src/views/system/mail/template/template.data.ts @@ -97,8 +97,11 @@ const crudSchemas = reactive([ formatter: dateFormatter, search: { show: true, - itemRender: { - name: 'XDataTimePicker' + 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')] } } } diff --git a/src/views/system/sms/smsChannel/index.vue b/src/views/system/sms/smsChannel/index.vue index 94a46b7d..bac94f25 100644 --- a/src/views/system/sms/smsChannel/index.vue +++ b/src/views/system/sms/smsChannel/index.vue @@ -22,9 +22,8 @@