Commit bdcde38f authored by baixian's avatar baixian

左侧导航

parent 8ba97fa7
......@@ -26,6 +26,19 @@ export default {
path: '/sjd/student',
relativePath: ['/sjd/student', '/sjd/studentinfo/:id', '/sjd/studentclass/:id'],
},
{
id: '6',
name: '课程管理',
isFather: false,
style: {
width: '20px',
height: '20px',
},
activeurl: `${__IMGCDN__}menu/courseactive.png`,
notactiveurl: `${__IMGCDN__}menu/course.png`,
path: '/sjd/course',
relativePath: ['/sjd/course'],
},
{
id: '3',
name: '班级管理',
......@@ -53,69 +66,82 @@ export default {
relativePath: ['/sjd/teacher', '/sjd/teacherinfo/:id'],
},
{
id: '6',
name: '课程管理',
id: '7',
name: '机构管理',
isFather: false,
style: {
width: '20px',
height: '20px',
},
activeurl: `${__IMGCDN__}menu/courseactive.png`,
notactiveurl: `${__IMGCDN__}menu/course.png`,
path: '/sjd/course',
relativePath: ['/sjd/course'],
activeurl: `${__IMGCDN__}menu/orgmgtactive.png`,
notactiveurl: `${__IMGCDN__}menu/orgmgt.png`,
path: '/sjd/institutions',
relativePath: ['/sjd/institutions', '/sjd/schooledit'],
},
{
id: '7',
name: '机构管理',
id: '9',
name: '微官网管理',
isFather: false,
style: {
width: '20px',
height: '20px',
},
activeurl: `${__IMGCDN__}menu/orgmgtactive.png`,
notactiveurl: `${__IMGCDN__}menu/orgmgt.png`,
path: '/sjd/institutions',
relativePath: ['/sjd/institutions', '/sjd/schooledit'],
activeurl: `${__IMGCDN__}menu/webactive.png`,
notactiveurl: `${__IMGCDN__}menu/web.png`,
path: '/sjd/officialweb',
relativePath: ['/sjd/officialweb', '/sjd/officialwebeditor'],
},
{
id: '2',
name: '小程序管理',
id: '10',
name: '积分管理',
isFather: false,
style: {
width: '20px',
height: '20px',
},
activeurl: `${__IMGCDN__}menu/minappactive.png`,
notactiveurl: `${__IMGCDN__}menu/minapp.png`,
isFather: true,
subMenues: [
{
id: '8',
fatherId: '2',
name: '微官网管理',
style: {
width: '20px',
height: '20px',
},
isFather: false,
noIcon: true,
path: '/sjd/officialweb',
relativePath: ['/sjd/officialweb', '/sjd/officialwebeditor'],
},
{
id: '9',
fatherId: '2',
name: '积分管理',
style: {
width: '20px',
height: '20px',
},
isFather: false,
noIcon: true,
path: '/sjd/integralmanage',
relativePath: ['/sjd/integralmanage', '/sjd/integralmanage'],
},
],
activeurl: `${__IMGCDN__}menu/scoreactive.png`,
notactiveurl: `${__IMGCDN__}menu/score.png`,
path: '/sjd/integralmanage',
relativePath: ['/sjd/integralmanage', '/sjd/integralmanage'],
},
// {
// id: '2',
// name: '小程序管理',
// style: {
// width: '20px',
// height: '20px',
// },
// activeurl: `${__IMGCDN__}menu/minappactive.png`,
// notactiveurl: `${__IMGCDN__}menu/minapp.png`,
// isFather: true,
// subMenues: [
// {
// id: '8',
// fatherId: '2',
// name: '微官网管理',
// style: {
// width: '20px',
// height: '20px',
// },
// isFather: false,
// noIcon: true,
// path: '/sjd/officialweb',
// relativePath: ['/sjd/officialweb', '/sjd/officialwebeditor'],
// },
// {
// id: '9',
// fatherId: '2',
// name: '积分管理',
// style: {
// width: '20px',
// height: '20px',
// },
// isFather: false,
// noIcon: true,
// path: '/sjd/integralmanage',
// relativePath: ['/sjd/integralmanage', '/sjd/integralmanage'],
// },
// ],
// },
],
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment