Browse Source

更新事件状态

wangqin
王钦 7 months ago
parent
commit
b88d90463e
  1. 10
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue

10
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`);

Loading…
Cancel
Save