123 lines
3.7 KiB
TypeScript
123 lines
3.7 KiB
TypeScript
![]() |
import menuaZhaoBiao from './ZhaoBiao/router_menubProject.config';
|
||
|
import transfer from './router_transfer';
|
||
|
import home from './HomePage/router_home';
|
||
|
import juryRoom from './JuryRoom/router_menuJury.config';
|
||
|
import approvalForm from './router_approval_form';
|
||
|
import partyMemberTopic from './router_partyMemberTopic';
|
||
|
import highQualityOperation from './router_highQualityOperation';
|
||
|
import { elecBidEvaluation, monitor, monitorScreen } from './router_elecEvaluation';
|
||
|
export default [
|
||
|
//========================================================================登陆
|
||
|
...transfer,//跳转、登陆
|
||
|
{
|
||
|
path: '/userformal',
|
||
|
// component: '../layouts/UserLayout',
|
||
|
routes: [
|
||
|
{
|
||
|
name: 'login',
|
||
|
path: '/userformal/login',
|
||
|
component: './userformal/login',
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
{
|
||
|
path: '/loading',
|
||
|
routes: [
|
||
|
{
|
||
|
path: '/loading',
|
||
|
component: './Loading',
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
//日历组件暂时用
|
||
|
// {
|
||
|
// path: '/Calendar',
|
||
|
// component: './MainPage/ProjectManager/components/CalendarForm',
|
||
|
// },
|
||
|
//视频播放-视频播放列表(暂时用)
|
||
|
{
|
||
|
path: '/ElecEvaluation/Monitor/videoplay',
|
||
|
component: './ElecEvaluation/Monitor/RoomDetail/videoplay',
|
||
|
},
|
||
|
//富文本组件
|
||
|
// {
|
||
|
// path: '/editor',
|
||
|
// component: './MainPage/ProjectManager/components/WangEditor',
|
||
|
// },
|
||
|
//401错误页
|
||
|
{
|
||
|
exact: true,
|
||
|
path: '/401',
|
||
|
component: './401',
|
||
|
},
|
||
|
{
|
||
|
exact: true,
|
||
|
path: '/404',
|
||
|
component: './404',
|
||
|
},
|
||
|
//==========================================================================菜单路由
|
||
|
{
|
||
|
path: '/',
|
||
|
component: '../layouts/SecurityLayout',
|
||
|
routes: [
|
||
|
{
|
||
|
path: '/',
|
||
|
component: '../layouts/BasicLayout',
|
||
|
//authority: ['ebtp-expert'],
|
||
|
routes: [
|
||
|
{//专家登陆地址
|
||
|
path: '/',
|
||
|
redirect: '/userexpert/login',
|
||
|
},
|
||
|
...home,//各角色主页
|
||
|
...menuaZhaoBiao,//项目菜单所有路由
|
||
|
...elecBidEvaluation,//电子评标室-监控大屏
|
||
|
{//问卷调查
|
||
|
name: 'Questionnaire',
|
||
|
icon: 'UnorderedListOutlined',
|
||
|
path: '/Questionnaire',
|
||
|
routes: [
|
||
|
{//问卷调查
|
||
|
name: 'QuestionList',
|
||
|
path: '/Questionnaire/questionList',
|
||
|
component: './Questionnaire/questionList'
|
||
|
},
|
||
|
{//问卷调查新增
|
||
|
name: 'questionAdd',
|
||
|
path: '/Questionnaire/questionAdd',
|
||
|
component: './Questionnaire/questionAdd'
|
||
|
},
|
||
|
{//问卷统计
|
||
|
name: 'QuestionStatistics',
|
||
|
path: '/Questionnaire/questionStatistics',
|
||
|
component: './Questionnaire/questionStatistics'
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
{//我的工作台
|
||
|
name: 'workbench',
|
||
|
icon: 'DesktopOutlined',
|
||
|
//authority: ['ebtp-expert'],
|
||
|
path: '/workbench',
|
||
|
routes: [
|
||
|
{ name: 'commonFiles', path: '/workbench/files', component: './workbench/files/components/FilesList' },//共享文档下载-所有角色
|
||
|
{ name: 'commonFilesManage', path: '/workbench/filesManage', component: './workbench/filesManage/components/filesManage' },//共享文档管理-系统管理员
|
||
|
]
|
||
|
},
|
||
|
{ name: 'systemMessage', path: '/SystemMessage/message', component: './SystemMessage/message' },//系统消息-所有角色
|
||
|
{
|
||
|
component: './404',
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
{
|
||
|
component: './404',
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
{
|
||
|
component: './404',
|
||
|
},
|
||
|
|
||
|
];
|