From de4bae3bc187abc3d9a957c561df6f66ed322fd2 Mon Sep 17 00:00:00 2001 From: Zy <1448159279@qq.com> Date: Mon, 31 Aug 2026 18:00:11 +0800 Subject: [PATCH] =?UTF-8?q?8/31=20dev=20=E6=9D=83=E9=99=90,sse,=E8=B4=A6?= =?UTF-8?q?=E5=8D=95,bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/houseRental/index.ts | 8 +- src/api/system/parking/index.ts | 2 +- .../residentReviewProcess/resident/type.ts | 1 + src/api/system/storeroom/types.ts | 3 + src/components/Holder/CarUser.vue | 1 - src/components/Holder/appUser.vue | 1 - src/components/Holder/complainUser.vue | 3 - src/components/Holder/house.vue | 1 - src/components/Holder/index.vue | 37 ++- src/components/Holder/repairUser.vue | 2 - src/components/Map/GD.vue | 7 +- src/components/QuarterSelect/index.vue | 15 +- src/store/modules/bgColor.ts | 1 - src/store/modules/house.ts | 3 - src/utils/house.ts | 1 - src/views/community/AddCommunity.vue | 45 ++-- src/views/system/Activity/addActivity.vue | 7 +- src/views/system/Decoration/addDecoration.vue | 15 +- src/views/system/HandleLog/addHandleLog.vue | 54 +++-- src/views/system/MonthCard/index.vue | 46 ++-- src/views/system/NoticePc/addNoticePc.vue | 1 - .../Questionnaire/QuestionnaireView.vue | 1 - src/views/system/Sdb/ChargeItem/index.vue | 47 ++-- src/views/system/Sdb/SdbBill/add.vue | 4 - src/views/system/Sdb/SdbCashier/index.vue | 16 +- src/views/system/Sdb/SdbWaterDevice/index.vue | 1 - src/views/system/house/AddBuilding.vue | 16 +- src/views/system/house/AddHouse.vue | 103 +++++---- src/views/system/house/HouseDetails.vue | 72 +++--- .../system/houseRental/addhouseResident.vue | 8 +- src/views/system/houseRental/index.vue | 1 - src/views/system/inspection/Daily/index.vue | 31 ++- src/views/system/inspection/Monthly/index.vue | 31 ++- .../system/inspection/Record/RecordMain.vue | 2 - src/views/system/inspection/Weekly/index.vue | 31 ++- src/views/system/parking/addParking.vue | 28 ++- src/views/system/report/arrears.vue | 27 ++- .../system/report/balanceSummaryArrears.vue | 1 - src/views/system/report/dailyFeeReport.vue | 131 ++++++----- src/views/system/report/paidInExpenses.vue | 1 - .../report/paidInExpensesReceivable.vue | 1 - src/views/system/resident/ResidentMain.vue | 210 +++++++++--------- src/views/system/role/addRole.vue | 19 +- .../Payment/compontents/RingProgress.vue | 6 +- src/views/system/storeroom/addStoreRoom.vue | 3 +- src/views/system/storeroom/index.vue | 16 +- src/views/system/user/addUser.vue | 31 ++- src/views/system/version/index.vue | 63 +++--- src/views/system/warehouse/IssueOut/add.vue | 3 - src/views/system/warehouse/PurchaseIn/add.vue | 1 - src/views/workbench/components/inandout.vue | 7 +- 51 files changed, 575 insertions(+), 591 deletions(-) diff --git a/src/api/system/houseRental/index.ts b/src/api/system/houseRental/index.ts index c3f860a..5578dcb 100644 --- a/src/api/system/houseRental/index.ts +++ b/src/api/system/houseRental/index.ts @@ -81,7 +81,13 @@ export const uploadHouseImage = (formData: FormData): AxiosPromise => { +export const getHouseOwnUser = ( + houseId: string +): AxiosPromise<{ + floorNo: number; + houseArea: number; + ownerName: string; +}> => { return request({ url: `/houseRental/ownerName/${houseId}`, method: 'GET' diff --git a/src/api/system/parking/index.ts b/src/api/system/parking/index.ts index 6f73ec5..cd4336a 100644 --- a/src/api/system/parking/index.ts +++ b/src/api/system/parking/index.ts @@ -88,7 +88,7 @@ export const getParkingReviewInfo = (id: string) => { /** * 查询小区内车位列表 * @param { string } villageid - * @param houseId + * @param { string } houseId * @returns {*} */ diff --git a/src/api/system/residentReviewProcess/resident/type.ts b/src/api/system/residentReviewProcess/resident/type.ts index d128cb1..e7dec4a 100644 --- a/src/api/system/residentReviewProcess/resident/type.ts +++ b/src/api/system/residentReviewProcess/resident/type.ts @@ -6,6 +6,7 @@ export interface ResidentVO { id: string; unitNoId: string; idCardType: string; + ownerRelationship: string; /** * 住户编号 */ diff --git a/src/api/system/storeroom/types.ts b/src/api/system/storeroom/types.ts index 2ad799d..2a69869 100644 --- a/src/api/system/storeroom/types.ts +++ b/src/api/system/storeroom/types.ts @@ -13,6 +13,9 @@ export interface StoreroomVO { * 单元号 */ unitNoId: string | number; + /** + * 单元名 + */ unitName: string; /** diff --git a/src/components/Holder/CarUser.vue b/src/components/Holder/CarUser.vue index 7907ad2..22917d2 100644 --- a/src/components/Holder/CarUser.vue +++ b/src/components/Holder/CarUser.vue @@ -174,7 +174,6 @@ function handleSelectionChange(selection: BillUserlist[]) { const uniqueMap = new Map(); finalSelection.forEach((item) => uniqueMap.set(item.parkingId, item)); multipleSelection.value = Array.from(uniqueMap.values()); - console.log(multipleSelection.value.map((item) => item.parkingId)); } else { // --- 单选逻辑 --- if (selection.length > 0) { diff --git a/src/components/Holder/appUser.vue b/src/components/Holder/appUser.vue index 1f3a79e..2364dd7 100644 --- a/src/components/Holder/appUser.vue +++ b/src/components/Holder/appUser.vue @@ -166,7 +166,6 @@ function handleSelectionChange(selection: AppUserList[]) { const uniqueMap = new Map(); finalSelection.forEach((item) => uniqueMap.set(item.user_id, item)); multipleSelection.value = Array.from(uniqueMap.values()); - console.log(multipleSelection.value.map((item) => item.user_id)); } else { // --- 单选逻辑 --- if (selection.length > 0) { diff --git a/src/components/Holder/complainUser.vue b/src/components/Holder/complainUser.vue index bcb0142..07f0b90 100644 --- a/src/components/Holder/complainUser.vue +++ b/src/components/Holder/complainUser.vue @@ -141,7 +141,6 @@ const isMultiple = computed(() => props.isMultiple ?? false); // 优化 handleUserSelection,避免重复查找 const handleUserSelection = () => { isFetching.value = true; - console.log('获取列表'); if (tableData.value.length <= 0 || !multipleTableRef.value) { isFetching.value = false; return; @@ -239,8 +238,6 @@ function handleSelectionChange(selection: tableType[]) { multipleSelection.value = []; } } - - console.log('handleSelectionChange', selection); } // 重置查询 function resetQuery() { diff --git a/src/components/Holder/house.vue b/src/components/Holder/house.vue index 1dfa495..ce5d0a4 100644 --- a/src/components/Holder/house.vue +++ b/src/components/Holder/house.vue @@ -262,7 +262,6 @@ function handleSelectionChange(selection: BillHouse[]) { const uniqueMap = new Map(); finalSelection.forEach((item) => uniqueMap.set(item.houseId, item)); multipleSelection.value = Array.from(uniqueMap.values()); - console.log(multipleSelection.value.map((item) => item.houseId)); } else { // ✅ 补充:单选模式下,selection-change 触发时,直接取最新的一项 // 这样配合 handleRowClick 的 clearSelection + toggle 就能实现完美单选 diff --git a/src/components/Holder/index.vue b/src/components/Holder/index.vue index 7a9cce2..20f69b6 100644 --- a/src/components/Holder/index.vue +++ b/src/components/Holder/index.vue @@ -2,7 +2,7 @@
-
+
请选择
@@ -11,7 +11,7 @@
- + - - - - - + + + + + - + - + - - - + + + @@ -63,11 +63,11 @@ - -