522 lines
14 KiB
JavaScript
522 lines
14 KiB
JavaScript
/* eslint-disable */
|
|
import { UserLayout, TabLayout } from '@/components/layouts'
|
|
import SignUpEntrance from "@views/signUp/SignUpEntrance"
|
|
import SignUpPage from "@views/signUp/SignUpPage"
|
|
|
|
/**
|
|
* 走菜单,走权限控制
|
|
* @type {[null,null]}
|
|
*/
|
|
export const asyncRouterMap = [
|
|
|
|
{
|
|
path: '/',
|
|
name: 'dashboard',
|
|
component: TabLayout,
|
|
meta: { title: '首页' },
|
|
redirect: '/dashboard/analysis',
|
|
children: []
|
|
},
|
|
{
|
|
path: '*', redirect: '/404', hidden: true
|
|
}
|
|
]
|
|
|
|
/**
|
|
* 基础路由
|
|
* @type { *[] }
|
|
*/
|
|
export const constantRouterMap = [
|
|
{
|
|
path: '/user',
|
|
component: UserLayout,
|
|
redirect: '/user/login',
|
|
hidden: true,
|
|
children: [
|
|
{
|
|
path: 'login',
|
|
name: 'login',
|
|
component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
|
|
},
|
|
{
|
|
path: 'register',
|
|
name: 'register',
|
|
component: () => import(/* webpackChunkName: "user" */ '@/views/user/register/Register')
|
|
},
|
|
{
|
|
path: 'register-result',
|
|
name: 'registerResult',
|
|
component: () => import(/* webpackChunkName: "user" */ '@/views/user/register/RegisterResult')
|
|
},
|
|
{
|
|
path: 'alteration',
|
|
name: 'alteration',
|
|
component: () => import(/* webpackChunkName: "user" */ '@/views/user/alteration/Alteration')
|
|
},{
|
|
path: 'member-register',
|
|
name: 'MemberRegister',
|
|
component: () => import(/* webpackChunkName: "user" */ '@/views/standardsAssociation/register/Register')
|
|
},
|
|
{
|
|
path: 'member-register-result',
|
|
name: 'MemberRegisterResult',
|
|
component: () => import(/* webpackChunkName: "user" */ '@/views/standardsAssociation/register/RegisterResult')
|
|
},
|
|
]
|
|
},
|
|
{
|
|
path: "/signUpEntrance",
|
|
component: SignUpEntrance,
|
|
hidden: true,
|
|
},
|
|
{
|
|
path: "/signUpPage",
|
|
component: SignUpPage,
|
|
hidden: true,
|
|
},
|
|
|
|
]
|
|
|
|
/**
|
|
* 页面路由
|
|
* @type { *[] }
|
|
*/
|
|
export const routerData = [
|
|
{
|
|
redirect: null,
|
|
path: '/dashboard/analysis',
|
|
component: 'dashboard/Analysis',
|
|
route: '1',
|
|
meta: {
|
|
icon: 'home', // 菜单前图标
|
|
componentName: 'Analysis',
|
|
keepAlive: false,
|
|
title: '首页' // 菜单名称
|
|
},
|
|
name: 'dashboard-analysis',
|
|
id: '1'
|
|
},
|
|
{
|
|
redirect: null,
|
|
path: '/workTeam/WorkTeam',
|
|
component: 'workTeam/WorkTeam',
|
|
route: '1',
|
|
meta: {
|
|
icon: 'cus_member', // 菜单前图标
|
|
componentName: 'WorkTeam',
|
|
keepAlive: false,
|
|
title: '工作组' // 菜单名称
|
|
},
|
|
name: 'work-team',
|
|
id: '2'
|
|
},
|
|
{
|
|
redirect: null,
|
|
path: '/subBidCommittee/SubBidCommittee',
|
|
component: 'subBidCommittee/SubBidCommittee',
|
|
route: '1',
|
|
meta: {
|
|
icon: 'team', // 菜单前图标
|
|
componentName: 'SubBidCommittee',
|
|
keepAlive: false,
|
|
title: '分标委' // 菜单名称
|
|
},
|
|
name: 'sub-bid-committee',
|
|
id: '3'
|
|
},
|
|
{
|
|
redirect: null,
|
|
path: '/dataMember/DataMember',
|
|
component: 'dataMember/DataMember',
|
|
route: '1',
|
|
meta: {
|
|
icon: 'cus_pack', // 菜单前图标
|
|
componentName: 'DataMember',
|
|
keepAlive: false,
|
|
title: '资料网员' // 菜单名称
|
|
},
|
|
name: 'data-member',
|
|
id: '6'
|
|
},
|
|
{
|
|
redirect: null,
|
|
path: '/standardsAssociation',
|
|
component: 'layouts/RouteView',
|
|
route: '1',
|
|
meta: {
|
|
icon: 'team', // 菜单前图标
|
|
componentName: 'SubBidCommittee',
|
|
keepAlive: false,
|
|
title: '标协会员' // 菜单名称
|
|
},
|
|
name: 'standards-association',
|
|
id: 'standards4',
|
|
children: [
|
|
{
|
|
component: 'standardsAssociation/BasicInfo',
|
|
id: 'standardsBasicInfo4-1',
|
|
meta: {
|
|
keepAlive: false,
|
|
internalOrExternal: false,
|
|
componentName: 'BasicInfo',
|
|
title: '管理员信息'
|
|
},
|
|
name: 'standardsAssociation-BasicInfo',
|
|
path: '/standardsAssociation/BasicInfo',
|
|
route: '1'
|
|
}, {
|
|
component: 'standardsAssociation/MemberManagement',
|
|
id: 'standardsMemberManagement4-2',
|
|
meta: {
|
|
keepAlive: false,
|
|
internalOrExternal: false,
|
|
componentName: 'MemberManagement',
|
|
title: '会员管理'
|
|
},
|
|
name: 'standardsAssociation-MemberManagement',
|
|
path: '/standardsAssociation/MemberManagement',
|
|
route: '1'
|
|
}, {
|
|
component: 'standardsAssociation/Council',
|
|
id: 'standardsCouncil4-5',
|
|
meta: {
|
|
keepAlive: false,
|
|
internalOrExternal: false,
|
|
componentName: 'Council',
|
|
title: '理事会'
|
|
},
|
|
name: 'standardsAssociation-Council',
|
|
path: '/standardsAssociation/Council',
|
|
route: '1'
|
|
},
|
|
{
|
|
component: 'standardsAssociation/StandardPublicizingImplementation',
|
|
id: 'standardsStandardPublicizingImplementation4-6',
|
|
meta: {
|
|
keepAlive: false,
|
|
internalOrExternal: false,
|
|
componentName: 'StandardPublicizingImplementation',
|
|
title: '标准宣贯'
|
|
},
|
|
name: 'standardsAssociation-StandardPublicizingImplementation',
|
|
path: '/standardsAssociation/StandardPublicizingImplementation',
|
|
route: '1'
|
|
}, {
|
|
component: 'standardsAssociation/InfoCommunicationMeeting',
|
|
id: 'standardsInfoCommunicationMeeting4-7',
|
|
meta: {
|
|
keepAlive: false,
|
|
internalOrExternal: false,
|
|
componentName: 'InfoCommunicationMeeting',
|
|
title: '信息交流会'
|
|
},
|
|
name: 'standardsAssociation-InfoCommunicationMeeting',
|
|
path: '/standardsAssociation/InfoCommunicationMeeting',
|
|
route: '1'
|
|
}, {
|
|
component: 'standardsAssociation/TrainingMeeting',
|
|
id: 'standardsTrainingMeeting4-8',
|
|
meta: {
|
|
keepAlive: false,
|
|
internalOrExternal: false,
|
|
componentName: 'TrainingMeeting',
|
|
title: '培训会'
|
|
},
|
|
name: 'standardsAssociation-TrainingMeeting',
|
|
path: '/standardsAssociation/TrainingMeeting',
|
|
route: '1'
|
|
},
|
|
{
|
|
component: 'layouts/RouteView',
|
|
id: 'standardsPaymentInfo4-4',
|
|
meta: {
|
|
keepAlive: false,
|
|
internalOrExternal: false,
|
|
componentName: 'PaymentInfo',
|
|
title: '综合业务'
|
|
},
|
|
name: 'standardsAssociation-PaymentInfo',
|
|
path: '/standardsAssociation/PaymentInfo',
|
|
route: '1',
|
|
children: [
|
|
{
|
|
component: 'standardsAssociation/feehandle/FeeHandle',
|
|
id: 'standardsMemberInfo4-4-2',
|
|
meta: {
|
|
keepAlive: false,
|
|
internalOrExternal: false,
|
|
componentName: 'FeeHandle',
|
|
title: '费用办理'
|
|
},
|
|
name: 'standardsAssociation/feehandle/FeeHandle',
|
|
path: '/standardsAssociation/feehandle/FeeHandle',
|
|
route: '1'
|
|
},
|
|
{
|
|
component: 'standardsAssociation/CertificateManagement',
|
|
id: 'standardsMemberInfo4-4-1',
|
|
meta: {
|
|
keepAlive: false,
|
|
internalOrExternal: false,
|
|
componentName: 'CertificateManagement',
|
|
title: '证书服务'
|
|
},
|
|
name: 'standardsAssociation/CertificateManagement',
|
|
path: '/standardsAssociation/CertificateManagement',
|
|
route: '1'
|
|
},
|
|
{
|
|
component: 'standardsAssociation/PaymentInfo/InvoiceInfo',
|
|
id: 'standardsInvoiceInfo4-4-3',
|
|
meta: {
|
|
keepAlive: false,
|
|
internalOrExternal: false,
|
|
componentName: 'InvoiceInfo',
|
|
title: '发票信息'
|
|
},
|
|
name: 'standardsAssociation-PaymentInfo-InvoiceInfo',
|
|
path: '/standardsAssociation/PaymentInfo/InvoiceInfo',
|
|
route: '1'
|
|
}
|
|
]
|
|
},
|
|
// {
|
|
// component: 'layouts/RouteView',
|
|
// id: 'standardsCertificateManagement4-3',
|
|
// meta: {
|
|
// keepAlive: false,
|
|
// internalOrExternal: false,
|
|
// componentName: 'CertificateManagement',
|
|
// title: '证书缴费'
|
|
// },
|
|
// name: 'standardsAssociation-CertificateManagement',
|
|
// path: '/standardsAssociation/CertificateManagement',
|
|
// route: '1',
|
|
// children: [
|
|
// {
|
|
// component: 'standardsAssociation/CertificateManagement',
|
|
// id: 'standardsCertificateManagement4-3-1',
|
|
// meta: {
|
|
// keepAlive: false,
|
|
// internalOrExternal: false,
|
|
// componentName: 'CertificateManagement',
|
|
// title: '证书申请'
|
|
// },
|
|
// name: 'standardsAssociation-CertificateManagement',
|
|
// path: '/standardsAssociation/CertificateManagement',
|
|
// route: '1'
|
|
// },
|
|
// {
|
|
// component: 'standardsAssociation/PaymentInfo/CertificateInfo',
|
|
// id: 'standardsCertificateInfo4-3-2',
|
|
// meta: {
|
|
// keepAlive: false,
|
|
// internalOrExternal: false,
|
|
// componentName: 'CertificateInfo',
|
|
// title: '项目查询'
|
|
// },
|
|
// name: 'standardsAssociation-PaymentInfo-CertificateInfo',
|
|
// path: '/standardsAssociation/PaymentInfo/CertificateInfo',
|
|
// route: '1'
|
|
// }
|
|
// ]
|
|
// },
|
|
|
|
{
|
|
component: 'standardsAssociation/vinCertificate/Authorization',
|
|
id: 'standardsAuthorization4-3-1',
|
|
hidden: true,
|
|
meta: {
|
|
keepAlive: false,
|
|
internalOrExternal: false,
|
|
componentName: 'Authorization',
|
|
title: '授权申请'
|
|
},
|
|
name: 'member-vinCertificate-Authorization',
|
|
path: '/standardsAssociation/vinCertificate/Authorization',
|
|
route: '1'
|
|
}
|
|
|
|
]
|
|
},
|
|
{
|
|
redirect: null,
|
|
path: '/mineProject/MineProject',
|
|
component: 'mineProject/MineProject',
|
|
route: '1',
|
|
meta: {
|
|
icon: 'cus_project', // 菜单前图标
|
|
componentName: 'MineProject',
|
|
keepAlive: false,
|
|
title: '项目' // 菜单名称
|
|
},
|
|
name: 'mine-project',
|
|
id: '7'
|
|
},
|
|
{
|
|
redirect: null,
|
|
path: '/meetingActivity/MeetingActivity',
|
|
component: 'meetingActivity/MeetingActivity',
|
|
route: '1',
|
|
meta: {
|
|
icon: 'cus_meeting', // 菜单前图标
|
|
componentName: 'MeetingActivity',
|
|
keepAlive: false,
|
|
title: '会议' // 菜单名称
|
|
},
|
|
name: 'meeting-activity',
|
|
id: '5'
|
|
},
|
|
{
|
|
redirect: null,
|
|
path: '/mineContract/MineContract',
|
|
component: 'mineContract/MineContract',
|
|
route: '1',
|
|
meta: {
|
|
icon: 'cus_contract', // 菜单前图标
|
|
componentName: 'MineContract',
|
|
keepAlive: false,
|
|
title: '合同' // 菜单名称
|
|
},
|
|
name: 'mine-contract',
|
|
id: '8'
|
|
},
|
|
|
|
|
|
// {
|
|
// redirect: null,
|
|
// path: '/dataDownload/DataDownload',
|
|
// component: 'dataDownload/DataDownload',
|
|
// route: '7',
|
|
// meta: {
|
|
// icon: 'cus_data-network-disk', // 菜单前图标
|
|
// componentName: 'DataDownload',
|
|
// keepAlive: false,
|
|
// title: '资料下载' // 菜单名称
|
|
// },
|
|
// name: 'data-download',
|
|
// id: '7'
|
|
// },
|
|
|
|
{
|
|
path: '/system/UserAnnouncementList',
|
|
component: 'system/UserAnnouncementList',
|
|
redirect: null,
|
|
hidden: true,
|
|
route: '1',
|
|
meta: {
|
|
icon: '', // 菜单前图标
|
|
componentName: 'UserAnnouncementList',
|
|
keepAlive: false,
|
|
title: '我的消息' // 菜单名称
|
|
},
|
|
name: 'user-announcement-list',
|
|
id: '9'
|
|
},
|
|
{
|
|
path: '/system/AccountCenter',
|
|
component: 'system/AccountCenter',
|
|
redirect: null,
|
|
hidden: true,
|
|
route: '1',
|
|
meta: {
|
|
icon: 'user', // 菜单前图标
|
|
componentName: 'AccountCenter',
|
|
keepAlive: false,
|
|
title: '个人中心' // 菜单名称
|
|
},
|
|
name: 'account-center',
|
|
id: '10'
|
|
},
|
|
{
|
|
path: '/subBidCommittee/SubBidCommitteeDetailPage',
|
|
component: 'subBidCommittee/SubBidCommitteeDetailPage',
|
|
redirect: null,
|
|
hidden: true,
|
|
route: '1',
|
|
meta: {
|
|
icon: '', // 菜单前图标
|
|
componentName: 'SubBidCommitteeDetailPage',
|
|
keepAlive: false,
|
|
title: '分标委详情' // 菜单名称
|
|
},
|
|
name: 'sub-bid-committee-detail-page',
|
|
id: '11'
|
|
},
|
|
{
|
|
path: '/standardsAssociation/CouncilDetailPage',
|
|
component: 'standardsAssociation/CouncilDetailPage',
|
|
redirect: null,
|
|
hidden: true,
|
|
route: '1',
|
|
meta: {
|
|
icon: '', // 菜单前图标
|
|
componentName: 'CouncilDetailPage',
|
|
keepAlive: false,
|
|
title: '理事会详情' // 菜单名称
|
|
},
|
|
name: 'council-detail-page',
|
|
id: '12'
|
|
},
|
|
{
|
|
path: '/MessagePage/PaymentVoucher',
|
|
component: 'MessagePage/PaymentVoucher',
|
|
redirect: null,
|
|
hidden: true,
|
|
route: '1',
|
|
meta: {
|
|
icon: '', // 菜单前图标
|
|
componentName: 'PaymentVoucher',
|
|
keepAlive: false,
|
|
title: '申请开票' // 菜单名称
|
|
},
|
|
name: 'payment-voucher',
|
|
id: '13'
|
|
},
|
|
{
|
|
path: '/workTeam/WorkTeamDetail',
|
|
component: 'workTeam/WorkTeamDetail',
|
|
redirect: null,
|
|
hidden: true,
|
|
route: '1',
|
|
meta: {
|
|
icon: '', // 菜单前图标
|
|
componentName: 'WorkTeamDetail',
|
|
keepAlive: false,
|
|
title: '工作组详情' // 菜单名称
|
|
},
|
|
name: 'work-team-detail',
|
|
id: '14'
|
|
},
|
|
{
|
|
path: "/standardsAssociation/problemCollection/problemCollectionDetailList",
|
|
component: 'standardsAssociation/problemCollection/ProblemCollectionDetailList',
|
|
redirect: null,
|
|
hidden: true,
|
|
route: '1',
|
|
meta: {
|
|
icon: '', // 菜单前图标
|
|
componentName: 'WorkTeamDetail',
|
|
keepAlive: false,
|
|
title: '问题征集详情' // 菜单名称
|
|
},
|
|
name: 'problem-collection-detail-list',
|
|
id: '15'
|
|
},
|
|
|
|
{
|
|
redirect: null,
|
|
path: '/companyUserList/CompanyUserList',
|
|
component: 'companyUserList/CompanyUserList',
|
|
route: '1',
|
|
meta: {
|
|
icon: 'team', // 菜单前图标
|
|
componentName: 'CompanyUserList',
|
|
keepAlive: false,
|
|
title: '人员信息' // 菜单名称
|
|
},
|
|
name: 'company-user-list',
|
|
id: '16'
|
|
},
|
|
]
|