Commit f4fd80f6dafd02e5318370fdc5e3140d28f1b5de
1 parent
2f9d5394
无法下载订单导出
Showing
1 changed file
with
11 additions
and
1 deletions
trash-ui/src/views/gar/order/index.vue
| ... | ... | @@ -341,6 +341,16 @@ export default { |
| 341 | 341 | /** 导出按钮操作 */ |
| 342 | 342 | handleExport() { |
| 343 | 343 | const queryParams = this.queryParams; |
| 344 | + // this.$confirm('是否确认导出所有清运派单数据项?', "警告", { | |
| 345 | + // confirmButtonText: "确定", | |
| 346 | + // cancelButtonText: "取消", | |
| 347 | + // type: "warning" | |
| 348 | + // }).then(function () { | |
| 349 | + // return exportOrder(queryParams); | |
| 350 | + // }).then(response => { | |
| 351 | + // this.download(response.msg); | |
| 352 | + // }) | |
| 353 | + | |
| 344 | 354 | this.$confirm('是否确认导出所有清运派单数据项?', "警告", { |
| 345 | 355 | confirmButtonText: "确定", |
| 346 | 356 | cancelButtonText: "取消", |
| ... | ... | @@ -348,7 +358,7 @@ export default { |
| 348 | 358 | }).then(function () { |
| 349 | 359 | return exportOrder(queryParams); |
| 350 | 360 | }).then(response => { |
| 351 | - this.download(response.msg); | |
| 361 | + this.download(response.message); | |
| 352 | 362 | }) |
| 353 | 363 | } |
| 354 | 364 | } | ... | ... |