fix: 分销管理端页面与 admin/superadmin 分销接口同步
1、修复了企业与超管分销视图与后端逻辑不一致问题。 2、调整 admin/superadmin Distribution 控制器能力。 3、优化分销列表与配置展示交互。 Made-with: Cursor
This commit is contained in:
@@ -542,6 +542,7 @@ const promoCenterTitle = ref('推广中心')
|
||||
const testTypeItems = [
|
||||
{ key: 'face', label: '人脸分析' },
|
||||
{ key: 'mbti', label: 'MBTI 测试' },
|
||||
{ key: 'sbti', label: 'SBTI 测试' },
|
||||
{ key: 'disc', label: 'DISC 测试' },
|
||||
{ key: 'pdp', label: 'PDP 测试' },
|
||||
]
|
||||
@@ -550,6 +551,7 @@ const makeDefaultTs = (): TestSetting => ({ enabled: true, commissionType: 'rati
|
||||
const testSettings = reactive<Record<string, TestSetting>>({
|
||||
face: makeDefaultTs(),
|
||||
mbti: makeDefaultTs(),
|
||||
sbti: makeDefaultTs(),
|
||||
disc: makeDefaultTs(),
|
||||
pdp: makeDefaultTs(),
|
||||
})
|
||||
|
||||
@@ -342,6 +342,7 @@ const withdrawFee = ref(0)
|
||||
const testTypeItems = [
|
||||
{ key: 'face', label: '人脸分析' },
|
||||
{ key: 'mbti', label: 'MBTI 测试' },
|
||||
{ key: 'sbti', label: 'SBTI 测试' },
|
||||
{ key: 'disc', label: 'DISC 测试' },
|
||||
{ key: 'pdp', label: 'PDP 测试' },
|
||||
]
|
||||
@@ -350,6 +351,7 @@ const makeDefaultTs = (): TestSetting => ({ enabled: true, commissionType: 'rati
|
||||
const testSettings = reactive<Record<string, TestSetting>>({
|
||||
face: makeDefaultTs(),
|
||||
mbti: makeDefaultTs(),
|
||||
sbti: makeDefaultTs(),
|
||||
disc: makeDefaultTs(),
|
||||
pdp: makeDefaultTs(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user