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