From f99c9a6887c20a7b0dfb0a6c8cf1287689be5d12 Mon Sep 17 00:00:00 2001 From: zhoule Date: Fri, 29 Mar 2024 15:24:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JiHeExpressway/pages/control/event/event/index.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/index.vue index c3abcd58..7608e4bc 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/index.vue @@ -238,7 +238,13 @@ export default { background: "#00000052", text: "文件正在下载...", }); - request.post(url, {}, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, responseType: 'blob' }) + // request.post(url, {}, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, responseType: 'blob' }) + request({ + url: url,//感知事件 + method: "post", + data: { ...this.searchData, warningState: 1 }, + responseType: 'blob' + }) .then((res) => { console.log(res); const url = window.URL.createObjectURL(new Blob([res]));