@@ -29,7 +29,7 @@
<el-form-item
label="助教老师"
prop="assistant"
- v-if="activeType!='HIGH'&&activeType!='HIGH_ONLINE'"
+ v-if="type!='HIGH'&&type!='HIGH_ONLINE'"
>
<el-select
v-model.trim="form.assistant"
@@ -55,7 +55,6 @@
</div>
</template>
<script>
-import { practiceCourseTeacherAdjust } from '@/api/buildTeam'
export default {
props: ['teacherList', 'cooperationList', 'detail', 'activeType'],
data() {
@@ -66,6 +65,11 @@ export default {
},
}
+ computed: {
+ type() {
+ return this.detail?.type
+ }
+ },
mounted() {
console.log(this.detail)
const row = this.detail
@@ -105,7 +105,6 @@
type="text"
@click="resetTeacher(scope.row)"
v-permission="'classGroup/classGroupUpdate'"
- v-if="scope.row.type != 'MUSIC_NETWORK'"
>老师调整</el-button
<el-button