diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/maintenance/MaintenanceReportController.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/maintenance/MaintenanceReportController.java index aa3cdae..6630601 100644 --- a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/maintenance/MaintenanceReportController.java +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/maintenance/MaintenanceReportController.java @@ -69,7 +69,7 @@ public class MaintenanceReportController { return success(BeanUtils.toBean(maintenanceReport, MaintenanceReportRespVO.class)); } - @GetMapping("/page") + @GetMapping("/pageList") @Operation(summary = "获得维修报告分页") public CommonResult> getMaintenanceReportPage(@Valid MaintenanceReportPageReqVO pageReqVO) { PageResult pageResult = maintenanceReportService.getMaintenanceReportPage(pageReqVO); diff --git a/imt-ui/src/api/system/maintenance/maintenanceReport.js b/imt-ui/src/api/system/maintenance/maintenanceReport.js index 704cfec..34dc9be 100644 --- a/imt-ui/src/api/system/maintenance/maintenanceReport.js +++ b/imt-ui/src/api/system/maintenance/maintenanceReport.js @@ -37,7 +37,7 @@ export function getMaintenanceReport(id) { // 获得维修报告分页 export function getMaintenanceReportPage(params) { return request({ - url: '/maintenance/report/page', + url: '/maintenance/report/pageList', method: 'get', params })