fix: 1468 无法进行勾选数据准确导出
This commit is contained in:
parent
369c0c95c1
commit
3e75f58a59
|
|
@ -895,10 +895,12 @@
|
||||||
},
|
},
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
handleExport() {
|
handleExport() {
|
||||||
|
const dataCondition = this.selectionList.map((item) => item.taskId)
|
||||||
this.download(
|
this.download(
|
||||||
'base/repair/export',
|
'base/repair/export',
|
||||||
{
|
{
|
||||||
...this.queryParams,
|
...this.queryParams,
|
||||||
|
dataCondition
|
||||||
},
|
},
|
||||||
`维修单_${new Date().getTime()}.xlsx`,
|
`维修单_${new Date().getTime()}.xlsx`,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue