|
@@ -94,7 +94,7 @@
|
|
|
<span>{{ $t('syllabus.syllabusMenu') }}</span>
|
|
|
<span class="syllabus-content-header-tools" v-if="volumeList.length && curVolume.id && !inShareView">
|
|
|
<Icon type="md-add" :title="$t('syllabus.tree.addChapterTitle')" @click="isAddTreeModal = true" v-if="hasSyllabusAuth || hasVolumeAuth(curVolume.auth)" />
|
|
|
- <Icon type="md-cloud-upload" :title="`批量创建`" @click="importModal = true" v-if="hasSyllabusAuth || hasVolumeAuth(curVolume.auth)" />
|
|
|
+ <Icon type="md-cloud-upload" :title="$t('syllabus.importTip7')" @click="importModal = true" v-if="hasSyllabusAuth || hasVolumeAuth(curVolume.auth)" />
|
|
|
</span>
|
|
|
</div>
|
|
|
<div class="syllabus-tree-box">
|
|
@@ -175,20 +175,20 @@
|
|
|
<!--批量汇入-->
|
|
|
<Modal v-model="importModal" width="800" footer-hide class="tree-modal add-volume-modal tree-upload-modal">
|
|
|
<div class="modal-header" slot="header">
|
|
|
- <span>{{ `批量导题` }}</span>
|
|
|
+ <span>{{ $t('syllabus.importTip7') }}</span>
|
|
|
</div>
|
|
|
<Upload action="" :before-upload="onBeforeImportUpload" :show-upload-list="false" :disabled="isImporting">
|
|
|
<div class="import-wrap">
|
|
|
<Icon type="md-cloud-upload" size="100" color="#c2c2c1" />
|
|
|
- <p style="margin:10px 0">{{ isImporting ? `模板解析中...` : `选择导入的Excel文件` }}</p>
|
|
|
+ <p style="margin:10px 0">{{ isImporting ? $t('syllabus.importTip5') : $t('syllabus.importTip6') }}</p>
|
|
|
<Progress :percent="importPercent" status="active" v-if="isImporting" />
|
|
|
</div>
|
|
|
</Upload>
|
|
|
<div class="tip-wrap">
|
|
|
- <p>注意事项:</p>
|
|
|
- <p>1. 目前仅支持文件类型为xls,xlsx格式的表格文档进行批量创建。</p>
|
|
|
- <p>2. 导入的文件大小不能超过10M。</p>
|
|
|
- <p>3. 请严格遵循导入模板格式进行编辑。</p>
|
|
|
+ <p>{{ $t('syllabus.importTip1') }}</p>
|
|
|
+ <p>{{ $t('syllabus.importTip2') }}</p>
|
|
|
+ <p>{{ $t('syllabus.importTip3') }}</p>
|
|
|
+ <p>{{ $t('syllabus.importTip4') }}</p>
|
|
|
</div>
|
|
|
</Modal>
|
|
|
<!--上传文件-->
|
|
@@ -534,7 +534,7 @@ export default {
|
|
|
option: this.getItemOptions(item),
|
|
|
repair: [{
|
|
|
blobUrl: item.Url,
|
|
|
- name: '补救资源',
|
|
|
+ name: this.$t('evalutaion.newExercise.repair'),
|
|
|
type: 'link'
|
|
|
}],
|
|
|
nodeId: itemNode[itemNode.length - 1].id
|