|
@@ -300,7 +300,7 @@ export default {
|
|
|
getCourse(typeName, ftypeId, typeid, type) {
|
|
|
this.page = 1;
|
|
|
this.zoneClass = [];
|
|
|
- if (typeName == "年级") {
|
|
|
+ if (typeid == "34628934-d02f-11ec-8c78-005056b86db5" || ftypeId == '34628934-d02f-11ec-8c78-005056b86db5') {
|
|
|
if (type == 1) {
|
|
|
if (this.typeE.indexOf(typeid) != -1) {
|
|
|
if(this.oid == '69893dca-1d47-11ed-8c78-005056b86db5'){
|
|
@@ -381,7 +381,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- } else if (typeName == "主题") {
|
|
|
+ } else if (typeid == "34629bcc-d02f-11ec-8c78-005056b86db5" || ftypeId == '34629bcc-d02f-11ec-8c78-005056b86db5') {
|
|
|
if (type == 1) {
|
|
|
if (this.typeE.indexOf(typeid) != -1) {
|
|
|
if(this.oid == '69893dca-1d47-11ed-8c78-005056b86db5'){
|
|
@@ -435,7 +435,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- } else if (typeName == "学科") {
|
|
|
+ } else if (typeid == "34629907-d02f-11ec-8c78-005056b86db5" || ftypeId == '34629907-d02f-11ec-8c78-005056b86db5') {
|
|
|
if (type == 1) {
|
|
|
if (this.typeE.indexOf(typeid) != -1) {
|
|
|
if(this.oid == '69893dca-1d47-11ed-8c78-005056b86db5'){
|
|
@@ -711,12 +711,12 @@ export default {
|
|
|
|
|
|
for (var cti = 0; cti < res.data[0].length; cti++) {
|
|
|
if (
|
|
|
- res.data[0][cti].name == "年级" ||
|
|
|
- res.data[0][cti].name == "学科"
|
|
|
+ res.data[0][cti].id == "34628934-d02f-11ec-8c78-005056b86db5" ||
|
|
|
+ res.data[0][cti].id == "34629907-d02f-11ec-8c78-005056b86db5"
|
|
|
) {
|
|
|
this.CourseType3[1].id.push(res.data[0][cti].id);
|
|
|
this.CourseType3[0].id.push(res.data[0][cti].id);
|
|
|
- } else if (res.data[0][cti].name == "主题") {
|
|
|
+ } else if (res.data[0][cti].id == "34629bcc-d02f-11ec-8c78-005056b86db5") {
|
|
|
this.CourseType3[2].id.push(res.data[0][cti].id);
|
|
|
}
|
|
|
}
|