| | |
| | | |
| | | const RouteView = { |
| | | name: 'RouteView', |
| | | render: h => h('router-view') |
| | | render: (h) => h('router-view') |
| | | } |
| | | |
| | | export const asyncRouterMap = [ |
| | |
| | | name: 'Agentlist', |
| | | component: () => import('@/views/userlist/agentlist'), |
| | | meta: { title: '代理列表', keepAlive: true, permission: ['agentlist'] } |
| | | } |
| | | }, |
| | | // { |
| | | // path: '/userlist/lervelist', |
| | | // name: 'lervelist', |
| | | // component: () => import('@/views/userlist/lervelist'), |
| | | // meta: { title: '杠杠申请列表', keepAlive: true, permission: ['agentlist'] } |
| | | // } |
| | | ] |
| | | }, |
| | | // { |
| | |
| | | meta: { title: '股票产品', keepAlive: true, permission: ['shares'] } |
| | | }, |
| | | { |
| | | path: '/product/index', |
| | | name: 'index', |
| | | component: () => import('@/views/product/index'), |
| | | meta: { title: '指数产品', keepAlive: true, permission: ['index'] } |
| | | path: '/product/markettrading', |
| | | name: 'markettrading', |
| | | component: () => import('@/views/product/markettrading'), |
| | | meta: { title: '盘前交易', keepAlive: true, permission: ['markettrading'] } |
| | | } |
| | | // { |
| | | // path: '/product/index', |
| | | // name: 'index', |
| | | // component: () => import('@/views/product/index'), |
| | | // meta: { title: '指数产品', keepAlive: true, permission: ['index'] } |
| | | // } |
| | | // { |
| | | // path: '/product/basecurrency', |
| | | // name: 'basecurrency', |
| | |
| | | name: 'newsharesrecord', |
| | | component: () => import('@/views/newshares/newsharesrecord'), |
| | | meta: { title: '申购记录', keepAlive: true, permission: ['newsharesrecord'] } |
| | | }, |
| | | { |
| | | path: '/newshares/dazonglist', |
| | | name: 'dazonglist', |
| | | component: () => import('@/views/newshares/dazonglist'), |
| | | meta: { title: '大宗交易列表', keepAlive: true, permission: ['dazonglist'] } |
| | | } |
| | | // { |
| | | // path: '/newshares/dazonglist', |
| | | // name: 'dazonglist', |
| | | // component: () => import('@/views/newshares/dazonglist'), |
| | | // meta: { title: '大宗交易列表', keepAlive: true, permission: ['dazonglist'] }, |
| | | // }, |
| | | ] |
| | | }, |
| | | // 资金管理 |
| | |
| | | name: 'withdrawallist', |
| | | component: () => import('@/views/capital/withdrawallist'), |
| | | meta: { title: '提现列表', keepAlive: true, permission: ['withdrawallist'] } |
| | | }, |
| | | { |
| | | path: '/capital/fundrecords', |
| | | name: 'fundrecords', |
| | | component: () => import('@/views/capital/fundrecords'), |
| | | meta: { title: '资金记录', keepAlive: true, permission: ['fundrecords'] } |
| | | }, |
| | | { |
| | | path: '/capital/fundtransferrecord', |
| | | name: 'fundtransferrecord', |
| | | component: () => import('@/views/capital/fundTransferrecord'), |
| | | meta: { title: '资金互转记录', keepAlive: true, permission: ['fundtransferrecord'] } |
| | | },{ |
| | | path: '/capital/Recharge_channel', |
| | | name: 'Recharge_channel', |
| | | component: () => import('@/views/capital/Recharge_channel'), |
| | | meta: { title: '充值通道', keepAlive: true, permission: ['Recharge_channel'] } |
| | | }, |
| | | { |
| | | path: '/capital/Withdrawal_channel', |
| | | name: 'Withdrawal_channel', |
| | | component: () => import('@/views/capital/Withdrawal_channel'), |
| | | meta: { title: '提现通道', keepAlive: true, permission: ['Withdrawal_channel'] } |
| | | } |
| | | |
| | | // { |
| | | // path: '/capital/fundrecords', |
| | | // name: 'fundrecords', |
| | | // component: () => import('@/views/capital/fundrecords'), |
| | | // meta: { title: '资金记录', keepAlive: true, permission: ['fundrecords'] }, |
| | | // }, |
| | | // { |
| | | // path: '/capital/fundtransferrecord', |
| | | // name: 'fundtransferrecord', |
| | | // component: () => import('@/views/capital/fundTransferrecord'), |
| | | // meta: { title: '资金互转记录', keepAlive: true, permission: ['fundtransferrecord'] }, |
| | | // }, |
| | | // { |
| | | // path: '/capital/Recharge_channel', |
| | | // name: 'Recharge_channel', |
| | | // component: () => import('@/views/capital/Recharge_channel'), |
| | | // meta: { title: '充值通道', keepAlive: true, permission: ['Recharge_channel'] }, |
| | | // }, |
| | | // { |
| | | // path: '/capital/Withdrawal_channel', |
| | | // name: 'Withdrawal_channel', |
| | | // component: () => import('@/views/capital/Withdrawal_channel'), |
| | | // meta: { title: '提现通道', keepAlive: true, permission: ['Withdrawal_channel'] }, |
| | | // }, |
| | | ] |
| | | }, |
| | | // 日志管理 |
| | |
| | | name: 'loginlog', |
| | | component: () => import('@/views/logmanage/loginlog'), |
| | | meta: { title: '登录日志', keepAlive: true, permission: ['loginlog'] } |
| | | }, |
| | | { |
| | | path: '/logmanage/smslog', |
| | | name: 'smslog', |
| | | component: () => import('@/views/logmanage/smslog'), |
| | | meta: { title: '短信日志', keepAlive: true, permission: ['smslog'] } |
| | | }, |
| | | { |
| | | path: '/logmanage/scheduledtasks', |
| | | name: 'scheduledtasks', |
| | | component: () => import('@/views/logmanage/scheduledTasks'), |
| | | meta: { title: '定时任务', keepAlive: true, permission: ['scheduledtasks'] } |
| | | }, |
| | | { |
| | | path: '/logmanage/stationmessage', |
| | | name: 'stationmessage', |
| | | component: () => import('@/views/logmanage/stationmessage'), |
| | | meta: { title: '站内消息', keepAlive: true, permission: ['stationmessage'] } |
| | | } |
| | | // { |
| | | // path: '/logmanage/smslog', |
| | | // name: 'smslog', |
| | | // component: () => import('@/views/logmanage/smslog'), |
| | | // meta: { title: '短信日志', keepAlive: true, permission: ['smslog'] }, |
| | | // }, |
| | | // { |
| | | // path: '/logmanage/scheduledtasks', |
| | | // name: 'scheduledtasks', |
| | | // component: () => import('@/views/logmanage/scheduledTasks'), |
| | | // meta: { title: '定时任务', keepAlive: true, permission: ['scheduledtasks'] }, |
| | | // }, |
| | | // { |
| | | // path: '/logmanage/stationmessage', |
| | | // name: 'stationmessage', |
| | | // component: () => import('@/views/logmanage/stationmessage'), |
| | | // meta: { title: '站内消息', keepAlive: true, permission: ['stationmessage'] }, |
| | | // }, |
| | | ] |
| | | }, |
| | | |
| | |
| | | meta: { title: '股票风控', keepAlive: true, permission: ['sharessetting'] } |
| | | }, |
| | | { |
| | | path: '/risksetting/indexsetting', |
| | | name: 'indexsetting', |
| | | component: () => import('@/views/risksetting/indexsetting'), |
| | | meta: { title: '指数风控', keepAlive: true, permission: ['indexsetting'] } |
| | | }, |
| | | |
| | | { |
| | | path: '/risksetting/spreadsetting', |
| | | name: 'spreadsetting', |
| | | component: () => import('@/views/risksetting/spreadsetting'), |
| | | meta: { title: '点差设置', keepAlive: true, permission: ['spreadsetting'] } |
| | | path: '/risksetting/timelist', |
| | | name: 'timelist', |
| | | component: () => import('@/views/risksetting/timelist'), |
| | | meta: { title: '股票时间列表', keepAlive: true, permission: ['timelist'] } |
| | | } |
| | | // { |
| | | // path: '/risksetting/indexsetting', |
| | | // name: 'indexsetting', |
| | | // component: () => import('@/views/risksetting/indexsetting'), |
| | | // meta: { title: '指数风控', keepAlive: true, permission: ['indexsetting'] }, |
| | | // }, |
| | | |
| | | // { |
| | | // path: '/risksetting/spreadsetting', |
| | | // name: 'spreadsetting', |
| | | // component: () => import('@/views/risksetting/spreadsetting'), |
| | | // meta: { title: '点差设置', keepAlive: true, permission: ['spreadsetting'] }, |
| | | // }, |
| | | ] |
| | | }, |
| | | // 系统设置 |
| | |
| | | component: () => import('@/views/allsetting/paysetting'), |
| | | meta: { title: '支付渠道设置', keepAlive: true, permission: ['paysetting'] } |
| | | } |
| | | |
| | | ] |
| | | }, |
| | | |
| | |
| | | path: '/account/settings/binding', |
| | | name: 'BindingSettings', |
| | | component: () => import('@/views/account/settings/Binding'), |
| | | meta: { title: 'account.settings.menuMap.binding', hidden: true, keepAlive: true, permission: ['user'] } |
| | | meta: { |
| | | title: 'account.settings.menuMap.binding', |
| | | hidden: true, |
| | | keepAlive: true, |
| | | permission: ['user'] |
| | | } |
| | | }, |
| | | { |
| | | path: '/account/settings/notification', |
| | |
| | | component: () => import('@/views/loanmanage/index'), |
| | | meta: { title: '贷款列表', keepAlive: true, permission: ['loanmanage'] } |
| | | }, |
| | | { |
| | | path: '/loanmanage/institution', |
| | | name: 'institution', |
| | | component: () => import('@/views/loanmanage/institution'), |
| | | meta: { title: '贷款机构', keepAlive: true, permission: ['institution'] } |
| | | }, |
| | | { |
| | | path: '/loanmanage/institution', |
| | | name: 'institution', |
| | | component: () => import('@/views/loanmanage/institution'), |
| | | meta: { title: '贷款机构', keepAlive: true, permission: ['institution'] } |
| | | } |
| | | // { |
| | | // path: '/loanmanage/institution', |
| | | // name: 'Institution', |
| | |
| | | } |
| | | ] |
| | | } */ |
| | | |
| | | ] |
| | | }, |
| | | { |