723 lines
17 KiB
JavaScript
723 lines
17 KiB
JavaScript
export default {
|
|
code: 0,
|
|
data: [
|
|
{
|
|
path: '/home',
|
|
name: 'home',
|
|
component: 'home',
|
|
meta: {
|
|
title: 'message.router.home',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: true,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'iconfont icon-shouye',
|
|
},
|
|
},
|
|
{
|
|
path: '/rolePermissions',
|
|
name: 'rolePermissions',
|
|
component: 'rolePermissions',
|
|
meta: {
|
|
title: 'message.router.rolePermissions',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-user',
|
|
},
|
|
},
|
|
|
|
{
|
|
path: '/MeetingRoomReservation',
|
|
name: 'MeetingRoomReservation',
|
|
component: 'layout/routerView/parent',
|
|
redirect: '/MeetingRoomReservation/CreateMeetingRoom',
|
|
meta: {
|
|
title: 'message.router.MeetingRoomReservation',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-data-line',
|
|
},
|
|
children: [
|
|
{
|
|
path: '/MeetingRoomReservation/CreateMeetingRoom',
|
|
name: 'CreateMeetingRoom',
|
|
component: 'MeetingRoomReservation/CreateMeetingRoom',
|
|
meta: {
|
|
title: 'message.router.CreateMeetingRoom',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-data-board',
|
|
},
|
|
},
|
|
{
|
|
path: '/MeetingRoomReservation/CreateFunctionRoom',
|
|
name: 'CreateFunctionRoom',
|
|
component: 'MeetingRoomReservation/CreateFunctionRoom',
|
|
meta: {
|
|
title: 'message.router.CreateFunctionRoom',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-data-analysis',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
{
|
|
path: '/CampusCalendar',
|
|
name: 'CampusCalendar',
|
|
component: 'CampusCalendar',
|
|
meta: {
|
|
title: 'message.router.CampusCalendar',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-notebook-1',
|
|
},
|
|
},
|
|
|
|
{
|
|
path: '/PrincipalsMailbox',
|
|
name: 'PrincipalsMailbox',
|
|
component: 'layout/routerView/parent',
|
|
redirect: '/PrincipalsMailbox/LetterList',
|
|
meta: {
|
|
title: 'message.router.PrincipalsMailbox',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-message',
|
|
},
|
|
children: [
|
|
{
|
|
path: '/PrincipalsMailbox/LetterList',
|
|
name: 'LetterList',
|
|
component: 'PrincipalsMailbox/LetterList',
|
|
meta: {
|
|
title: 'message.router.LetterList',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-files',
|
|
},
|
|
},
|
|
{
|
|
path: '/PrincipalsMailbox/ResponsiblePersonManagement',
|
|
name: 'ResponsiblePersonManagement',
|
|
component: 'PrincipalsMailbox/ResponsiblePersonManagement',
|
|
meta: {
|
|
title: 'message.router.ResponsiblePersonManagement',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-user',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
|
|
{
|
|
path: '/StudentSafetyAttendance',
|
|
name: 'StudentSafetyAttendance',
|
|
component: 'layout/routerView/parent',
|
|
redirect: '/StudentSafetyAttendance/AttendanceForm',
|
|
meta: {
|
|
title: 'message.router.StudentSafetyAttendance',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-star-off',
|
|
},
|
|
children: [
|
|
{
|
|
path: '/StudentSafetyAttendance/AttendanceForm',
|
|
name: 'AttendanceForm',
|
|
component: 'StudentSafetyAttendance/AttendanceForm',
|
|
meta: {
|
|
title: 'message.router.AttendanceForm',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-tickets',
|
|
},
|
|
},
|
|
{
|
|
path: '/StudentSafetyAttendance/leavedRecord',
|
|
name: 'leavedRecord',
|
|
component: 'StudentSafetyAttendance/leavedRecord',
|
|
meta: {
|
|
title: 'message.router.leavedRecord',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-tickets',
|
|
},
|
|
},
|
|
{
|
|
path: '/StudentSafetyAttendance/SetAttendanceRules',
|
|
name: 'SetAttendanceRules',
|
|
component: 'StudentSafetyAttendance/SetAttendanceRules',
|
|
meta: {
|
|
title: 'message.router.SetAttendanceRules',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-thumb',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
|
|
{
|
|
path: '/morningAndAfternoonInspectionManagement',
|
|
name: 'morningAndAfternoonInspectionManagement',
|
|
component: 'layout/routerView/parent',
|
|
redirect: '/morningAndAfternoonInspectionManagement/Inspect',
|
|
meta: {
|
|
title: 'message.router.morningAndAfternoonInspectionManagement',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-bangzhu',
|
|
},
|
|
children: [
|
|
{
|
|
path: '/morningAndAfternoonInspectionManagement/Inspect',
|
|
name: 'Inspect',
|
|
component: 'morningAndAfternoonInspectionManagement/Inspect',
|
|
meta: {
|
|
title: 'message.router.Inspect',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-check',
|
|
},
|
|
},
|
|
{
|
|
path: '/morningAndAfternoonInspectionManagement/Statistics',
|
|
name: 'Statistics',
|
|
component: 'morningAndAfternoonInspectionManagement/Statistics',
|
|
meta: {
|
|
title: 'message.router.Statistics',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-edit-outline',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
|
|
{
|
|
path: '/moralEducationManagement',
|
|
name: 'moralEducationManagement',
|
|
component: 'layout/routerView/parent',
|
|
redirect: '/moralEducationManagement/MoralEducationEvaluation',
|
|
meta: {
|
|
title: 'message.router.moralEducationManagement',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-s-promotion',
|
|
},
|
|
children: [
|
|
{
|
|
path: '/moralEducationManagement/ccInformation',
|
|
name: 'ccInformation',
|
|
component: 'moralEducationManagement/ccInformation',
|
|
meta: {
|
|
title: 'message.router.ccInformation',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-edit',
|
|
},
|
|
},
|
|
{
|
|
path: '/moralEducationManagement/moralEducationEvaluation',
|
|
name: 'moralEducationEvaluation',
|
|
component: 'moralEducationManagement/moralEducationEvaluation',
|
|
meta: {
|
|
title: 'message.router.MoralEducationEvaluation',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-check',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
|
|
{
|
|
path: '/InterestClass',
|
|
name: 'InterestClass',
|
|
component: 'layout/routerView/parent',
|
|
redirect: '/InterestClass/InterestClassEntry',
|
|
meta: {
|
|
title: 'message.router.InterestClass',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-basketball',
|
|
},
|
|
children: [
|
|
{
|
|
path: '/InterestClass/InterestClassEntry',
|
|
name: 'InterestClassEntry',
|
|
component: 'InterestClass/InterestClassEntry',
|
|
meta: {
|
|
title: 'message.router.InterestClassEntry',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-files',
|
|
},
|
|
},
|
|
{
|
|
path: '/InterestClass/InterestCourseManagement',
|
|
name: 'InterestCourseManagement',
|
|
component: 'InterestClass/InterestCourseManagement',
|
|
meta: {
|
|
title: 'message.router.InterestCourseManagement',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-files',
|
|
},
|
|
},
|
|
{
|
|
path: '/InterestClass/abnormalStudentManagement',
|
|
name: 'abnormalStudentManagement',
|
|
component: 'InterestClass/abnormalStudentManagement',
|
|
meta: {
|
|
title: 'message.router.abnormalStudentManagement',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-warning-outline',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
|
|
{
|
|
path: '/PaymentSystem',
|
|
name: 'PaymentSystem',
|
|
component: 'layout/routerView/parent',
|
|
redirect: '/PaymentSystem/CreatePayment',
|
|
meta: {
|
|
title: 'message.router.PaymentSystem',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-connection',
|
|
},
|
|
children: [
|
|
{
|
|
path: '/PaymentSystem/CreatePayment',
|
|
name: 'CreatePayment',
|
|
component: 'PaymentSystem/CreatePayment',
|
|
meta: {
|
|
title: 'message.router.CreatePayment',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-document',
|
|
},
|
|
},
|
|
{
|
|
path: '/PaymentSystem/PaymentDetails',
|
|
name: 'PaymentDetails',
|
|
component: 'PaymentSystem/PaymentDetails',
|
|
meta: {
|
|
title: 'message.router.PaymentDetails',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-tickets',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
|
|
{
|
|
path: '/SmartVisitors',
|
|
name: 'SmartVisitors',
|
|
component: 'layout/routerView/parent',
|
|
redirect: '/SmartVisitors/HomeSchoolAddressBook',
|
|
meta: {
|
|
title: 'message.router.SmartVisitors',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-s-opportunity',
|
|
},
|
|
children: [
|
|
{
|
|
path: '/SmartVisitors/VisitorsRecord',
|
|
name: 'VisitorsRecord',
|
|
component: 'SmartVisitors/VisitorsRecord',
|
|
meta: {
|
|
title: 'message.router.VisitorsRecord',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-edit-outline',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
{
|
|
path: '/deviceManagement',
|
|
name: 'deviceManagement',
|
|
component: 'deviceManagement',
|
|
meta: {
|
|
title: 'message.router.deviceManagement',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-cpu',
|
|
},
|
|
},
|
|
// {
|
|
// path: '/attendanceMachineEquipmentManagement',
|
|
// name: 'attendanceMachineEquipmentManagement',
|
|
// component: 'attendanceMachineEquipmentManagement',
|
|
// meta: {
|
|
// title: 'message.router.attendanceMachineEquipmentManagement',
|
|
// isLink: '',
|
|
// isHide: false,
|
|
// isKeepAlive: true,
|
|
// isAffix: false,
|
|
// isIframe: false,
|
|
// roles: ['admin', 'common'],
|
|
// icon: 'el-icon-alarm-clock',
|
|
// },
|
|
// },
|
|
|
|
{
|
|
path: '/attendanceMachineEquipmentManagement',
|
|
name: 'attendanceMachineEquipmentManagement',
|
|
component: 'layout/routerView/parent',
|
|
redirect: '/attendanceMachineEquipmentManagement/attendanceMachineEquipmentManagement',
|
|
meta: {
|
|
title: 'message.router.attendanceMachineEquipmentManagement',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-brush',
|
|
},
|
|
children: [
|
|
{
|
|
path: '/attendanceMachineEquipmentManagement/attendanceMachineEquipmentManagement',
|
|
name: 'attendanceMachineEquipmentManagement/attendanceMachineEquipmentManagement',
|
|
component: 'attendanceMachineEquipmentManagement/attendanceMachineEquipmentManagement',
|
|
meta: {
|
|
title: 'message.router.attendanceMachineEquipmentManagement',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-alarm-clock',
|
|
},
|
|
},
|
|
{
|
|
path: '/attendanceMachineEquipmentManagement/devicelog',
|
|
name: 'attendanceMachineEquipmentManagement/devicelog',
|
|
component: 'attendanceMachineEquipmentManagement/devicelog',
|
|
meta: {
|
|
title: 'message.router.devicelog',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-notebook-2',
|
|
},
|
|
},
|
|
|
|
]
|
|
},
|
|
|
|
{
|
|
path: '/growthAlbumSection',
|
|
name: 'growthAlbumSection',
|
|
component: 'layout/routerView/parent',
|
|
redirect: '/growthAlbumSection/basicInFormation',
|
|
meta: {
|
|
title: 'message.router.growthAlbumSection',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-brush',
|
|
},
|
|
children: [
|
|
{
|
|
path: '/growthAlbumSection/dataItemConfiguration',
|
|
name: 'dataItemConfiguration',
|
|
component: 'growthAlbumSection/dataItemConfiguration',
|
|
meta: {
|
|
title: 'message.router.dataItemConfiguration',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-setting',
|
|
},
|
|
},
|
|
{
|
|
path: '/growthAlbumSection/basicInFormation',
|
|
name: 'basicInFormation',
|
|
component: 'growthAlbumSection/basicInFormation',
|
|
meta: {
|
|
title: 'message.router.basicInFormation',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-wallet',
|
|
},
|
|
},
|
|
{
|
|
path: '/growthAlbumSection/setScoreRules',
|
|
name: 'setScoreRules',
|
|
component: 'growthAlbumSection/setScoreRules',
|
|
meta: {
|
|
title: 'message.router.setScoreRules',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-link',
|
|
},
|
|
},
|
|
|
|
{
|
|
path: '/growthAlbumSection/pictureSetConfiguration',
|
|
name: 'pictureSetConfiguration',
|
|
component: 'growthAlbumSection/pictureSetConfiguration',
|
|
meta: {
|
|
title: 'message.router.pictureSetConfiguration',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-picture-outline',
|
|
},
|
|
},
|
|
{
|
|
path: '/growthAlbumSection/schoolAlbumManagement',
|
|
name: 'schoolAlbumManagement',
|
|
component: 'growthAlbumSection/schoolAlbumManagement',
|
|
meta: {
|
|
title: 'message.router.schoolAlbumManagement',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-wallet',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
{
|
|
path: '/facultyInformation',
|
|
name: 'facultyInformation',
|
|
component: 'facultyInformation',
|
|
meta: {
|
|
title: 'message.router.facultyInformation',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-magic-stick',
|
|
},
|
|
},
|
|
{
|
|
path: '/recipe',
|
|
name: 'recipe',
|
|
component: 'recipe',
|
|
meta: {
|
|
title: 'message.router.recipe',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-s-opportunity',
|
|
},
|
|
},
|
|
{
|
|
path: '/evaluate',
|
|
name: 'evaluate',
|
|
component: 'evaluate',
|
|
meta: {
|
|
title: 'message.router.evaluate',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-connection',
|
|
},
|
|
},
|
|
{
|
|
path: '/classList/classList',
|
|
name: 'classList',
|
|
component: 'classList/classList',
|
|
meta: {
|
|
title: 'message.router.classList',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-coordinate',
|
|
},
|
|
},
|
|
{
|
|
path: '/department',
|
|
name: 'department',
|
|
component: 'department',
|
|
meta: {
|
|
title: 'message.router.department',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-collection',
|
|
},
|
|
},
|
|
{
|
|
path: '/regulation',
|
|
name: 'regulation',
|
|
component: 'regulation',
|
|
meta: {
|
|
title: 'message.router.regulation',
|
|
isLink: '',
|
|
isHide: false,
|
|
isKeepAlive: true,
|
|
isAffix: false,
|
|
isIframe: false,
|
|
roles: ['admin', 'common'],
|
|
icon: 'el-icon-collection',
|
|
},
|
|
},
|
|
],
|
|
};
|