From 1bd61a146458783478efd25cf336f7841d56c03b Mon Sep 17 00:00:00 2001 From: wersd <1523826083@qq.com> Date: Wed, 18 Jun 2025 22:54:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.prod | 2 +- src/api/crm/stationsite/index.ts | 1 + src/components/Dialog/src/Dialog.vue | 5 +- src/components/Editor/src/Editor.vue | 2 +- src/views/crm/customer/CustomerForm.vue | 2 +- .../crm/followup/components/FollowUpList.vue | 2 +- .../components/FollowUpRecordForm.vue | 27 ++-- src/views/crm/stationsite/StationSiteForm.vue | 54 +++++-- .../detail/StationSiteDetailsHeader.vue | 5 +- src/views/crm/stationsite/detail/index.vue | 139 ++++++++++++++++-- src/views/crm/stationsite/index.vue | 2 +- 11 files changed, 198 insertions(+), 43 deletions(-) diff --git a/.env.prod b/.env.prod index c8e47c307..af206c36f 100644 --- a/.env.prod +++ b/.env.prod @@ -4,7 +4,7 @@ NODE_ENV=production VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://localhost:48080' +VITE_BASE_URL='http://www.sujieguanli.top:88' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务 VITE_UPLOAD_TYPE=client diff --git a/src/api/crm/stationsite/index.ts b/src/api/crm/stationsite/index.ts index 263f655e1..d8dbc0bfe 100644 --- a/src/api/crm/stationsite/index.ts +++ b/src/api/crm/stationsite/index.ts @@ -12,6 +12,7 @@ export interface StationSiteVO { locationLat: number // 定位纬度 locationName: string // 定位名称 estimatedPiles: number // 可建充电桩数 + parkingSpace: number //总车位数 siteType: number // 场地类型 siteStatus: number // 场地状态 ownerUserId: number // 责任人编号 diff --git a/src/components/Dialog/src/Dialog.vue b/src/components/Dialog/src/Dialog.vue index f2924283b..5a62e6bb2 100644 --- a/src/components/Dialog/src/Dialog.vue +++ b/src/components/Dialog/src/Dialog.vue @@ -11,7 +11,8 @@ const props = defineProps({ fullscreen: propTypes.bool.def(true), width: propTypes.oneOfType([String, Number]).def('60%'), scroll: propTypes.bool.def(false), // 是否开启滚动条。如果是的话,按照 maxHeight 设置最大高度 - maxHeight: propTypes.oneOfType([String, Number]).def('400px') + maxHeight: propTypes.oneOfType([String, Number]).def('400px') , + closeOnClickModal: propTypes.bool.def(true) }) const getBindValue = computed(() => { @@ -60,7 +61,7 @@ const dialogStyle = computed(() => {