1991 机具设备管理点击导出按钮无反应

This commit is contained in:
binbin_pan 2024-06-11 10:51:55 +08:00
parent eaa21c323e
commit 7f1b3bbc8b
1 changed files with 7 additions and 8 deletions

View File

@ -372,12 +372,10 @@
<el-select
v-model="form.propId"
filterable
clearable
placeholder="请选择资产属性"
style="width: 220px"
>
<el-option
label="请选择"
:value="0"
></el-option>
<el-option
v-for="keeper in propList"
:key="keeper.propId"
@ -448,7 +446,7 @@
placeholder="机具厂家"
clearable
filterable
style="width: 180px"
style="width: 220px"
>
<el-option
v-for="item in supplierList"
@ -779,9 +777,10 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
// this.download('system/dict/type/export', {
// ...this.queryParams
// }, `type_${new Date().getTime()}.xlsx`)
this.download('base/machine/export', {
...this.queryParams,
dataCondition: this.ids
}, `编码设备管理_${new Date().getTime()}.xlsx`)
},
},
}