|
@@ -8041,7 +8041,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- v-show="org == '1973f6c7-1561-11ee-91d8-005056b86db5' || org == '777559d2-7239-11ee-b98c-005056b86db5' || org == '884c5665-a453-46f3-b7b6-01d575290aa9'" -->
|
|
|
- <classRoomHelper :tcid="tcid" :navList="navList" v-show="orgArray.includes(org) || oidArray.includes(oid)" ref="classRoomHelperRef" :courseDetail="courseDetail" :tType="tType" @setWidth="setClassRoomHelperWidth" @refresh="refreshCourse" @goStep="nextOrpreSteps" @authority="juriVisible = true" @review="setPz" @backPage="goTo(
|
|
|
+ <classRoomHelper :worksStudent="worksStudent" :courseType="parseInt(courseType)" :taskCount="taskCount" :tcid="tcid" :navList="navList" v-show="orgArray.includes(org) || oidArray.includes(oid)" ref="classRoomHelperRef" :courseDetail="courseDetail" :tType="tType" @setWidth="setClassRoomHelperWidth" @refresh="refreshCourse" @goStep="nextOrpreSteps" @authority="juriVisible = true" @review="setPz" @backPage="goTo(
|
|
|
'/courseDetail?userid=' +
|
|
|
userid +
|
|
|
'&oid=' +
|
|
@@ -14416,6 +14416,7 @@ export default {
|
|
|
var commentCount = 0;
|
|
|
var isLikes = false;
|
|
|
var commentJson = [];
|
|
|
+ var likeJson = [];
|
|
|
var data = b[j];
|
|
|
if (i == b[j].tool) {
|
|
|
if (data.type == 2 && a[i].tool[0] == 4) {
|
|
@@ -14577,7 +14578,7 @@ export default {
|
|
|
//点赞
|
|
|
if (d[k].workId == b[j].id) {
|
|
|
likesCount++;
|
|
|
-
|
|
|
+ likeJson.push(d[k])
|
|
|
if (d[k].likesId == this.userid) {
|
|
|
isLikes = true;
|
|
|
}
|
|
@@ -14629,6 +14630,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name,
|
|
|
type: 1,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -14636,6 +14638,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
if (this.isGroup) {
|
|
|
let isGw = 1;
|
|
@@ -14682,6 +14685,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name,
|
|
|
type: 3,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -14689,6 +14693,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
if (this.isGroup) {
|
|
|
let isGw = 1;
|
|
@@ -14727,6 +14732,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name,
|
|
|
type: 4,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -14734,6 +14740,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
_worksStudent[i].push(_works);
|
|
|
_worksStudent2[i].push(_works);
|
|
@@ -14749,6 +14756,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name,
|
|
|
type: 5,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -14756,6 +14764,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
_worksStudent[i].push(_work);
|
|
|
_worksStudent2[i].push(_work);
|
|
@@ -14771,6 +14780,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name,
|
|
|
type: 12,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -14778,6 +14788,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
if (this.isGroup) {
|
|
|
let isGw = 1;
|
|
@@ -14816,6 +14827,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name,
|
|
|
type: 0,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -14823,6 +14835,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
if (this.isGroup) {
|
|
|
let isGw = 1;
|
|
@@ -14861,6 +14874,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name,
|
|
|
type: 0,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -14868,6 +14882,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
if (this.isGroup) {
|
|
|
let isGw = 1;
|
|
@@ -14907,6 +14922,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name,
|
|
|
type: 2,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -14914,6 +14930,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
if (this.isGroup) {
|
|
|
let isGw = 1;
|
|
@@ -14949,6 +14966,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name,
|
|
|
type: 2,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -14956,6 +14974,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
_worksStudent[i].push(_work);
|
|
|
_worksStudent2[i].push(_work);
|
|
@@ -14969,6 +14988,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name,
|
|
|
type: 8,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -14976,6 +14996,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
_worksStudent[i].push(_work);
|
|
|
_worksStudent2[i].push(_work);
|
|
@@ -14989,6 +15010,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name,
|
|
|
type: 9,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -14996,6 +15018,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
_worksStudent[i].push(_work);
|
|
|
_worksStudent2[i].push(_work);
|
|
@@ -15009,6 +15032,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name,
|
|
|
type: 10,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -15016,6 +15040,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
_worksStudent[i].push(_work);
|
|
|
_worksStudent2[i].push(_work);
|
|
@@ -15029,6 +15054,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name,
|
|
|
type: 13,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -15036,6 +15062,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
_worksStudent[i].push(_work);
|
|
|
_worksStudent2[i].push(_work);
|
|
@@ -15049,6 +15076,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name,
|
|
|
type: 16,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -15057,7 +15085,8 @@ export default {
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
aiCode: b[j].aiCode,
|
|
|
- teacherCode: b[j].teacherCode
|
|
|
+ teacherCode: b[j].teacherCode,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
_worksStudent[i].push(_work);
|
|
|
_worksStudent2[i].push(_work);
|
|
@@ -15071,6 +15100,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name,
|
|
|
type: 17,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -15078,6 +15108,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
_worksStudent[i].push(_work);
|
|
|
_worksStudent2[i].push(_work);
|
|
@@ -15091,6 +15122,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name,
|
|
|
type: 14,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -15098,6 +15130,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
_worksStudent[i].push(_work);
|
|
|
_worksStudent2[i].push(_work);
|
|
@@ -15116,6 +15149,7 @@ export default {
|
|
|
works: _gindex.url,
|
|
|
sName: b[j].name,
|
|
|
type: _gindex.type,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -15123,6 +15157,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
_worksStudent[i][_gindex.groupIndex].push(_work);
|
|
|
_worksStudent2[i][_gindex.groupIndex].push(_work);
|
|
@@ -15136,6 +15171,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name ? b[j].name : b[j].userid,
|
|
|
type: b[j].type == 1 ? 0 : b[j].type == 4 ? 1 : 3,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -15143,6 +15179,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
_worksStudent[i].push(_work);
|
|
|
_worksStudent2[i].push(_work);
|
|
@@ -15155,6 +15192,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name ? b[j].name : b[j].userid,
|
|
|
type: 12,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -15162,6 +15200,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
_worksStudent[i].push(_work);
|
|
|
_worksStudent2[i].push(_work);
|
|
@@ -15178,6 +15217,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name ? b[j].name : b[j].userid,
|
|
|
type: 12,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -15185,6 +15225,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
_worksStudent[i].push(_work);
|
|
|
_worksStudent2[i].push(_work);
|
|
@@ -15201,6 +15242,7 @@ export default {
|
|
|
works: b[j].content,
|
|
|
sName: b[j].name ? b[j].name : b[j].userid,
|
|
|
type: 15,
|
|
|
+ ttype:b[j].ttype,
|
|
|
time: b[j].time,
|
|
|
score: b[j].score,
|
|
|
img: b[j].img,
|
|
@@ -15208,6 +15250,7 @@ export default {
|
|
|
commentCount: commentCount,
|
|
|
isLikes: isLikes,
|
|
|
commentJson: commentJson,
|
|
|
+ likeJson:likeJson
|
|
|
};
|
|
|
_worksStudent[i].push(_work);
|
|
|
_worksStudent2[i].push(_work);
|