mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-26 08:16:47 +08:00
优化车辆导入下载excel失败问题
This commit is contained in:
parent
07373ef19b
commit
27139ae93f
@ -3,32 +3,32 @@
|
||||
<div class="modal-content">
|
||||
<div class="modal-body">
|
||||
<h3 class="m-t-none m-b ">
|
||||
<vc:i18n name="车辆导入" namespace="importOwnerCar"></vc:i18n>
|
||||
<vc:i18n name="车辆导入" namespace="importOwnerCar"></vc:i18n>
|
||||
</h3>
|
||||
<div class="ibox-content">
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label">
|
||||
<vc:i18n name="选择文件" namespace="importOwnerCar"></vc:i18n>
|
||||
<vc:i18n name="选择文件" namespace="importOwnerCar"></vc:i18n>
|
||||
</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="custom-file">
|
||||
<input id="excelTemplate" ref="excelTemplate" type="file"
|
||||
class="custom-file-input form-control" name="excelTemplate"
|
||||
v-on:change="getExcelTemplate($event)" accept=".xls,.xlsx">
|
||||
class="custom-file-input form-control" name="excelTemplate"
|
||||
v-on:change="getExcelTemplate($event)" accept=".xls,.xlsx">
|
||||
<label for="excelTemplate"
|
||||
class="custom-file-label">{{importOwnerCarInfo.excelTemplate==''?'必填,请选择数据文件':importOwnerCarInfo.excelTemplate.name}}</label>
|
||||
class="custom-file-label">{{importOwnerCarInfo.excelTemplate==''?'必填,请选择数据文件':importOwnerCarInfo.excelTemplate.name}}</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label">
|
||||
<vc:i18n name="下载模板" namespace="importOwnerCar"></vc:i18n>
|
||||
<vc:i18n name="下载模板" namespace="importOwnerCar"></vc:i18n>
|
||||
</label>
|
||||
<div class="col-sm-10">
|
||||
请先下载
|
||||
<a :href="'/callComponent/importOwnerCar/exportData?communityId='+importOwnerCarInfo.communityId"
|
||||
target="_blank">
|
||||
<vc:i18n name="导入模板" namespace="importOwnerCar"></vc:i18n>
|
||||
<a href="/import/importCar.xlsx"
|
||||
target="_blank">
|
||||
<vc:i18n name="导入模板" namespace="importOwnerCar"></vc:i18n>
|
||||
</a> <span>
|
||||
<vc:i18n name="准备数据后,上传导入" namespace="importOwnerCar"></vc:i18n>
|
||||
</span>
|
||||
@ -39,7 +39,7 @@
|
||||
<i class="fa fa-check"></i> 导入
|
||||
</button>
|
||||
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
|
||||
data-dismiss="modal">
|
||||
data-dismiss="modal">
|
||||
<i class="fa fa-close"></i> 取消
|
||||
</button>
|
||||
</div>
|
||||
|
||||
BIN
public/import/importCar.xlsx
Normal file
BIN
public/import/importCar.xlsx
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user