初始化
This commit is contained in:
+603
@@ -0,0 +1,603 @@
|
||||
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/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": "/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"
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,290 @@
|
||||
{
|
||||
"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": "/tools",
|
||||
"name": "tools",
|
||||
"component": "tools",
|
||||
"meta": {
|
||||
"title": "message.router.tools",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-gongju"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/menu",
|
||||
"name": "menu",
|
||||
"component": "layout/routerView/parent",
|
||||
"redirect": "/menu/menu1",
|
||||
"meta": {
|
||||
"title": "message.router.menu",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-caidan"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"path": "/menu/menu1",
|
||||
"name": "menu1",
|
||||
"component": "layout/routerView/parent",
|
||||
"redirect": "/menu/menu1/menu11",
|
||||
"meta": {
|
||||
"title": "message.router.menu1",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-caidan"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"path": "/menu/menu1/menu11",
|
||||
"name": "menu11",
|
||||
"component": "menu/menu1/menu11/index",
|
||||
"meta": {
|
||||
"title": "message.router.menu11",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-caidan"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/menu/menu1/menu12",
|
||||
"name": "menu12",
|
||||
"component": "layout/routerView/parent",
|
||||
"redirect": "/menu/menu1/menu12/menu121",
|
||||
"meta": {
|
||||
"title": "message.router.menu12",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-caidan"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"path": "/menu/menu1/menu12/menu121",
|
||||
"name": "menu121",
|
||||
"component": "menu/menu1/menu12/menu121/index",
|
||||
"meta": {
|
||||
"title": "message.router.menu121",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-caidan"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/menu/menu1/menu12/menu122",
|
||||
"name": "menu122",
|
||||
"component": "menu/menu1/menu12/menu122/index",
|
||||
"meta": {
|
||||
"title": "message.router.menu122",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-caidan"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/menu/menu1/menu13",
|
||||
"name": "menu13",
|
||||
"component": "menu/menu1/menu13/index",
|
||||
"meta": {
|
||||
"title": "message.router.menu13",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-caidan"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/menu/menu2",
|
||||
"name": "menu2",
|
||||
"component": "menu/menu2/index",
|
||||
"meta": {
|
||||
"title": "message.router.menu2",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-caidan"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/fun",
|
||||
"name": "funIndex",
|
||||
"component": "layout/routerView/parent",
|
||||
"redirect": "/fun/tagsView",
|
||||
"meta": {
|
||||
"title": "message.router.funIndex",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-crew_feature"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"path": "/fun/tagsView",
|
||||
"name": "funTagsView",
|
||||
"component": "fun/tagsView/index",
|
||||
"meta": {
|
||||
"title": "message.router.funTagsView",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "el-icon-thumb"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/fun/signCanvas",
|
||||
"name": "funSignCanvas",
|
||||
"component": "fun/signCanvas/index",
|
||||
"meta": {
|
||||
"title": "message.router.funSignCanvas",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "el-icon-edit"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/pages",
|
||||
"name": "pagesIndex",
|
||||
"component": "layout/routerView/parent",
|
||||
"redirect": "/pages/formAdapt",
|
||||
"meta": {
|
||||
"title": "message.router.pagesIndex",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-fuzhiyemian"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"path": "/pages/formAdapt",
|
||||
"name": "pagesFormAdapt",
|
||||
"component": "pages/formAdapt/index",
|
||||
"meta": {
|
||||
"title": "message.router.pagesFormAdapt",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-biaodan"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/personal",
|
||||
"name": "personal",
|
||||
"component": "personal/index",
|
||||
"meta": {
|
||||
"title": "message.router.personal",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-gerenzhongxin"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/link",
|
||||
"name": "layoutLinkView",
|
||||
"component": "layout/routerView/parent",
|
||||
"meta": {
|
||||
"title": "message.router.layoutLinkView",
|
||||
"isLink": "https://element-plus.gitee.io/#/zh-CN/component/installation",
|
||||
"isHide": false,
|
||||
"isKeepAlive": false,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin"],
|
||||
"icon": "iconfont icon-caozuo-wailian"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/iframes",
|
||||
"name": "layoutIfameView",
|
||||
"component": "layout/routerView/parent",
|
||||
"meta": {
|
||||
"title": "message.router.layoutIfameView",
|
||||
"isLink": "https://element-plus.gitee.io/zh-CN/#/zh-CN/component/installation",
|
||||
"isHide": false,
|
||||
"isKeepAlive": false,
|
||||
"isAffix": true,
|
||||
"isIframe": true,
|
||||
"roles": ["admin"],
|
||||
"icon": "iconfont icon-neiqianshujuchucun"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta
|
||||
name="keywords"
|
||||
content="vue-next-admin,vue-prev-admin,vue-admin-wonderful,后台管理系统一站式平台模板,希望可以帮你完成快速开发。vue2.x,vue2.0,vue2,vue3,vue3.x,vue3.0,CompositionAPI,typescript,element plus,element,plus,admin,wonderful,wonderful-next,vue-next-admin,vite,vite-admin,快速,高效,后台模板,后台系统,管理系统"
|
||||
/>
|
||||
<meta
|
||||
name="description"
|
||||
content="vue-next-admin,基于 vue3 + CompositionAPI + typescript + vite + element plus,适配手机、平板、pc 的后台开源管理系统模板!vue-prev-admin,基于 vue2 + element ui,适配手机、平板、pc 的后台开源管理系统模板!"
|
||||
/>
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||
<title>数字校园教育管理平台</title>
|
||||
</head>
|
||||
<script src="https://g.alicdn.com/dingding/h5-dingtalk-login/0.21.0/ddlogin.js"></script>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="text/javascript">
|
||||
var _hmt = _hmt || [];
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src = 'https://hm.baidu.com/hm.js?9d1e524198ede8205ac7c938c243344c';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,227 @@
|
||||
{
|
||||
"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": "/tools",
|
||||
"name": "tools",
|
||||
"component": "tools",
|
||||
"meta": {
|
||||
"title": "message.router.tools",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin"],
|
||||
"icon": "iconfont icon-gongju"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/menu",
|
||||
"name": "menu",
|
||||
"component": "layout/routerView/parent",
|
||||
"redirect": "/menu/menu1",
|
||||
"meta": {
|
||||
"title": "message.router.menu",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin"],
|
||||
"icon": "iconfont icon-caidan"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"path": "/menu/menu1",
|
||||
"name": "menu1",
|
||||
"component": "layout/routerView/parent",
|
||||
"redirect": "/menu/menu1/menu11",
|
||||
"meta": {
|
||||
"title": "message.router.menu1",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-caidan"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"path": "/menu/menu1/menu11",
|
||||
"name": "menu11",
|
||||
"component": "menu/menu1/menu11/index",
|
||||
"meta": {
|
||||
"title": "message.router.menu11",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-caidan"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/menu/menu1/menu12",
|
||||
"name": "menu12",
|
||||
"component": "layout/routerView/parent",
|
||||
"redirect": "/menu/menu1/menu12/menu121",
|
||||
"meta": {
|
||||
"title": "message.router.menu12",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-caidan"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"path": "/menu/menu1/menu12/menu121",
|
||||
"name": "menu121",
|
||||
"component": "menu/menu1/menu12/menu121/index",
|
||||
"meta": {
|
||||
"title": "message.router.menu121",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-caidan"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/menu/menu1/menu12/menu122",
|
||||
"name": "menu122",
|
||||
"component": "menu/menu1/menu12/menu122/index",
|
||||
"meta": {
|
||||
"title": "message.router.menu122",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-caidan"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/menu/menu1/menu13",
|
||||
"name": "menu13",
|
||||
"component": "menu/menu1/menu13/index",
|
||||
"meta": {
|
||||
"title": "message.router.menu13",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-caidan"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/menu/menu2",
|
||||
"name": "menu2",
|
||||
"component": "menu/menu2/index",
|
||||
"meta": {
|
||||
"title": "message.router.menu2",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-caidan"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/fun",
|
||||
"name": "funIndex",
|
||||
"component": "layout/routerView/parent",
|
||||
"redirect": "/fun/tagsView",
|
||||
"meta": {
|
||||
"title": "message.router.funIndex",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "iconfont icon-crew_feature"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"path": "/fun/tagsView",
|
||||
"name": "funTagsView",
|
||||
"component": "fun/tagsView/index",
|
||||
"meta": {
|
||||
"title": "message.router.funTagsView",
|
||||
"isLink": "",
|
||||
"isHide": false,
|
||||
"isKeepAlive": true,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin", "common"],
|
||||
"icon": "el-icon-thumb"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/link",
|
||||
"name": "layoutLinkView",
|
||||
"component": "layout/routerView/parent",
|
||||
"meta": {
|
||||
"title": "message.router.layoutLinkView",
|
||||
"isLink": "https://element-plus.gitee.io/#/zh-CN/component/installation",
|
||||
"isHide": false,
|
||||
"isKeepAlive": false,
|
||||
"isAffix": false,
|
||||
"isIframe": false,
|
||||
"roles": ["admin"],
|
||||
"icon": "iconfont icon-caozuo-wailian"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/iframes",
|
||||
"name": "layoutIfameView",
|
||||
"component": "layout/routerView/parent",
|
||||
"meta": {
|
||||
"title": "message.router.layoutIfameView",
|
||||
"isLink": "https://gitee.com/lyt-top/vue-next-admin",
|
||||
"isHide": false,
|
||||
"isKeepAlive": false,
|
||||
"isAffix": true,
|
||||
"isIframe": true,
|
||||
"roles": ["admin"],
|
||||
"icon": "iconfont icon-neiqianshujuchucun"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// 后台路由示例表字段说明
|
||||
const menu = {
|
||||
// 设置路由路径
|
||||
"path": "/home",
|
||||
// 命名路由
|
||||
"name": "home",
|
||||
// 设置路由组件
|
||||
"component": "home",
|
||||
"meta": {
|
||||
// 设置菜单名称,使用i18n引入,没有中文切换要求也可以直接填写
|
||||
"title": "message.router.home",
|
||||
// 设置外部嵌入外部链接
|
||||
"isLink": "",
|
||||
// 设置是否隐藏
|
||||
"isHide": false,
|
||||
// 设置是否缓存
|
||||
"isKeepAlive": true,
|
||||
// 设置是否一直固定头部不能被删除
|
||||
"isAffix": true,
|
||||
// 设置是否开启内嵌
|
||||
"isIframe": false,
|
||||
// 角色字段
|
||||
"roles": ["admin", "common"],
|
||||
// 设置图标
|
||||
"icon": "iconfont icon-shouye"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user