|
@@ -20,8 +20,23 @@
|
|
|
<div>填写基本信息</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-show="cidttt === 0" class="secondNo">
|
|
|
- <div v-if="steps == 2" class="newSteps second" @click="navSteps(2)">
|
|
|
+
|
|
|
+ <div v-if="cidttt === 0 && steps == 2" class="second" @click="navSteps(2)">
|
|
|
+ <div class="cfirst">
|
|
|
+ <div>
|
|
|
+ <img src="../../../assets/icon/second.png" alt />
|
|
|
+ </div>
|
|
|
+ <div>选择项目框架</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div v-else-if="cidttt === 0" class="secondNo" @click="navSteps(2)">
|
|
|
+ <div class="cfirst">
|
|
|
+ <div>
|
|
|
+ <img src="../../../assets/icon/secondNo.png" alt />
|
|
|
+ </div>
|
|
|
+ <div>选择项目框架</div>
|
|
|
+ </div>
|
|
|
+ <!-- <div v-if="steps == 2" class="newSteps second" @click="navSteps(2)">
|
|
|
<div class="cfirst">
|
|
|
<div>
|
|
|
<img src="../../../assets/icon/second.png" alt />
|
|
@@ -36,8 +51,9 @@
|
|
|
</div>
|
|
|
<div>选择项目框架</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
+
|
|
|
|
|
|
<div v-if="steps == 3" class="third" @click="navSteps(3)">
|
|
|
<div class="cfirst">
|
|
@@ -3245,7 +3261,10 @@ export default {
|
|
|
if (this.oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5") {
|
|
|
typeT++;
|
|
|
}
|
|
|
- if (this.CourseType.length == 0) {
|
|
|
+ // if (this.CourseType.length == 0) {
|
|
|
+ // typeT = 3
|
|
|
+ // }
|
|
|
+ if(!(this.org == '150e3120-9195-11ed-b13d-005056b86db5') && !(this.oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5")){
|
|
|
typeT = 3
|
|
|
}
|
|
|
if (this.courseName == "" || typeT != 3) {
|
|
@@ -3467,7 +3486,10 @@ export default {
|
|
|
if (this.oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5") {
|
|
|
typeT++;
|
|
|
}
|
|
|
- if (this.CourseType.length == 0) {
|
|
|
+ // if (this.CourseType.length == 0) {
|
|
|
+ // typeT = 3
|
|
|
+ // }
|
|
|
+ if(!(this.org == '150e3120-9195-11ed-b13d-005056b86db5') && !(this.oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5")){
|
|
|
typeT = 3
|
|
|
}
|
|
|
if (this.cidttt == 1) {
|
|
@@ -7692,21 +7714,28 @@ export default {
|
|
|
let _courseTypeId = [];
|
|
|
|
|
|
for (var i = 0; i < res.data[0].length; i++) {
|
|
|
- if (res.data[0][i].id == "34629ce3-d02f-11ec-8c78-005056b86db5") {
|
|
|
+ if(res.data[0][i].id == "34629ce3-d02f-11ec-8c78-005056b86db5"){
|
|
|
res.data[0][i].name = "赛道";
|
|
|
- } else if (res.data[0][i].id == "2f8beae3-d030-11ec-8c78-005056b86db5") {
|
|
|
+ }else if(res.data[0][i].id == "2f8beae3-d030-11ec-8c78-005056b86db5"){
|
|
|
res.data[0][i].name = "主题";
|
|
|
+ }else if(res.data[0][i].id == "34628934-d02f-11ec-8c78-005056b86db5"){
|
|
|
+ res.data[0][i].name = "年级";
|
|
|
}
|
|
|
if (!this.cid) {
|
|
|
this.courseTypeId[res.data[0][i].id] = "";
|
|
|
}
|
|
|
this.CourseTypeJson[res.data[0][i].id] = [];
|
|
|
if (this.oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5") {
|
|
|
- if (res.data[0][i].name == "赛道") {
|
|
|
+ if (res.data[0][i].id == "34629ce3-d02f-11ec-8c78-005056b86db5") {
|
|
|
this.CourseType[0][i].name = "项目类型";
|
|
|
}
|
|
|
- }
|
|
|
+ }else if(this.org == '150e3120-9195-11ed-b13d-005056b86db5'){
|
|
|
|
|
|
+ }else{
|
|
|
+ if (res.data[0][i].name == "赛道") {
|
|
|
+ this.CourseType[0][i].name = "学科";
|
|
|
+ }
|
|
|
+ }
|
|
|
if (res.data[2].length == 0 && res.data[3].length == 0) {
|
|
|
if (this.org == '150e3120-9195-11ed-b13d-005056b86db5') {
|
|
|
for (var j = 0; j < res.data[1].length; j++) {
|
|
@@ -7721,7 +7750,18 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
- this.CourseType = []
|
|
|
+ // this.CourseType = []
|
|
|
+ for (var j = 0; j < res.data[1].length; j++) {
|
|
|
+ if (
|
|
|
+ this.courseTypeId.indexOf(res.data[1][j].id) != -1 &&
|
|
|
+ _courseTypeId.indexOf(res.data[1][j].id) == -1
|
|
|
+ ) {
|
|
|
+ _courseTypeId.push(res.data[1][j].id);
|
|
|
+ }
|
|
|
+ if (res.data[0][i].id == res.data[1][j].pid) {
|
|
|
+ this.CourseTypeJson[res.data[0][i].id].push(res.data[1][j]); // 去除公共分类
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
} else {
|
|
|
if (res.data[2].length > 0) {
|