|
@@ -15,7 +15,9 @@
|
|
<span>1</span>下载导入模板
|
|
<span>1</span>下载导入模板
|
|
</div>
|
|
</div>
|
|
<p>请按照下载的Excel模板填写数据</p>
|
|
<p>请按照下载的Excel模板填写数据</p>
|
|
- <a-button type="link" icon="download" style="padding: 0 0 0 23px;" @click="handleExport">下载模板</a-button>
|
|
|
|
|
|
+ <a :href="filePath" style="padding: 5px 0 0 23px;display: block;">
|
|
|
|
+ <a-icon type="download" style="padding-right: 5px;" />下载导入模板
|
|
|
|
+ </a>
|
|
</div>
|
|
</div>
|
|
<div class="explain-item">
|
|
<div class="explain-item">
|
|
<div class="explain-tit">
|
|
<div class="explain-tit">
|
|
@@ -90,6 +92,7 @@ export default {
|
|
isShow: this.openModal, // 是否打开弹框
|
|
isShow: this.openModal, // 是否打开弹框
|
|
openImportModal: false, // 导入
|
|
openImportModal: false, // 导入
|
|
attachAction: process.env.VUE_APP_API_BASE_URL + '/upload',
|
|
attachAction: process.env.VUE_APP_API_BASE_URL + '/upload',
|
|
|
|
+ filePath: location.protocol + '//' + location.host + '/templ/绑定产品导入模板.xlsx',
|
|
paramsData: null,
|
|
paramsData: null,
|
|
uploadParams: {
|
|
uploadParams: {
|
|
savePathType: 'local'
|
|
savePathType: 'local'
|