闪烁点颜色改变

This commit is contained in:
stt
2025-10-27 13:34:34 +08:00
parent 98b9bbce0d
commit d712f683b3
2 changed files with 9 additions and 26 deletions

View File

@@ -857,7 +857,7 @@ const analysisClick = (row: any) => {
const dataObject = {
eventList: [...eventList.value],
color: "#1dd1a1",
color: "#03de6d",
maxResponsibilityMonitorId: [...maxResponsibilityMonitorId.value],
maxColor: "#f9065b",
};
@@ -1186,7 +1186,7 @@ const callHarmOneImageApi = (row: any, selectedTime: string) => {
const dataObject = {
eventListAll: [JSON.parse(JSON.stringify(eventListAll.value))],
eventList: [...eventList.value],
color: "#09ee06",
color: "#cf552d",
maxResponsibilityMonitorId: [...maxResponsibilityMonitorId.value],
maxColor: "#c708fe",
backgroundPointId: [...backgroundPoint.value],

View File

@@ -108,7 +108,7 @@
/>
<!-- 图元颜色提示框 -->
<div
v-if="!showDetail"
v-if="!store.state.showMap && !showDetail"
style="
position: absolute;
left: 0px;
@@ -124,42 +124,27 @@
<span class="iconfont blink-basic" style="color: #375db4"
>&#xe67a;</span
>
<!-- <img
src="@/assets/icon/传输设备 (3).png"
style="width: 20px; height: 20px"
class="blink-basic"
/> -->
<div style="margin-left: 10px; font-size: 12px">
暂降发生测点
</div>
</div>
<div style="display: flex" v-if="currentFlag == 1">
<!-- <img
src="@/assets/icon/传输设备 (4).png"
style="width: 20px; height: 20px"
class="blink-basic"
/> -->
<span class="iconfont blink-basic" style="color:#0936f4"
<span class="iconfont blink-basic" style="color: #0936f4"
>&#xe67a;</span
>
<div style="margin-left: 10px; font-size: 12px">背景测点</div>
</div>
<div style="display: flex">
<!-- <img
src="@/assets/icon/传输设备 (2).png"
style="width: 20px; height: 20px"
class="blink-basic"
/> -->
<span
v-if="currentFlag == 0"
class="iconfont blink-basic"
style="color: #1dd1a1"
style="color: #03de6d"
>&#xe67a;</span
>
<span
v-if="currentFlag == 1"
class="iconfont blink-basic"
style="color: #09ee06"
style="color: #cf552d"
>&#xe67a;</span
>
<span
@@ -175,11 +160,6 @@
</div>
</div>
<div style="display: flex" v-if="currentFlag != 2">
<!-- <img
src="@/assets/icon/传输设备 (1).png"
style="width: 20px; height: 20px"
class="blink-basic"
/> -->
<span
v-if="currentFlag == 0"
class="iconfont blink-basic"
@@ -243,6 +223,9 @@ import datePicker from "@/components/datePicker/index.vue";
import Management from "./components/manage/index.vue";
import SecurityDetail from "./components/manage/securityDetail.vue";
import IframeDia from "./components/manage/iframeDia.vue";
import { useStore } from "vuex";
const store = useStore();
// 传给iframe页面的参数
const currentProject = ref<{ id: string; name: string } | null>(null);