|
@@ -21,7 +21,7 @@
|
|
|
<dataLoading :loading="isLoading"/>
|
|
|
|
|
|
<div class="download-ico">
|
|
|
- <a :href="downloadTemplate" download="模板">
|
|
|
+ <a :href="`${downloadTemplate}${$i18nt.locale==='zh'?'':'/en'}`" download="模板">
|
|
|
<i class="icon down_ico"></i>
|
|
|
<span style="color: #5882ef; cursor: pointer">{{$t('ManualEntryPage.down_tem')}}</span>
|
|
|
</a>
|
|
@@ -80,7 +80,7 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
action: process.env.VUE_APP_API_ROOT + "/entry/import/data", //上传文件
|
|
|
- downloadTemplate: process.env.VUE_APP_API_ROOT + "/entry/template" + this.$i18nt.locale==='zh'?'':'/en', //模板下载
|
|
|
+ downloadTemplate: process.env.VUE_APP_API_ROOT + "/entry/template", //模板下载
|
|
|
downloadErrorlist:
|
|
|
process.env.VUE_APP_API_ROOT +
|
|
|
"/entry/import/failList" +
|