|
@@ -20924,10 +20924,18 @@ export default {
|
|
|
this.playerO[i] = d;
|
|
|
}
|
|
|
this.courseDetail = res.data[0][0];
|
|
|
- this.tcid = this.arrayToArray(
|
|
|
- this.courseDetail.juri ? this.courseDetail.juri.split(",") : [],
|
|
|
- this.tcid2 ? this.tcid2.split(",") : []
|
|
|
- ).join(",");
|
|
|
+ if(this.tType == 2){
|
|
|
+ this.tcid = this.arrayToArray(
|
|
|
+ this.courseDetail.juri ? this.courseDetail.juri.split(",") : [],
|
|
|
+ this.classId ? this.classId.split(",") : []
|
|
|
+ ).join(",");
|
|
|
+ }else{
|
|
|
+ this.tcid = this.arrayToArray(
|
|
|
+ this.courseDetail.juri ? this.courseDetail.juri.split(",") : [],
|
|
|
+ this.tcid2 ? this.tcid2.split(",") : []
|
|
|
+ ).join(",");
|
|
|
+ }
|
|
|
+
|
|
|
this.evalua = res.data[0][0].evaId;
|
|
|
this.chapInfo = JSON.parse(this.courseDetail.chapters)[
|
|
|
this.courseType
|