|
@@ -39,6 +39,7 @@
|
|
arrow">
|
|
arrow">
|
|
</span>
|
|
</span>
|
|
<span class='stepspan stepspan2'
|
|
<span class='stepspan stepspan2'
|
|
|
|
+ v-if='chargeTypeId==3'
|
|
@click="activeIndex=3">
|
|
@click="activeIndex=3">
|
|
<div class="step2 sptep"
|
|
<div class="step2 sptep"
|
|
:class="activeIndex >= 3?'activestep':''">
|
|
:class="activeIndex >= 3?'activestep':''">
|
|
@@ -70,13 +71,14 @@
|
|
@gotoNav='gotoNav' />
|
|
@gotoNav='gotoNav' />
|
|
</div>
|
|
</div>
|
|
<div v-if='activeIndex==1'>
|
|
<div v-if='activeIndex==1'>
|
|
- <teacherSeting :teamid='id' />
|
|
|
|
|
|
+ <teacherSeting :teamid='id'
|
|
|
|
+ @gotoNav='gotoNav' />
|
|
</div>
|
|
</div>
|
|
<div v-if='activeIndex==2'>
|
|
<div v-if='activeIndex==2'>
|
|
<!-- <coursePlan :teamid='id' /> -->
|
|
<!-- <coursePlan :teamid='id' /> -->
|
|
<lookCourse />
|
|
<lookCourse />
|
|
</div>
|
|
</div>
|
|
- <div v-if='activeIndex==3'>
|
|
|
|
|
|
+ <div v-if='activeIndex==3 && chargeTypeId!=3'>
|
|
<improvement :teamid='id' />
|
|
<improvement :teamid='id' />
|
|
</div>
|
|
</div>
|
|
<div v-if='activeIndex==4'>
|
|
<div v-if='activeIndex==4'>
|
|
@@ -92,6 +94,7 @@ import coursePlan from '@/views/teamBuild/teamSeting/components/coursePlan'
|
|
import salarySet from '@/views/teamBuild/teamSeting/components/salarySet'
|
|
import salarySet from '@/views/teamBuild/teamSeting/components/salarySet'
|
|
import improvement from '@/views/teamBuild/teamSeting/components/improvementClass'
|
|
import improvement from '@/views/teamBuild/teamSeting/components/improvementClass'
|
|
import lookCourse from '@/views/teamBuild/teamSeting/components/lookCourse'
|
|
import lookCourse from '@/views/teamBuild/teamSeting/components/lookCourse'
|
|
|
|
+import { getTeamBaseInfo } from '@/api/buildTeam'
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
classSeting,
|
|
classSeting,
|
|
@@ -108,18 +111,24 @@ export default {
|
|
nol: require('@/assets/images/base/step-arrow-active.png'),
|
|
nol: require('@/assets/images/base/step-arrow-active.png'),
|
|
active: require('@/assets/images/base/step-arrow.png')
|
|
active: require('@/assets/images/base/step-arrow.png')
|
|
},
|
|
},
|
|
- id: ''
|
|
|
|
|
|
+ id: '',
|
|
|
|
+ chargeTypeId: ''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created () {
|
|
created () {
|
|
- // 191015151405001
|
|
|
|
- // 191015094822001
|
|
|
|
this.id = this.$route.query.id;
|
|
this.id = this.$route.query.id;
|
|
|
|
+ getTeamBaseInfo({ musicGroupId: this.id }).then(res => {
|
|
|
|
+ if (res.code == 200) {
|
|
|
|
+ this.chargeTypeId = res.data.musicGroup.chargeTypeId;
|
|
|
|
+ }
|
|
|
|
+ })
|
|
},
|
|
},
|
|
mounted () {
|
|
mounted () {
|
|
|
|
+ // 根据乐团id 获取乐团信息
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
gotoNav (val) {
|
|
gotoNav (val) {
|
|
|
|
+ console.log(val)
|
|
this.activeIndex = val;
|
|
this.activeIndex = val;
|
|
}
|
|
}
|
|
},
|
|
},
|