123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233 |
-
- const newMenu = [
-
- {
- path: '/distributor',
- redirect: '/distributor/account',
- },
- {
- name: 'distributor.account',
- icon: 'icon-zhanghaoguanli',
- path: '/distributor/account',
- access: "isShow",
- component: './Distributor/Account',
- },
- {
- name: 'distributor.appManage',
- icon: 'icon-yingyongguanliyuanguanli',
- path: '/distributor/appManage',
- access: "isShow",
- component: './Distributor/AppManage',
- },
- {
- name: 'distributor.appList',
- icon: 'icon-yingyongguanli',
- path: '/distributor/appList',
- access: "isShow",
- component: './Distributor/AppList',
- },
- {
- name: 'distributor.corpManage',
- icon: 'icon-qiwei_qiwei',
- path: '/distributor/corpManage',
- access: "isShow",
- component: './Distributor/CorpManage',
- },
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {
- path: '/miniApp',
- redirect: '/miniApp/book',
- },
-
- {
- path: '/miniApp/user',
- name: 'miniApp.user',
- icon: 'icon-zhanghaoguanli-wx',
- access: 'isShow',
- component: './MiniApp/MiniAppUser',
- },
-
- {
- path: '/miniApp/book',
- name: 'miniApp.book',
- icon: 'icon-xiaoshuo-wx',
- access: 'isShow',
- component: './MiniApp/BookManage',
- },
-
- {
- name: 'miniApp.appManage',
- icon: 'icon-xiaochengxu-wx',
- path: '/miniApp/compConfig',
- access: "isShow",
- component: './MiniApp/CompConfig',
- },
-
- {
- name: 'miniApp.payModuleConfig',
- icon: 'icon-taojinbi-wx',
- path: '/miniApp/payModuleConfig',
- access: "isShow",
- component: './MiniApp/ModuleConfig',
- },
-
- {
- name: "miniApp.EmsCnpl",
- icon: 'icon-gongzhonghao-wx',
- path: '/miniApp/emsCnpl',
- access: "isShow",
- routes: [
- {
- path: '/miniApp/emsCnpl',
- redirect: '/miniApp/emsCnpl/auth',
- },
- {
- path: '/miniApp/emsCnpl/auth',
- name: "auth",
- component: './MiniApp/EmsCnpl/Auth',
- },
- {
- path: '/miniApp/emsCnpl/users',
- name: "users",
- component: './MiniApp/EmsCnpl/Users',
- },
- ],
- },
-
- {
- name: "miniApp.EntWeChat",
- icon: 'icon-qiyeweixin-wx',
- path: '/miniApp/entWeChat',
- access: "isShow",
- routes: [
- {
- path: '/miniApp/entWeChat',
- redirect: '/miniApp/entWeChat/auth',
- },
- {
- path: '/miniApp/entWeChat/auth',
- name: "auth",
- component: './MiniApp/EntWeChat/Auth',
- },
- {
- path: '/miniApp/entWeChat/users',
- name: "users",
- component: './MiniApp/EntWeChat/Users',
- },
- {
- path: '/miniApp/entWeChat/welcome',
- name: "welcome",
- component: './MiniApp/EntWeChat/Welcome',
- },
- ],
- },
-
- {
- name: "miniApp.Extend",
- icon: 'icon-zizhutuiguang-wx',
- path: '/miniApp/extend',
- access: "isShow",
- routes: [
- {
- path: '/miniApp/extend',
- redirect: '/miniApp/extend/book',
- },
- {
- path: '/miniApp/extend/book',
- name: "book",
- component: './MiniApp/Extend/Book',
- },
- {
- path: '/miniApp/extend/page',
- name: "page",
- component: './MiniApp/Extend/Page',
- },
- ],
- },
-
- {
- name: "miniApp.dataManage",
- icon: 'icon-shuju-wx',
- path: '/miniApp/dataManage',
- access: "isShow",
- routes: [
- {
- path: '/miniApp/dataManage',
- redirect: '/miniApp/dataManage/payLog',
- },
- {
- path: '/miniApp/dataManage/payLog',
- name: "payLog",
- component: './MiniApp/PayLog',
- },
- {
- path: '/miniApp/dataManage/readLog',
- name: "readLog",
- component: './MiniApp/ReadLog',
- },
- {
- name: 'consume',
- path: '/miniApp/dataManage/consume',
- component: './MiniApp/Consume',
- }
- ],
- },
- {
- name: 'miniApp.adBack',
- icon: 'icon-guanggaohuichuan-wx',
- path: '/miniApp/adBack',
- access: "isShow",
- component: './MiniApp/AdBack',
- },
- ]
- export default [
- {
- path: '/user',
- layout: false,
- routes: [
- {
- name: 'login',
- path: '/user/login',
- component: './User/Login',
- },
- ],
- },
- {
- path: '/',
- redirect: '/distributor/account'
- },
- {
- path: '*',
- layout: false,
- component: './404',
- },
- ...newMenu
- ];
|