|
@@ -137,9 +137,9 @@ import { monitorServer } from '@/api/monitor/server';
|
137
|
137
|
import Decimal from 'decimal.js';
|
138
|
138
|
import { getDept } from '@/api/system/dept';
|
139
|
139
|
import { getPost } from '@/api/system/params/post';
|
140
|
|
-import { selectAccountBalanceByIds } from '@/api/payment/bag';
|
141
|
|
-import { listXfConsumedetail } from '@/api/consumption/report/xfConsumedetail';
|
142
|
|
-import { listXfCreditaccount } from '@/api/cardCenter/report/xfCreditaccount';
|
|
140
|
+import { selectSelfAccountBalance } from '@/api/payment/bag';
|
|
141
|
+import { selfListXfConsumedetail } from '@/api/consumption/report/xfConsumedetail';
|
|
142
|
+import { selfListXfCreditaccount } from '@/api/cardCenter/report/xfCreditaccount';
|
143
|
143
|
import { getSelectedMenu } from '@/api/system/menu';
|
144
|
144
|
import { MenuVO } from '@/api/system/menu/types';
|
145
|
145
|
import router from '@/router';
|
|
@@ -211,20 +211,20 @@ onMounted(() => {
|
211
|
211
|
deptName.value = res.data.deptName;
|
212
|
212
|
});
|
213
|
213
|
// 余额
|
214
|
|
- selectAccountBalanceByIds({ userIds: userStore.userId }).then((res) => {
|
|
214
|
+ selectSelfAccountBalance().then((res) => {
|
215
|
215
|
if (res.data) {
|
216
|
216
|
accountBalance.value = res.data;
|
217
|
217
|
}
|
218
|
218
|
});
|
219
|
219
|
|
220
|
220
|
// 消费列表
|
221
|
|
- listXfConsumedetail({ userId: userStore.userId, pageNum: 1, pageSize: 10 }).then((res) => {
|
|
221
|
+ selfListXfConsumedetail().then((res) => {
|
222
|
222
|
if (res.rows) {
|
223
|
223
|
consumptionList.value = res.rows;
|
224
|
224
|
}
|
225
|
225
|
});
|
226
|
226
|
// 充值列表
|
227
|
|
- listXfCreditaccount({ userId: userStore.userId, pageNum: 1, pageSize: 10 }).then((res) => {
|
|
227
|
+ selfListXfCreditaccount().then((res) => {
|
228
|
228
|
if (res.rows) {
|
229
|
229
|
rechargeList.value = res.rows;
|
230
|
230
|
}
|