修复邀请详情

This commit is contained in:
Dragon
2024-03-19 18:30:33 +08:00
parent 1561657d37
commit cb7f4c519a

View File

@@ -153,6 +153,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">
@@ -202,6 +214,10 @@ export default {
total: 10, //总页数
currentPage: 1, //页码
pageSize: 10, //条数
// 分页2
total2: 10, //总页数
currentPage2: 1, //页码
pageSize2: 10, //条数
detailsDialog: false, //详情弹窗控制
detailsUserId: "",
detailsTitle: "xxxx-x-x的邀请数据",
@@ -243,9 +259,11 @@ export default {
this.loading = true;
userInviteFissionRecordGetDailyDetailList({
// date: val.date,
pageNum: this.currentPage2,
pageSize: this.pageSize2,
inviteErBanNo: val.erBanNo,
}).then((res) => {
this.tableDataIn = res.data.length == 0 ? (this.tableDataIn = []) : res.data;
this.tableDataIn = res.data.records;
this.loading = false;
this.detailsUserId = "";
});
@@ -264,10 +282,13 @@ export default {
this.loading = true;
userInviteFissionRecordGetDailyDetailList({
// date: this.getDataDetailsDialogVal.date,
pageNum: this.currentPage2,
pageSize: this.pageSize2,
invitedErBanNo: this.detailsUserId,
inviteErBanNo: this.getDataDetailsDialogVal.erBanNo,
}).then((res) => {
this.tableDataIn = res.data.length == 0 ? (this.tableDataIn = []) : res.data;
this.tableDataIn = res.data.records;
this.total2 = res.data.total;
this.loading = false;
this.detailsUserId = "";
});
@@ -286,6 +307,13 @@ export default {
handleCurrentChange() {
this.getData();
},
// 分页导航
handleSizeChange2() {
this.getDataDetailsDialog();
},
handleCurrentChange2() {
this.getDataDetailsDialog();
},
},
};
</script>