|
|
|
@ -135,7 +135,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
exportAll() { |
|
|
|
|
location.href = `${this.api.excelExport}/${this.id}/token=${this.token}`; |
|
|
|
|
location.href = `${this.api.excelExport}?${this.id}`; |
|
|
|
|
}, |
|
|
|
|
exportBatch() { |
|
|
|
|
if (this.multipleSelection.length != "") { |
|
|
|
@ -145,7 +145,7 @@ export default { |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
// return console.log(11,data) |
|
|
|
|
location.href = `${this.api.batchExport}?ids=${data.join(",")}/token=${this.token}`; |
|
|
|
|
location.href = `${this.api.batchExport}?ids=${data.join(",")}`; |
|
|
|
|
} else { |
|
|
|
|
util.errorMsg("请先选择数据 !"); |
|
|
|
|
} |
|
|
|
|