扬工院教学管理隐藏班级管理

This commit is contained in:
fan 2023-05-11 15:21:46 +08:00
parent 5887fada7a
commit d13dc9696e

View File

@ -29,7 +29,7 @@ import LessonIcon from '@/assets/teachManage/lesson.png';
import ExamIcon from '@/assets/teachManage/exam.png';
import RuleIcon from '@/assets/teachManage/rule.png';
import drapLeft from '@/views/components/drapLeft/index';
import { getSessionStorage } from '@/utils/auth';
export default {
name: 'Organization',
components: {
@ -75,6 +75,15 @@ export default {
}
},
mounted() {
const project = getSessionStorage('project');
console.log(project, 'project');
if (project === 'richorygy') {
this.menuList = [
{name: '实训管理', path: '/teaching/organization/trainingManage', imgUrl: RuleIcon},
{name: '理论题目管理', path: '/teaching/organization/theoryManage', imgUrl: LessonIcon},
{name: '考试管理', path: '/teaching/organization/examManage', imgUrl: ExamIcon}
];
}
this.defaultIndex = this.$route.path;
},
methods:{