|
@@ -7104,7 +7104,7 @@
|
|
|
placeholder="请选择学生"
|
|
|
>
|
|
|
<el-option
|
|
|
- v-for="item1 in classJuri"
|
|
|
+ v-for="item1 in uploadStudentJuri"
|
|
|
:key="item1.userid"
|
|
|
:label="item1.name ? item1.name : item1.username"
|
|
|
:value="item1.userid"
|
|
@@ -7239,6 +7239,8 @@ export default {
|
|
|
dialogVisibleSname: false,
|
|
|
worksSName: "",
|
|
|
classJuri: [],
|
|
|
+ uploadStudentJuri: [],
|
|
|
+ uploadCid: "",
|
|
|
snameWid: "",
|
|
|
sStudent: {},
|
|
|
bzText: "",
|
|
@@ -7870,6 +7872,19 @@ export default {
|
|
|
console.error(err);
|
|
|
});
|
|
|
},
|
|
|
+ selectUploadStudent() {
|
|
|
+ let params = {
|
|
|
+ cid: this.uploadCid,
|
|
|
+ };
|
|
|
+ this.ajax
|
|
|
+ .get(this.$store.state.api + "selectSnameByCid", params)
|
|
|
+ .then((res) => {
|
|
|
+ this.uploadStudentJuri = res.data[0];
|
|
|
+ })
|
|
|
+ .catch((err) => {
|
|
|
+ console.error(err);
|
|
|
+ });
|
|
|
+ },
|
|
|
selectWorksStudent() {
|
|
|
let params = {
|
|
|
oid: this.oid,
|
|
@@ -8210,7 +8225,7 @@ export default {
|
|
|
userid: b[j].userid,
|
|
|
wid: b[j].id,
|
|
|
});
|
|
|
- } else if (b[j].type == 12 && a[i].tool[0] == 32) {
|
|
|
+ } else if (b[j].type == 12 && a[i].tool[0] == 32) {
|
|
|
//选择题
|
|
|
this.workStudent[i].push({
|
|
|
works: b[j].content,
|
|
@@ -8326,7 +8341,8 @@ export default {
|
|
|
} else if (w.works && w.type == 10) {
|
|
|
this.commentDetail.works = JSON.parse(this.commentDetail.works);
|
|
|
} else if (w.works && w.type == 13) {
|
|
|
- this.wordJson = this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
|
|
|
+ this.wordJson =
|
|
|
+ this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
|
|
|
this.taskCount
|
|
|
].toolChoose[toolIndex].wordJson;
|
|
|
}
|
|
@@ -11090,6 +11106,11 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
this.plworkFile = [];
|
|
|
+ this.uploadCid =
|
|
|
+ this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
|
|
|
+ index
|
|
|
+ ].toolChoose[i].uploadJson[0];
|
|
|
+ this.selectUploadStudent();
|
|
|
this.dialogVisiblePl = true;
|
|
|
} else if (t == 8) {
|
|
|
if (this.libraryCount > 0) {
|