|
|
|
@ -207,6 +207,20 @@ export default { |
|
|
|
|
e.title = e.disciplineName |
|
|
|
|
}) |
|
|
|
|
this.categories.push(list) |
|
|
|
|
|
|
|
|
|
const res = await courseProfessionalClass(1) |
|
|
|
|
res.list.map(e => { |
|
|
|
|
e.id = e.professionalClassId |
|
|
|
|
e.title = e.professionalClassName |
|
|
|
|
}) |
|
|
|
|
this.categories.push(res.list) |
|
|
|
|
|
|
|
|
|
const res1 = await courseProfessional(1) |
|
|
|
|
res1.list.map(e => { |
|
|
|
|
e.id = e.professionalId |
|
|
|
|
e.title = e.professionalName |
|
|
|
|
}) |
|
|
|
|
this.categories.push(res1.list) |
|
|
|
|
}, |
|
|
|
|
// 学科专业确定回调 |
|
|
|
|
change(e) { |
|
|
|
@ -233,7 +247,6 @@ export default { |
|
|
|
|
// 学科专业切换回调 |
|
|
|
|
async columnchange(e) { |
|
|
|
|
const { column } = e.detail |
|
|
|
|
console.log('change',column) |
|
|
|
|
if (column == 0) { |
|
|
|
|
const { list } = await courseProfessionalClass(this.categories[0][e.detail.value].id) |
|
|
|
|
list.map(e => { |
|
|
|
|