|
@@ -5,7 +5,7 @@
|
|
|
<el-form
|
|
|
:model="topFrom"
|
|
|
ref="topinfo"
|
|
|
- label-width="120px"
|
|
|
+ label-width="150px"
|
|
|
:inline="true"
|
|
|
label-position="left"
|
|
|
>
|
|
@@ -235,6 +235,17 @@
|
|
|
value="LEASE"></el-option>-->
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="课外训练布置老师" prop="extracurricularTeacher" v-if="tenantId ==1">
|
|
|
+ <el-select
|
|
|
+ v-model.trim="topFrom.extracurricularTeacher"
|
|
|
+ :disabled="basdisabled"
|
|
|
+ >
|
|
|
+ <el-option label="声部班老师" value="NORMAL"></el-option>
|
|
|
+ <el-option label="合奏班老师" value="MIX"></el-option>
|
|
|
+ <!-- <el-option label="租赁"
|
|
|
+ value="LEASE"></el-option>-->
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<!-- v-if="teamStatus == 'resetTeam' || teamStatus == 'teamList'" -->
|
|
|
|
|
|
<div class="head">人员配置:</div>
|
|
@@ -502,6 +513,7 @@ export default {
|
|
|
ownershipType: "OWN", // 合作机构类型
|
|
|
repairUserId: null, // 维修技师
|
|
|
transactionTeacherId: null, // 衔接老师
|
|
|
+ extracurricularTeacher:'NORMAL'
|
|
|
},
|
|
|
baseInfo: {},
|
|
|
money: 580,
|
|
@@ -750,6 +762,7 @@ export default {
|
|
|
// 如果是新建团
|
|
|
|
|
|
let sotrage = JSON.parse(localStorage.getItem(`newTeambase`));
|
|
|
+ console.log(sotrage,this.topFrom)
|
|
|
sotrage ? (this.topFrom = sotrage) : this.topFrom;
|
|
|
if (this.topFrom?.section) {
|
|
|
// 获取员工
|
|
@@ -979,6 +992,7 @@ export default {
|
|
|
homeworkPushFlag: this.topFrom.homeworkPushFlag,
|
|
|
isGiveAccessories: this.topFrom.isGiveAccessories,
|
|
|
memberCourseShowFlag: this.topFrom.memberCourseShowFlag,
|
|
|
+ extracurricularTeacher:this.topFrom.extracurricularTeacher
|
|
|
};
|
|
|
// obj.musicGroupPaymentEntities = [];
|
|
|
// createTeam
|
|
@@ -1098,6 +1112,7 @@ export default {
|
|
|
homeworkPushFlag: 1,
|
|
|
isGiveAccessories: 0,
|
|
|
memberCourseShowFlag: 0,
|
|
|
+ extracurricularTeacher:'NORMAL'
|
|
|
};
|
|
|
this.$refs["topinfo"].resetFields();
|
|
|
},
|
|
@@ -1338,6 +1353,7 @@ export default {
|
|
|
this.topFrom.homeworkPushFlag = res.data.musicGroup.homeworkPushFlag;
|
|
|
this.topFrom.isGiveAccessories = res.data.musicGroup.isGiveAccessories ? 1 : 0;
|
|
|
this.topFrom.memberCourseShowFlag = res.data.musicGroup.memberCourseShowFlag ? 1 : 0;
|
|
|
+ this.topFrom.extracurricularTeacher = res.data.musicGroup.extracurricularTeacher
|
|
|
localStorage.setItem(`${this.teamid}base`, JSON.stringify(this.topFrom));
|
|
|
},
|
|
|
changeType(val) {
|