大宝管理后台代码
1
zzzz
2024-04-22 8d45f9ebfa5cca3568c4956ad2abfd9f81661cec
src/config/router.config.js
@@ -61,6 +61,12 @@
            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'] },
          },
        ],
      },
      // {
@@ -126,6 +132,12 @@
            component: () => import('@/views/product/shares'),
            meta: { title: '股票产品', keepAlive: true, permission: ['shares'] },
          },
          {
            path: '/product/markettrading',
            name: 'markettrading',
            component: () => import('@/views/product/markettrading'),
            meta: { title: '盘前交易', keepAlive: true, permission: ['markettrading'] },
          },
          // {
          //   path: '/product/index',
          //   name: 'index',
@@ -159,12 +171,12 @@
            component: () => import('@/views/position/financing'),
            meta: { title: '持仓管理', keepAlive: true, permission: ['financing'] },
          },
          {
            path: '/position/createfinancing',
            name: 'createfinancing',
            component: () => import('@/views/position/createFinancing'),
            meta: { title: '创建股票持仓', keepAlive: true, permission: ['createfinancing'] },
          },
          // {
          //   path: '/position/createfinancing',
          //   name: 'createfinancing',
          //   component: () => import('@/views/position/createFinancing'),
          //   meta: { title: '创建股票持仓', keepAlive: true, permission: ['createfinancing'] },
          // },
        ],
      },
      // 新股管理
@@ -186,12 +198,12 @@
            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'] },
          },
        ],
      },
      // 资金管理
@@ -252,6 +264,12 @@
            component: () => import('@/views/logmanage/loginlog'),
            meta: { title: '登录日志', keepAlive: true, permission: ['loginlog'] },
          },
          {
            path: '/logmanage/running-log',
            name: 'running-log',
            component: () => import('@/views/logmanage/running-log'),
            meta: { title: '流水日志', keepAlive: true, permission: ['loginlog'] },
          },
          // {
          //   path: '/logmanage/smslog',
          //   name: 'smslog',
@@ -306,6 +324,12 @@
            name: 'sharessetting',
            component: () => import('@/views/risksetting/sharessetting'),
            meta: { title: '股票风控', keepAlive: true, permission: ['sharessetting'] },
          },
          {
            path: '/risksetting/timelist',
            name: 'timelist',
            component: () => import('@/views/risksetting/timelist'),
            meta: { title: '股票时间列表', keepAlive: true, permission: ['timelist'] },
          },
          // {
          //   path: '/risksetting/indexsetting',
@@ -580,64 +604,64 @@
          },
        ],
      },
      {
        path: '/loanmanage',
        redirect: '/loanmanage/index',
        component: RouteView,
        meta: { title: '贷款管理', icon: 'usergroup-delete', permission: ['loanmanage'] },
        children: [
          {
            path: '/loanmanage/index',
            name: 'Loanmanage',
            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/index',
          //   name: 'Loanmanage',
          //   component: () => import('@/views/loanmanage/index'),
          //   meta: { title: '贷款机构', keepAlive: true, permission: ['loanmanage'] }
          // }
        ],
      },
      {
        path: '/interesttreasure',
        redirect: '/interesttreasure/index',
        component: RouteView,
        meta: { title: '利息宝管理', icon: 'usergroup-delete', permission: ['interesttreasure'] },
        children: [
          {
            path: '/interesttreasure/index',
            name: 'InterestTreasure',
            component: () => import('@/views/interesttreasure/index'),
            meta: { title: '利息宝列表', keepAlive: true, permission: ['interesttreasure'] },
          },
          {
            path: '/interesttreasure/set',
            name: 'set',
            component: () => import('@/views/interesttreasure/set'),
            meta: { title: '利息宝设置', keepAlive: true, permission: ['set'] },
          },
          // {
          //   path: '/userlist/agentlist',
          //   name: 'Agentlist',
          //   component: () => import('@/views/userlist/agentlist'),
          //   meta: { title: '代理列表', keepAlive: true, permission: ['agentlist'] }
          // }
        ],
      },
      // {
      //   path: '/loanmanage',
      //   redirect: '/loanmanage/index',
      //   component: RouteView,
      //   meta: { title: '贷款管理', icon: 'usergroup-delete', permission: ['loanmanage'] },
      //   children: [
      //     {
      //       path: '/loanmanage/index',
      //       name: 'Loanmanage',
      //       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/index',
      //     //   name: 'Loanmanage',
      //     //   component: () => import('@/views/loanmanage/index'),
      //     //   meta: { title: '贷款机构', keepAlive: true, permission: ['loanmanage'] }
      //     // }
      //   ]
      // },
      // {
      //   path: '/interesttreasure',
      //   redirect: '/interesttreasure/index',
      //   component: RouteView,
      //   meta: { title: '利息宝管理', icon: 'usergroup-delete', permission: ['interesttreasure'] },
      //   children: [
      //     {
      //       path: '/interesttreasure/index',
      //       name: 'InterestTreasure',
      //       component: () => import('@/views/interesttreasure/index'),
      //       meta: { title: '利息宝列表', keepAlive: true, permission: ['interesttreasure'] }
      //     },
      //     {
      //       path: '/interesttreasure/set',
      //       name: 'set',
      //       component: () => import('@/views/interesttreasure/set'),
      //       meta: { title: '利息宝设置', keepAlive: true, permission: ['set'] }
      //     }
      //     // {
      //     //   path: '/userlist/agentlist',
      //     //   name: 'Agentlist',
      //     //   component: () => import('@/views/userlist/agentlist'),
      //     //   meta: { title: '代理列表', keepAlive: true, permission: ['agentlist'] }
      //     // }
      //   ]
      // }
      // other
      /*
      {