|
@@ -33,7 +33,7 @@
|
|
<Upload action="" style="display: inline-block" :format="['jpg', 'jpeg', 'png', 'pdf']" :max-size="2048" multiple :before-upload="handleBeforeUpload" :show-upload-list="false">
|
|
<Upload action="" style="display: inline-block" :format="['jpg', 'jpeg', 'png', 'pdf']" :max-size="2048" multiple :before-upload="handleBeforeUpload" :show-upload-list="false">
|
|
<span class="btn-upload">{{ $t("evaluation.quickPaper.upload") }}</span>
|
|
<span class="btn-upload">{{ $t("evaluation.quickPaper.upload") }}</span>
|
|
</Upload>
|
|
</Upload>
|
|
- <span @click="screenshotChange()" style="color: #515a6e;" class="btn-upload" v-if="buildMode === 'order' && attachments.length">截图</span>
|
|
|
|
|
|
+ <span @click="screenshotChange()" style="color: #515a6e;" class="btn-upload" v-if="buildMode === 'order' && attachments.length">{{ $t("evaluation.quickPaper.screen") }}</span>
|
|
</p>
|
|
</p>
|
|
<div class="img-list">
|
|
<div class="img-list">
|
|
<div v-if="!attachments.length" style="margin: 20px 30px; color: #9999">{{ $t("evaluation.quickPaper.empty") }}</div>
|
|
<div v-if="!attachments.length" style="margin: 20px 30px; color: #9999">{{ $t("evaluation.quickPaper.empty") }}</div>
|
|
@@ -168,7 +168,7 @@
|
|
<span style="margin: 0 10px">{{ $t("syllabus.score") }}</span>
|
|
<span style="margin: 0 10px">{{ $t("syllabus.score") }}</span>
|
|
<InputNumber v-model="item.score" :min="1" :max="100"></InputNumber>
|
|
<InputNumber v-model="item.score" :min="1" :max="100"></InputNumber>
|
|
<img :src="item.img" alt="" style="width: 100px;" @click="$hevueImgPreview(item.img)" v-show="item.img">
|
|
<img :src="item.img" alt="" style="width: 100px;" @click="$hevueImgPreview(item.img)" v-show="item.img">
|
|
- <span v-show="markListOld.length" style="margin-left: 10px; cursor: pointer" @click="editItemImg(item, index)" :title="item.img ? '重新截图' : '截图'">
|
|
|
|
|
|
+ <span v-show="markListOld.length" style="margin-left: 10px; cursor: pointer" @click="editItemImg(item, index)" :title="item.img ? $t('evaluation.quickPaper.reScreen') : $t('evaluation.quickPaper.screen')">
|
|
<Icon type="md-crop" color="#5a5a5a" size="18" />
|
|
<Icon type="md-crop" color="#5a5a5a" size="18" />
|
|
</span>
|
|
</span>
|
|
<span style="margin-left: 10px; cursor: pointer" @click="doRemoveItem(index)">
|
|
<span style="margin-left: 10px; cursor: pointer" @click="doRemoveItem(index)">
|
|
@@ -178,16 +178,16 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <Modal v-model="isScreenshot" :mask-closable="false" title="框图取题" width="800" @on-ok="saveMark()" @on-cancel="closeMark()">
|
|
|
|
|
|
+ <Modal v-model="isScreenshot" :mask-closable="false" :title="$t('evaluation.quickPaper.screenQues')" width="800" @on-ok="saveMark()" @on-cancel="closeMark()">
|
|
<div>
|
|
<div>
|
|
<Select v-model="screenType" :placeholder="$t('evaluation.newExercise.gradePlaceholder')" style="width: 250px;">
|
|
<Select v-model="screenType" :placeholder="$t('evaluation.newExercise.gradePlaceholder')" style="width: 250px;">
|
|
<Option v-for="(type, typeIndex) in Object.keys(typeMap)" :value="type" :key="typeIndex">
|
|
<Option v-for="(type, typeIndex) in Object.keys(typeMap)" :value="type" :key="typeIndex">
|
|
{{ typeMap[type] }}
|
|
{{ typeMap[type] }}
|
|
</Option>
|
|
</Option>
|
|
</Select>
|
|
</Select>
|
|
- <Button type="primary" style="margin-left: 15px;" @click="changImg('up')" v-show="markIndex">上一页</Button>
|
|
|
|
- <Button type="primary" style="margin-left: 15px;" @click="changImg('down')" v-show="markIndex + 1 != attachments.length">下一页</Button>
|
|
|
|
- <Button type="primary" style="margin-left: 15px;" @click="delMark()">撤销</Button>
|
|
|
|
|
|
+ <Button type="primary" style="margin-left: 15px;" @click="changImg('up')" v-show="markIndex">{{ $t('evaluation.quickPaper.lastPage') }}</Button>
|
|
|
|
+ <Button type="primary" style="margin-left: 15px;" @click="changImg('down')" v-show="markIndex + 1 != attachments.length">{{ $t('evaluation.quickPaper.nextPage') }}</Button>
|
|
|
|
+ <Button type="primary" style="margin-left: 15px;" @click="delMark()">{{ $t('cusMgt.rcd.cover.undo') }}</Button>
|
|
</div>
|
|
</div>
|
|
<div style="margin-top: 10px">
|
|
<div style="margin-top: 10px">
|
|
</div>
|
|
</div>
|