From 67cf5c766cb69ffe63c8dd65c2519ff90b545621 Mon Sep 17 00:00:00 2001 From: dev_ljl <2590379346@qq.com> Date: Fri, 12 Sep 2025 17:49:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=85=A5=E9=A9=BB=E5=8D=95=E4=BD=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=85=A5=E9=A9=BB=E6=88=BF=E9=97=B4=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web-antd/src/api/property/resident/unit/model.d.ts | 5 +++++ apps/web-antd/src/views/property/resident/unit/data.ts | 10 ++++++++++ .../src/views/property/resident/unit/unit-detail.vue | 8 ++++---- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/apps/web-antd/src/api/property/resident/unit/model.d.ts b/apps/web-antd/src/api/property/resident/unit/model.d.ts index dfe50c8a..ead328ed 100644 --- a/apps/web-antd/src/api/property/resident/unit/model.d.ts +++ b/apps/web-antd/src/api/property/resident/unit/model.d.ts @@ -246,4 +246,9 @@ export interface Unit extends BaseEntity { */ area?: string; + /** + * 房间数量 + */ + roomNumber: number; + } diff --git a/apps/web-antd/src/views/property/resident/unit/data.ts b/apps/web-antd/src/views/property/resident/unit/data.ts index ad305334..4de390ae 100644 --- a/apps/web-antd/src/views/property/resident/unit/data.ts +++ b/apps/web-antd/src/views/property/resident/unit/data.ts @@ -84,6 +84,16 @@ export const columns: VxeGridProps['columns'] = [ field: 'time', width: 180, }, + { + title: '入驻房间数', + field: 'roomNumber', + width: 100, + }, + { + title: '入驻面积(㎡)', + field: 'area', + width: 180, + }, { title: '状态', field: 'state', diff --git a/apps/web-antd/src/views/property/resident/unit/unit-detail.vue b/apps/web-antd/src/views/property/resident/unit/unit-detail.vue index 0d02a285..ada5cd27 100644 --- a/apps/web-antd/src/views/property/resident/unit/unit-detail.vue +++ b/apps/web-antd/src/views/property/resident/unit/unit-detail.vue @@ -56,7 +56,7 @@ const selectRoomId = ref([]);
@@ -75,9 +75,9 @@ const selectRoomId = ref([]); {{ unitDetail.contactPerson +'-'+unitDetail.phone}} - - - + + {{ unitDetail.roomNumber }} + {{ unitDetail.area }}(㎡)