|
|
@ -1164,6 +1164,7 @@ const genRecords = async (id: number) => { |
|
|
|
/** 导出按钮操作 */ |
|
|
|
const exportLoading = ref(false) // 导出的加载中 |
|
|
|
const handleExport = async () => { |
|
|
|
console.log(111) |
|
|
|
let rows: any = [] |
|
|
|
selectionRows.value.forEach((item) => { |
|
|
|
rows = [...rows, ...item.selectionRows.map((item1) => item1.number)] |
|
|
@ -1179,7 +1180,12 @@ const handleExport = async () => { |
|
|
|
} else { |
|
|
|
paramsData = { ...paramsData, checkNums: rows } |
|
|
|
} |
|
|
|
console.log(tableObject.params) |
|
|
|
console.log(paramsData) |
|
|
|
console.log('批量导出', paramsData) |
|
|
|
if (!paramsData.createTime || paramsData.createTime && paramsData.createTime.length == 0) { |
|
|
|
delete paramsData.createTime |
|
|
|
} |
|
|
|
try { |
|
|
|
// 导出的二次确认 |
|
|
|
await message.exportConfirm() |
|
|
|