|
@@ -1357,7 +1357,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="tool">
|
|
|
- <div class="whiteBIcon" @click="openTools(itemTaskIndex, 50, toolIndex)">
|
|
|
+ <div class="whiteBIcon" @click="addTools(50, itemTaskIndex, toolIndex)">
|
|
|
<img src="../../assets/icon/thirdToolList/plwork.png" alt />
|
|
|
<div style="margin: 5px 0">批量上传</div>
|
|
|
</div>
|
|
@@ -1653,6 +1653,18 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="tool">
|
|
|
+ <div class="whiteBIcon" @click="addTools(61, itemTaskIndex, toolIndex)">
|
|
|
+ <img src="../../assets/icon/fourthToolList/allHistory.png" alt />
|
|
|
+ <div style="margin: 5px 0">全历史</div>
|
|
|
+ </div>
|
|
|
+ <div class="check" @click="addTools(61, itemTaskIndex, toolIndex)">
|
|
|
+ <img src="../../assets/icon/checkNo.png" alt v-if="itemTool.tool.indexOf(61) == -1" />
|
|
|
+ <div class="checkDiv" v-else>
|
|
|
+ <img src="../../assets/icon/checkedIs.png" alt /><span>已选择</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<!-- <div class="tool">
|
|
|
<div class="whiteBIcon" @click="addTools(44, itemTaskIndex, toolIndex)">
|
|
|
<img src="../../assets/icon/thirdToolList/hanClass.png" alt />
|
|
@@ -3326,11 +3338,12 @@ export default {
|
|
|
setMan() {
|
|
|
// let teacherJuri = this.teacherJuri2;
|
|
|
this.ManAarray = [];
|
|
|
- if (this.checkboxList3.indexOf(this.courseUserid || this.userid) == -1) {
|
|
|
- this.checkboxList3.push(this.courseUserid || this.userid);
|
|
|
+ let _user = JSON.parse(JSON.stringify(this.checkboxList3))
|
|
|
+ if (_user.indexOf(this.courseUserid || this.userid) == -1) {
|
|
|
+ _user.push(this.courseUserid || this.userid);
|
|
|
}
|
|
|
let params = {
|
|
|
- uid: this.checkboxList3.join(","),
|
|
|
+ uid: _user.join(","),
|
|
|
};
|
|
|
this.ajax
|
|
|
.get(this.$store.state.api + "getAllUserById", params)
|
|
@@ -5358,24 +5371,25 @@ export default {
|
|
|
this.wordJson = wordJson;
|
|
|
}
|
|
|
this.dialogVisibleWord = true;
|
|
|
- } else if (i == 50) {
|
|
|
- if (
|
|
|
- this.unitJson[this.unitIndex].chapterInfo[0].taskJson[itemTaskIndex]
|
|
|
- .toolChoose[toolIndex].uploadJson
|
|
|
- ) {
|
|
|
- this.uploadJson = JSON.parse(
|
|
|
- JSON.stringify(
|
|
|
- this.unitJson[this.unitIndex].chapterInfo[0].taskJson[
|
|
|
- itemTaskIndex
|
|
|
- ].toolChoose[toolIndex].uploadJson
|
|
|
- )
|
|
|
- );
|
|
|
- } else {
|
|
|
- var uploadJson = [];
|
|
|
- this.uploadJson = uploadJson;
|
|
|
- }
|
|
|
- this.dialogVisibleMoreUpload = true;
|
|
|
- } else if (i == 10) {
|
|
|
+ // else if (i == 50) {
|
|
|
+ // if (
|
|
|
+ // this.unitJson[this.unitIndex].chapterInfo[0].taskJson[itemTaskIndex]
|
|
|
+ // .toolChoose[toolIndex].uploadJson
|
|
|
+ // ) {
|
|
|
+ // this.uploadJson = JSON.parse(
|
|
|
+ // JSON.stringify(
|
|
|
+ // this.unitJson[this.unitIndex].chapterInfo[0].taskJson[
|
|
|
+ // itemTaskIndex
|
|
|
+ // ].toolChoose[toolIndex].uploadJson
|
|
|
+ // )
|
|
|
+ // );
|
|
|
+ // } else {
|
|
|
+ // var uploadJson = [];
|
|
|
+ // this.uploadJson = uploadJson;
|
|
|
+ // }
|
|
|
+ // this.dialogVisibleMoreUpload = true;
|
|
|
+ // }
|
|
|
+ } else if (i == 10) {
|
|
|
if (
|
|
|
this.unitJson[this.unitIndex].chapterInfo[0].taskJson[itemTaskIndex]
|
|
|
.toolChoose[toolIndex].preTime
|
|
@@ -5611,15 +5625,15 @@ export default {
|
|
|
// return;
|
|
|
// }
|
|
|
// }
|
|
|
- if (i == 50) {
|
|
|
- if (
|
|
|
- !this.unitJson[this.unitIndex].chapterInfo[0].taskJson[itemTaskIndex]
|
|
|
- .toolChoose[toolIndex].uploadJson
|
|
|
- ) {
|
|
|
- this.openTools(itemTaskIndex, 50, toolIndex);
|
|
|
- return;
|
|
|
- }
|
|
|
- }
|
|
|
+ // if (i == 50) {
|
|
|
+ // if (
|
|
|
+ // !this.unitJson[this.unitIndex].chapterInfo[0].taskJson[itemTaskIndex]
|
|
|
+ // .toolChoose[toolIndex].uploadJson
|
|
|
+ // ) {
|
|
|
+ // this.openTools(itemTaskIndex, 50, toolIndex);
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
+ // }
|
|
|
|
|
|
if (i == 49) {
|
|
|
if (
|