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,//跳转、登陆 //审批单 ...approvalForm, //党建攻坚 ...partyMemberTopic, //高质量运营 ...highQualityOperation, //电子评标室-监控大屏 ...monitorScreen, ...monitor, { 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: '/room', component: '../layouts/RoomLayout', routes: [ { path: '/room/index', component: './Opening/ProjectManager/Room/index', }, ], }, {//问卷调查-答题页 path: '/QuestAnswer', component: '../layouts/TopLayout', routes: [ { path: '/QuestAnswer/Answer', component: './Questionnaire/questionAnswer', }, ], }, {//内拍-竞拍大厅 path: '/AuctionViewAuctions', routes: [ { path: '/AuctionViewAuctions/Index', component: './Auction/AuctionViewAuctions', }, ], }, {//内拍-参与竞拍列表 path: '/AuctionParticipateList', component: './Auction/AuctionParticipateList', }, {//内拍-参与竞拍详情 path: '/AuctionParticipateDetail', component: './Auction/AuctionParticipateDetail', }, {//公共服务平台 path: '/PublicPlatform', component: './Bid/BiddingAnnouncement/components/PublicPlatform', }, //==============================================================引入的业务路由 ...approvalForm,//审批单 ...juryRoom,//评标室内所有路由 //==========================================================================菜单路由 { 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' },//系统消息-所有角色 {//通知公告 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' },//通知公告管理-系统管理员 ] }, {//委托 name: 'entrust', icon: 'form', path: '/Project/EntrustAssign', routes: [ {//管理员-代理 采购经理(查看委托记录) name: 'manager', path: '/Project/EntrustAssign/Manager', component: './Project/EntrustAssign/manager', }, {//项目经理-代理 name: 'operator', path: '/Project/EntrustAssign/Operator', component: './Project/EntrustAssign/operator', }, {//采购经理的委托管理 name: 'mandatoryAdministration', path: '/Project/EntrustAssign/ProjectManager/PurchasingManagerEnquiries', component: './Project/ProjectManage/ProjectManager/PurchasingManagerEnquiries', }, ] }, {//委托撤回 name: 'entrustWithdraw', path: '/Project/EntrustWithdraw', component: './Project/EntrustWithdraw', }, {//招标项目管理 name: 'bidManage', path: '/Bid', routes: [ { path: '/Bid/Manage', component: './Project/ProjectManage/ProjectManager/ProjectDocumentation', },//项目管理-项目经理 { path: '/Bid/Involved', component: './Tender/ProjectsInvolved', },//我参与的项目-供应商 { path: '/Bid/FindBusiness', component: './Tender/supplier/LookingForBusinessOpportunities', },//寻找商机-供应商 { path: '/Bid/Invitation', component: './Tender/supplier/InvitationLetter', },//邀请函-供应商 ] }, {//比选项目管理 name: 'Selection', path: '/Comparison', routes: [ { path: '/Comparison/Manage', component: './Project/ProjectManage/ProjectManager/ProjectDocumentation', },//项目管理 { path: '/Comparison/Involved', component: './Tender/ProjectsInvolved', },//我参与的项目-供应商 { path: '/Comparison/FindBusiness', component: './Tender/supplier/LookingForBusinessOpportunities', },//寻找商机-供应商 { path: '/Comparison/Invitation', component: './Tender/supplier/InvitationLetter', },//邀请函-供应商 ] }, {//谈判项目管理 name: 'NegotiationManage', path: '/Negotiation', routes: [ { path: '/Negotiation/Manage', component: './Project/ProjectManage/ProjectManager/ProjectDocumentation', },//项目管理-项目经理 { path: '/Negotiation/Involved', component: './Tender/ProjectsInvolved', },//我参与的项目-供应商 { path: '/Negotiation/FindBusiness', component: './Tender/supplier/LookingForBusinessOpportunities', },//寻找商机-供应商 { path: '/Negotiation/Invitation', component: './Tender/supplier/InvitationLetter', },//邀请函-供应商 ] }, {//招募项目管理 name: 'Recruit', path: '/Recruit', routes: [ { path: '/Recruit/Manage', component: './Project/ProjectManage/ProjectManager/ProjectDocumentation', },//项目管理-项目经理 { path: '/Recruit/Involved', component: './Tender/ProjectsInvolved', },//我参与的项目-供应商 { path: '/Recruit/FindBusiness', component: './Tender/supplier/LookingForBusinessOpportunities', },//寻找商机-供应商 ] }, {//询价项目管理 name: 'Inquiry', path: '/Inquiry', routes: [ { path: '/Inquiry/Manage', component: './Project/ProjectManage/ProjectManager/ProjectDocumentation', },//项目管理-项目经理 { path: '/Inquiry/Involved', component: './Tender/ProjectsInvolved', },//我参与的项目-供应商 // { path: '/Inquiry/FindBusiness', component: './Tender/supplier/LookingForBusinessOpportunities', },//寻找商机-供应商 // { path: '/Inquiry/Invitation', component: './Tender/supplier/InvitationLetter', },//邀请函-供应商 ] }, {//内拍项目管理 name: 'Auction', icon: 'MoneyCollectOutlined', path: '/Auction', routes: [ //寻找内拍项目-参拍人、联通普通用户、采购经理 { name: 'AuctionLookingForInnerShot', path: '/Auction/AuctionLookingForInnerShot', component: './Auction/AuctionLookingForInnerShot/components/AuctionLookingForInnerShot' }, //我参与的内拍项目-参拍人 { name: 'AuctionMyLookingForInnerShot', path: '/Auction/AuctionMyLookingForInnerShot', component: './Auction/AuctionMyLookingForInnerShot/components/AuctionMyLookingForInnerShot' }, //我发起的内拍项目-内拍处置经理 { name: 'AuctionManagerProject', path: '/Auction/AuctionManagerProject', component: './Auction/AuctionManagerProject/components/AuctionManagerProject' }, //{ name: 'AuctionManage', path: '/Auction/AuctionManage',component: './Auction/AuctionList/components/AuctionManage'},//内拍管理 ] }, {//监督员 项目管理页 name: 'Supervision', path: '/Supervision', component: './Project/ProjectManage/Supervision' }, {//审查人员 项目管理页 name: 'Examination', path: '/Examination', component: './Project/ProjectManage/Examination' }, {//招标项目评审-评委 path: '/ExpertReview/Review', component: './BidEvaluation/EnterJury', hideInMenu: true }, {//专家评审 name: '专家评审', path: '/ExpertReview', routes: [ { path: '/ExpertReview/Bid', component: './BidEvaluation/EnterJury', },//招标项目评审 { path: '/ExpertReview/Comparison', component: './BidEvaluation/EnterJury', },//比选项目评审 { path: '/ExpertReview/Negotiation', component: './BidEvaluation/EnterJury', },//谈判项目评审 { path: '/ExpertReview/Recruit', component: './BidEvaluation/EnterJury', },//招募项目评审 { path: '/ExpertReview/Inquiry', component: './BidEvaluation/EnterJury', },//询价项目评审 ] }, {//财务管理 name: 'finance', icon: 'MoneyCollectOutlined', path: '/Finance/', routes: [ { name: 'cost', path: '/Finance/cost', component: './Finance/Cost/index' },//费用支付-供应商 { name: 'RevenueRecognition', path: '/Finance/ProjectManager/RevenueRecognition', component: './Finance/ProjectManager/RevenueRecognition' },//收入确认审核(项目经理) { name: 'incomeConfirm', path: '/Finance/ProjectManager/IncomeConfirm', component: './Finance/ProjectManager/RevenueRecognition/components/All.tsx' },//收入确认审核(管理员) ] }, {//发票管理 name: 'Invoice', icon: 'UnorderedListOutlined', path: '/Invoice', routes: [ {//发票管理-业务经理 name: 'InvoiceManager', path: '/Invoice/Manager', component: './Invoice/Manager' }, {//发票管理-代理机构管理员 name: 'InvoiceAgencyAdmin', path: '/Invoice/AgencyAdmin', component: './Invoice/AgencyAdmin' }, {//发票管理-供应商 name: 'InvoiceSupplier', path: '/Invoice/Supplier', component: './Invoice/Supplier' }, ], }, {//供应商常用信息管理 name: 'supplierInformation', icon: 'crown', path: '/supplierInformation', routes: [ {//常用联系人管理 name: 'commonContact', path: '/supplierInformation/commonContact', component: './CommonInfo/Supplier/CommonContact', }, {//邮寄地址管理 name: 'mailingAddress', path: '/supplierInformation/mailingAddress', component: './CommonInfo/Supplier/MailingAddress', }, {//发票信息管理 name: 'invoiceInformation', path: '/supplierInformation/invoiceInformation', component: './CommonInfo/Supplier/InvoiceInformation', }, ] }, {//账号信息管理-代理机构管理员 name: 'Account', icon: 'form', path: '/Account', routes: [ { name: 'AccountManage', path: '/Account/AccountManage', component: './Account/AccountManage' }, ], }, { component: './404', }, ], }, { component: './404', }, ], }, { component: './404', }, ];