From 01ddd1174a279a113bf39968961ad280f5b31f4c Mon Sep 17 00:00:00 2001 From: FLL <2162874245@qq.com> Date: Fri, 27 Jun 2025 15:16:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=BC=E5=90=88=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/property/building/index.ts | 2 - .../src/api/property/building/types.ts | 8 +- .../src/api/property/community/index.ts | 2 - .../src/api/property/community/model.d.ts | 1 + apps/web-antd/src/api/property/floor/index.ts | 2 - apps/web-antd/src/api/property/room/index.ts | 2 - .../property/building/building-detail.vue | 15 +--- .../property/building/building-modal.vue | 13 +--- .../src/views/property/building/data.ts | 76 ++++++------------- .../src/views/property/building/index.vue | 32 +------- .../property/community/community-detail.vue | 12 +-- .../property/community/community-modal.vue | 13 +--- .../src/views/property/community/data.ts | 60 ++++----------- .../src/views/property/community/index.vue | 31 +------- .../web-antd/src/views/property/floor/data.ts | 51 +++++++------ .../src/views/property/floor/floor-modal.vue | 13 +--- .../src/views/property/floor/index.vue | 18 ----- apps/web-antd/src/views/property/room/data.ts | 68 +++++++++++------ .../src/views/property/room/index.vue | 25 ------ .../src/views/property/room/room-modal.vue | 13 +--- 20 files changed, 139 insertions(+), 318 deletions(-) diff --git a/apps/web-antd/src/api/property/building/index.ts b/apps/web-antd/src/api/property/building/index.ts index f112ac8a..55c81fd3 100644 --- a/apps/web-antd/src/api/property/building/index.ts +++ b/apps/web-antd/src/api/property/building/index.ts @@ -1,8 +1,6 @@ import type { BuildingVO, BuildingForm, BuildingQuery } from './model'; - import type { ID, IDS } from '#/api/common'; import type { PageResult } from '#/api/common'; - import { commonExport } from '#/api/helper'; import { requestClient } from '#/api/request'; diff --git a/apps/web-antd/src/api/property/building/types.ts b/apps/web-antd/src/api/property/building/types.ts index b5e36280..6a8f4e47 100644 --- a/apps/web-antd/src/api/property/building/types.ts +++ b/apps/web-antd/src/api/property/building/types.ts @@ -296,10 +296,10 @@ export interface BuildingQuery extends PageQuery { */ cqbh?: string; - /** - * 日期范围参数 - */ - params?: any; + /** + * 日期范围参数 + */ + params?: any; } diff --git a/apps/web-antd/src/api/property/community/index.ts b/apps/web-antd/src/api/property/community/index.ts index fffc701f..14c933ce 100644 --- a/apps/web-antd/src/api/property/community/index.ts +++ b/apps/web-antd/src/api/property/community/index.ts @@ -1,8 +1,6 @@ import type { CommunityVO, CommunityForm, CommunityQuery } from './model'; - import type { ID, IDS } from '#/api/common'; import type { PageResult } from '#/api/common'; - import { commonExport } from '#/api/helper'; import { requestClient } from '#/api/request'; diff --git a/apps/web-antd/src/api/property/community/model.d.ts b/apps/web-antd/src/api/property/community/model.d.ts index 1d398f70..a1045f5e 100644 --- a/apps/web-antd/src/api/property/community/model.d.ts +++ b/apps/web-antd/src/api/property/community/model.d.ts @@ -217,6 +217,7 @@ export interface CommunityQuery extends PageQuery { */ params?: any; } + export interface Community extends BaseEntity { /** * 社区名称 diff --git a/apps/web-antd/src/api/property/floor/index.ts b/apps/web-antd/src/api/property/floor/index.ts index ecdb3f37..bad3ff83 100644 --- a/apps/web-antd/src/api/property/floor/index.ts +++ b/apps/web-antd/src/api/property/floor/index.ts @@ -1,8 +1,6 @@ import type { FloorVO, FloorForm, FloorQuery } from './model'; - import type { ID, IDS } from '#/api/common'; import type { PageResult } from '#/api/common'; - import { commonExport } from '#/api/helper'; import { requestClient } from '#/api/request'; diff --git a/apps/web-antd/src/api/property/room/index.ts b/apps/web-antd/src/api/property/room/index.ts index da07ffee..a9bcfb72 100644 --- a/apps/web-antd/src/api/property/room/index.ts +++ b/apps/web-antd/src/api/property/room/index.ts @@ -1,8 +1,6 @@ import type { RoomVO, RoomForm, RoomQuery } from './model'; - import type { ID, IDS } from '#/api/common'; import type { PageResult } from '#/api/common'; - import { commonExport } from '#/api/helper'; import { requestClient } from '#/api/request'; diff --git a/apps/web-antd/src/views/property/building/building-detail.vue b/apps/web-antd/src/views/property/building/building-detail.vue index bfbf5b8b..56e026e3 100644 --- a/apps/web-antd/src/views/property/building/building-detail.vue +++ b/apps/web-antd/src/views/property/building/building-detail.vue @@ -14,7 +14,6 @@ const [BasicModal, modalApi] = useVbenModal({ }); const buildingDetail = shallowRef(null); - async function handleOpenChange(open: boolean) { if (!open) { return null; @@ -22,7 +21,6 @@ async function handleOpenChange(open: boolean) { modalApi.modalLoading(true); const {id} = modalApi.getData() as { id: number | string }; const response = await buildingInfo(id); - // 赋值 buildingDetail.value = response; modalApi.modalLoading(false); } @@ -31,15 +29,15 @@ async function handleOpenChange(open: boolean) {