| | |
| | | const menu = { |
| | | adminMenu: [ |
| | | { |
| | | path: '/homePage', |
| | | redirect: '/homePage', |
| | | meta: { title: '首页',icon: 'server'}, |
| | | children: [ |
| | | |
| | | { |
| | | path: 'homePage', |
| | | name: 'company', |
| | | meta: { title: '工作台',icon: 'server'} |
| | | } , |
| | | ] |
| | | }, |
| | | { |
| | | path: '/warehouseManage', |
| | | name: 'warehouseManage', |
| | | meta: { title: '入库管理',icon: 'form',affix: true } |
| | |
| | | name: 'electronicWarehouse', |
| | | meta: { title: '电子仓库',icon: 'build',affix: true } |
| | | }, |
| | | { |
| | | path: '/detailList', |
| | | name: 'detailList', |
| | | meta: { title: '危化品详单',icon: 'education',affix: true } |
| | | }, |
| | | // { |
| | | // path: '/detailList', |
| | | // name: 'detailList', |
| | | // meta: { title: '危化品详单',icon: 'education',affix: true } |
| | | // }, |
| | | { |
| | | path: '/accessRecords', |
| | | name: 'accessRecords', |
| | |
| | | { |
| | | path: '/basicInfo', |
| | | name: 'basicInfo', |
| | | meta: { title: '危化品基础信息',icon: 'server',affix: true } |
| | | meta: { title: '危化品基础信息',icon: 'monitor',affix: true } |
| | | }, |
| | | { |
| | | path: '/finishedBasicInfo', |
| | | name: 'finishedBasicInfo', |
| | | meta: { title: '成品基础信息',icon: 'server',affix: true } |
| | | meta: { title: '成品基础信息',icon: 'monitor',affix: true } |
| | | }, |
| | | { |
| | | path: '/systemManage', |
| | |
| | | ], |
| | | companyMenu: [ |
| | | { |
| | | path: '/homePage', |
| | | redirect: '/homePage', |
| | | meta: { title: '首页',icon: 'server'}, |
| | | children: [ |
| | | |
| | | { |
| | | path: 'homePage', |
| | | name: 'company', |
| | | meta: { title: '工作台',icon: 'server'} |
| | | } , |
| | | ] |
| | | }, |
| | | { |
| | | path: '/warehouseManage', |
| | | name: 'warehouseManage', |
| | | meta: { title: '入库管理',icon: 'form',affix: true } |
| | |
| | | name: 'electronicWarehouse', |
| | | meta: { title: '电子仓库',icon: 'build',affix: true } |
| | | }, |
| | | { |
| | | path: '/detailList', |
| | | name: 'detailList', |
| | | meta: { title: '危化品详单',icon: 'education',affix: true } |
| | | }, |
| | | // { |
| | | // path: '/detailList', |
| | | // name: 'detailList', |
| | | // meta: { title: '危化品详单',icon: 'education',affix: true } |
| | | // }, |
| | | { |
| | | path: '/accessRecords', |
| | | name: 'accessRecords', |
| | |
| | | { |
| | | path: '/basicInfo', |
| | | name: 'basicInfo', |
| | | meta: { title: '危化品基础信息',icon: 'server',affix: true } |
| | | meta: { title: '危化品基础信息',icon: 'monitor',affix: true } |
| | | }, |
| | | { |
| | | path: '/finishedBasicInfo', |
| | | name: 'finishedBasicInfo', |
| | | meta: { title: '成品基础信息',icon: 'server',affix: true } |
| | | meta: { title: '成品基础信息',icon: 'monitor',affix: true } |
| | | }, |
| | | { |
| | | path: '/systemManage', |