diff --git a/src/api/marketing.js b/src/api/marketing.js index 585e2ae..5263f9a 100644 --- a/src/api/marketing.js +++ b/src/api/marketing.js @@ -768,6 +768,14 @@ export function getEditInfo(data) { export function agentList(data) { return request.get(`marketing/agent/list`,data) } +// 代理中心 - 申请列表 +export function agentApplyList(data) { + return request.get(`marketing/agent/apply_list`,data) +} +// 代理中心 - 审核 +export function agentApplyToExamine(data) { + return request.post(`marketing/agent/apply_to_examine`,data) +} // 代理中心 - 配置提交 export function setAgentConfig(data) { return request.post(`marketing/agent/config`,data) diff --git a/src/router/modules/marketing.js b/src/router/modules/marketing.js index 0e030ce..d5f59c1 100644 --- a/src/router/modules/marketing.js +++ b/src/router/modules/marketing.js @@ -505,11 +505,20 @@ const marketingRouter = }, component: () => import('@/views/marketing/agent/agent/index') }, + { + path: 'apply', + name: `agentApply`, + meta: { + title: '申请审核', + noCache: true + }, + component: () => import('@/views/marketing/agent/apply/index') + }, { path: 'commission', name: `agentCommission`, meta: { - title: '基本配置', + title: '佣金明细', noCache: true }, component: () => import('@/views/marketing/agent/commission/index') diff --git a/src/views/marketing/agent/apply/index.vue b/src/views/marketing/agent/apply/index.vue new file mode 100644 index 0000000..fc9a8b2 --- /dev/null +++ b/src/views/marketing/agent/apply/index.vue @@ -0,0 +1,493 @@ + + + + +