Browse Source

事件按钮修改

wangqin
zhoule 7 months ago
parent
commit
922e5e6e30
  1. 9
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue

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

@ -8,8 +8,8 @@
<Descriptions labelWidth="72px" :list="list" :data="data" style="gap: 18px" column="7" />
</div>
<div class="foote">
<Button @click.native="handleEventRelieve" style="width: 100px;">
事件解除
<Button @click.native="handleEventRelieve" style="width: 100px;" v-if="data.eventState == '0'">
误报
</Button>
<Button @click.native="goDispatch" style="width: 100px;">
设备管控
@ -146,7 +146,7 @@ export default {
},
handleEventRelieve() {
this.$confirm("确定解除事件吗?", "提示", {
this.$confirm("确定事件误报吗?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
@ -157,7 +157,7 @@ export default {
postCompleteEvent(data).then((result) => {
console.log('--------', result)
if (result.code != 200) return [];
this.$message.success("事件解除成功");
this.$message.success("成功");
this.$emit('traffic-relieve', this.data);
});
})
@ -217,6 +217,7 @@ export default {
}
}
}
.foote {
display: flex;
align-items: center;

Loading…
Cancel
Save