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