Commit c0e5bb70 authored by guoyou's avatar guoyou

股东列表下载模板

parent e2a5a329
...@@ -44,8 +44,9 @@ ...@@ -44,8 +44,9 @@
<el-dialog title="导入股东" :visible.sync="tolead"> <el-dialog title="导入股东" :visible.sync="tolead">
<el-form :model="fileForm"> <el-form :model="fileForm">
<el-form-item label="上传文件" label-width="80px"> <el-form-item label="上传文件" label-width="80px">
<el-button type="primary" icon="el-icon-download"> <el-button type="primary" icon="el-icon-download" @click="download">
<a class="el-icon-download" href="https://mgmt.dfangche.com/axshare/gudongdaoru.xlsx">下载模板</a> 下载模板
<!-- <a class="el-icon-download" href="https://mgmt.dfangche.com/axshare/gudongdaoru.xlsx">下载模板</a> -->
</el-button> </el-button>
<el-upload <el-upload
...@@ -289,6 +290,12 @@ export default { ...@@ -289,6 +290,12 @@ export default {
} }
}, },
methods: { methods: {
//下载模板
download(){
console.log('0000');
window.location.href="https://mgmt.dfangche.com/axshare/gudongdaoru.xlsx"
// window.lo.href="https://mgmt.dfangche.com/axshare/gudongdaoru.xlsx"
},
closeAdd() { closeAdd() {
this.time = null this.time = null
this.ruleForm={ this.ruleForm={
......
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