Commit f4fd80f6dafd02e5318370fdc5e3140d28f1b5de

Authored by liujun001
1 parent 2f9d5394

无法下载订单导出

trash-ui/src/views/gar/order/index.vue
@@ -341,6 +341,16 @@ export default { @@ -341,6 +341,16 @@ export default {
341 /** 导出按钮操作 */ 341 /** 导出按钮操作 */
342 handleExport() { 342 handleExport() {
343 const queryParams = this.queryParams; 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 this.$confirm('是否确认导出所有清运派单数据项?', "警告", { 354 this.$confirm('是否确认导出所有清运派单数据项?', "警告", {
345 confirmButtonText: "确定", 355 confirmButtonText: "确定",
346 cancelButtonText: "取消", 356 cancelButtonText: "取消",
@@ -348,7 +358,7 @@ export default { @@ -348,7 +358,7 @@ export default {
348 }).then(function () { 358 }).then(function () {
349 return exportOrder(queryParams); 359 return exportOrder(queryParams);
350 }).then(response => { 360 }).then(response => {
351 - this.download(response.msg); 361 + this.download(response.message);
352 }) 362 })
353 } 363 }
354 } 364 }