Commit f9f29297c1e2dd520d4b1782e20fb1af8abe3610

Authored by wuxw
1 parent d6b4c771

v1.9 分页 record 传给total 的bug

Showing 98 changed files with 106 additions and 106 deletions
src/api/account/couponDetailManageApi.js
... ... @@ -12,7 +12,7 @@ export function listCouponDetail(params) {
12 12 if (res.code === 0) {
13 13 resolve({
14 14 data: res.data,
15   - total: res.records
  15 + total: res.total
16 16 })
17 17 } else {
18 18 reject(new Error(res.msg || '获取优惠券详情列表失败'))
... ...
src/api/car/addParkingSpaceApplyApi.js
... ... @@ -12,7 +12,7 @@ export function queryOwners(params) {
12 12 if (res.code === 0) {
13 13 resolve({
14 14 data: res.data,
15   - total: res.records,
  15 + total: res.total,
16 16 currentPage: params.page,
17 17 pageSize: params.row
18 18 })
... ...
src/api/car/hireParkingSpaceApi.js
... ... @@ -39,7 +39,7 @@ export function queryOwners(params) {
39 39 if (res.code === 0) {
40 40 resolve({
41 41 data: res.data,
42   - total: res.records
  42 + total: res.total
43 43 })
44 44 } else {
45 45 reject(new Error(res.msg || '查询业主列表失败'))
... ...
src/api/fee/addOwnerInvoiceApi.js
... ... @@ -32,7 +32,7 @@ export function queryOwners(params) {
32 32 if (res.code === 0) {
33 33 resolve({
34 34 data: res.data,
35   - total: res.records
  35 + total: res.total
36 36 })
37 37 } else {
38 38 reject(new Error(res.msg || '查询业主失败'))
... ...
src/api/fee/feeConfigDetailApi.js
... ... @@ -28,7 +28,7 @@ export function queryHisFeeConfig(params) {
28 28 if (res.code === 0) {
29 29 resolve({
30 30 data: res.data,
31   - total: res.records,
  31 + total: res.total,
32 32 records: res.total
33 33 })
34 34 } else {
... ... @@ -52,7 +52,7 @@ export function listConfigFeeObjs(params) {
52 52 if (res.code === 0) {
53 53 resolve({
54 54 data: res.data,
55   - total: res.records,
  55 + total: res.total,
56 56 records: res.total
57 57 })
58 58 } else {
... ... @@ -76,7 +76,7 @@ export function queryPayFeeConfigDiscount(params) {
76 76 if (res.code === 0) {
77 77 resolve({
78 78 data: res.data,
79   - total: res.records,
  79 + total: res.total,
80 80 records: res.total
81 81 })
82 82 } else {
... ...
src/api/fee/listOweFeeApi.js
... ... @@ -59,7 +59,7 @@ export function queryFloors(params) {
59 59 const res = response.data
60 60 resolve({
61 61 data: res.apiFloorDataVoList,
62   - total: res.records
  62 + total: res.total
63 63 })
64 64 }).catch(error => {
65 65 reject(error)
... ...
src/api/inspection/inspectionItemTitleManageApi.js
... ... @@ -16,7 +16,7 @@ export function listInspectionItemTitle(params) {
16 16 if (res.code === 0) {
17 17 resolve({
18 18 data: res.data,
19   - total: res.records
  19 + total: res.total
20 20 })
21 21 } else {
22 22 reject(new Error(res.msg || '获取巡检题目列表失败'))
... ...
src/api/owner/deleteOwnerRoomApi.js
... ... @@ -18,7 +18,7 @@ export function queryOwners(params) {
18 18 if (res.code === 0) {
19 19 resolve({
20 20 data: res.data,
21   - total: res.records
  21 + total: res.total
22 22 })
23 23 } else {
24 24 reject(new Error(res.msg || '查询业主信息失败'))
... ...
src/api/report/componentConditionManageApi.js
... ... @@ -12,7 +12,7 @@ export function listReportCustomComponentCondition(params) {
12 12 if (res.code == 0) {
13 13 resolve({
14 14 data: res.data,
15   - total: res.records
  15 + total: res.total
16 16 })
17 17 } else {
18 18 reject(new Error(res.msg || '获取组件条件列表失败'))
... ...
src/components/aCommunity/aCarDetailApplySpace.vue
... ... @@ -102,7 +102,7 @@ export default {
102 102 }
103 103 const response = await listAdminParkingSpaceApply(param)
104 104 this.aCarDetailApplySpaceInfo.applys = response.data
105   - this.total = response.records
  105 + this.total = response.total
106 106 } catch (error) {
107 107 console.error('Failed to load apply space data:', error)
108 108 }
... ...
src/components/aCommunity/aCarDetailCarInout.vue
... ... @@ -125,7 +125,7 @@ export default {
125 125 .then(response => {
126 126 const res = response.data
127 127 this.aCarDetailCarInoutInfo.carIns = res.data
128   - this.total = res.records
  128 + this.total = res.total
129 129 })
130 130 .catch(error => {
131 131 console.error('请求失败:', error)
... ...
src/components/aCommunity/aCarDetailFee.vue
... ... @@ -97,7 +97,7 @@ export default {
97 97 }
98 98 const response = await listAdminFee(param)
99 99 this.aCarDetailFeeInfo.fees = response.fees
100   - this.total = response.records
  100 + this.total = response.total
101 101 } catch (error) {
102 102 console.error('Failed to load fee data:', error)
103 103 }
... ...
src/components/aCommunity/aCarDetailHis.vue
... ... @@ -115,7 +115,7 @@ export default {
115 115 }
116 116 const response = await queryAdminHisOwnerCar(param)
117 117 this.aCarDetailHisInfo.cars = response.data
118   - this.total = response.records
  118 + this.total = response.total
119 119 } catch (error) {
120 120 console.error('Failed to load history data:', error)
121 121 }
... ...
src/components/aCommunity/aCarDetailMember.vue
... ... @@ -91,7 +91,7 @@ export default {
91 91 }
92 92 const response = await queryAdminOwnerCars(param)
93 93 this.aCarDetailMemberInfo.ownerCars = response.data
94   - this.total = response.records
  94 + this.total = response.total
95 95 } catch (error) {
96 96 console.error('Failed to load member data:', error)
97 97 }
... ...
src/components/aCommunity/aCarDetailOwner.vue
... ... @@ -99,7 +99,7 @@ export default {
99 99 }
100 100 const response = await queryAdminOwners(param)
101 101 this.aCarDetailOwnerInfo.owners = response.data
102   - this.total = response.records
  102 + this.total = response.total
103 103 } catch (error) {
104 104 console.error('Failed to load owner data:', error)
105 105 }
... ...
src/components/aCommunity/aCarDetailTransactionCar.vue
... ... @@ -71,7 +71,7 @@ export default {
71 71 }
72 72 const response = await listAdminMachineTranslates(param)
73 73 this.aCarDetailTransactionCarInfo.translates = response.machineTranslates
74   - this.total = response.records
  74 + this.total = response.total
75 75 } catch (error) {
76 76 console.error('Failed to load transaction data:', error)
77 77 }
... ...
src/components/aCommunity/aFeeDetailConfig.vue
... ... @@ -83,7 +83,7 @@ export default {
83 83  
84 84 const res = await queryAdminFeeConfigs(params)
85 85 this.aFeeDetailConfigInfo.feeConfigs = res.feeConfigs
86   - this.total = res.records
  86 + this.total = res.total
87 87 } catch (error) {
88 88 console.error('加载费用配置数据失败:', error)
89 89 }
... ...
src/components/aCommunity/aFeeDetailDiscount.vue
... ... @@ -81,7 +81,7 @@ export default {
81 81  
82 82 const res = await queryAdminApplyRoomDiscount(params)
83 83 this.aFeeDetailDiscountInfo.applyRoomDiscounts = res.data
84   - this.total = res.records
  84 + this.total = res.total
85 85 } catch (error) {
86 86 console.error('加载费用折扣数据失败:', error)
87 87 }
... ...
src/components/aCommunity/aFeeDetailFeeObj.vue
... ... @@ -88,7 +88,7 @@ export default {
88 88  
89 89 const res = await listAdminConfigFeeObjs(params)
90 90 this.aFeeDetailFeeObjInfo.feeObjs = res.data
91   - this.total = res.records
  91 + this.total = res.total
92 92 } catch (error) {
93 93 console.error('加载费用对象数据失败:', error)
94 94 }
... ...
src/components/aCommunity/aFeeDetailHis.vue
... ... @@ -100,7 +100,7 @@ export default {
100 100  
101 101 const res = await queryAdminHisFee(params)
102 102 this.aFeeDetailHisInfo.fees = res.data
103   - this.total = res.records
  103 + this.total = res.total
104 104 } catch (error) {
105 105 console.error('加载费用历史数据失败:', error)
106 106 }
... ...
src/components/aCommunity/aFeeDetailImport.vue
... ... @@ -72,7 +72,7 @@ export default {
72 72  
73 73 const res = await queryAdminImportFeeDetail(params)
74 74 this.aFeeDetailImportInfo.importFeeDetails = res.data
75   - this.total = res.records
  75 + this.total = res.total
76 76 } catch (error) {
77 77 console.error('加载导入费用明细数据失败:', error)
78 78 }
... ...
src/components/aCommunity/aOwnerDetailAccessControl.vue
... ... @@ -62,7 +62,7 @@ export default {
62 62 try {
63 63 const response = await listAdminMachineTranslates(param)
64 64 this.aOwnerDetailAccessControlInfo.translates = response.machineTranslates
65   - this.total = response.records
  65 + this.total = response.total
66 66 this.currentPage = page
67 67 } catch (error) {
68 68 console.error('请求失败:', error)
... ...
src/components/aCommunity/aOwnerDetailCoupon.vue
... ... @@ -71,7 +71,7 @@ export default {
71 71 try {
72 72 const response = await listAdminCouponPropertyUser(param)
73 73 this.aOwnerDetailCouponInfo.coupons = response.data
74   - this.total = response.records
  74 + this.total = response.total
75 75 this.currentPage = page
76 76 } catch (error) {
77 77 console.error('请求失败:', error)
... ...
src/components/aCommunity/aOwnerDetailHis.vue
... ... @@ -112,7 +112,7 @@ export default {
112 112 const response = await queryAdminHisOwner(param)
113 113 this.aOwnerDetailHisInfo.owners = response.data
114 114 this.dealOwnerAttr(response.data)
115   - this.total = response.records
  115 + this.total = response.total
116 116 this.currentPage = page
117 117 } catch (error) {
118 118 console.error('请求失败:', error)
... ...
src/components/aCommunity/aOwnerDetailRoomFee.vue
... ... @@ -132,7 +132,7 @@ export default {
132 132  
133 133 try {
134 134 const response = await listAdminFee(param)
135   - this.total = response.records
  135 + this.total = response.total
136 136 this.aOwnerDetailRoomFeeInfo.fees = response.fees
137 137 this.currentPage = page
138 138  
... ...
src/components/aCommunity/aOwnerDetailVisit.vue
... ... @@ -94,7 +94,7 @@ export default {
94 94 try {
95 95 const response = await listAdminVisits(param)
96 96 this.aOwnerDetailVisitInfo.visits = response.visits
97   - this.total = response.records
  97 + this.total = response.total
98 98 this.currentPage = page
99 99 } catch (error) {
100 100 console.error('请求失败:', error)
... ...
src/components/aCommunity/aRoomDetailCar.vue
... ... @@ -99,7 +99,7 @@ export default {
99 99 row
100 100 })
101 101 this.aRoomDetailCarInfo.cars = res.data
102   - this.total = res.records
  102 + this.total = res.total
103 103 } catch (error) {
104 104 console.error('请求失败:', error)
105 105 }
... ...
src/components/aCommunity/aRoomDetailCarFee.vue
... ... @@ -129,7 +129,7 @@ export default {
129 129 payerObjId: this.aRoomDetailCarFeeInfo.carId
130 130 })
131 131 this.aRoomDetailCarFeeInfo.fees = res.fees
132   - this.total = res.records
  132 + this.total = res.total
133 133 let totalAmount = 0.0
134 134 res.fees.forEach(item => {
135 135 totalAmount += parseFloat(item.amountOwed)
... ...
src/components/aCommunity/aRoomDetailComplaint.vue
... ... @@ -85,7 +85,7 @@ export default {
85 85  
86 86 listAdminComplaints(params).then(response => {
87 87 this.aRoomDetailComplaintInfo.complaints = response.data
88   - this.pagination.total = response.records
  88 + this.pagination.total = response.total
89 89 }).catch(error => {
90 90 console.error('Failed to load complaints:', error)
91 91 })
... ...
src/components/aCommunity/aRoomDetailContract.vue
... ... @@ -71,7 +71,7 @@ export default {
71 71 row
72 72 })
73 73 this.aRoomDetailContractInfo.contracts = res.data
74   - this.total = res.records
  74 + this.total = res.total
75 75 } catch (error) {
76 76 console.error('请求失败:', error)
77 77 }
... ...
src/components/aCommunity/aRoomDetailHisOwner.vue
... ... @@ -66,7 +66,7 @@ export default {
66 66  
67 67 queryAdminRoomHisOwner(params).then(response => {
68 68 this.aRoomDetailHisOwnerInfo.owners = response.data
69   - this.pagination.total = response.records
  69 + this.pagination.total = response.total
70 70 }).catch(error => {
71 71 console.error('Failed to load owner history:', error)
72 72 })
... ...
src/components/aCommunity/aRoomDetailMember.vue
... ... @@ -85,7 +85,7 @@ export default {
85 85 row
86 86 })
87 87 this.aRoomDetailMemberInfo.members = res.data
88   - this.total = res.records
  88 + this.total = res.total
89 89 } catch (error) {
90 90 console.error('请求失败:', error)
91 91 }
... ...
src/components/aCommunity/aRoomDetailRepair.vue
... ... @@ -74,7 +74,7 @@ export default {
74 74 row
75 75 })
76 76 this.aRoomDetailRepairInfo.repairs = res.data
77   - this.total = res.records
  77 + this.total = res.total
78 78 } catch (error) {
79 79 console.error('请求失败:', error)
80 80 }
... ...
src/components/aCommunity/adminOwnerDetailAccessControlRecord.vue
... ... @@ -86,7 +86,7 @@ export default {
86 86 const response = await this.$http.get('/machineRecord.listAdminMachineRecords', { params: param })
87 87 const recordInfo = response.data
88 88 this.accessControlRecordInfo.records = recordInfo.machineRecords
89   - this.total = recordInfo.records
  89 + this.total = recordInfo.total
90 90 this.currentPage = page
91 91 } catch (error) {
92 92 console.error('请求失败:', error)
... ...
src/components/aCommunity/adminOwnerDetailChargeMachineOrder.vue
... ... @@ -91,7 +91,7 @@ export default {
91 91 const response = await this.$http.get('/machineOrder.listAdminMachineOrders', { params: param })
92 92 const orderInfo = response.data
93 93 this.chargeMachineOrderInfo.orders = orderInfo.machineOrders
94   - this.total = orderInfo.records
  94 + this.total = orderInfo.total
95 95 this.currentPage = page
96 96 } catch (error) {
97 97 console.error('请求失败:', error)
... ...
src/components/car/carDetailFee.vue
... ... @@ -160,7 +160,7 @@ export default {
160 160  
161 161 listFee(params).then(response => {
162 162 this.carDetailFeeInfo.fees = response.fees
163   - this.pagination.total = response.records
  163 + this.pagination.total = response.total
164 164 }).catch(error => {
165 165 console.error('请求失败处理', error)
166 166 })
... ...
src/components/car/carDetailMember.vue
... ... @@ -125,7 +125,7 @@ export default {
125 125  
126 126 getOwnerCarDetail(params).then(response => {
127 127 this.carDetailMemberInfo.ownerCars = response.data
128   - this.pagination.total = response.records
  128 + this.pagination.total = response.total
129 129 }).catch(error => {
130 130 console.error('请求失败处理', error)
131 131 })
... ...
src/components/car/ownerDetailOweFee.vue
... ... @@ -77,7 +77,7 @@ export default {
77 77  
78 78 queryReportOweFee(params).then(response => {
79 79 this.ownerDetailOweFeeInfo.fees = response.data
80   - this.pagination.total = response.records
  80 + this.pagination.total = response.total
81 81 }).catch(error => {
82 82 console.error('请求失败处理', error)
83 83 })
... ...
src/components/contract/contractDetailChange.vue
... ... @@ -92,7 +92,7 @@ export default {
92 92  
93 93 queryContractChangePlan(params).then(response => {
94 94 this.contractDetailChangeInfo.contracts = response.data
95   - this.total = response.records
  95 + this.total = response.total
96 96 }).catch(error => {
97 97 console.error('请求失败:', error)
98 98 })
... ...
src/components/contract/contractDetailFee.vue
... ... @@ -149,7 +149,7 @@ export default {
149 149 this.contractDetailFeeInfo.total = response.total
150 150 this.contractDetailFeeInfo.records = response.records
151 151 this.contractDetailFeeInfo.fees = response.fees
152   - this.pagination.total = response.records
  152 + this.pagination.total = response.total
153 153  
154 154 let totalAmount = 0.0
155 155 response.fees.forEach(item => {
... ...
src/components/contract/contractDetailOwner.vue
... ... @@ -165,7 +165,7 @@ export default {
165 165 queryOwners(param)
166 166 .then(response => {
167 167 this.contractDetailOwnerInfo.owners = response.data
168   - this.total = response.records
  168 + this.total = response.total
169 169 this.currentPage = page
170 170 })
171 171 .catch(error => {
... ...
src/components/contract/contractDetailReceipt.vue
... ... @@ -112,7 +112,7 @@ export default {
112 112 queryFeeReceipt(param)
113 113 .then(response => {
114 114 this.contractDetailReceiptInfo.feeReceipts = response.data
115   - this.total = response.records
  115 + this.total = response.total
116 116 this.currentPage = page
117 117 })
118 118 .catch(error => {
... ...
src/components/contract/contractDetailSub.vue
... ... @@ -98,7 +98,7 @@ export default {
98 98 this.contractDetailSubInfo.contracts = response.data
99 99 this.contractDetailSubInfo.total = response.total
100 100 this.contractDetailSubInfo.records = response.records
101   - this.total = response.records
  101 + this.total = response.total
102 102 }).catch(error => {
103 103 console.error('请求失败:', error)
104 104 })
... ...
src/components/fee/aOwnerDetailAccount.vue
... ... @@ -58,7 +58,7 @@ export default {
58 58  
59 59 queryAdminOwnerAccount(params).then(res => {
60 60 this.accounts = res.data
61   - this.page.total = res.records
  61 + this.page.total = res.total
62 62 })
63 63 },
64 64 toDetail(account) {
... ...
src/components/fee/aRoomDetailOwner.vue
... ... @@ -77,7 +77,7 @@ export default {
77 77  
78 78 const res = await queryAdminRoomOwner(params)
79 79 this.owners = res.data
80   - this.page.total = res.records
  80 + this.page.total = res.total
81 81  
82 82 },
83 83 toDetail(owner) {
... ...
src/components/fee/carDetailOwner.vue
... ... @@ -140,7 +140,7 @@ export default {
140 140 row
141 141 })
142 142 this.carDetailOwnerInfo.owners = res.data
143   - this.total = res.records
  143 + this.total = res.total
144 144 } catch (error) {
145 145 console.error('Request failed:', error)
146 146 }
... ...
src/components/fee/feeDetailCar.vue
... ... @@ -82,7 +82,7 @@ export default {
82 82  
83 83 queryOwnerCars(params).then(res => {
84 84 this.feeDetailCarInfo.cars = res.data
85   - this.pagination.total = res.records
  85 + this.pagination.total = res.total
86 86 }).catch(error => {
87 87 console.error('Failed to load car details:', error)
88 88 })
... ...
src/components/fee/feeDetailConfig.vue
... ... @@ -83,7 +83,7 @@ export default {
83 83  
84 84 listFeeConfigs(params).then(res => {
85 85 this.feeDetailConfigInfo.feeConfigs = res.feeConfigs
86   - this.pagination.total = res.records
  86 + this.pagination.total = res.total
87 87 }).catch(error => {
88 88 console.error('Failed to load fee config details:', error)
89 89 })
... ...
src/components/fee/feeDetailContract.vue
... ... @@ -68,7 +68,7 @@ export default {
68 68  
69 69 queryContract(params).then(res => {
70 70 this.feeDetailContractInfo.contracts = res.data
71   - this.pagination.total = res.records
  71 + this.pagination.total = res.total
72 72 }).catch(error => {
73 73 console.error('Failed to load contract details:', error)
74 74 })
... ...
src/components/fee/feeDetailDiscount.vue
... ... @@ -139,7 +139,7 @@ export default {
139 139  
140 140 const res = await queryApplyRoomDiscount(params)
141 141 this.feeDetailDiscountInfo.applyRoomDiscounts = res.data
142   - this.total = res.records
  142 + this.total = res.total
143 143 } catch (error) {
144 144 console.error('Failed to load discount data:', error)
145 145 }
... ...
src/components/fee/feeDetailFeeRule.vue
... ... @@ -129,7 +129,7 @@ export default {
129 129 const res = await listPayFeeRule(params)
130 130 if (res.code === 0) {
131 131 this.feeDetailFeeRuleInfo.rules = res.data
132   - this.total = res.records
  132 + this.total = res.total
133 133 } else {
134 134 this.$message.error(res.msg)
135 135 }
... ...
src/components/fee/feeDetailHis.vue
... ... @@ -80,7 +80,7 @@ export default {
80 80  
81 81 const res = await queryHisFee(params)
82 82 this.feeDetailHisInfo.fees = res.data
83   - this.total = res.records
  83 + this.total = res.total
84 84 } catch (error) {
85 85 console.error('Failed to load fee history data:', error)
86 86 }
... ...
src/components/fee/feeDetailHisFee.vue
... ... @@ -91,7 +91,7 @@ export default {
91 91  
92 92 queryFeeDetail(params).then(res => {
93 93 this.feeDetailHisFeeInfo.feeDetails = res.feeDetails
94   - this.pagination.total = res.records
  94 + this.pagination.total = res.total
95 95 }).catch(error => {
96 96 console.error('Failed to load fee detail history:', error)
97 97 })
... ...
src/components/fee/feeDetailImport.vue
... ... @@ -112,7 +112,7 @@ export default {
112 112  
113 113 const res = await queryImportFeeDetail(params)
114 114 this.feeDetailImportInfo.importFeeDetails = res.data
115   - this.total = res.records
  115 + this.total = res.total
116 116 } catch (error) {
117 117 console.error('Failed to load import fee data:', error)
118 118 }
... ...
src/components/fee/feeDetailMeter.vue
... ... @@ -101,7 +101,7 @@ export default {
101 101  
102 102 const res = await listMeterWaters(params)
103 103 this.feeDetailMeterInfo.meterWaters = res.data
104   - this.total = res.records
  104 + this.total = res.total
105 105 } catch (error) {
106 106 console.error('Failed to load meter data:', error)
107 107 }
... ...
src/components/fee/feeDetailMonthFee.vue
... ... @@ -114,7 +114,7 @@ export default {
114 114  
115 115 listMonthFee(params).then(res => {
116 116 this.feeDetailMonthFeeInfo.monthFees = res.data
117   - this.pagination.total = res.records
  117 + this.pagination.total = res.total
118 118 }).catch(error => {
119 119 console.error('Failed to load month fee details:', error)
120 120 })
... ...
src/components/fee/feeDetailOwner.vue
... ... @@ -132,7 +132,7 @@ export default {
132 132  
133 133 const res = await queryOwners(params)
134 134 this.feeDetailOwnerInfo.owners = res.data
135   - this.total = res.records
  135 + this.total = res.total
136 136 } catch (error) {
137 137 console.error('Failed to load owner data:', error)
138 138 }
... ...
src/components/fee/feeDetailRoom.vue
... ... @@ -73,7 +73,7 @@ export default {
73 73  
74 74 queryRooms(params).then(res => {
75 75 this.feeDetailRoomInfo.rooms = res.rooms
76   - this.pagination.total = res.records
  76 + this.pagination.total = res.total
77 77 }).catch(error => {
78 78 console.error('Failed to load room details:', error)
79 79 })
... ...
src/components/fee/feeDetailRuleBill.vue
... ... @@ -87,7 +87,7 @@ export default {
87 87 const res = await listPayFeeRuleBill(params)
88 88 if (res.code === 0) {
89 89 this.feeDetailRuleBillInfo.bills = res.data
90   - this.total = res.records
  90 + this.total = res.total
91 91 } else {
92 92 this.$message.error(res.msg)
93 93 }
... ...
src/components/fee/searchOwnerInvoice.vue
... ... @@ -89,7 +89,7 @@ export default {
89 89  
90 90 const res = await listOwnerInvoice(params)
91 91 this.ownerInvoices = res.data
92   - this.pagination.total = res.records
  92 + this.pagination.total = res.total
93 93 } catch (error) {
94 94 console.error('Failed to load owner invoices:', error)
95 95 this.$message.error(this.$t('common.loadFailed'))
... ...
src/components/fee/simplifyCallable.vue
... ... @@ -137,7 +137,7 @@ export default {
137 137 this.simplifyCallableInfo.total = res.total
138 138 this.simplifyCallableInfo.records = res.records
139 139 this.simplifyCallableInfo.callables = res.data
140   - this.total = res.records
  140 + this.total = res.total
141 141 } catch (error) {
142 142 console.error('Request failed:', error)
143 143 }
... ...
src/components/fee/simplifyFeeReceipt.vue
... ... @@ -201,7 +201,7 @@ export default {
201 201 this.simplifyFeeReceiptInfo.total = res.total
202 202 this.simplifyFeeReceiptInfo.records = res.records
203 203 this.simplifyFeeReceiptInfo.feeReceipts = res.data
204   - this.total = res.records
  204 + this.total = res.total
205 205 } catch (error) {
206 206 console.error('Request failed:', error)
207 207 }
... ...
src/components/fee/simplifyOwnerRooms.vue
... ... @@ -124,7 +124,7 @@ export default {
124 124 this._computeOwnerRoomOweFeeAmount()
125 125 this.simplifyOwnerRoomsInfo.total = res.total
126 126 this.simplifyOwnerRoomsInfo.records = res.records
127   - this.total = res.records
  127 + this.total = res.total
128 128 } catch (error) {
129 129 console.error('Request failed:', error)
130 130 }
... ...
src/components/fee/simplifyRoomFee.vue
... ... @@ -385,7 +385,7 @@ export default {
385 385  
386 386 this.simplifyRoomFeeInfo.totalAmount = totalAmount.toFixed(2)
387 387 this.simplifyRoomFeeInfo.fees = res.fees.sort(this.roomFeeCompare)
388   - this.total = res.records
  388 + this.total = res.total
389 389 } catch (error) {
390 390 console.error('Failed to fetch fee list:', error)
391 391 }
... ...
src/components/inspection/InspectionTaskDetail.vue
... ... @@ -101,7 +101,7 @@ export default {
101 101 taskId: this.taskId
102 102 })
103 103 this.taskDetails = res.inspectionTaskDetails || []
104   - this.total = res.records || 0
  104 + this.total = res.total || 0
105 105 } catch (error) {
106 106 console.error('加载任务详情失败:', error)
107 107 this.$message.error('加载任务详情失败')
... ...
src/components/inspection/pointPlan.vue
... ... @@ -97,7 +97,7 @@ export default {
97 97  
98 98 const response = await queryPointInspectionPlan(params)
99 99 this.pointPlanInfo.plans = response.data
100   - this.page.total = response.records
  100 + this.page.total = response.total
101 101 } catch (error) {
102 102 console.error('获取巡检计划失败:', error)
103 103 this.$message.error(this.$t('pointPlan.fetchError'))
... ...
src/components/inspection/pointTaskDetail.vue
... ... @@ -155,7 +155,7 @@ export default {
155 155  
156 156 const response = await listInspectionTaskDetails(params)
157 157 this.pointTaskDetailInfo.details = response.inspectionTaskDetails
158   - this.page.total = response.records
  158 + this.page.total = response.total
159 159 } catch (error) {
160 160 console.error('获取巡检明细失败:', error)
161 161 this.$message.error(this.$t('pointTaskDetail.fetchError'))
... ...
src/components/owner/SearchOwner.vue
... ... @@ -84,7 +84,7 @@ export default {
84 84  
85 85 const res = await queryOwners(params)
86 86 this.searchOwnerInfo.owners = res.data
87   - this.page.total = res.records
  87 + this.page.total = res.total
88 88 this.page.current = page
89 89 this.page.size = size
90 90 } catch (error) {
... ...
src/components/owner/ownerDetailAccount.vue
... ... @@ -88,7 +88,7 @@ export default {
88 88  
89 89 queryCommunityOwnerAccount(params).then(response => {
90 90 this.ownerDetailAccountInfo.accounts = response.data
91   - this.pagination.total = response.records
  91 + this.pagination.total = response.total
92 92 }).catch(error => {
93 93 console.error('请求失败处理', error)
94 94 })
... ...
src/components/owner/ownerDetailAppUser.vue
... ... @@ -85,7 +85,7 @@ export default {
85 85  
86 86 listAuditAppUserBindingOwners(params).then(response => {
87 87 this.ownerDetailAppUserInfo.appUsers = response.data
88   - this.pagination.total = response.records
  88 + this.pagination.total = response.total
89 89 }).catch(error => {
90 90 console.error('请求失败处理', error)
91 91 })
... ...
src/components/owner/ownerDetailCar.vue
... ... @@ -149,7 +149,7 @@ export default {
149 149 this.pagination = {
150 150 currentPage: page,
151 151 pageSize: row,
152   - total: res.records
  152 + total: res.total
153 153 }
154 154 }).catch(error => {
155 155 console.error('请求失败:', error)
... ...
src/components/owner/ownerDetailComplaint.vue
... ... @@ -91,7 +91,7 @@ export default {
91 91  
92 92 listComplaints(params).then(response => {
93 93 this.ownerDetailComplaintInfo.complaints = response.complaints
94   - this.pagination.total = response.records
  94 + this.pagination.total = response.total
95 95 }).catch(error => {
96 96 console.error('请求失败处理', error)
97 97 })
... ...
src/components/owner/ownerDetailContract.vue
... ... @@ -56,7 +56,7 @@ export default {
56 56  
57 57 queryContract(params).then(response => {
58 58 this.ownerDetailContractInfo.contracts = response.data
59   - this.pagination.total = response.records
  59 + this.pagination.total = response.total
60 60 }).catch(error => {
61 61 console.error('请求失败处理', error)
62 62 })
... ...
src/components/owner/ownerDetailCoupon.vue
... ... @@ -63,7 +63,7 @@ export default {
63 63  
64 64 listCouponPropertyUser(params).then(response => {
65 65 this.ownerDetailCouponInfo.coupons = response.data
66   - this.pagination.total = response.records
  66 + this.pagination.total = response.total
67 67 }).catch(error => {
68 68 console.error('请求失败处理', error)
69 69 })
... ...
src/components/owner/ownerDetailMember.vue
... ... @@ -107,7 +107,7 @@ export default {
107 107  
108 108 queryOwnerMembers(params).then(response => {
109 109 this.ownerDetailMemberInfo.members = response.data
110   - this.pagination.total = response.records
  110 + this.pagination.total = response.total
111 111 }).catch(error => {
112 112 console.error('请求失败处理', error)
113 113 })
... ...
src/components/owner/ownerDetailRepair.vue
... ... @@ -65,7 +65,7 @@ export default {
65 65  
66 66 listOwnerRepairs(params).then(response => {
67 67 this.ownerDetailRepairInfo.repairs = response.data
68   - this.pagination.total = response.records
  68 + this.pagination.total = response.total
69 69 }).catch(error => {
70 70 console.error('请求失败处理', error)
71 71 })
... ...
src/components/owner/ownerDetailRoomFee.vue
... ... @@ -158,7 +158,7 @@ export default {
158 158  
159 159 listFee(params).then(response => {
160 160 this.ownerDetailRoomFeeInfo.fees = response.fees
161   - this.pagination.total = response.records
  161 + this.pagination.total = response.total
162 162 let _totalAmount = 0.0
163 163 response.fees.forEach(item => {
164 164 _totalAmount += parseFloat(item.amountOwed)
... ...
src/components/owner/ownerDetailVisit.vue
... ... @@ -119,7 +119,7 @@ export default {
119 119  
120 120 listVisits(params).then(response => {
121 121 this.ownerDetailVisitInfo.visits = response.visits
122   - this.pagination.total = response.records
  122 + this.pagination.total = response.total
123 123 }).catch(error => {
124 124 console.error('请求失败处理', error)
125 125 })
... ...
src/components/owner/ownerOweFees.vue
... ... @@ -62,7 +62,7 @@ export default {
62 62  
63 63 const response = await getOwnerOweFees(params)
64 64 this.ownerOweFeesInfo.fees = response.data
65   - this.pagination.total = response.records
  65 + this.pagination.total = response.total
66 66 } catch (error) {
67 67 console.error('加载欠费信息失败:', error)
68 68 this.$message.error(this.$t('common.loadFailed'))
... ...
src/components/resource/chooseResourceStore.vue
... ... @@ -229,7 +229,7 @@ export default {
229 229  
230 230 const res = await listResourceStores(params)
231 231 this.resourceStores = res.resourceStores
232   - this.page.total = res.records
  232 + this.page.total = res.total
233 233 } catch (error) {
234 234 console.error(error)
235 235 }
... ...
src/components/room/roomContracts.vue
... ... @@ -74,7 +74,7 @@ export default {
74 74  
75 75 const response = await getRoomContracts(params, this.roomContractsInfo.roomId)
76 76 this.roomContractsInfo.contracts = response.data
77   - this.pagination.total = response.records
  77 + this.pagination.total = response.total
78 78 } catch (error) {
79 79 console.error('加载合同信息失败:', error)
80 80 this.$message.error(this.$t('common.loadFailed'))
... ...
src/components/room/roomOweFees.vue
... ... @@ -63,7 +63,7 @@ export default {
63 63  
64 64 const response = await getRoomOweFees(params)
65 65 this.roomOweFeesInfo.fees = response.data
66   - this.pagination.total = response.records
  66 + this.pagination.total = response.total
67 67 } catch (error) {
68 68 console.error('加载房屋欠费信息失败:', error)
69 69 this.$message.error(this.$t('common.loadFailed'))
... ...
src/components/room/searchFloor.vue
... ... @@ -104,7 +104,7 @@ export default {
104 104  
105 105 const response = await searchFloors(params)
106 106 this.floorList = response.apiFloorDataVoList
107   - this.total = response.records
  107 + this.total = response.total
108 108 } catch (error) {
109 109 console.error('加载楼栋列表失败', error)
110 110 }
... ...
src/components/room/searchRoom.vue
... ... @@ -124,7 +124,7 @@ export default {
124 124 }
125 125  
126 126 this.rooms = response.rooms || []
127   - this.pagination.total = response.records || 0
  127 + this.pagination.total = response.total || 0
128 128 } catch (error) {
129 129 console.error('Failed to load room info:', error)
130 130 this.$message.error(this.$t('searchRoom.loadFailed'))
... ...
src/components/simplify/simplifyCarFee.vue
... ... @@ -201,7 +201,7 @@ export default {
201 201  
202 202 listFee(params).then(res => {
203 203 this.simplifyCarFeeInfo.fees = res.data.fees
204   - this.total = res.data.records
  204 + this.total = res.data.total
205 205 let totalAmount = 0.0
206 206 res.data.fees.forEach(item => {
207 207 totalAmount += parseFloat(item.amountOwed)
... ...
src/components/simplify/simplifyOwnerAccessContol.vue
... ... @@ -86,7 +86,7 @@ export default {
86 86  
87 87 listMachineTranslates(params).then(res => {
88 88 this.simplifyOwnerAccessContolInfo.machineTranslates = res.machineTranslates
89   - this.total = res.records
  89 + this.total = res.total
90 90 })
91 91 },
92 92 _openEditMachineTranslateModel(machineTranslate) {
... ...
src/components/simplify/simplifyOwnerCar.vue
... ... @@ -130,7 +130,7 @@ export default {
130 130  
131 131 queryOwnerCars(params).then(res => {
132 132 this.simplifyOwnerCarInfo.ownerCars = res.data
133   - this.total = res.records
  133 + this.total = res.total
134 134 })
135 135 },
136 136 _addOwnerCar() {
... ...
src/components/simplify/simplifyOwnerComplaint.vue
... ... @@ -109,7 +109,7 @@ export default {
109 109  
110 110 listComplaints(params).then(res => {
111 111 this.simplifyOwnerComplaintInfo.complaints = res.data
112   - this.total = res.records
  112 + this.total = res.total
113 113 })
114 114 },
115 115 _openComplaintDetailModel(complaint) {
... ...
src/components/simplify/simplifyOwnerMember.vue
... ... @@ -118,7 +118,7 @@ export default {
118 118 queryOwnerMembers(params).then(res => {
119 119 this.simplifyOwnerMemberInfo.members = res.data
120 120 this.dealSimplifyOwnerMemberAttr(res)
121   - this.total = res.records
  121 + this.total = res.total
122 122 })
123 123 },
124 124 openAddMemberModel() {
... ...
src/components/simplify/simplifyOwnerRepair.vue
... ... @@ -87,7 +87,7 @@ export default {
87 87  
88 88 listOwnerRepairs(params).then(res => {
89 89 this.simplifyOwnerRepairInfo.repairs = res.data
90   - this.total = res.records
  90 + this.total = res.total
91 91 })
92 92 },
93 93 _openRepairDetail(repairPool) {
... ...
src/components/staff/aStaffDetailCommunitys.vue
... ... @@ -84,7 +84,7 @@ export default {
84 84 row: this.pagination.size
85 85 })
86 86 this.communitys = response.data || []
87   - this.pagination.total = response.records || 0
  87 + this.pagination.total = response.total || 0
88 88 } catch (error) {
89 89 this.$message.error(this.$t('aStaffDetailCommunitys.loadError'))
90 90 }
... ...
src/components/staff/addAStaffCommunity.vue
... ... @@ -85,7 +85,7 @@ export default {
85 85 checked: false
86 86 }
87 87 })
88   - this.pagination.total = response.records || 0
  88 + this.pagination.total = response.total || 0
89 89 } catch (error) {
90 90 this.$message.error(this.$t('addAStaffCommunity.loadError'))
91 91 }
... ...
src/views/admin/orderManageList.vue
... ... @@ -163,7 +163,7 @@ export default {
163 163 this.orderManageInfo.total = res.total
164 164 this.orderManageInfo.records = res.records
165 165 this.orderManageInfo.orderDataVos = res.data
166   - this.page.total = res.records
  166 + this.page.total = res.total
167 167 } catch (error) {
168 168 this.$message.error(this.$t('orderManage.fetchError'))
169 169 }
... ...
src/views/fee/adminFeeConfigList.vue
1 1 <template>
2 2 <div class="admin-fee-config-container">
3   - <el-row class="animated fadeInRight">
4   - <el-col :span="5" class="room-floor-unit-tree">
  3 + <el-row class="animated fadeInRight" :gutter="20">
  4 + <el-col :span="4" class="room-floor-unit-tree">
5 5 <community-fee-type-tree ref="communityFeeTypeTree" @selectCommunity="handleSelectCommunity"
6 6 @selectFeeTypeCd="handleSelectFeeTypeCd" @selectFeeFlag="handleSelectFeeFlag" />
7 7 </el-col>
8   - <el-col :span="18" class="margin-left-sm">
  8 + <el-col :span="20" >
9 9 <el-card>
10 10 <div slot="header" class="clearfix flex justify-between">
11 11 <span>{{ $t('adminFeeConfig.search.title') }}</span>
... ... @@ -76,15 +76,15 @@
76 76 </el-table-column>
77 77 </el-table>
78 78  
79   - <el-row class="margin-top">
80   - <el-col :span="18">
  79 + <el-row class="margin-top text-left" >
  80 + <el-col :span="12">
81 81 <div class="fee-description">
82 82 <p>{{ $t('adminFeeConfig.description.feeFlag') }}</p>
83 83 <p>{{ $t('adminFeeConfig.description.oneTimeFee') }}</p>
84 84 <p>{{ $t('adminFeeConfig.description.paymentType') }}</p>
85 85 </div>
86 86 </el-col>
87   - <el-col :span="6">
  87 + <el-col :span="12">
88 88 <el-pagination
89 89 :current-page="pagination.current"
90 90 :page-sizes="[10, 20, 30, 50]"
... ...
src/views/report/reportRepairList.vue
... ... @@ -248,7 +248,7 @@ export default {
248 248 this.reportRepairInfo.conditions.chargebackNumber = res.rep.chargebackNumber
249 249 this.reportRepairInfo.conditions.statementNumber = res.rep.statementNumber
250 250 this.reportRepairInfo.conditions.returnNumber = res.rep.returnNumber
251   - this.page.total = res.records
  251 + this.page.total = res.total
252 252 } catch (error) {
253 253 console.error('查询报修汇总失败:', error)
254 254 } finally {
... ...
src/views/scm/doDiningList.vue
... ... @@ -266,7 +266,7 @@ export default {
266 266 this.doDiningInfo.total = response.total
267 267 this.doDiningInfo.records = response.records
268 268 this.doDiningInfo.orders = response.data
269   - this.page.total = response.records
  269 + this.page.total = response.total
270 270 })
271 271 .catch(error => {
272 272 console.error('请求失败:', error)
... ...
src/views/scm/supplierManageList.vue
... ... @@ -125,7 +125,7 @@ export default {
125 125 }
126 126 const res = await listSupplier(params)
127 127 this.suppliers = res.data
128   - this.page.total = res.records
  128 + this.page.total = res.total
129 129 } catch (error) {
130 130 console.error('查询供应商列表失败:', error)
131 131 } finally {
... ...
src/views/staff/staffList.vue
... ... @@ -170,9 +170,9 @@ export default {
170 170 ...this.staffInfo.conditions
171 171 }
172 172  
173   - const { staffs, records } = await queryStaffInfos(params)
  173 + const { staffs, total } = await queryStaffInfos(params)
174 174 this.staffData = staffs
175   - this.page.total = records
  175 + this.page.total = total
176 176 } catch (error) {
177 177 this.$message.error(error.message)
178 178 } finally {
... ...