fix(fsgx): 我的页面分销等级/资产标题/佣金记录三处UI修复
- 我的页面:用户ID旁徽标改为显示分销等级(agent_level_name),无等级时不显示 - 我的资产页面:去除顶部"我的资产"标题 - 推荐佣金页面:佣金记录改用 spreadOrder API,修复因数据源错误导致列表为空的问题 Made-with: Cursor
This commit is contained in:
@@ -87,7 +87,7 @@ import HjfQueueProgress from '@/components/HjfQueueProgress.vue';
|
||||
import HjfRefundNotice from '@/components/HjfRefundNotice.vue';
|
||||
import emptyPage from '@/components/emptyPage.vue';
|
||||
import colors from '@/mixins/color.js';
|
||||
import { getCommissionInfo } from '@/api/user.js';
|
||||
import { spreadOrder } from '@/api/user.js';
|
||||
|
||||
export default {
|
||||
name: 'BrokerageStatus',
|
||||
@@ -131,8 +131,7 @@ export default {
|
||||
const isFirst = this.page === 1;
|
||||
if (isFirst) this.loading = true; else this.loadingMore = true;
|
||||
|
||||
// type=3 获取返佣记录
|
||||
getCommissionInfo({ page: this.page, limit: this.limit }, 3)
|
||||
spreadOrder({ page: this.page, limit: this.limit, category: 'now_money', type: 'brokerage' })
|
||||
.then(res => {
|
||||
const list = (res && res.data && res.data.list) ? res.data.list : [];
|
||||
if (list.length < this.limit) this.finished = true;
|
||||
|
||||
Reference in New Issue
Block a user