Commit 3258adf1 by 王志慧

fixed

1 parent af93319d
......@@ -39,7 +39,7 @@
</el-button>
<input type="file" style="opacity: 0" ref="file" accept="*" @change="uploadFile" />
</div>
<a :href="tempUrl" target="_blank" >下载模板</a>
<a href="javascript:void(0);" @click="exportLink">下载模板</a>
</div>
</el-form-item>
<div class="tip">支持扩展名:xlsx、xls、csv</div>
......@@ -349,6 +349,14 @@ export default {
this.isBatch = true
this.batchForm.isUpload = false
},
exportLink(e) {
// if (e && e.preventDefault) {
// e.preventDefault()
// } else {
// e.returnValue=false
// }
window.location.href = this.tempUrl
},
getParams() {
var params = JSON.parse(JSON.stringify(this.searchForm))
if (this.searchForm.increaseTime&&this.searchForm.increaseTime.length) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!