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