|
@@ -1315,7 +1315,7 @@
|
|
|
type="primary"
|
|
|
v-if="tool.tool[0] == 16 && worksStudent[toolIndex].length > 0"
|
|
|
style="position: absolute; right: 30px; top: 30px"
|
|
|
- @click="uploadWorks(toolIndex)"
|
|
|
+ @click="openTips(toolIndex)"
|
|
|
>导出作业</el-button
|
|
|
>
|
|
|
<!-- <el-button type="primary" v-if="tool.tool[0] == 57" style="
|
|
@@ -11060,6 +11060,20 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+ <el-dialog
|
|
|
+ title="提示"
|
|
|
+ :visible.sync="downDialogVisible"
|
|
|
+ width="500px"
|
|
|
+ :before-close="handleClose"
|
|
|
+ class="dialog_diy"
|
|
|
+ center
|
|
|
+ >
|
|
|
+ <div style="font-size: 18px;">是否导出作业?</div>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button @click="downDialogVisible = false">取 消</el-button>
|
|
|
+ <el-button type="primary" @click="uploadWorks">确 定</el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -11337,6 +11351,8 @@ export default {
|
|
|
dialogVisibleChoiceTeacher: false,
|
|
|
answerDialogVisible: false,
|
|
|
answerDialogVisibleTeacher: false,
|
|
|
+ downDialogVisible: false,
|
|
|
+ tipsIndex: 0,
|
|
|
juriVisible: false,
|
|
|
timeDialogVisible: false,
|
|
|
replyDialogVisible: false,
|
|
@@ -18033,7 +18049,12 @@ export default {
|
|
|
this.wordCloudData = array;
|
|
|
this.dialogVisibleWordCloud = true;
|
|
|
},
|
|
|
- uploadWorks(i) {
|
|
|
+ openTips(i){
|
|
|
+ this.tipsIndex = i;
|
|
|
+ this.downDialogVisible = true;
|
|
|
+ },
|
|
|
+ uploadWorks() {
|
|
|
+ this.downDialogVisible = false;
|
|
|
const loading = this.$loading.service({
|
|
|
background: "rgba(255, 255, 255, 0.7)",
|
|
|
target: document.body,
|
|
@@ -18042,8 +18063,8 @@ export default {
|
|
|
const _worksStudent = this.worksStudent;
|
|
|
let url = [];
|
|
|
var counts = {};
|
|
|
- for (var l = 0; l < _worksStudent[i].length; l++) {
|
|
|
- var item = _worksStudent[i][l];
|
|
|
+ for (var l = 0; l < _worksStudent[this.tipsIndex].length; l++) {
|
|
|
+ var item = _worksStudent[this.tipsIndex][l];
|
|
|
var name = item.sName;
|
|
|
if (!counts.hasOwnProperty(name)) {
|
|
|
counts[name] = 0;
|
|
@@ -18054,8 +18075,8 @@ export default {
|
|
|
item.sName += " (" + counts[name] + ")";
|
|
|
}
|
|
|
}
|
|
|
- for (var l = 0; l < _worksStudent[i].length; l++) {
|
|
|
- var item = _worksStudent[i][l];
|
|
|
+ for (var l = 0; l < _worksStudent[this.tipsIndex].length; l++) {
|
|
|
+ var item = _worksStudent[this.tipsIndex][l];
|
|
|
if (
|
|
|
item.works.indexOf(
|
|
|
"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn"
|
|
@@ -19767,7 +19788,7 @@ export default {
|
|
|
.toolActive {
|
|
|
height: auto !important;
|
|
|
overflow: auto !important;
|
|
|
- // padding-bottom: 16px;
|
|
|
+ /* padding-bottom: 16px; */
|
|
|
}
|
|
|
.toolActive {
|
|
|
padding: 0;
|