Commit 5b6aed29 by 王志慧

fixed

1 parent 5163a1e3
......@@ -61,7 +61,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 v-if="batchForm.exportUrl" class="tip" style="color: #333;">{{ batchForm.exportName }}</div>
......@@ -436,6 +436,9 @@ export default {
},
mounted() {},
methods: {
exportLink(e) {
window.location.href = this.tempUrl
},
handleSaveImport() {
if (this.batchForm.isUpload) {
this.handleExportError()
......
......@@ -126,6 +126,7 @@ export default {
if (res.list) {
for (let item of res.list) {
if (item.id === queryData.id) {
// console.log(item,'item')
delFlag = 1
icon = 'select'
} else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!