Files
xl-root/src/pinia/SystemStore/mock.js
2025-03-19 16:43:17 +08:00

445 lines
12 KiB
JavaScript

const mockRoutes1 = [
{
path: 'task-center',
name: 'task-center',
title: '任务中心',
icon: '',
component: 'task-center',
meta: {
name: '任务中心'
},
children: [
{
path: 'reward-mission',
name: 'reward-mission',
title: '悬赏任务',
icon: '',
meta: {
name: '悬赏任务'
},
component: 'reward-mission',
},
{
path: 'appointed-task',
name: 'appointed-task',
title: '任务指派',
icon: '',
meta: {
name: '任务指派',
hidden: true,
},
component: 'appointed-task',
},
{
path: 'new-task',
name: 'new-task',
title: '新建任务',
icon: '',
meta: {
name: '新建任务',
hidden: true,
},
component: 'new-task',
},
{
path: 'look-min-task',
name: 'look-min-task',
title: '查看子任务',
icon: '',
meta: {
name: '查看子任务',
hidden: true,
},
component: 'look-min-task',
}
]
},
{
path: 'communication-center',
name: 'communication-center',
title: '沟通中心',
icon: '',
meta: {
name: '沟通中心'
},
component: 'communication-center',
},
{
path: 'expert-management',
name: 'expert-management',
title: '达人管理',
icon: '',
meta: {
name: '达人管理'
},
component: 'expert-management',
children: [
{
path: 'blackout-management',
name: 'blackout-management',
title: '拉黑管理',
icon: '',
meta: {
name: '拉黑管理'
},
component: 'blackout-management',
},
{
path: 'effect-management',
name: 'effect-management',
title: '效果管理',
icon: '',
meta: {
name: '效果管理'
},
component: 'effect-management',
},
]
},
{
path: 'data-board',
name: 'data-board',
title: '数据看板',
icon: '',
meta: {
name: '数据看板',
hidden: true,
},
component: 'data-board',
},
{
path: 'my-wallet',
name: 'my-wallet',
title: '我的钱包',
icon: '',
meta: {
name: '我的钱包'
},
component: 'my-wallet',
children: [
{
path: 'wallet-overview',
name: 'wallet-overview',
title: '概览',
icon: '',
meta: {
name: '概览'
},
component: 'wallet-overview',
},
{
path: 'moving-account-details',
name: 'moving-account-details',
title: '动账明细',
icon: '',
meta: {
name: '动账明细'
},
component: 'moving-account-details',
},
]
},
{
path: 'personal-center',
name: 'personal-center',
title: '个人中心',
icon: '',
meta: {
name: '个人中心'
},
component: 'personal-center',
children: [
{
path: 'account-settings',
name: 'account-settings',
title: '账号设置',
icon: '',
meta: {
name: '账号设置'
},
component: 'account-settings',
},
{
path: 'credit-score',
name: 'credit-score',
title: '信用分',
icon: '',
meta: {
name: '信用分'
},
component: 'credit-score',
},
]
},
{
path: 'get-help',
name: 'get-help',
title: '获取帮助',
icon: '',
meta: {
name: '获取帮助'
},
component: 'get-help',
children: [
{
path: 'problem-teaching',
name: 'problem-teaching.vue',
title: '常见问题教学',
icon: '',
meta: {
name: '常见问题教学'
},
component: 'problem-teaching',
},
{
path: 'contact-customer-service',
name: 'contact-customer-service',
title: '联系客服',
icon: '',
meta: {
name: '联系客服'
},
component: 'contact-customer-service',
},
]
}
];
const mockRoutes2 = [
{
path: 'manage-reward-mission',
name: 'manage-reward-mission',
title: '悬赏任务',
icon: '',
meta: {
name: '悬赏任务'
},
component: 'manage-reward-mission',
children: [
{
path: 'task-review',
name: 'task-review',
title: '任务审核',
icon: '',
meta: {
name: '任务审核'
},
component: 'task-review',
},
{
path: 'subtask-review',
name: 'subtask-review',
title: '子任务审核',
icon: '',
meta: {
name: '子任务审核'
},
component: 'subtask-review',
},
]
},
{
path: 'message-center',
name: 'message-center',
title: '消息中心',
icon: '',
meta: {
name: '消息中心'
},
component: 'message-center',
children: [
{
path: 'message-review',
name: 'message-review',
title: '消息审核',
icon: '',
meta: {
name: '消息审核'
},
component: 'message-review',
},
{
path: 'exemption-from-audit-review',
name: 'exemption-from-audit-review',
title: '免审审核',
icon: '',
meta: {
name: '免审审核'
},
component: 'exemption-from-audit-review',
},
{
path: 'platform-intervention',
name: 'platform-intervention',
title: '平台介入',
icon: '',
meta: {
name: '平台介入'
},
component: 'platform-intervention',
},
]
},
{
path: 'fund',
name: 'fund',
title: '资金',
icon: '',
meta: {
name: '资金'
},
component: 'fund',
children: [
{
path: 'fund-management-business',
name: 'fund-management-business',
title: '资金管理(商)',
icon: '',
meta: {
name: '资金管理(商)'
},
component: 'fund-management-business',
},
{
path: 'fund-management-expert',
name: 'fund-management-expert',
title: '资金管理(达)',
icon: '',
meta: {
name: '资金管理(达)'
},
component: 'fund-management-expert',
},
{
path: 'withdrawal-information',
name: 'withdrawal-information',
title: '提现信息',
icon: '',
meta: {
name: '提现信息'
},
component: 'withdrawal-information',
},
{
path: 'financial-overview',
name: 'financial-overview',
title: '资金概览',
icon: '',
meta: {
name: '资金概览'
},
component: 'financial-overview',
},
{
path: 'payment-management',
name: 'payment-management',
title: '打款管理',
icon: '',
meta: {
name: '打款管理'
},
component: 'payment-management',
},
]
},
{
path: 'account-management',
name: 'account-management',
title: '账号管理',
icon: '',
meta: {
name: '账号管理'
},
component: 'account-management',
children: [
{
path: 'merchant-account',
name: 'merchant-account',
title: '商家账号',
icon: '',
meta: {
name: '商家账号'
},
component: 'merchant-account',
},
{
path: 'expert-account',
name: 'expert-account',
title: '达人账号',
icon: '',
meta: {
name: '达人账号'
},
component: 'expert-account',
},
{
path: 'promoted-accounts',
name: 'promoted-accounts',
title: '推广账号',
icon: '',
meta: {
name: '推广账号'
},
component: 'promoted-accounts',
},
{
path: 'blackout-records',
name: 'blackout-records',
title: '拉黑记录',
icon: '',
meta: {
name: '拉黑记录'
},
component: 'blackout-records',
},
]
},
{
path: 'manage-expert-management',
name: 'manage-expert-management',
title: '达人端管理',
icon: '',
meta: {
name: '达人端管理'
},
component: 'manage-expert-management',
children: [
{
path: 'expert-end-materials',
name: 'expert-end-materials',
title: '达人端物料',
icon: '',
meta: {
name: '达人端物料'
},
component: 'expert-end-materials',
},
{
path: 'task-sorting',
name: 'task-sorting',
title: '任务排序',
icon: '',
meta: {
name: '任务排序'
},
component: 'task-sorting',
},
{
path: 'team-complaints',
name: 'team-complaints',
title: '团队投诉',
icon: '',
meta: {
name: '团队投诉'
},
component: 'team-complaints',
},
]
}
];
export {
mockRoutes1,
mockRoutes2
};