From 451674dd4dd784fa0725b4ba052d94449d892712 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Sat, 28 Sep 2024 15:12:16 +0800
Subject: [PATCH] Merge branch '6-29印度股票' of http://124.156.157.155:8060/r/dg/dabao_admin into 6-29印度股票

---
 src/config/router.config.js |  286 +++++++++++++++++++++++++++++++-------------------------
 1 files changed, 159 insertions(+), 127 deletions(-)

diff --git a/src/config/router.config.js b/src/config/router.config.js
index c893c37..d4d1d3a 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 = [
@@ -39,9 +39,9 @@
             path: '/dashboard/workplace',
             name: 'Workplace',
             component: () => import('@/views/dashboard/Workplace'),
-            meta: { title: 'menu.dashboard.workplace', keepAlive: true, permission: ['dashboard'] }
-          }
-        ]
+            meta: { title: 'menu.dashboard.workplace', keepAlive: true, permission: ['dashboard'] },
+          },
+        ],
       },
       {
         path: '/userlist',
@@ -53,15 +53,21 @@
             path: '/userlist/index',
             name: 'Userlist',
             component: () => import('@/views/userlist/index'),
-            meta: { title: '用户列表', keepAlive: true, permission: ['userlist'] }
+            meta: { title: '用户列表', keepAlive: true, permission: ['userlist'] },
           },
           {
             path: '/userlist/agentlist',
             name: 'Agentlist',
             component: () => import('@/views/userlist/agentlist'),
-            meta: { title: '代理列表', keepAlive: true, permission: ['agentlist'] }
-          }
-        ]
+            meta: { title: '代理列表', keepAlive: true, permission: ['agentlist'] },
+          },
+          {
+            path: '/userlist/lervelist',
+            name: 'lervelist',
+            component: () => import('@/views/userlist/lervelist'),
+            meta: { title: '杠杠申请列表', keepAlive: true, permission: ['agentlist'] },
+          },
+        ],
       },
       // {
       //   path: '/allotment',
@@ -124,14 +130,20 @@
             path: '/product/shares',
             name: 'shares',
             component: () => import('@/views/product/shares'),
-            meta: { title: '股票产品', keepAlive: true, permission: ['shares'] }
+            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',
@@ -144,7 +156,7 @@
           //   component: () => import('@/views/product/futures'),
           //   meta: { title: '期货产品', keepAlive: true, permission: ['futures'] }
           // },
