|
@@ -15448,17 +15448,17 @@
|
|
<el-button type="primary" style="width: 95%;" @click="confirmOpen">开始学习</el-button>
|
|
<el-button type="primary" style="width: 95%;" @click="confirmOpen">开始学习</el-button>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <appStoreC ref="appStoreC"
|
|
|
|
- :sStudent="sStudent"
|
|
|
|
- :courseType="courseType"
|
|
|
|
- :taskCount="taskCount"
|
|
|
|
- :toolindex="toolindex"
|
|
|
|
- @selectSWorks="selectSWorks"
|
|
|
|
- @selectStudent="selectStudent"
|
|
|
|
- ></appStoreC>
|
|
|
|
- <cocoFlowDia ref="cocoFlowDiaRef"></cocoFlowDia>
|
|
|
|
-
|
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <appStoreC ref="appStoreC"
|
|
|
|
+ :sStudent="sStudent"
|
|
|
|
+ :courseType="courseType"
|
|
|
|
+ :taskCount="taskCount"
|
|
|
|
+ :toolindex="toolindex"
|
|
|
|
+ @selectSWorks="selectSWorks"
|
|
|
|
+ @selectStudent="selectStudent"
|
|
|
|
+ ></appStoreC>
|
|
|
|
+
|
|
|
|
+ <cocoFlowDia ref="cocoFlowDiaRef"></cocoFlowDia>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -18107,48 +18107,16 @@ export default {
|
|
wid: b[j].id,
|
|
wid: b[j].id,
|
|
});
|
|
});
|
|
} else if (b[j].type == 20 && a[i].tool[0] == 72) {
|
|
} else if (b[j].type == 20 && a[i].tool[0] == 72) {
|
|
- let _works = {
|
|
|
|
- userid: b[j].userid,
|
|
|
|
- ateacher: b[j].ateacher,
|
|
|
|
- wid: b[j].id,
|
|
|
|
|
|
+ this.workStudent[i].push({
|
|
works: b[j].content,
|
|
works: b[j].content,
|
|
sName: b[j].name,
|
|
sName: b[j].name,
|
|
- type: 2,
|
|
|
|
- ttype: b[j].ttype,
|
|
|
|
- time: b[j].time,
|
|
|
|
score: b[j].score,
|
|
score: b[j].score,
|
|
img: b[j].img,
|
|
img: b[j].img,
|
|
- likesCount: likesCount,
|
|
|
|
- commentCount: commentCount,
|
|
|
|
- isLikes: isLikes,
|
|
|
|
- commentJson: commentJson,
|
|
|
|
- likeJson: likeJson
|
|
|
|
- };
|
|
|
|
- if (this.isGroup) {
|
|
|
|
- let isGw = 1;
|
|
|
|
- for (
|
|
|
|
- var groupI = 0;
|
|
|
|
- groupI < this.courseGroup.group.length;
|
|
|
|
- groupI++
|
|
|
|
- ) {
|
|
|
|
- let gid = this.courseGroup.group[groupI].id;
|
|
|
|
- if (
|
|
|
|
- this.courseGroupStudentUid[gid].indexOf(b[j].userid) !=
|
|
|
|
- -1
|
|
|
|
- ) {
|
|
|
|
- isGw = 2;
|
|
|
|
- this.courseGroup.group[groupI].works[i].push(_works);
|
|
|
|
- break;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- if (isGw == 1) {
|
|
|
|
- _worksStudent[i].push(_works);
|
|
|
|
- }
|
|
|
|
- } else {
|
|
|
|
- _worksStudent[i].push(_works);
|
|
|
|
- }
|
|
|
|
- _worksStudent2[i].push(_works);
|
|
|
|
- this.isWorksS[i].push({ uid: b[j].userid, sName: b[j].name });
|
|
|
|
|
|
+ type: 20,
|
|
|
|
+ time: b[j].time,
|
|
|
|
+ userid: b[j].userid,
|
|
|
|
+ wid: b[j].id,
|
|
|
|
+ });
|
|
} else if (b[j].type == 2 && a[i].tool[0] == 4) {
|
|
} else if (b[j].type == 2 && a[i].tool[0] == 4) {
|
|
//问卷
|
|
//问卷
|
|
this.workStudent[i].push({
|
|
this.workStudent[i].push({
|
|
@@ -19327,6 +19295,49 @@ export default {
|
|
}
|
|
}
|
|
_worksStudent2[i].push(_works);
|
|
_worksStudent2[i].push(_works);
|
|
this.isWorksS[i].push({ uid: b[j].userid, sName: b[j].name });
|
|
this.isWorksS[i].push({ uid: b[j].userid, sName: b[j].name });
|
|
|
|
+ } else if (b[j].type == 20 && a[i].tool[0] == 72) {
|
|
|
|
+ let _works = {
|
|
|
|
+ userid: b[j].userid,
|
|
|
|
+ ateacher: b[j].ateacher,
|
|
|
|
+ wid: b[j].id,
|
|
|
|
+ works: b[j].content,
|
|
|
|
+ sName: b[j].name,
|
|
|
|
+ type: 20,
|
|
|
|
+ ttype: b[j].ttype,
|
|
|
|
+ time: b[j].time,
|
|
|
|
+ score: b[j].score,
|
|
|
|
+ img: b[j].img,
|
|
|
|
+ likesCount: likesCount,
|
|
|
|
+ commentCount: commentCount,
|
|
|
|
+ isLikes: isLikes,
|
|
|
|
+ commentJson: commentJson,
|
|
|
|
+ likeJson: likeJson
|
|
|
|
+ };
|
|
|
|
+ if (this.isGroup) {
|
|
|
|
+ let isGw = 1;
|
|
|
|
+ for (
|
|
|
|
+ var groupI = 0;
|
|
|
|
+ groupI < this.courseGroup.group.length;
|
|
|
|
+ groupI++
|
|
|
|
+ ) {
|
|
|
|
+ let gid = this.courseGroup.group[groupI].id;
|
|
|
|
+ if (
|
|
|
|
+ this.courseGroupStudentUid[gid].indexOf(b[j].userid) !=
|
|
|
|
+ -1
|
|
|
|
+ ) {
|
|
|
|
+ isGw = 2;
|
|
|
|
+ this.courseGroup.group[groupI].works[i].push(_works);
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if (isGw == 1) {
|
|
|
|
+ _worksStudent[i].push(_works);
|
|
|
|
+ }
|
|
|
|
+ } 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) {
|
|
} else if (b[j].type == 2 && a[i].tool[0] == 4) {
|
|
//问卷
|
|
//问卷
|
|
let _work = {
|
|
let _work = {
|