From ee35158c3408563f52d8f748ffa76fc350d4c0a1 Mon Sep 17 00:00:00 2001 From: buaixuexideshitongxue <2936013465@qq.com> Date: Fri, 8 May 2026 16:59:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E9=A2=84=E8=AD=A6=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/warning/index.ts | 14 +++++++++++++- src/views/warning/index.vue | 15 ++++++++++++++- 2 files changed, 27 insertions(+), 2 deletions(-) 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 @@