-        ]
+        ],
       },
       // 持仓管理
       {
@@ -157,15 +169,15 @@
             path: '/position/financing',
             name: 'financing',
             component: () => import('@/views/position/financing'),
-            meta: { title: '持仓管理', keepAlive: true, permission: ['financing'] }
+            meta: { title: '持仓管理', keepAlive: true, permission: ['financing'] },
           },
           {
             path: '/position/createfinancing',
             name: 'createfinancing',
             component: () => import('@/views/position/createFinancing'),
-            meta: { title: '创建股票持仓', keepAlive: true, permission: ['createfinancing'] }
-          }
-        ]
+            meta: { title: '创建股票持仓', keepAlive: true, permission: ['createfinancing'] },
+          },
+        ],
       },
       // 新股管理
       {
@@ -178,21 +190,27 @@
             path: '/newshares/newshareslist',
             name: 'newshareslist',
             component: () => import('@/views/newshares/newshareslist'),
-            meta: { title: '新股列表', keepAlive: true, permission: ['newshareslist'] }
+            meta: { title: '新股列表', keepAlive: true, permission: ['newshareslist'] },
           },
           {
             path: '/newshares/newsharesrecord',
             name: 'newsharesrecord',
             component: () => import('@/views/newshares/newsharesrecord'),
-            meta: { title: '申购记录', keepAlive: true, permission: ['newsharesrecord'] }
+            meta: { title: '申购记录', keepAlive: true, permission: ['newsharesrecord'] },
           },
           {
             path: '/newshares/dazonglist',
             name: 'dazonglist',
             component: () => import('@/views/newshares/dazonglist'),
-            meta: { title: '大宗交易列表', keepAlive: true, permission: ['dazonglist'] }
-          }
-        ]
+            meta: { title: '大宗交易列表', keepAlive: true, permission: ['dazonglist'] },
+          },
+          {
+            path: '/newshares/dazongshlist',
+            name: 'dazongshlist',
+            component: () => import('@/views/newshares/dazongshlist'),
+            meta: { title: '大宗交易审核列表', keepAlive: true, permission: ['dazongshlist'] },
+          },
+        ],
       },
       // 资金管理
       {
@@ -205,39 +223,39 @@
             path: '/capital/rechargelist',
             name: 'rechargelist',
             component: () => import('@/views/capital/rechargelist'),
-            meta: { title: '充值列表', keepAlive: true, permission: ['rechargelist'] }
+            meta: { title: '充值列表', keepAlive: true, permission: ['rechargelist'] },
           },
           {
             path: '/capital/withdrawallist',
             name: 'withdrawallist',
             component: () => import('@/views/capital/withdrawallist'),
-            meta: { title: '提现列表', keepAlive: true, permission: ['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'] },
+          // },
+        ],
       },
       // 日志管理
       {
@@ -250,27 +268,33 @@
             path: '/logmanage/loginlog',
             name: 'loginlog',
             component: () => import('@/views/logmanage/loginlog'),
-            meta: { title: '登录日志', keepAlive: true, permission: ['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/running-log',
+            name: 'running-log',
+            component: () => import('@/views/logmanage/running-log'),
+            meta: { title: '流水日志', keepAlive: true, permission: ['loginlog'] },
           },
-          {
-            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'] },
+          // },
+        ],
       },
 
       // 管理设置
@@ -284,9 +308,9 @@
             path: '/managesettings/managelist',
             name: 'managelist',
             component: () => import('@/views/managesettings/managelist'),
-            meta: { title: '管理列表', keepAlive: true, permission: ['managelist'] }
-          }
-        ]
+            meta: { title: '管理列表', keepAlive: true, permission: ['managelist'] },
+          },
+        ],
       },
       // 风控设置
       {
@@ -299,29 +323,34 @@
             path: '/risksetting/productsetting',
             name: 'productsetting',
             component: () => import('@/views/risksetting/productsetting'),
-            meta: { title: '产品配置', keepAlive: true, permission: ['productsetting'] }
+            meta: { title: '产品配置', keepAlive: true, permission: ['productsetting'] },
           },
           {
             path: '/risksetting/sharessetting',
             name: 'sharessetting',
             component: () => import('@/views/risksetting/sharessetting'),
-            meta: { title: '股票风控', keepAlive: true, permission: ['sharessetting'] }
+            meta: { title: '股票风控', keepAlive: true, permission: ['sharessetting'] },
           },
           {
-            path: '/risksetting/indexsetting',
-            name: 'indexsetting',
-            component: () => import('@/views/risksetting/indexsetting'),
-            meta: { title: '指数风控', keepAlive: true, permission: ['indexsetting'] }
+            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'] }
-          }
-
-        ]
+          // {
+          //   path: '/risksetting/spreadsetting',
+          //   name: 'spreadsetting',
+          //   component: () => import('@/views/risksetting/spreadsetting'),
+          //   meta: { title: '点差设置', keepAlive: true, permission: ['spreadsetting'] },
+          // },
+        ],
       },
       // 系统设置
       {
@@ -334,22 +363,21 @@
             path: '/allsetting/noticesetting',
             name: 'noticesetting',
             component: () => import('@/views/allsetting/noticesetting'),
-            meta: { title: '公告设置', keepAlive: true, permission: ['noticesetting'] }
+            meta: { title: '公告设置', keepAlive: true, permission: ['noticesetting'] },
           },
           {
             path: '/allsetting/bannersetting',
             name: 'bannersetting',
             component: () => import('@/views/allsetting/bannersetting'),
-            meta: { title: '轮播图设置', keepAlive: true, permission: ['bannersetting'] }
+            meta: { title: '轮播图设置', keepAlive: true, permission: ['bannersetting'] },
           },
           {
             path: '/allsetting/paysetting',
             name: 'paysetting',
             component: () => import('@/views/allsetting/paysetting'),
-            meta: { title: '支付渠道设置', keepAlive: true, permission: ['paysetting'] }
-          }
-
-        ]
+            meta: { title: '支付渠道设置', keepAlive: true, permission: ['paysetting'] },
+          },
+        ],
       },
 
       // forms
