From 8c3fe58c2e0afbd60cb8e197bbdf7a7ef295e77f Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Tue, 11 Jun 2024 16:24:56 +0800
Subject: [PATCH] 123

---
 src/config/router.config.js |  168 +++++++++++++++++++++++++++++++------------------------
 1 files changed, 94 insertions(+), 74 deletions(-)

diff --git a/src/config/router.config.js b/src/config/router.config.js
index c893c37..bf0f69c 100644
--- a/src/config/router.config.js
+++ b/src/config/router.config.js
@@ -4,7 +4,7 @@
 
 const RouteView = {
   name: 'RouteView',
-  render: h => h('router-view')
+  render: (h) => h('router-view')
 }
 
 export const asyncRouterMap = [
@@ -60,7 +60,13 @@
             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'] }
+          // }
         ]
       },
       // {
@@ -127,11 +133,17 @@
             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',
@@ -185,13 +197,13 @@
             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'] },
+          // },
         ]
       },
       // 资金管理
@@ -212,31 +224,31 @@
             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'] },
+          // },
         ]
       },
       // 日志管理
@@ -251,25 +263,25 @@
             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'] },
+          // },
         ]
       },
 
@@ -308,19 +320,24 @@
             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'] },
+          // },
         ]
       },
       // 系统设置
@@ -348,7 +365,6 @@
             component: () => import('@/views/allsetting/paysetting'),
             meta: { title: '支付渠道设置', keepAlive: true, permission: ['paysetting'] }
           }
-
         ]
       },
 
@@ -560,7 +576,12 @@
                 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',
@@ -589,12 +610,12 @@
             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',
@@ -696,7 +717,6 @@
           }
         ]
       } */
-
     ]
   },
   {

--
Gitblit v1.9.3