Browse Source

Merge branch 'develop' of http://39.106.31.193:9211/mengff/jihe-hs into develop

wangqin
王钦 7 months ago
parent
commit
97d90322a5
  1. 28
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/TrafficIncidents/index.vue
  2. 8
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue
  3. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/auditAnalytics/index.vue
  4. 1
      ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/statistic/components/Sitefiltering/index.vue

28
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,18 +146,27 @@ export default {
},
handleEventRelieve() {
this.$confirm("确定解除事件吗?", "提示", {
this.$confirm("确定事件误报吗?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
let data = new FormData();
data.append("eventId", this.dialogData.id);
postCompleteEvent(data).then((result) => {
console.log('--------',result)
if (result.code != 200) return [];
this.$message.success("事件解除成功");
// let data = new FormData();
// data.append("eventId", this.dialogData.id);
// postCompleteEvent(data).then((result) => {
// console.log('--------', result)
// if (result.code != 200) return [];
// this.$message.success("");
// this.$emit('traffic-relieve', this.data);
// });
request({
url: `dc/system/event/${this.data.eventType}/${this.dialogData.id}`,
method: "delete",
}).then((result) => {
if (result.code == 200) Message.success("成功!");
else Message.error(result?.msg);
this.$emit('traffic-relieve', this.data);
});
})
@ -217,6 +226,7 @@ export default {
}
}
}
.foote {
display: flex;
align-items: center;

8
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue

@ -70,7 +70,7 @@
>
<el-button class="input">点击上传</el-button>
</el-upload>
<ElSelect v-model="context" clearable placeholder="请选择常用语">
<ElSelect v-model="text" clearable placeholder="请选择常用语">
<ElOption
v-for="item in phrasesOptions"
:key="item"
@ -141,6 +141,7 @@ export default {
options: [],
processId: "",
context: "",
text: "",
phrasesOptions: [],
headers: {
Authorization: "Bearer " + getToken(),
@ -161,6 +162,11 @@ export default {
}
});
},
text(newVlaue, oldValue) {
if (newVlaue) {
this.context = newVlaue;
}
},
},
methods: {
filterDistance(distance) {

4
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/auditAnalytics/index.vue

@ -260,12 +260,12 @@ export default {
}
.content-item-right {
overflow: hidden;
}
}
.box-item {
position: relative;
height: 8px;
width: 289px;
background: linear-gradient(
@ -293,6 +293,7 @@ export default {
);
border-radius: 2px 2px 2px 2px;
opacity: 1;
overflow: hidden;
}
.box-item:nth-child(2)::before {
@ -308,6 +309,7 @@ export default {
);
border-radius: 2px 2px 2px 2px;
opacity: 1;
overflow: hidden;
}
.num {

1
ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/statistic/components/Sitefiltering/index.vue

@ -192,6 +192,7 @@ export default {
drawRoundRect(context, 385, 406, 320, 24, 10, gr);
drawRoundRect(context, 385, 440, 320, 24, 10, gr);
// drawRoundRect(context, 385, 474, 320, 24, 10, gr);
// drawRoundRect(context, 385, 510, 320, 24, 10, gr);
await this.getNonAutomaticWarningFacility(this.formData);
});
});

Loading…
Cancel
Save