|
@@ -1423,6 +1423,7 @@
|
|
|
<div class="bzBox">
|
|
|
<div class="yCss"></div>
|
|
|
<div>步骤{{ toolIndex + 1 }}</div>
|
|
|
+ <div v-if="timeWorkList[toolIndex].length > 0" style="margin: 0 0 0 10px;">{{ "时间:" + timeWorkList[toolIndex][0].time }} </div>
|
|
|
</div>
|
|
|
|
|
|
<div class="toolBox">
|
|
@@ -10376,6 +10377,7 @@ export default {
|
|
|
imgList: [],
|
|
|
noImgList: [],
|
|
|
pzList: [],
|
|
|
+ timeWorkList:[],
|
|
|
PlTextList: [
|
|
|
"Excellent!",
|
|
|
"nice!",
|
|
@@ -11031,7 +11033,6 @@ export default {
|
|
|
atool: 52,
|
|
|
},
|
|
|
];
|
|
|
- console.log(params);
|
|
|
this.ajax
|
|
|
.post(this.$store.state.api + "addCourseWorks3-2", params)
|
|
|
.then((res) => {
|
|
@@ -11062,7 +11063,6 @@ export default {
|
|
|
atool: 52,
|
|
|
},
|
|
|
];
|
|
|
- console.log(params);
|
|
|
this.ajax
|
|
|
.post(this.$store.state.api + "addCourseWorks3-2", params)
|
|
|
.then((res) => {
|
|
@@ -11515,7 +11515,6 @@ export default {
|
|
|
) {
|
|
|
let a = 1;
|
|
|
let c = this.commentIndexJson;
|
|
|
- console.log(c);
|
|
|
if (
|
|
|
this.commentIndexJson.gindex ||
|
|
|
this.commentIndexJson.gindex === 0
|
|
@@ -12241,8 +12240,10 @@ export default {
|
|
|
var e = res.data[2];
|
|
|
var f = res.data[3];
|
|
|
let _worksStudent = [];
|
|
|
+ var _worksStudent2 = [];
|
|
|
for (var i = 0; i < a.length; i++) {
|
|
|
_worksStudent[i] = [];
|
|
|
+ _worksStudent2[i] = [];
|
|
|
if (
|
|
|
!this.isCloseList[i] ||
|
|
|
this.isCloseList[i].isClose == undefined
|
|
@@ -12267,6 +12268,7 @@ export default {
|
|
|
this.groupStudent[i][gA] = [];
|
|
|
this.groupStudentUid[i][gA] = [];
|
|
|
_worksStudent[i][gA] = [];
|
|
|
+ _worksStudent2[i][gA] = [];
|
|
|
this.isCloseList[i][gA] = [];
|
|
|
|
|
|
for (var g = 0; g < f.length; g++) {
|
|
@@ -12385,7 +12387,6 @@ export default {
|
|
|
this.checkJson[i][z].checkCount = [];
|
|
|
let _askItemCount = JSON.parse(data.content)[0].testJson
|
|
|
.testJson[z].testItem;
|
|
|
- console.log(_askItemCount);
|
|
|
for (var aic = 0; aic < _askItemCount; aic++) {
|
|
|
this.checkJson[i][z].checkCount.push(0);
|
|
|
}
|
|
@@ -12547,6 +12548,7 @@ export default {
|
|
|
} else {
|
|
|
_worksStudent[i].push(_works);
|
|
|
}
|
|
|
+ _worksStudent2[i].push(_works);
|
|
|
this.isWorksS[i].push({
|
|
|
uid: b[j].userid,
|
|
|
sName: b[j].name,
|
|
@@ -12599,12 +12601,13 @@ export default {
|
|
|
} else {
|
|
|
_worksStudent[i].push(_works);
|
|
|
}
|
|
|
+ _worksStudent2[i].push(_works);
|
|
|
this.isWorksS[i].push({
|
|
|
uid: b[j].userid,
|
|
|
sName: b[j].name,
|
|
|
});
|
|
|
} else if (b[j].type == 6 && b[j].atool != 50) {
|
|
|
- _worksStudent[i].push({
|
|
|
+ let _works = {
|
|
|
userid: b[j].userid,
|
|
|
ateacher: b[j].ateacher,
|
|
|
wid: b[j].id,
|
|
@@ -12618,13 +12621,15 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
- });
|
|
|
+ };
|
|
|
+ _worksStudent[i].push(_works);
|
|
|
+ _worksStudent2[i].push(_works);
|
|
|
this.isWorksS[i].push({
|
|
|
uid: b[j].userid,
|
|
|
sName: b[j].name,
|
|
|
});
|
|
|
} else if (b[j].type == 7 && b[j].atool != 50) {
|
|
|
- _worksStudent[i].push({
|
|
|
+ let _work = {
|
|
|
userid: b[j].userid,
|
|
|
ateacher: b[j].ateacher,
|
|
|
wid: b[j].id,
|
|
@@ -12638,7 +12643,9 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
- });
|
|
|
+ };
|
|
|
+ _worksStudent[i].push(_work);
|
|
|
+ _worksStudent2[i].push(_work);
|
|
|
this.isWorksS[i].push({
|
|
|
uid: b[j].userid,
|
|
|
sName: b[j].name,
|
|
@@ -12683,6 +12690,7 @@ export default {
|
|
|
} else {
|
|
|
_worksStudent[i].push(_works);
|
|
|
}
|
|
|
+ _worksStudent2[i].push(_works);
|
|
|
this.isWorksS[i].push({
|
|
|
uid: b[j].userid,
|
|
|
sName: b[j].name,
|
|
@@ -12727,6 +12735,7 @@ export default {
|
|
|
} else {
|
|
|
_worksStudent[i].push(_works);
|
|
|
}
|
|
|
+ _worksStudent2[i].push(_works);
|
|
|
this.isWorksS[i].push({
|
|
|
uid: b[j].userid,
|
|
|
sName: b[j].name,
|
|
@@ -12771,6 +12780,7 @@ export default {
|
|
|
} else {
|
|
|
_worksStudent[i].push(_works);
|
|
|
}
|
|
|
+ _worksStudent2[i].push(_works);
|
|
|
this.isWorksS[i].push({
|
|
|
uid: b[j].userid,
|
|
|
sName: b[j].name,
|
|
@@ -12815,10 +12825,11 @@ export default {
|
|
|
} else {
|
|
|
_worksStudent[i].push(_works);
|
|
|
}
|
|
|
+ _worksStudent2[i].push(_works);
|
|
|
this.isWorksS[i].push({ uid: b[j].userid, sName: b[j].name });
|
|
|
} else if (b[j].type == 2 && a[i].tool[0] == 4) {
|
|
|
//问卷
|
|
|
- _worksStudent[i].push({
|
|
|
+ let _work = {
|
|
|
userid: b[j].userid,
|
|
|
ateacher: b[j].ateacher,
|
|
|
wid: b[j].id,
|
|
@@ -12832,11 +12843,13 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
- });
|
|
|
+ };
|
|
|
+ _worksStudent[i].push(_work);
|
|
|
+ _worksStudent2[i].push(_work);
|
|
|
this.isWorksS[i].push({ uid: b[j].userid, sName: b[j].name });
|
|
|
} else if (b[j].type == 8 && a[i].tool[0] == 45) {
|
|
|
//选择题
|
|
|
- _worksStudent[i].push({
|
|
|
+ let _work = {
|
|
|
userid: b[j].userid,
|
|
|
ateacher: b[j].ateacher,
|
|
|
wid: b[j].id,
|
|
@@ -12850,11 +12863,13 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
- });
|
|
|
+ };
|
|
|
+ _worksStudent[i].push(_work);
|
|
|
+ _worksStudent2[i].push(_work);
|
|
|
this.isWorksS[i].push({ uid: b[j].userid, sName: b[j].name });
|
|
|
} else if (b[j].type == 9 && a[i].tool[0] == 47) {
|
|
|
//选择题
|
|
|
- _worksStudent[i].push({
|
|
|
+ let _work = {
|
|
|
userid: b[j].userid,
|
|
|
ateacher: b[j].ateacher,
|
|
|
wid: b[j].id,
|
|
@@ -12868,11 +12883,13 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
- });
|
|
|
+ }
|
|
|
+ _worksStudent[i].push(_work);
|
|
|
+ _worksStudent2[i].push(_work);
|
|
|
this.isWorksS[i].push({ uid: b[j].userid, sName: b[j].name });
|
|
|
} else if (b[j].type == 10 && a[i].tool[0] == 48) {
|
|
|
//选择题
|
|
|
- _worksStudent[i].push({
|
|
|
+ let _work = {
|
|
|
userid: b[j].userid,
|
|
|
ateacher: b[j].ateacher,
|
|
|
wid: b[j].id,
|
|
@@ -12886,11 +12903,13 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
- });
|
|
|
+ };
|
|
|
+ _worksStudent[i].push(_work);
|
|
|
+ _worksStudent2[i].push(_work);
|
|
|
this.isWorksS[i].push({ uid: b[j].userid, sName: b[j].name });
|
|
|
} else if (b[j].type == 13 && a[i].tool[0] == 52) {
|
|
|
//选择题
|
|
|
- _worksStudent[i].push({
|
|
|
+ let _work = {
|
|
|
userid: b[j].userid,
|
|
|
ateacher: b[j].ateacher,
|
|
|
wid: b[j].id,
|
|
@@ -12904,7 +12923,9 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
- });
|
|
|
+ };
|
|
|
+ _worksStudent[i].push(_work);
|
|
|
+ _worksStudent2[i].push(_work);
|
|
|
this.isWorksS[i].push({ uid: b[j].userid, sName: b[j].name });
|
|
|
} else if (b[j].type == 11 && a[i].tool[0] == 49) {
|
|
|
let _gindex = JSON.parse(b[j].content);
|
|
@@ -12913,7 +12934,7 @@ export default {
|
|
|
b[j].userid
|
|
|
) != -1
|
|
|
) {
|
|
|
- _worksStudent[i][_gindex.groupIndex].push({
|
|
|
+ let _work = {
|
|
|
userid: b[j].userid,
|
|
|
ateacher: b[j].ateacher,
|
|
|
wid: b[j].id,
|
|
@@ -12927,11 +12948,13 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
- });
|
|
|
+ };
|
|
|
+ _worksStudent[i][_gindex.groupIndex].push(_work);
|
|
|
+ _worksStudent2[i][_gindex.groupIndex].push(_work);
|
|
|
}
|
|
|
this.isWorksS[i].push({ uid: b[j].userid, sName: b[j].name });
|
|
|
} else if (a[i].tool[0] == 50 && b[j].atool == 50) {
|
|
|
- _worksStudent[i].push({
|
|
|
+ let _work = {
|
|
|
userid: b[j].userid,
|
|
|
ateacher: b[j].ateacher,
|
|
|
wid: b[j].id,
|
|
@@ -12945,10 +12968,12 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
- });
|
|
|
+ };
|
|
|
+ _worksStudent[i].push(_work);
|
|
|
+ _worksStudent2[i].push(_work);
|
|
|
this.isWorksS[i].push({ uid: b[j].userid, sName: b[j].name });
|
|
|
} else if (a[i].tool[0] == 32 && b[j].atool == 32) {
|
|
|
- _worksStudent[i].push({
|
|
|
+ let _work = {
|
|
|
userid: b[j].userid,
|
|
|
ateacher: b[j].ateacher,
|
|
|
wid: b[j].id,
|
|
@@ -12962,14 +12987,16 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
- });
|
|
|
+ };
|
|
|
+ _worksStudent[i].push(_work);
|
|
|
+ _worksStudent2[i].push(_work);
|
|
|
this.isWorksS[i].push({ uid: b[j].userid, sName: b[j].name });
|
|
|
} else if (
|
|
|
a[i].tool[0] == 57 &&
|
|
|
b[j].atool == 57 &&
|
|
|
b[j].type == 12
|
|
|
) {
|
|
|
- _worksStudent[i].push({
|
|
|
+ let _work = {
|
|
|
userid: b[j].userid,
|
|
|
ateacher: b[j].ateacher,
|
|
|
wid: b[j].id,
|
|
@@ -12983,14 +13010,16 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
- });
|
|
|
+ };
|
|
|
+ _worksStudent[i].push(_work);
|
|
|
+ _worksStudent2[i].push(_work);
|
|
|
this.isWorksS[i].push({ uid: b[j].userid, sName: b[j].name });
|
|
|
} else if (
|
|
|
a[i].tool[0] == 57 &&
|
|
|
b[j].atool == 57 &&
|
|
|
b[j].type == 15
|
|
|
) {
|
|
|
- _worksStudent[i].push({
|
|
|
+ let _work = {
|
|
|
userid: b[j].userid,
|
|
|
ateacher: b[j].ateacher,
|
|
|
wid: b[j].id,
|
|
@@ -13004,7 +13033,9 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
- });
|
|
|
+ };
|
|
|
+ _worksStudent[i].push(_work);
|
|
|
+ _worksStudent2[i].push(_work);
|
|
|
this.isWorksS[i].push({ uid: b[j].userid, sName: b[j].name });
|
|
|
}
|
|
|
}
|
|
@@ -13044,6 +13075,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ this.timeWorkList = _worksStudent2;
|
|
|
for (var i = 0; i < a.length; i++) {
|
|
|
for (var j = 0; j < b.length; j++) {
|
|
|
var data = b[j];
|
|
@@ -13057,7 +13089,6 @@ export default {
|
|
|
100
|
|
|
);
|
|
|
let aaaa = this.checkJson[i][z];
|
|
|
- console.log(aaaa);
|
|
|
for (
|
|
|
var k = 0;
|
|
|
k < this.checkJson[i][z].checkCount.length;
|
|
@@ -14110,7 +14141,6 @@ export default {
|
|
|
this.courseDetail.juri ? this.courseDetail.juri.split(",") : [],
|
|
|
this.tcid2 ? this.tcid2.split(",") : []
|
|
|
).join(",");
|
|
|
- console.log(this.tcid);
|
|
|
this.evalua = res.data[0][0].evaId;
|
|
|
this.chapInfo = JSON.parse(this.courseDetail.chapters)[
|
|
|
this.courseType
|
|
@@ -16278,7 +16308,6 @@ export default {
|
|
|
this.ajax
|
|
|
.get(this.$store.state.api + "download", params)
|
|
|
.then((res) => {
|
|
|
- console.log(res);
|
|
|
loading.close();
|
|
|
let content = res.data.data.data;
|
|
|
let ab = new ArrayBuffer(content.length);
|
|
@@ -16369,7 +16398,6 @@ export default {
|
|
|
this.ajax
|
|
|
.get(this.$store.state.api + "imgToBase64", params)
|
|
|
.then((res) => {
|
|
|
- console.log(res);
|
|
|
this.drawShow = true;
|
|
|
this.bg = res.data[0].img;
|
|
|
})
|