lex-xin 5 år sedan
förälder
incheckning
45ca4b3f3a

+ 2 - 1
src/views/teamBuild/teamSeting/components/coursePlan.vue

@@ -1,6 +1,6 @@
 <template>
   <div class='father-Wrap'>
-    <div class="topWrap">
+    <div class="topWrap" v-if="type != 'resetTeam'">
       <el-page-header @back="goback"
                       style='padding-bottom:30px;'
                       content="批量排课">
@@ -272,6 +272,7 @@ export default {
   // },
   data () {
     return {
+      type: this.$route.query.type, // 当前页面类型
       resetAllClassVisible: false, //修改合奏课弹窗
       openSignListVisible: false, // 修改单个单技课的弹窗
       first: true,

+ 1 - 0
src/views/teamBuild/teamSeting/components/improvementClass.vue

@@ -303,6 +303,7 @@ export default {
         if (res) {
           for (let i in this.tableList) {
             this.tableList[i].startDate = this.topForm.timer;
+            this.tableList[i].courseTimes = this.topForm.count;
           }
 
           let count = this.tableList.length;

+ 4 - 3
src/views/teamBuild/teamSeting/components/salarySet.vue

@@ -151,8 +151,9 @@ export default {
     sessionStorage.setItem('setStep', 4)
     getTeamDetail({ musicGroupId: this.teamid }).then(res => {
       if (res.code == 200) {
-        this.searchForm.salary = res.data.musicGroup.settlementType;
-        if (!res.data.musicGroup.settlementType) {
+        console.log(res.data)
+        this.searchForm.salary = res.data.settlementType;
+        if (!res.data.settlementType) {
           this.hasDate = true;
         }
         if (this.searchForm.salary == 'TEACHER_DEFAULT') {
@@ -266,7 +267,7 @@ export default {
     getList () {
       getTeamDetail({ musicGroupId: this.teamid }).then(res => {
         if (res.code == 200) {
-          this.searchForm.salary = res.data.musicGroup.settlementType;
+          this.searchForm.salary = res.data.settlementType;
           if (!res.data.settlementType) {
             this.hasDate = true;
           }

+ 1 - 0
src/views/teamBuild/teamSeting/components/setClass.vue

@@ -288,6 +288,7 @@ export default {
     })
     getTeamBaseInfo({ musicGroupId: this.teamid }).then(res => {
       if (res.code == 200) {
+        console.log(res.data.musicGroup)
         this.teacherForm.name = res.data.musicGroup.directorUserId
       }
     })