大宝管理后台代码
dcc
2024-07-01 d3cf457c3eda65a9895a150b6c675f420d338d2d
src/config/router.config.js
@@ -604,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
      /*
      {