|
@@ -32,14 +32,16 @@
|
|
|
v-if="team_status == 'PROGRESS'"
|
|
|
@click="postpone"
|
|
|
style="margin-bottom: 20px"
|
|
|
- >课程顺延</el-button>
|
|
|
+ >课程顺延</el-button
|
|
|
+ >
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
v-permission="'/memberClassList'"
|
|
|
v-if="courseViewType == 2 && team_status == 'PROGRESS'"
|
|
|
@click="gotoMemberCourse"
|
|
|
style="margin-bottom: 20px"
|
|
|
- >会员课程排课</el-button>
|
|
|
+ >会员课程排课</el-button
|
|
|
+ >
|
|
|
<!-- <div
|
|
|
class="newBand"
|
|
|
style="width: 120px"
|
|
@@ -236,7 +238,9 @@
|
|
|
</div>
|
|
|
<div
|
|
|
class="add"
|
|
|
- v-if="permission('classGroup/revisionAddClassGroup')"
|
|
|
+ v-if="
|
|
|
+ permission('classGroup/revisionAddClassGroup') && tenantId == 1
|
|
|
+ "
|
|
|
@click="addNewClass('MUSIC_NETWORK')"
|
|
|
>
|
|
|
新建乐团网管课
|
|
@@ -427,6 +431,7 @@
|
|
|
prop="type"
|
|
|
>
|
|
|
<el-select
|
|
|
+ v-if="tenantId == 1"
|
|
|
v-model.trim="newClassForm.type"
|
|
|
clearable
|
|
|
@change="chioseHightype"
|
|
@@ -438,6 +443,21 @@
|
|
|
:value="item.value"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
+ <el-select
|
|
|
+ v-else
|
|
|
+ v-model.trim="newClassForm.type"
|
|
|
+ clearable
|
|
|
+ @change="chioseHightype"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(item, index) in highTypeList1"
|
|
|
+ :key="index"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+
|
|
|
+ <!-- highTypeList1 -->
|
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
|
label="主教老师"
|
|
@@ -836,6 +856,7 @@ export default {
|
|
|
{ value: "HIGH", label: "基础技能班" },
|
|
|
{ value: "HIGH_ONLINE", label: "线上基础技能班" },
|
|
|
],
|
|
|
+ highTypeList1: [{ value: "HIGH", label: "基础技能班" }],
|
|
|
cooperationList: [],
|
|
|
singleList: [],
|
|
|
activeSingleLists: [],
|
|
@@ -893,6 +914,7 @@ export default {
|
|
|
team_status: "",
|
|
|
activeList: [],
|
|
|
courseViewType: "",
|
|
|
+ tenantId: null,
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -901,7 +923,11 @@ export default {
|
|
|
// activated() {
|
|
|
// this.init();
|
|
|
// },
|
|
|
- mounted() {},
|
|
|
+ mounted() {
|
|
|
+ let tenantConfig = sessionStorage.getItem("tenantConfig");
|
|
|
+ tenantConfig = tenantConfig ? JSON.parse(tenantConfig) : {};
|
|
|
+ this.tenantId = tenantConfig.tenantId;
|
|
|
+ },
|
|
|
methods: {
|
|
|
permission(val) {
|
|
|
return permission(val);
|