|
|
@@ -196,9 +196,9 @@
|
|
|
});
|
|
|
|
|
|
// 获取统计数据
|
|
|
- async function fetchStatistics() {
|
|
|
+ async function fetchStatistics(where) {
|
|
|
try {
|
|
|
- const res = await request.get('/sys/finance/withdrawSum');
|
|
|
+ const res = await request.get('/sys/finance/withdrawSum', { params: where });
|
|
|
if (res.data.code === 200) {
|
|
|
Object.assign(statistics, res.data.data);
|
|
|
}
|
|
|
@@ -325,6 +325,10 @@
|
|
|
//刷新表格
|
|
|
function reload(where) {
|
|
|
pageRef.value?.reload(where);
|
|
|
+
|
|
|
+ // 刷新统计数据
|
|
|
+ console.log('刷新统计数据', where);
|
|
|
+ fetchStatistics(where);
|
|
|
}
|
|
|
|
|
|
//审核
|