|
@@ -321,6 +321,8 @@ const batchDownload = async () => {
|
|
const waterDownloadLoading = ref(false)
|
|
const waterDownloadLoading = ref(false)
|
|
const tableWaterKeys = ref([])
|
|
const tableWaterKeys = ref([])
|
|
const tableWaterSelection = (rows) => {
|
|
const tableWaterSelection = (rows) => {
|
|
|
|
+
|
|
|
|
+
|
|
tableWaterKeys.value = rows.filter((item) => {
|
|
tableWaterKeys.value = rows.filter((item) => {
|
|
return (item ?? '') !== ''
|
|
return (item ?? '') !== ''
|
|
})
|
|
})
|
|
@@ -329,10 +331,10 @@ const tableWaterSelection = (rows) => {
|
|
const waterBatchDownload = async () => {
|
|
const waterBatchDownload = async () => {
|
|
const rows = tableWaterKeys.value
|
|
const rows = tableWaterKeys.value
|
|
|
|
|
|
- const ids = arrToId(rows)
|
|
|
|
|
|
+ // const ids = arrToId(rows)
|
|
//批量下载
|
|
//批量下载
|
|
waterDownloadLoading.value = true
|
|
waterDownloadLoading.value = true
|
|
- const { error, disposition, res } = await queryApi.downloadNeiYe({ ids: ids })
|
|
|
|
|
|
+ const { error, disposition, res } = await queryApi.downloadNeiYe({ list: rows })
|
|
//处理数据
|
|
//处理数据
|
|
waterDownloadLoading.value = false
|
|
waterDownloadLoading.value = false
|
|
if (!error) {
|
|
if (!error) {
|