109 lines
2.7 KiB
TypeScript
109 lines
2.7 KiB
TypeScript
![]() |
import xsy_pageRoutes from './router_xsy.config';
|
||
|
import lq_pageRoutes from './router_lq.config';
|
||
|
import zjl_pageRoutes from './router_zjl.config';
|
||
|
import ld_pageRoutes from './router_ld.config';
|
||
|
import yh_pageRoutes from './router_yh.config';
|
||
|
import dqh_pageRoutes from './router_dqh.config';
|
||
|
import calibration_pageRoutes from './router_calibration.config';
|
||
|
import menuaWorkbench_pageRoutes from './router_menuaWorkbench.config';
|
||
|
import menubProject_pageRoutes from './router_menubProject.config';
|
||
|
|
||
|
export default[
|
||
|
{
|
||
|
path: '/user',
|
||
|
component: '../layouts/UserLayout',
|
||
|
routes: [
|
||
|
{
|
||
|
name: 'login',
|
||
|
path: '/user/login',
|
||
|
component: './user/login',
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
{
|
||
|
name: 'index_1',
|
||
|
path: '/viewOfTenderDocuments',
|
||
|
component: './Evaluation/BiddingDocumentsDecrypt/components/viewOfTenderDocuments',
|
||
|
},
|
||
|
{
|
||
|
path: '/room',
|
||
|
component: '../layouts/RoomLayout',
|
||
|
routes: [
|
||
|
{
|
||
|
name: 'index',
|
||
|
path: '/room/index',
|
||
|
component: './Opening/ProjectManager/Room/index',
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
{
|
||
|
path: '/',
|
||
|
component: '../layouts/SecurityLayout',
|
||
|
routes: [
|
||
|
{
|
||
|
path: '/',
|
||
|
component: '../layouts/BasicLayout',
|
||
|
authority: ['admin', 'user'],
|
||
|
routes: [
|
||
|
{
|
||
|
path: '/',
|
||
|
redirect: '/welcome',
|
||
|
},
|
||
|
{
|
||
|
path: '/welcome',
|
||
|
name: 'welcome',
|
||
|
icon: 'smile',
|
||
|
component: './Welcome',
|
||
|
},
|
||
|
...menuaWorkbench_pageRoutes,//我的工作台
|
||
|
...menubProject_pageRoutes,//建档
|
||
|
...calibration_pageRoutes,//定标
|
||
|
...yh_pageRoutes,
|
||
|
...xsy_pageRoutes,
|
||
|
...zjl_pageRoutes,
|
||
|
...lq_pageRoutes,
|
||
|
...ld_pageRoutes,
|
||
|
...dqh_pageRoutes,
|
||
|
{
|
||
|
path: '/admin',
|
||
|
name: 'admin',
|
||
|
icon: 'crown',
|
||
|
component: './Admin',
|
||
|
authority: ['admin'],
|
||
|
routes: [
|
||
|
{
|
||
|
path: '/admin/sub-page',
|
||
|
name: 'sub-page',
|
||
|
icon: 'smile',
|
||
|
component: './Welcome',
|
||
|
authority: ['admin'],
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
// {
|
||
|
// name: 'list.table-list',
|
||
|
// icon: 'table',
|
||
|
// path: '/list',
|
||
|
// component: './ListTableList',
|
||
|
// },
|
||
|
// {
|
||
|
// name: 'form.basic-form',
|
||
|
// icon: 'form',
|
||
|
// path: '/form',
|
||
|
// component: './FormList',
|
||
|
// },
|
||
|
{
|
||
|
component: './404',
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
{
|
||
|
component: './404',
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
{
|
||
|
component: './404',
|
||
|
},
|
||
|
];
|