Browse Source

Merge branch 'wxl_01_15' into online

lex-xin 4 years ago
parent
commit
a3f6a73189
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/resetTeaming/modals/subject-preview.vue

+ 1 - 1
src/views/resetTeaming/modals/subject-preview.vue

@@ -35,7 +35,7 @@
 			</el-row>
 			<!-- 可选课程信息集合 -->
 			<template v-for="(item, index) in courseInfo">
-				<el-row class="option-row" :key="index" @click.native="onCourseChange(item)" v-if="courseViewType == 0">
+				<el-row class="option-row" :key="index" @click.native="onCourseChange(item)" v-if="courseViewType == 0 && !item.isStudentOptional">
 					<el-col :span="12">
 						<i class="check_default" :class="[item.isStatus ? 'check_active' : '', !item.isStudentOptional ? 'disabled' : '']"></i><template v-if="item.courseType == 'PROJECT'">{{ item.name }}</template><template v-else>{{ item.courseType | coursesType }}</template>
 					</el-col>