@@ -537,7 +565,7 @@
                 path: '/account/settings/basic',
                 name: 'BasicSettings',
                 component: () => import('@/views/account/settings/BasicSetting'),
-                meta: { title: 'account.settings.menuMap.basic', hidden: true, permission: ['user'] }
+                meta: { title: 'account.settings.menuMap.basic', hidden: true, permission: ['user'] },
               },
               {
                 path: '/account/settings/security',
@@ -547,20 +575,25 @@
                   title: 'account.settings.menuMap.security',
                   hidden: true,
                   keepAlive: true,
-                  permission: ['user']
-                }
+                  permission: ['user'],
+                },
               },
               {
                 path: '/account/settings/custom',
                 name: 'CustomSettings',
                 component: () => import('@/views/account/settings/Custom'),
-                meta: { title: 'account.settings.menuMap.custom', hidden: true, keepAlive: true, permission: ['user'] }
+                meta: { title: 'account.settings.menuMap.custom', hidden: true, keepAlive: true, permission: ['user'] },
               },
               {
                 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',
@@ -570,12 +603,12 @@
                   title: 'account.settings.menuMap.notification',
                   hidden: true,
                   keepAlive: true,
-                  permission: ['user']
-                }
-              }
-            ]
-          }
-        ]
+                  permission: ['user'],
+                },
+              },
+            ],
+          },
+        ],
       },
       {
         path: '/loanmanage',
@@ -589,12 +622,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',
@@ -613,28 +646,28 @@
         path: '/interesttreasure',
         redirect: '/interesttreasure/index',
         component: RouteView,
-        meta: { title: '利息宝管理', icon: 'usergroup-delete', permission: ['interesttreasure'] },
+        meta: { title: '基金管理', icon: 'usergroup-delete', permission: ['interesttreasure'] },
         children: [
           {
             path: '/interesttreasure/index',
             name: 'InterestTreasure',
             component: () => import('@/views/interesttreasure/index'),
-            meta: { title: '利息宝列表', keepAlive: true, permission: ['interesttreasure'] }
+            meta: { title: '基金列表', keepAlive: true, permission: ['interesttreasure'] },
           },
           {
             path: '/interesttreasure/set',
             name: 'set',
             component: () => import('@/views/interesttreasure/set'),
-            meta: { title: '利息宝设置', keepAlive: true, permission: ['set'] }
-          }
+            meta: { title: '基金设置', keepAlive: true, permission: ['set'] },
+          },
           // {
           //   path: '/userlist/agentlist',
           //   name: 'Agentlist',
           //   component: () => import('@/views/userlist/agentlist'),
           //   meta: { title: '代理列表', keepAlive: true, permission: ['agentlist'] }
           // }
-        ]
-      }
+        ],
+      },
       // other
       /*
       {
@@ -696,14 +729,13 @@
           }
         ]
       } */
-
-    ]
+    ],
   },
   {
     path: '*',
     redirect: '/404',
-    hidden: true
-  }
+    hidden: true,
+  },
 ]
 
 /**
@@ -720,28 +752,28 @@
       {
         path: 'login',
         name: 'login',
-        component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
+        component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login'),
       },
       {
         path: 'register',
         name: 'register',
-        component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
+        component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register'),
       },
       {
         path: 'register-result',
         name: 'registerResult',
-        component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
+        component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult'),
       },
       {
         path: 'recover',
         name: 'recover',
-        component: undefined
-      }
-    ]
+        component: undefined,
+      },
+    ],
   },
 
   {
     path: '/404',
-    component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
-  }
+    component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404'),
+  },
 ]

--
Gitblit v1.9.3