diff --git a/src/views/inspection/inspectionplan.vue b/src/views/inspection/inspectionplan.vue index c7d2974..f86c52d 100644 --- a/src/views/inspection/inspectionplan.vue +++ b/src/views/inspection/inspectionplan.vue @@ -356,7 +356,7 @@ cancelButtonText: "取消", type: "warning" }).then(() => { - expUtil.excelExport(`/api/inspection/inspectionplan/export?daf-auth=${getToken()}`, this.search, ['station', "planStatus"]); + expUtil.excelExportEasy(`/api/inspection/inspectionplan/export?daf-auth=${getToken()}`, this.search); }); }, beforeOpen(done, type) { diff --git a/src/views/inspection/inspectionroute.vue b/src/views/inspection/inspectionroute.vue index 8ea4820..6490ca4 100644 --- a/src/views/inspection/inspectionroute.vue +++ b/src/views/inspection/inspectionroute.vue @@ -338,7 +338,7 @@ cancelButtonText: "取消", type: "warning" }).then(() => { - expUtil.excelExport(`/api/inspection/inspectionRoute/export?daf-auth=${getToken()}`, this.search, ['stations', "istatus"]); + expUtil.excelExportEasy(`/api/inspection/inspectionRoute/export?daf-auth=${getToken()}`, this.search); }); }, beforeOpen(done, type) {