diff --git a/src/api/warning/index.ts b/src/api/warning/index.ts index ef1a567..0d5def8 100644 --- a/src/api/warning/index.ts +++ b/src/api/warning/index.ts @@ -3,7 +3,7 @@ import request from "@/api/request"; //分页查询 export function warningPage(body) { return request.post({ - url: '/warning/getPage', + url: '/warning/business/page', body }); } @@ -52,4 +52,16 @@ export function auditEndWarningApi(body){ url:'/reportFlow/auditEndWarning', body }) +} + +//导出预警列表 +export function excelWarningList(body) { + return request.post({ + url: '/warning/business/excelWarningList', + body, + config: { + excelName: '预警监督项目列表.xlsx' + }, + showErrorMsg: true + }) } \ No newline at end of file diff --git a/src/views/warning/index.vue b/src/views/warning/index.vue index f42b12a..de26fd6 100644 --- a/src/views/warning/index.vue +++ b/src/views/warning/index.vue @@ -1,11 +1,12 @@