Browse Source

修改乐团老师

1
mo 3 years ago
parent
commit
d2e1c39889
1 changed files with 15 additions and 1 deletions
  1. 15 1
      src/views/teamBuild/components/teamBaseInfo.vue

+ 15 - 1
src/views/teamBuild/components/teamBaseInfo.vue

@@ -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,
@@ -979,6 +991,7 @@ export default {
               homeworkPushFlag: this.topFrom.homeworkPushFlag,
               isGiveAccessories: this.topFrom.isGiveAccessories,
               memberCourseShowFlag: this.topFrom.memberCourseShowFlag,
+              extracurricularTeacher:this.topFrom.extracurricularTeacher
             };
             // obj.musicGroupPaymentEntities = [];
             // createTeam
@@ -1338,6 +1351,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) {