|
@@ -19,10 +19,10 @@
|
|
|
:value="item.value"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item>
|
|
|
+ <!-- <el-form-item>
|
|
|
<div class="newBand"
|
|
|
@click="search">搜索</div>
|
|
|
- </el-form-item>
|
|
|
+ </el-form-item> -->
|
|
|
<!-- <el-form-item>
|
|
|
<div class="newBand"
|
|
|
@click="startRegest">开启报名</div>
|
|
@@ -97,8 +97,10 @@
|
|
|
<!-- v-if="scope.row.type !='MIX'" -->
|
|
|
<el-button type="text"
|
|
|
@click="resetClass(scope.row)"
|
|
|
+ v-permission="'classGroupStudent/updateClassGroupStudents'"
|
|
|
v-if="scope.row.type != 'MUSIC_NETWORK'">学员调整</el-button>
|
|
|
<el-button type="text"
|
|
|
+ v-if="permission('classGroup/classGroupUpdate') || permission('classGroup/revisionClassGroup') || permission('classGroup/revisionAddClassGroup')"
|
|
|
@click="classAdjustment(scope.row)">班级调整</el-button>
|
|
|
<!--<el-button type="text"
|
|
|
@click="recourse(scope.row)">重新排课</el-button>-->
|
|
@@ -769,6 +771,7 @@ import viewStudentList from './modals/view-student-list'
|
|
|
import selectStudent from './modals/select-student'
|
|
|
import classroomSetting from './modals/classroom-setting'
|
|
|
import qs from "qs";
|
|
|
+import permission from '@/utils/directivePage'
|
|
|
export default {
|
|
|
name: "tresetClass",
|
|
|
components: {
|
|
@@ -908,6 +911,9 @@ export default {
|
|
|
},
|
|
|
mounted () { },
|
|
|
methods: {
|
|
|
+ permission(val) {
|
|
|
+ return permission(val)
|
|
|
+ },
|
|
|
init () {
|
|
|
this.teamid = this.$route.query.id;
|
|
|
// 根据乐团id获取乐团所属分部
|