From bd3420dff73590066a38bc8e3d7c77e787a0f94e Mon Sep 17 00:00:00 2001 From: wangxiang <1827945911@qq.com> Date: Tue, 30 Aug 2022 01:26:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=9C=B0=E5=9B=BE=E8=AE=BE?= =?UTF-8?q?=E8=AE=A1=E5=99=A8=E6=95=B0=E6=8D=AE=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AMap/src/AMapDesigner/index.vue | 36 +-- src/components/AMap/src/amap.data.ts | 48 +-- .../AMap/src/components/MapTaskModal.vue | 293 +++++++++--------- src/utils/dateUtil.ts | 2 +- src/views/system/config/index.vue | 2 +- 5 files changed, 184 insertions(+), 197 deletions(-) diff --git a/src/components/AMap/src/AMapDesigner/index.vue b/src/components/AMap/src/AMapDesigner/index.vue index 4baec32..6082d18 100644 --- a/src/components/AMap/src/AMapDesigner/index.vue +++ b/src/components/AMap/src/AMapDesigner/index.vue @@ -109,7 +109,7 @@ diff --git a/src/utils/dateUtil.ts b/src/utils/dateUtil.ts index 4921bee..c45b5b6 100644 --- a/src/utils/dateUtil.ts +++ b/src/utils/dateUtil.ts @@ -22,7 +22,7 @@ export function formatToDate(date: moment.MomentInput = undefined, format = DATE } /** 添加日期范围 */ -export function convertDateRange(params: Recordable, dateRange: string): Recordable { +export function convertDateRange(params: Recordable, dateRange: string[]): Recordable { const search = params; search.beginTime = ''; search.endTime = ''; diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue index 88ab04c..4dc5189 100644 --- a/src/views/system/config/index.vue +++ b/src/views/system/config/index.vue @@ -30,7 +30,7 @@