修复每日排名

This commit is contained in:
Dragon
2024-03-19 20:05:57 +08:00
parent cb7f4c519a
commit b47a506901

View File

@@ -128,6 +128,18 @@
label="累计接收代充转增"
/>
</el-table>
<!-- 分页 -->
<el-pagination
style="margin-top: 10px"
class="paginationClass"
v-model:current-page="currentPage2"
v-model:page-size="pageSize2"
:page-sizes="[10, 20, 30, 40, 50, 100, 200, 300, 400, 500, 999999999]"
layout="sizes, prev, pager, next"
:total="total"
@size-change="handleSizeChange2"
@current-change="handleCurrentChange2"
/>
<!-- 操作 -->
<template #footer>
<span class="dialog-footer">
@@ -158,6 +170,10 @@ export default {
total: 10, //总页数
currentPage: 1, //页码
pageSize: 10, //条数
// 分页
total2: 10, //总页数
currentPage2: 1, //页码
pageSize2: 10, //条数
detailsDialog: false, //详情弹窗控制
detailsUserId: "",
getDataDetailsDialogVal: null,
@@ -198,8 +214,10 @@ export default {
userInviteFissionRecordGetDailyDetailList({
date: val.date,
invitedErBanNo: this.detailsUserId,
pageNum: this.currentPage2,
pageSize: this.pageSize2,
}).then((res) => {
this.tableDataIn = res.data.length == 0 ? (this.tableDataIn = []) : res.data;
this.tableDataIn = res.data.records;
this.loading = false;
this.detailsUserId = "";
});
@@ -210,8 +228,10 @@ export default {
userInviteFissionRecordGetDailyDetailList({
date: this.getDataDetailsDialogVal.date,
invitedErBanNo: this.detailsUserId,
pageNum: this.currentPage2,
pageSize: this.pageSize2,
}).then((res) => {
this.tableDataIn = res.data.length == 0 ? (this.tableDataIn = []) : res.data;
this.tableDataIn = res.data.records;
this.loading = false;
this.detailsUserId = "";
});
@@ -230,6 +250,13 @@ export default {
handleCurrentChange() {
this.getData();
},
// 分页导航
handleSizeChange2() {
this.getData();
},
handleCurrentChange2() {
this.getData();
},
},
};
</script>