f
Some checks failed
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
CI / CI OK (push) Has been cancelled
Deploy Website on push / Rerun on failure (push) Has been cancelled
Lock Threads / action (push) Has been cancelled
Issue Close Require / close-issues (push) Has been cancelled
Close stale issues / stale (push) Has been cancelled
Some checks failed
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
CI / CI OK (push) Has been cancelled
Deploy Website on push / Rerun on failure (push) Has been cancelled
Lock Threads / action (push) Has been cancelled
Issue Close Require / close-issues (push) Has been cancelled
Close stale issues / stale (push) Has been cancelled
This commit is contained in:
117
apps/web-antd/src/router/routes/modules/agent.ts
Normal file
117
apps/web-antd/src/router/routes/modules/agent.ts
Normal file
@@ -0,0 +1,117 @@
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
|
||||
const routes: RouteRecordRaw[] = [
|
||||
{
|
||||
meta: {
|
||||
icon: 'mdi:account-group',
|
||||
order: 2000,
|
||||
title: '代理管理',
|
||||
},
|
||||
name: 'Agent',
|
||||
path: '/agent',
|
||||
children: [
|
||||
{
|
||||
path: '/agent/list',
|
||||
name: 'AgentList',
|
||||
meta: {
|
||||
icon: 'mdi:account-multiple',
|
||||
title: '代理列表',
|
||||
},
|
||||
component: () => import('#/views/agent/agent-list/list.vue'),
|
||||
},
|
||||
{
|
||||
path: '/agent/links',
|
||||
name: 'AgentLinks',
|
||||
meta: {
|
||||
icon: 'mdi:link-variant',
|
||||
title: '推广链接',
|
||||
},
|
||||
component: () => import('#/views/agent/agent-links/list.vue'),
|
||||
},
|
||||
{
|
||||
path: '/agent/commission',
|
||||
name: 'AgentCommission',
|
||||
meta: {
|
||||
icon: 'mdi:cash-multiple',
|
||||
title: '佣金记录',
|
||||
},
|
||||
component: () => import('#/views/agent/agent-commission/list.vue'),
|
||||
},
|
||||
{
|
||||
path: '/agent/rebate',
|
||||
name: 'AgentRebate',
|
||||
meta: {
|
||||
icon: 'mdi:currency-usd',
|
||||
title: '返佣记录',
|
||||
},
|
||||
component: () => import('#/views/agent/agent-rebate/list.vue'),
|
||||
},
|
||||
{
|
||||
path: '/agent/upgrade',
|
||||
name: 'AgentUpgrade',
|
||||
meta: {
|
||||
icon: 'mdi:arrow-up-circle',
|
||||
title: '升级记录',
|
||||
},
|
||||
component: () => import('#/views/agent/agent-upgrade/list.vue'),
|
||||
},
|
||||
{
|
||||
path: '/agent/order',
|
||||
name: 'AgentOrder',
|
||||
meta: {
|
||||
icon: 'mdi:package-variant',
|
||||
title: '订单记录',
|
||||
},
|
||||
component: () => import('#/views/agent/agent-order/list.vue'),
|
||||
},
|
||||
{
|
||||
path: '/agent/withdrawal',
|
||||
name: 'AgentWithdrawal',
|
||||
meta: {
|
||||
icon: 'mdi:bank-transfer-out',
|
||||
title: '提现记录',
|
||||
},
|
||||
component: () => import('#/views/agent/agent-withdrawal/list.vue'),
|
||||
},
|
||||
{
|
||||
path: '/agent/invite-code',
|
||||
name: 'AgentInviteCode',
|
||||
meta: {
|
||||
icon: 'mdi:ticket-confirmation',
|
||||
title: '邀请码管理',
|
||||
},
|
||||
component: () => import('#/views/agent/agent-invite-code/list.vue'),
|
||||
},
|
||||
{
|
||||
path: '/agent/config',
|
||||
name: 'AgentConfig',
|
||||
meta: {
|
||||
icon: 'mdi:cog',
|
||||
title: '系统配置',
|
||||
},
|
||||
component: () => import('#/views/agent/agent-config/list.vue'),
|
||||
},
|
||||
{
|
||||
path: '/agent/real-name',
|
||||
name: 'AgentRealName',
|
||||
meta: {
|
||||
icon: 'mdi:account-check',
|
||||
title: '实名认证',
|
||||
},
|
||||
component: () => import('#/views/agent/agent-real-name/list.vue'),
|
||||
},
|
||||
{
|
||||
path: '/agent/product-config',
|
||||
name: 'AgentProductConfig',
|
||||
meta: {
|
||||
icon: 'mdi:package-variant-closed',
|
||||
title: '产品配置',
|
||||
},
|
||||
component: () => import('#/views/agent/agent-product-config/list.vue'),
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export default routes;
|
||||
|
||||
Reference in New Issue
Block a user