From 0717bb489bfd80a0a90b8f1e93b6a191de9427c0 Mon Sep 17 00:00:00 2001 From: Zy <1448159279@qq.com> Date: Tue, 11 Aug 2026 08:10:43 +0800 Subject: [PATCH] =?UTF-8?q?8/10=20=E8=BD=A6=E4=BD=8D=E4=BF=A1=E6=81=AF-?= =?UTF-8?q?=E8=BD=A6=E8=BE=86=E4=BF=A1=E6=81=AF=EF=BC=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- src/views/system/Repair/repairMain.vue | 2 +- src/views/system/Sdb/statistics/index.vue | 39 ++++++++++-- .../system/inspection/Record/RecordMain.vue | 2 +- src/views/system/parking/parkMain.vue | 56 ++++++++++++++--- src/views/system/parking/parkReview.vue | 63 ------------------- 6 files changed, 85 insertions(+), 81 deletions(-) diff --git a/.env.development b/.env.development index cd182d8..2bd86fc 100644 --- a/.env.development +++ b/.env.development @@ -9,9 +9,9 @@ VITE_APP_ENV='development' # 开发环境 VITE_APP_BASE_API='/dev-api' # # 开发环境 接口代理地址 -#VITE_APP_PROXY_API='http://192.168.1.222:8080' +VITE_APP_PROXY_API='http://192.168.1.222:8080' # 开发环境 接口代理地址 -VITE_APP_PROXY_API='http://192.168.1.6:8080' +#VITE_APP_PROXY_API='http://192.168.1.6:8080' # 图片基础地址 VITE_IMG_URL='http://192.168.1.222:8080' diff --git a/src/views/system/Repair/repairMain.vue b/src/views/system/Repair/repairMain.vue index a5177b8..ce4a0f5 100644 --- a/src/views/system/Repair/repairMain.vue +++ b/src/views/system/Repair/repairMain.vue @@ -77,8 +77,8 @@ :min-scale="0.2" :preview-src-list="form.problemImageUrlList" show-progress - :initial-index="0" v-for="(item, index) in form.problemImageUrlList" + :initial-index="index" :key="index" :src="item" lazy diff --git a/src/views/system/Sdb/statistics/index.vue b/src/views/system/Sdb/statistics/index.vue index a047cc7..b601609 100644 --- a/src/views/system/Sdb/statistics/index.vue +++ b/src/views/system/Sdb/statistics/index.vue @@ -10,15 +10,14 @@ clearable v-model="SearchTime" @change=" - (val) => { + (val: string[]) => { if (!val) { queryParams.startDate = ''; queryParams.endDate = ''; return; } SearchTime = val; - const days = val; - const [star, end] = days.map((item) => item.split(' ')[0]); + const [star, end] = val.map((item) => item.split(' ')[0]); queryParams.startDate = star + ' 00:00:00'; queryParams.endDate = end + ' 23:59:59'; } @@ -38,7 +37,7 @@ 导出统计 - +