|
@@ -7667,7 +7667,7 @@ export default {
|
|
|
this.worksStudent[i].push(_works);
|
|
|
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 _works = {
|
|
|
userid: b[j].userid,
|
|
|
ateacher: b[j].ateacher,
|
|
|
wid: b[j].id,
|
|
@@ -7681,10 +7681,16 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
- });
|
|
|
+ }
|
|
|
+ if (b[j].ttype == 1) {
|
|
|
+ this.worksTeacher[i].push(_works);
|
|
|
+ } else {
|
|
|
+ this.worksStudent2[i].push(_works);
|
|
|
+ }
|
|
|
+ this.worksStudent[i].push(_works);
|
|
|
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 _works = {
|
|
|
userid: b[j].userid,
|
|
|
ateacher: b[j].ateacher,
|
|
|
wid: b[j].id,
|
|
@@ -7698,7 +7704,13 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
- });
|
|
|
+ }
|
|
|
+ if (b[j].ttype == 1) {
|
|
|
+ this.worksTeacher[i].push(_works);
|
|
|
+ } else {
|
|
|
+ this.worksStudent2[i].push(_works);
|
|
|
+ }
|
|
|
+ this.worksStudent[i].push(_works);
|
|
|
this.isWorksS[i].push({ uid: b[j].userid, sName: b[j].name });
|
|
|
}
|
|
|
}
|