|
@@ -16,7 +16,7 @@
|
|
|
<el-form-item style="float:right;">
|
|
|
<el-link type="primary" :underline="false" @click="handleAdd(-1,null)">{{ $t('newcustomer') }}</el-link>
|
|
|
<el-link type="primary" :underline="false" @click="intocustomerRatio">{{ $t('importingCustomersinBatches') }}</el-link>
|
|
|
- <el-link type="primary" :underline="false" @click="exportData()">{{'导出'}}</el-link>
|
|
|
+ <el-link type="primary" :underline="false" @click="exportData()">{{ $t('export.export') }}</el-link>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</el-col>
|
|
@@ -582,7 +582,7 @@
|
|
|
if (res.code == "ok") {
|
|
|
var filePath = res.data;
|
|
|
const a = document.createElement('a'); // 创建a标签
|
|
|
- a.setAttribute('download', '客户列表.xlsx');// download属性
|
|
|
+ a.setAttribute('download', this.$t('keHuLieBiaoXlsx'));// download属性
|
|
|
a.setAttribute('href', filePath);// href链接
|
|
|
a.click(); //自执行点击事件
|
|
|
a.remove();
|