fix: restore assistant and move exam navigation

fix/exam-question-access-material-excel-delete-draft
chenyuan 4 weeks ago
parent e5a7183285
commit 5d5cdee83d

@ -146,10 +146,16 @@ const mentList = ref([
role: 2,
activePrefix: "/admin-student",
},
{
name: "考试考核",
path: "/examination/index",
role: 4,
activePrefix: "/examination",
},
{
name: "实验报告",
path: "/report/index",
role: 4,
role: 4,
},
{
name: "BI可视化",

@ -294,6 +294,7 @@ const sidebarStyle = computed(() => {
};
});
const studentCourseNav = [
{ title: "AI智能助手", path: "/assistant/index", activePrefix: "/assistant" },
{
title: "互联网产品开发基础",
children: [
@ -393,13 +394,14 @@ const trainingTaskKeyByPath = {
"/assessment/diagnosis": "product-diagnosis-iteration",
};
const studentCourseBaseNav = [
{ title: "考试考核", path: "/examination/index", activePrefix: "/examination" },
{ title: "AI智能助手", path: "/assistant/index", activePrefix: "/assistant" },
];
const studentTaskSections = ref([]);
const currentCourseNav = computed(() => (isTeacherRole.value
? filterTeacherManageNavigation(teacherManageNav)
: [...studentCourseBaseNav, ...studentTaskSections.value]));
const studentIconByPath = {
"/assistant/index": "MagicStick",
"/comprehensive/index": "School",
"/foundation/new-product-survey": "Search",
"/foundation/product-development-factors": "SetUp",
@ -435,7 +437,6 @@ const studentIconByPath = {
"/task-review/index": "DocumentChecked",
"/score/index": "DataBoard",
"/exam/index": "Finished",
"/examination/index": "Finished",
};
const studentIconBySectionStart = [
{ path: "/training/", icon: "Document" },

Loading…
Cancel
Save