Commit 4b294edb authored by lixy's avatar lixy

下载文件域名替换

parent d3814eae
......@@ -261,7 +261,6 @@
res.data.data.forEach(function (item) {
// item.price = item.price / 10000;
item.width = (item.total - item.balance) / item.total * 100 + "%";
// item.companyPic = "https://mgmt.dfangche.com/vehicle/branchCompany/stock/download/companyPic?realFileRelPath=" + item.companyPic;
allList.push(item);
});
if(res.data.data.length< this.listQuery.limit && allList.length>0){
......
......@@ -198,7 +198,7 @@
<el-form :model="fileForm">
<el-form-item label="上传文件" label-width="80px">
<el-button type="primary" icon="el-icon-download">
<a class="el-icon-download" href="https://mgmt.dfangche.com/axshare/userposition.xlsx">下载模板</a>
<a class="el-icon-download" :href="BASE_API+'/axshare/userposition.xlsx'">下载模板</a>
</el-button>
<el-upload
......
......@@ -46,7 +46,6 @@
<el-form-item label="上传文件" label-width="80px">
<el-button type="primary" icon="el-icon-download" @click="download">
下载模板
<!-- <a class="el-icon-download" href="https://mgmt.dfangche.com/axshare/gudongdaoru.xlsx">下载模板</a> -->
</el-button>
<el-upload
......@@ -296,8 +295,7 @@ export default {
},
//下载模板
download() {
window.location.href =
'https://mgmt.dfangche.com/axshare/gudongdaoru.xlsx'
window.location.href = this.BASE_API+'/axshare/gudongdaoru.xlsx'
},
closeAdd() {
this.time = null
......
......@@ -162,7 +162,7 @@
<el-form :model="fileForm">
<el-form-item label="上传文件" :label-width="formLabelWidth">
<el-button type="primary" icon="el-icon-download">
<a class="el-icon-download" href="https://mgmt.dfangche.com/axshare/usermember.xlsx">下载模板
<a class="el-icon-download" :href="BASE_API+'/axshare/usermember.xlsx'">下载模板
</a>
</el-button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment