删除无用代码, 工具类和 组件 没有删除 , 以后可以借鉴写法和创建规则
This commit is contained in:
@ -1,49 +1,46 @@
|
||||
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',
|
||||
path: '/',
|
||||
component: '@/layouts/Index',
|
||||
routes: [
|
||||
{
|
||||
name: 'login',
|
||||
path: '/userformal/login',
|
||||
component: './userformal/login',
|
||||
path: '/',
|
||||
redirect: '/index',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/loading',
|
||||
routes: [
|
||||
{
|
||||
path: '/loading',
|
||||
component: './Loading',
|
||||
name: 'index',
|
||||
path: '/index',
|
||||
component: '@/pages/index',
|
||||
},
|
||||
],
|
||||
{
|
||||
name: 'announce',
|
||||
path: '/announce',
|
||||
component: '@/pages/announce/announce',
|
||||
},
|
||||
{
|
||||
name: 'policy',
|
||||
path: '/policy',
|
||||
component: '@/pages/policy/policy',
|
||||
},
|
||||
{
|
||||
name: 'notice',
|
||||
path: '/notice',
|
||||
component: '@/pages/notice/notice',
|
||||
},
|
||||
{
|
||||
name: 'download',
|
||||
path: '/download',
|
||||
component: '@/pages/download/download',
|
||||
},
|
||||
{
|
||||
name: 'about',
|
||||
path: '/about',
|
||||
component: '@/pages/about/about',
|
||||
}
|
||||
]
|
||||
},
|
||||
//日历组件暂时用
|
||||
// {
|
||||
// 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,
|
||||
@ -54,69 +51,5 @@ export default [
|
||||
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',
|
||||
},
|
||||
|
||||
}
|
||||
];
|
||||
|
Reference in New Issue
Block a user