提交 c46ec3e8 authored 作者: 王鹏飞's avatar 王鹏飞

chore: 隐藏课程评估

上级 b336ad4b
...@@ -72,10 +72,10 @@ export default { ...@@ -72,10 +72,10 @@ export default {
return return
} }
// 课程大作业 // 课程大作业
if (data.id === 'course_work' && !this.data.survey) { // if (data.id === 'course_work' && !this.data.survey) {
this.$message(this.$t('viewerMain.teachingEvaluationTips')) // this.$message(this.$t('viewerMain.teachingEvaluationTips'))
return // return
} // }
// 教学评估 // 教学评估
if (data.id === 'teach_evaluation') { if (data.id === 'teach_evaluation') {
const { sid, cid } = this.$route.params const { sid, cid } = this.$route.params
......
...@@ -107,8 +107,8 @@ export default { ...@@ -107,8 +107,8 @@ export default {
const customeChapter = { const customeChapter = {
name: this.$t('viewerMain.workData'), name: this.$t('viewerMain.workData'),
children: [ children: [
{ name: this.$t('viewerMain.courseData'), id: 'course_info', type: 100 }, { name: this.$t('viewerMain.courseData'), id: 'course_info', type: 100 }
{ name: this.$t('viewerMain.teachingEvaluation'), id: 'teach_evaluation', type: 102 } // { name: this.$t('viewerMain.teachingEvaluation'), id: 'teach_evaluation', type: 102 }
] ]
} }
// 课程大作业 // 课程大作业
......
...@@ -47,8 +47,8 @@ export default { ...@@ -47,8 +47,8 @@ export default {
chapters() { chapters() {
const chapters = this.course.chapters || [] const chapters = this.course.chapters || []
const customeChapter = [ const customeChapter = [
{ name: this.$t('viewerMain.courseData'), id: 'course_info', type: 100 }, { name: this.$t('viewerMain.courseData'), id: 'course_info', type: 100 }
{ name: this.$t('viewerMain.teachingEvaluation'), id: 'teach_evaluation', type: 102 } // { name: this.$t('viewerMain.teachingEvaluation'), id: 'teach_evaluation', type: 102 }
] ]
// 课程大作业 // 课程大作业
if (this.course.curriculum && this.course.curriculum.curriculum_essay) { if (this.course.curriculum && this.course.curriculum.curriculum_essay) {
...@@ -75,10 +75,10 @@ export default { ...@@ -75,10 +75,10 @@ export default {
return return
} }
// 课程大作业 // 课程大作业
if (data.id === 'course_work' && !this.course.survey) { // if (data.id === 'course_work' && !this.course.survey) {
this.$message(this.$t('viewerMain.teachingEvaluationTips')) // this.$message(this.$t('viewerMain.teachingEvaluationTips'))
return // return
} // }
// 教学评估 // 教学评估
if (data.id === 'teach_evaluation') { if (data.id === 'teach_evaluation') {
const { sid, cid } = this.$route.params const { sid, cid } = this.$route.params
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论