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 5844f6ff..8c296b5a 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 @@ -161,7 +161,7 @@ export default { // this.$emit('traffic-relieve', this.data); // }); request({ - url: `dc/system/event/${this.data.eventType}/${this.dialogData.id}`, + url: `dc/system/event/${this.dialogData.id}`, method: "delete", }).then((result) => { if (result.code == 200) Message.success("成功!"); diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue index a30ca6bd..f2e5d41d 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue @@ -265,7 +265,7 @@ export default { }); } else { request({ - url: `dc/system/event/${this.formData.eventType}/${this.formData.id}`, + url: `dc/system/event/${this.formData.id}`, method: "delete", }).then((result) => { if (result.code == 200) Message.success("成功!");