|
@@ -1,5 +1,6 @@
|
|
|
<template>
|
|
|
<div class="bank-container" ref="bankContainer">
|
|
|
+ <Loading v-show="isLoading" bgColor="rgba(0, 0, 0, 0.3)" style="z-index: 1368;"></Loading>
|
|
|
<div class="back-to-top flex-col-center" :title="$t('evaluation.backToTop')" @click="onBackToTop">
|
|
|
<Icon type="ios-arrow-up" />
|
|
|
</div>
|
|
@@ -114,10 +115,10 @@
|
|
|
</div>
|
|
|
</Modal>
|
|
|
<Modal v-model="paperArtModal" width="950px" title="艺术评测随机组卷" class-name="preview-modal">
|
|
|
- <BaseQuickArtPaper ref="quickPaperArtRef" v-if="paperArtModal"></BaseQuickArtPaper>
|
|
|
+ <BaseQuickArtPaper ref="quickPaperArtRef" @finish="onArtFinish" v-if="paperArtModal"></BaseQuickArtPaper>
|
|
|
<div slot="footer">
|
|
|
<Button @click="paperArtModal = false">{{ $t('homework.form.cancel') }}</Button>
|
|
|
- <Button type="primary" @click="doSaveQuickPaper" :loading="quickLoading">{{ $t('homework.form.save') }}</Button>
|
|
|
+ <Button type="primary" @click="doSaveArtPaper" :loading="quickLoading">{{ $t('homework.form.save') }}</Button>
|
|
|
</div>
|
|
|
</Modal>
|
|
|
</div>
|
|
@@ -138,7 +139,7 @@
|
|
|
fullPaperJson:null,
|
|
|
quickLoading: false,
|
|
|
checkItemArr: [],
|
|
|
- isLoading: true,
|
|
|
+ isLoading: false,
|
|
|
tabName: "exercise",
|
|
|
currentTab: "exercise",
|
|
|
isAllOpen: false,
|
|
@@ -150,20 +151,30 @@
|
|
|
},
|
|
|
methods: {
|
|
|
doSaveQuickPaper() {
|
|
|
- this.$refs.quickPaperArtRef.onConfirmSave();
|
|
|
+ this.$refs.quickPaperRef.onConfirmSave();
|
|
|
+ },
|
|
|
+ doSaveArtPaper() {
|
|
|
+ this.$refs.quickPaperArtRef.onConfirmSave()
|
|
|
},
|
|
|
editQuickPaper(fullPaperJson){
|
|
|
this.paperExamModal = true
|
|
|
this.fullPaperJson = fullPaperJson
|
|
|
console.error(fullPaperJson.attachments)
|
|
|
},
|
|
|
- onQuickFinish(){
|
|
|
+ onQuickFinish() {
|
|
|
this.quickLoading = false
|
|
|
this.paperExamModal = false
|
|
|
this.fullPaperJson = null
|
|
|
this.$refs.paperList.doFilter()
|
|
|
this.$Message.success(this.$t('result.tip4'))
|
|
|
},
|
|
|
+ onArtFinish() {
|
|
|
+ this.isLoading = false
|
|
|
+ this.quickLoading = false
|
|
|
+ this.paperArtModal = false
|
|
|
+ this.paperArtModal = null
|
|
|
+ this.$refs.paperList.doFilter()
|
|
|
+ },
|
|
|
onItemCheckChange(arr) {
|
|
|
this.checkItemArr = arr;
|
|
|
},
|