|
@@ -360,11 +360,13 @@
|
|
import { getSection, getType, getCooperation, getTeacher, getAddress, getPayMaster, getPayStatus, getTeamBaseInfo, resetTeamBaseInfo } from '@/api/buildTeam'
|
|
import { getSection, getType, getCooperation, getTeacher, getAddress, getPayMaster, getPayStatus, getTeamBaseInfo, resetTeamBaseInfo } from '@/api/buildTeam'
|
|
import { scrollTo } from '@/utils/scroll-to'
|
|
import { scrollTo } from '@/utils/scroll-to'
|
|
import axios from 'axios'
|
|
import axios from 'axios'
|
|
|
|
+import store from '@/store'
|
|
import qs from 'qs'
|
|
import qs from 'qs'
|
|
export default {
|
|
export default {
|
|
props: ['getTeamList'],
|
|
props: ['getTeamList'],
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
|
|
+ organId: store.getters.organ,
|
|
topFrom: {
|
|
topFrom: {
|
|
type: '', // 收费类型
|
|
type: '', // 收费类型
|
|
section: '', //所属分部
|
|
section: '', //所属分部
|
|
@@ -373,7 +375,7 @@ export default {
|
|
name: '', //乐团名称
|
|
name: '', //乐团名称
|
|
boss: '', // 运营主管
|
|
boss: '', // 运营主管
|
|
time: '', // 报名截止时间
|
|
time: '', // 报名截止时间
|
|
- startClass: '', // 招生年级起始
|
|
|
|
|
|
+ startClass: [], // 招生年级起始
|
|
address: '', // 教学地点
|
|
address: '', // 教学地点
|
|
salary: '', // 收费模式
|
|
salary: '', // 收费模式
|
|
head: ''
|
|
head: ''
|
|
@@ -445,7 +447,6 @@ export default {
|
|
// this.holidayList = Object.keys(res.data[year])
|
|
// this.holidayList = Object.keys(res.data[year])
|
|
})
|
|
})
|
|
this.teamStatus = this.$route.query.type;
|
|
this.teamStatus = this.$route.query.type;
|
|
- console.log();
|
|
|
|
// 传过来的乐团信息
|
|
// 传过来的乐团信息
|
|
this.activeTeam = this.getTeamList;
|
|
this.activeTeam = this.getTeamList;
|
|
|
|
|
|
@@ -505,25 +506,25 @@ export default {
|
|
|
|
|
|
}).catch()
|
|
}).catch()
|
|
// 2.获取收费类型选项卡
|
|
// 2.获取收费类型选项卡
|
|
- getType({ 'rows': 1000 }).then(res => {
|
|
|
|
|
|
+ getType({ 'rows': 1000, organId: this.organId }).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.typeList = res.data.rows;
|
|
this.typeList = res.data.rows;
|
|
}
|
|
}
|
|
})
|
|
})
|
|
// 3.获取合作单位选项卡
|
|
// 3.获取合作单位选项卡
|
|
- getCooperation({ 'rows': 1000 }).then(res => {
|
|
|
|
|
|
+ getCooperation({ 'rows': 1000, organId: this.organId }).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.cooperationList = res.data.rows;
|
|
this.cooperationList = res.data.rows;
|
|
}
|
|
}
|
|
})
|
|
})
|
|
// 4.获取老师选项卡
|
|
// 4.获取老师选项卡
|
|
- getTeacher({ 'rows': 1000 }).then(res => {
|
|
|
|
|
|
+ getTeacher({ 'rows': 1000, organId: this.organId }).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.teacherList = res.data;
|
|
this.teacherList = res.data;
|
|
}
|
|
}
|
|
})
|
|
})
|
|
// 5.获取教学地点选项卡
|
|
// 5.获取教学地点选项卡
|
|
- getAddress({ 'rows': 1000 }).then(res => {
|
|
|
|
|
|
+ getAddress({ 'rows': 1000, organId: this.organId }).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.addList = res.data.rows;
|
|
this.addList = res.data.rows;
|
|
}
|
|
}
|