|
@@ -898,7 +898,7 @@
|
|
:askJSON="
|
|
:askJSON="
|
|
worksStudent[jdIndex][rwIndex][toolIndex][0].works
|
|
worksStudent[jdIndex][rwIndex][toolIndex][0].works
|
|
"
|
|
"
|
|
- :checkJson="checkJson[toolIndex]"
|
|
|
|
|
|
+ :checkJson="checkJson[jdIndex][rwIndex][toolIndex]"
|
|
></AskStatic>
|
|
></AskStatic>
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
@@ -2600,8 +2600,8 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
for (var q = 0; q < a.length; q++) {
|
|
for (var q = 0; q < a.length; q++) {
|
|
|
|
+ var d = a[q].chapterInfo[0].taskJson;
|
|
for (var w = 0; w < d.length; w++) {
|
|
for (var w = 0; w < d.length; w++) {
|
|
var e = d[w].toolChoose;
|
|
var e = d[w].toolChoose;
|
|
for (var i = 0; i < e.length; i++) {
|
|
for (var i = 0; i < e.length; i++) {
|
|
@@ -2609,16 +2609,17 @@ export default {
|
|
var data = b[j];
|
|
var data = b[j];
|
|
if (i == b[j].tool) {
|
|
if (i == b[j].tool) {
|
|
if (data.type == 2) {
|
|
if (data.type == 2) {
|
|
|
|
+ console.log(this.checkJson)
|
|
for (var z = 0; z < this.checkJson[i].length; z++) {
|
|
for (var z = 0; z < this.checkJson[i].length; z++) {
|
|
- this.checkJson[i][z].checkPerent = [];
|
|
|
|
|
|
+ this.checkJson[q][w][i][z].checkPerent = [];
|
|
for (
|
|
for (
|
|
var k = 0;
|
|
var k = 0;
|
|
- k < this.checkJson[i][z].checkCount.length;
|
|
|
|
|
|
+ k < this.checkJson[q][w][i][z].checkCount.length;
|
|
k++
|
|
k++
|
|
) {
|
|
) {
|
|
- this.checkJson[i][z].checkPerent.push(
|
|
|
|
|
|
+ this.checkJson[q][w][i][z].checkPerent.push(
|
|
Math.round(
|
|
Math.round(
|
|
- (this.checkJson[i][z].checkCount[k] /
|
|
|
|
|
|
+ (this.checkJson[q][w][i][z].checkCount[k] /
|
|
parseInt(this.worksStudent[i].length)) *
|
|
parseInt(this.worksStudent[i].length)) *
|
|
100
|
|
100
|
|
)
|
|
)
|
|
@@ -2885,7 +2886,7 @@ export default {
|
|
this.courseType = s;
|
|
this.courseType = s;
|
|
this.navId = i;
|
|
this.navId = i;
|
|
this.taskCount = n;
|
|
this.taskCount = n;
|
|
- this.showType = 0;
|
|
|
|
|
|
+ this.showType = [];
|
|
this.isNoHomeWork = false;
|
|
this.isNoHomeWork = false;
|
|
(this.studyJuri = [
|
|
(this.studyJuri = [
|
|
{
|
|
{
|
|
@@ -2905,8 +2906,8 @@ export default {
|
|
// }
|
|
// }
|
|
// }, 0);
|
|
// }, 0);
|
|
|
|
|
|
- // this.getHomeWork();
|
|
|
|
- // this.getCourseDetail();
|
|
|
|
|
|
+ this.getHomeWork();
|
|
|
|
+ this.getCourseDetail();
|
|
this.$forceUpdate();
|
|
this.$forceUpdate();
|
|
},
|
|
},
|
|
|
|
|
|
@@ -3910,9 +3911,10 @@ export default {
|
|
}
|
|
}
|
|
.study_top {
|
|
.study_top {
|
|
/* margin-top: 90px; */
|
|
/* margin-top: 90px; */
|
|
- width: 100%;
|
|
|
|
|
|
+ width: 95%;
|
|
overflow: auto;
|
|
overflow: auto;
|
|
height: auto;
|
|
height: auto;
|
|
|
|
+ margin: 0 auto;
|
|
}
|
|
}
|
|
.study_top .checkbox {
|
|
.study_top .checkbox {
|
|
display: flex;
|
|
display: flex;
|