Browse Source

事件误报接口,修改

wangqin
zhoule 7 months ago
parent
commit
99eae9afb4
  1. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue
  2. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue

2
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue

@ -161,7 +161,7 @@ export default {
// this.$emit('traffic-relieve', this.data); // this.$emit('traffic-relieve', this.data);
// }); // });
request({ request({
url: `dc/system/event/${this.data.eventType}/${this.dialogData.id}`, url: `dc/system/event/${this.dialogData.id}`,
method: "delete", method: "delete",
}).then((result) => { }).then((result) => {
if (result.code == 200) Message.success("成功!"); if (result.code == 200) Message.success("成功!");

2
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue

@ -265,7 +265,7 @@ export default {
}); });
} else { } else {
request({ request({
url: `dc/system/event/${this.formData.eventType}/${this.formData.id}`, url: `dc/system/event/${this.formData.id}`,
method: "delete", method: "delete",
}).then((result) => { }).then((result) => {
if (result.code == 200) Message.success("成功!"); if (result.code == 200) Message.success("成功!");

Loading…
Cancel
Save