You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
280 lines
14 KiB
280 lines
14 KiB
import Vue from 'vue';
|
|
import Router from 'vue-router';
|
|
|
|
Vue.use(Router);
|
|
|
|
export default new Router({
|
|
routes: [
|
|
{
|
|
path: '/',
|
|
redirect: '/dashboard'
|
|
},
|
|
{
|
|
path: '/',
|
|
component: () => import(/* webpackChunkName: "home" */ '../components/common/Home.vue'),
|
|
meta: { title: '自述文件' },
|
|
children: [
|
|
{
|
|
path: '/dashboard',
|
|
component: () => import(/* webpackChunkName: "dashboard" */ '../components/page/Dashboard.vue'),
|
|
meta: { title: '系统首页' }
|
|
},
|
|
{
|
|
path: '/icon',
|
|
component: () => import(/* webpackChunkName: "icon" */ '../components/page/Icon.vue'),
|
|
meta: { title: '自定义图标' }
|
|
},
|
|
{
|
|
path: '/table',
|
|
component: () => import(/* webpackChunkName: "table" */ '../components/page/BaseTable.vue'),
|
|
meta: { title: '基础表格' }
|
|
},
|
|
{
|
|
path: '/tabs',
|
|
component: () => import(/* webpackChunkName: "tabs" */ '../components/page/Tabs.vue'),
|
|
meta: { title: 'tab选项卡' }
|
|
},
|
|
{
|
|
path: '/form',
|
|
component: () => import(/* webpackChunkName: "form" */ '../components/page/BaseForm.vue'),
|
|
meta: { title: '基本表单' }
|
|
},
|
|
{
|
|
// 富文本编辑器组件
|
|
path: '/editor',
|
|
component: () => import(/* webpackChunkName: "editor" */ '../components/page/VueEditor.vue'),
|
|
meta: { title: '富文本编辑器' }
|
|
},
|
|
{
|
|
// markdown组件
|
|
path: '/markdown',
|
|
component: () => import(/* webpackChunkName: "markdown" */ '../components/page/Markdown.vue'),
|
|
meta: { title: 'markdown编辑器' }
|
|
},
|
|
{
|
|
// 图片上传组件
|
|
path: '/upload',
|
|
component: () => import(/* webpackChunkName: "upload" */ '../components/page/Upload.vue'),
|
|
meta: { title: '文件上传' }
|
|
},
|
|
{
|
|
// vue-schart组件
|
|
path: '/charts',
|
|
component: () => import(/* webpackChunkName: "chart" */ '../components/page/BaseCharts.vue'),
|
|
meta: { title: 'schart图表' }
|
|
},
|
|
{
|
|
// 拖拽列表组件
|
|
path: '/drag',
|
|
component: () => import(/* webpackChunkName: "drag" */ '../components/page/DragList.vue'),
|
|
meta: { title: '拖拽列表' }
|
|
},
|
|
{
|
|
// 拖拽Dialog组件
|
|
path: '/dialog',
|
|
component: () => import(/* webpackChunkName: "dragdialog" */ '../components/page/DragDialog.vue'),
|
|
meta: { title: '拖拽弹框' }
|
|
},
|
|
{
|
|
// 国际化组件
|
|
path: '/i18n',
|
|
component: () => import(/* webpackChunkName: "i18n" */ '../components/page/I18n.vue'),
|
|
meta: { title: '国际化' }
|
|
},
|
|
{
|
|
// 权限页面
|
|
path: '/permission',
|
|
component: () => import(/* webpackChunkName: "permission" */ '../components/page/Permission.vue'),
|
|
meta: { title: '权限测试', permission: true }
|
|
},
|
|
{
|
|
path: '/404',
|
|
component: () => import(/* webpackChunkName: "404" */ '../components/page/404.vue'),
|
|
meta: { title: '404' }
|
|
},
|
|
{
|
|
path: '/403',
|
|
component: () => import(/* webpackChunkName: "403" */ '../components/page/403.vue'),
|
|
meta: { title: '403' }
|
|
},
|
|
{
|
|
path: '/donate',
|
|
component: () => import(/* webpackChunkName: "donate" */ '../components/page/Donate.vue'),
|
|
meta: { title: '支持作者' }
|
|
},
|
|
// 账户管理
|
|
{
|
|
path: '/platformSelect',
|
|
component: () => import(/* webpackChunkName: "platformSelect" */ '../components/page/AccountManagement/platformSelect.vue'),
|
|
meta: { title: '交易平台账户查询' }
|
|
},
|
|
{
|
|
path: '/buyerReview',
|
|
component: () => import(/* webpackChunkName: "buyerReview" */ '../components/page/AccountManagement/buyerReview.vue'),
|
|
meta: { title: '买方开户审核' }
|
|
},
|
|
{
|
|
path: '/businessAudit',
|
|
component: () => import(/* webpackChunkName: "businessAudit" */ '../components/page/AccountManagement/businessAudit.vue'),
|
|
meta: { title: '托管方入驻审核' }
|
|
},
|
|
{
|
|
path: '/thirdAudit',
|
|
component: () => import(/* webpackChunkName: "thirdAudit" */ '../components/page/AccountManagement/thirdAudit.vue'),
|
|
meta: { title: '第三方机构审核' }
|
|
},
|
|
{
|
|
path: '/blacklistManagement',
|
|
component: () => import(/* webpackChunkName: "blacklistManagement" */ '../components/page/AccountManagement/blacklistManagement.vue'),
|
|
meta: { title: '黑名单管理' }
|
|
},
|
|
// 资产管理
|
|
{
|
|
path: '/assetQuery',
|
|
component: () => import(/* webpackChunkName: "assetQuery" */ '../components/page/AssetManagement/assetQuery.vue'),
|
|
meta: { title: '资产信息查询' }
|
|
},
|
|
{
|
|
path: '/groundingAudit',
|
|
component: () => import(/* webpackChunkName: "groundingAudit" */ '../components/page/AssetManagement/groundingAudit.vue'),
|
|
meta: { title: '资产挂牌审核' }
|
|
},
|
|
{
|
|
path: '/releaseAudit',
|
|
component: () => import(/* webpackChunkName: "releaseAudit" */ '../components/page/AssetManagement/releaseAudit.vue'),
|
|
meta: { title: '资产发布审核' }
|
|
},
|
|
// 交易管理
|
|
{
|
|
path: '/transactionQuery',
|
|
component: () => import(/* webpackChunkName: "releaseAudit" */ '../components/page/TransactionManagement/transactionQuery.vue'),
|
|
meta: { title: '交易订单查询' }
|
|
},
|
|
{
|
|
path: '/TobepaidOrder',
|
|
component: () => import(/* webpackChunkName: "releaseAudit" */ '../components/page/TransactionManagement/TobepaidOrder.vue'),
|
|
meta: { title: '待付款订单' }
|
|
},
|
|
{
|
|
path: '/publicityOrder',
|
|
component: () => import(/* webpackChunkName: "publicityOrder" */ '../components/page/TransactionManagement/publicityOrder.vue'),
|
|
meta: { title: '待审核付款订单' }
|
|
},
|
|
{
|
|
path: '/settlementOrder',
|
|
component: () => import(/* webpackChunkName: "settlementOrder" */ '../components/page/TransactionManagement/settlementOrder.vue'),
|
|
meta: { title: '待上传签约合同订单' }
|
|
},
|
|
{
|
|
path: '/refundOrderExamine',
|
|
component: () => import(/* webpackChunkName: "refundOrderExamine" */ '../components/page/TransactionManagement/refundOrderExamine.vue'),
|
|
meta: { title: '待确认签约合同订单' }
|
|
},
|
|
{
|
|
path: '/toBeDelivered',
|
|
component: () => import(/* webpackChunkName: "refundOrderExamine" */ '../components/page/TransactionManagement/toBeDelivered.vue'),
|
|
meta: { title: '待交付订单' }
|
|
},
|
|
{
|
|
path: '/toBeConfirmDelivered',
|
|
component: () => import(/* webpackChunkName: "refundOrderExamine" */ '../components/page/TransactionManagement/toBeConfirmDelivered.vue'),
|
|
meta: { title: '待确认交付订单' }
|
|
},
|
|
{
|
|
path: '/toBeSettled',
|
|
component: () => import(/* webpackChunkName: "refundOrderExamine" */ '../components/page/TransactionManagement/toBeSettled.vue'),
|
|
meta: { title: '待结算订单' }
|
|
},
|
|
{
|
|
path: '/completed',
|
|
component: () => import(/* webpackChunkName: "refundOrderExamine" */ '../components/page/TransactionManagement/completed.vue'),
|
|
meta: { title: '已完成订单' }
|
|
},
|
|
{
|
|
path: '/closed',
|
|
component: () => import(/* webpackChunkName: "refundOrderExamine" */ '../components/page/TransactionManagement/closed.vue'),
|
|
meta: { title: '已关闭订单' }
|
|
},
|
|
// 运营管理、OperationManagement
|
|
{
|
|
path: '/customerOpinion',
|
|
component: () => import(/* webpackChunkName: "customerOpinion" */ '../components/page/OperationManagement/customerOpinion.vue'),
|
|
meta: { title: '客户意见处理' }
|
|
},
|
|
{
|
|
path: '/announcementConfiguration',
|
|
component: () => import(/* webpackChunkName: "announcementConfiguration" */ '../components/page/OperationManagement/announcementConfiguration.vue'),
|
|
meta: { title: '通知公告配置' }
|
|
},
|
|
{
|
|
path: '/bannerConfigure',
|
|
component: () => import(/* webpackChunkName: "bannerConfigure" */ '../components/page/OperationManagement/bannerConfigure.vue'),
|
|
meta: { title: 'banner配置' }
|
|
},
|
|
{
|
|
path: '/feedConfigure',
|
|
component: () => import(/* webpackChunkName: "feedConfigure" */ '../components/page/OperationManagement/feedConfigure.vue'),
|
|
meta: { title: 'feed配置' }
|
|
},
|
|
{
|
|
path: '/assetsConfigure',
|
|
component: () => import(/* webpackChunkName: "assetsConfigure" */ '../components/page/OperationManagement/assetsConfigure.vue'),
|
|
meta: { title: '资产推荐配置' }
|
|
},
|
|
// 数据管理
|
|
{
|
|
path: '/transactionCheck',
|
|
component: () => import(/* webpackChunkName: "transactionCheck" */ '../components/page/dataManagement/transactionCheck.vue'),
|
|
meta: { title: '交易账单核对' }
|
|
},
|
|
{
|
|
path: '/transactionAnalysis',
|
|
component: () => import(/* webpackChunkName: "transactionAnalysis" */ '../components/page/dataManagement/transactionAnalysis.vue'),
|
|
meta: { title: '账户交易分析' }
|
|
},
|
|
{
|
|
path: '/revenueStatistics',
|
|
component: () => import(/* webpackChunkName: "revenueStatistics" */ '../components/page/dataManagement/revenueStatistics.vue'),
|
|
meta: { title: '平台收益统计' }
|
|
},
|
|
//平台管理
|
|
{
|
|
path: '/platform',
|
|
component: () => import(/* webpackChunkName: "operationAccountManagement" */ '../components/page/platformManagement/operationAccountManagement/index.vue'),
|
|
meta: { title: '运营账号管理' },
|
|
children:[
|
|
{
|
|
path: 'operationAccountManagement',
|
|
component: () => import(/* webpackChunkName: "operationAccountManagement" */ '../components/page/platformManagement/operationAccountManagement/list.vue'),
|
|
meta: { title: '运营账号管理' },
|
|
},
|
|
{
|
|
path: 'operationalRole',
|
|
component: () => import(/* webpackChunkName: "operationAccountManagement" */ '../components/page/platformManagement/operationAccountManagement/operationalRole.vue'),
|
|
meta: { title: '运营账号管理' },
|
|
},
|
|
{
|
|
path: 'roleSet',
|
|
component: () => import(/* webpackChunkName: "operationAccountManagement" */ '../components/page/platformManagement/operationAccountManagement/roleSet.vue'),
|
|
meta: { title: '运营账号管理' },
|
|
}
|
|
]
|
|
},
|
|
{
|
|
path: '/platformNotification',
|
|
component: () => import(/* webpackChunkName: "revenueStatistics" */ '../components/page/platformManagement/platformNotification.vue'),
|
|
meta: { title: '平台通知管理' }
|
|
},
|
|
]
|
|
},
|
|
{
|
|
path: '/login',
|
|
component: () => import(/* webpackChunkName: "login" */ '../components/page/Login.vue'),
|
|
meta: { title: '登录' }
|
|
},
|
|
{
|
|
path: '*',
|
|
redirect: '/404'
|
|
}
|
|
]
|
|
});
|
|
|