feat: 修改新增参数名称

This commit is contained in:
2026-06-26 16:44:51 +08:00
parent a881ddd959
commit c07dd81eaa
+13 -10
View File
@@ -118,12 +118,13 @@ const getHeaderData = async () => {
const getList = async (mescroll) => {
const opt = filterOptions[filterIndex.value] || filterOptions[0];
const transactionType =
isIncomeFilter.value && incomeTabValue.value ? incomeTabValue.value : opt.value;
const res = await api
.agentEarningsIncomeDetailsPage({
pageNo: mescroll.num,
pageSize: mescroll.size,
...(opt.value ? { transactionType: opt.value } : {}),
...(isIncomeFilter.value && incomeTabValue.value ? { sourceType: incomeTabValue.value } : {}),
...(transactionType ? { transactionType } : {}),
})
.catch(() => ({ code: -1 }));
@@ -276,25 +277,27 @@ onShow(() => {
.income-tabs {
display: flex;
align-items: center;
justify-content: space-around;
padding: 0 0 20rpx;
justify-content: flex-start;
gap: 12rpx;
}
.income-tab {
width: 146rpx;
height: 62rpx;
line-height: 62rpx;
text-align: center;
width: 132rpx;
padding: 5rpx 0;
display: flex;
align-items: center;
justify-content: center;
background: #fff;
border-radius: 14rpx;
overflow: hidden;
font-size: 24rpx;
font-weight: 400;
font-size: 22rpx;
color: #111111;
border: 2rpx solid #d9d9d9;
box-sizing: border-box;
}
.income-tab.active {
color: #fb4d32;
background: #ffefe5;