Browse Source

更新事件状态

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

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

@ -139,7 +139,15 @@ export default {
methods: { methods: {
handleClickTabs() { }, handleClickTabs() { },
goDispatch() { goDispatch() {
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}`); this.$router.push(`/control/event/commandDispatch?id=${this.dialogData.id}`);
})
.catch((err) => { });
}, },
goStrategy() { goStrategy() {
this.$router.push(`/control/device/strategy`); this.$router.push(`/control/device/strategy`);

Loading…
Cancel
Save