From b88d90463ec7fbb53a0e6e32c10b739ab62d458f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=92=A6?= <360013221@qq.com> Date: Sat, 11 May 2024 11:05:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=8B=E4=BB=B6=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Home/components/Dialogs/TrafficIncidents/index.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue index fc25dace..824b4f4c 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue @@ -139,7 +139,15 @@ export default { methods: { handleClickTabs() { }, goDispatch() { - this.$router.push(`/control/event/commandDispatch?id=${this.dialogData.id}`); + request({ + url: `/dc/system/event/dcEventState/${this.dialogData.id}/1`, + method: "put", + }) + .then(({ code, data }) => { + if (code != 200) return; + this.$router.push(`/control/event/commandDispatch?id=${this.dialogData.id}`); + }) + .catch((err) => { }); }, goStrategy() { this.$router.push(`/control/device/strategy`);