2020-12-23 11:14:35 +08:00
|
|
|
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';
|
2021-01-16 11:29:42 +08:00
|
|
|
// import wxh_pageRoutes from './router_wxh.config';
|
2020-12-23 11:14:35 +08:00
|
|
|
import dqh_pageRoutes from './router_dqh.config';
|
|
|
|
import menuaWorkbench_pageRoutes from './router_menuaWorkbench.config';
|
2021-01-16 11:29:42 +08:00
|
|
|
import menuaNotice_pageRoutes from './router_menuaNotice.config';
|
|
|
|
import menuaZhaoBiao from './ZhaoBiao/router_menubProject.config';
|
|
|
|
import juryRoom from './JuryRoom/router_menuJury.config';
|
2020-12-23 11:14:35 +08:00
|
|
|
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',
|
|
|
|
},
|
2021-01-16 11:29:42 +08:00
|
|
|
{
|
|
|
|
name: 'index_2',
|
|
|
|
path: '/viewOfTenderDocumentsSecond',
|
|
|
|
component: './Evaluation/BiddingDocumentsDecrypt/components/viewOfTenderDocumentsSecond',
|
|
|
|
},
|
2020-12-23 11:14:35 +08:00
|
|
|
{
|
|
|
|
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: '/',
|
2021-01-16 11:29:42 +08:00
|
|
|
redirect: '/login',
|
2020-12-23 11:14:35 +08:00
|
|
|
},
|
2021-01-16 11:29:42 +08:00
|
|
|
// {
|
|
|
|
// path: '/welcome',
|
|
|
|
// name: 'welcome',
|
|
|
|
// icon: 'smile',
|
|
|
|
// component: './Welcome',
|
|
|
|
// },
|
2020-12-23 11:14:35 +08:00
|
|
|
{
|
2021-01-16 11:29:42 +08:00
|
|
|
path: '/login',
|
|
|
|
name: 'login',
|
2020-12-23 11:14:35 +08:00
|
|
|
icon: 'smile',
|
2021-01-16 11:29:42 +08:00
|
|
|
component: './Login/index',
|
|
|
|
},
|
|
|
|
{//我的工作台
|
|
|
|
name: 'workbench',
|
|
|
|
icon: 'DesktopOutlined',
|
|
|
|
path:'/workbench',
|
|
|
|
routes: [
|
|
|
|
{ name: 'commonFiles', path: '/workbench/files',component: './workbench/files/components/FilesList'},
|
|
|
|
{ name: 'commonFilesManage', path: '/workbench/filesManage',component: './workbench/filesManage/components/filesManage'},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
//委托
|
|
|
|
name: 'entrust',
|
|
|
|
icon: 'form',
|
|
|
|
path: '/Project/EntrustAssign',
|
|
|
|
// component: './Project/EntrustAssign',
|
|
|
|
routes: [
|
|
|
|
{//管理员
|
|
|
|
name: 'manager',
|
|
|
|
authority: ['maAndop','manager'],
|
|
|
|
path: '/Project/EntrustAssign/Manager',
|
|
|
|
component: './Project/EntrustAssign/Manager',
|
|
|
|
},
|
|
|
|
{//操作员
|
|
|
|
name: 'operator',
|
|
|
|
authority: ['maAndop','operator'],
|
|
|
|
path: '/Project/EntrustAssign/Operator',
|
|
|
|
component: './Project/EntrustAssign/Operator',
|
|
|
|
},
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{//专家评审
|
|
|
|
name: 'JuryRoom',
|
|
|
|
icon: 'form',
|
|
|
|
path: '/ExpertReview',
|
|
|
|
routes: [
|
|
|
|
{//招标项目评审
|
|
|
|
name: 'BidProjectReview',
|
|
|
|
path: '/ExpertReview/zhaobiao',
|
|
|
|
component: './BidEvaluation/Jury',
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
...menuaZhaoBiao,//招标项目
|
|
|
|
{//财务管理
|
|
|
|
name: 'finance',
|
|
|
|
icon: 'MoneyCollectOutlined',
|
|
|
|
path: '/Finance/',
|
|
|
|
routes: [
|
|
|
|
// { name: 'shopping', path: '/Finance/shopping', component: './Finance/ShoppingCart/index' },
|
|
|
|
{ name: 'cost', path: '/Finance/cost', component: './Finance/Cost/index' },
|
|
|
|
// { name: 'invoice', path: '/Finance/invoice', component: './Finance/Invoice/index' },
|
|
|
|
{ name: 'earnest', path: '/Finance/earnest', component: './Finance/Earnest/index' },
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'notice',
|
|
|
|
icon: 'table',
|
|
|
|
path:'/notice',
|
|
|
|
routes: [
|
|
|
|
{ name: 'noticeList', path: '/notice/noticeList',component: './notice/noticeList/components/NoticeList' },//通知公告查看
|
|
|
|
{ name: 'noticeManage', path: '/notice/noticeManage',component: './notice/noticeManage/components/noticeManage'},//通知公告管理
|
|
|
|
]
|
|
|
|
},
|
|
|
|
// ...yh_pageRoutes,
|
|
|
|
// ...xsy_pageRoutes,
|
|
|
|
// ...zjl_pageRoutes,
|
|
|
|
// ...lq_pageRoutes,
|
|
|
|
// ...ld_pageRoutes,
|
|
|
|
//...dqh_pageRoutes,
|
|
|
|
...juryRoom,
|
|
|
|
{//发票管理
|
|
|
|
name: 'Invoice',
|
|
|
|
icon: 'UnorderedListOutlined',
|
|
|
|
path: '/Invoice',
|
|
|
|
routes: [
|
|
|
|
{//发票管理-业务经理
|
|
|
|
name: 'InvoiceManager',
|
|
|
|
path: '/Invoice/Manager',
|
|
|
|
component: './Invoice/Manager'
|
|
|
|
},
|
|
|
|
{//发票管理-供应商
|
|
|
|
name: 'InvoiceSupplier',
|
|
|
|
path: '/Invoice/Supplier',
|
|
|
|
component: './Invoice/Supplier'
|
|
|
|
},
|
|
|
|
],
|
2020-12-23 11:14:35 +08:00
|
|
|
},
|
2021-01-16 11:29:42 +08:00
|
|
|
// ...wxh_pageRoutes,
|
2020-12-23 11:14:35 +08:00
|
|
|
{
|
|
|
|
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',
|
|
|
|
},
|
|
|
|
];
|