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) {