From 1ccbd0bf8b5010824238c40281f871bd9f8a6178 Mon Sep 17 00:00:00 2001 From: zhoule Date: Fri, 29 Mar 2024 15:14:24 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=B8=8B=E6=8B=89=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JiHeExpressway/pages/control/event/event/data.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/data.js index f5ceb632..5f52ea9f 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/data.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/data.js @@ -80,14 +80,14 @@ export const gjSearchFormList = [ key: "5", label: "扫码报警", }, - { - key: "6", - label: "非机预警", - }, // { - // key: "7", - // label: "气象监测器", + // key: "6", + // label: "非机预警", // }, + { + key: "7", + label: "气象监测器", + }, ], }, }, From f99c9a6887c20a7b0dfb0a6c8cf1287689be5d12 Mon Sep 17 00:00:00 2001 From: zhoule Date: Fri, 29 Mar 2024 15:24:59 +0800 Subject: [PATCH 2/2] =?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]));