大宝管理后台代码
11
jhzh
2024-10-11 417c8c4716f8dab251c9877665f256c1be58acbb
src/config/router.config.js
@@ -171,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'] },
          },
        ],
      },
      // 新股管理
@@ -203,6 +203,12 @@
            name: 'dazonglist',
            component: () => import('@/views/newshares/dazonglist'),
            meta: { title: '大宗交易列表', keepAlive: true, permission: ['dazonglist'] },
          },
          {
            path: '/newshares/dazongshlist',
            name: 'dazongshlist',
            component: () => import('@/views/newshares/dazongshlist'),
            meta: { title: '大宗交易审核列表', keepAlive: true, permission: ['dazongshlist'] },
          },
        ],
      },
@@ -604,64 +610,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
      /*
      {