Commit a8ad186e authored by jianqian's avatar jianqian

一、企业分布

1.左侧隐藏
2.预警信息 滚动
二。企业统计
1.展示单个企业的安全生产信息
2.图表,折线图(事故数量,设备预警,近一年)

三、视频可视化
对接海康视频平台

去掉预案信息管理
一企一档
危险源、隐患、职业危害场所、监控监测点位
parent 9c1a89ea
......@@ -334,6 +334,7 @@
0.4,
index+1
);
this.Mutil.visibleMarks(false, "material");
}
addMaterialMark1(obj: any, index: any) {
let icon,
......@@ -370,6 +371,7 @@
0.4,
index+1
);
this.Mutil.visibleMarks(false, "material1");
}
addMaterialMark2(obj: any, index: any) {
let icon,
......@@ -406,6 +408,7 @@
0.4,
index+1
);
this.Mutil.visibleMarks(false, "material2");
}
addMaterialMark3(obj: any, index: any) {
let icon,
......@@ -442,6 +445,7 @@
0.4,
index+1
);
this.Mutil.visibleMarks(false, "material3");
}
addMaterialMark4(obj: any, index: any) {
let icon,
......@@ -478,6 +482,7 @@
0.4,
index+1
);
this.Mutil.visibleMarks(false, "material4");
}
addMaterialMark5(obj: any, index: any) {
let icon,
......@@ -514,6 +519,7 @@
0.4,
index+1
);
this.Mutil.visibleMarks(false, "material5");
}
addMaterialMark6(obj: any, index: any) {
let icon,
......@@ -550,6 +556,7 @@
0.4,
index+1
);
this.Mutil.visibleMarks(false, "material6");
}
addMark(obj: any, index: any) {
let icon,
......@@ -683,12 +690,12 @@
mapma(){
if (this.maVisble) {
this.Mutil.visibleMarks(false, "material");
this.Mutil.visibleMarks(true, "material");
this.maVisble = false;
this.$refs.material.style.background = "#24BBC7";
this.$refs.zma.lastChild.style.color = "#013056";
} else {
this.Mutil.visibleMarks(true, "material");
this.Mutil.visibleMarks(false, "material");
this.maVisble = true;
this.$refs.material.style.background = "RGBA(5, 52, 82, 0.7)";
this.$refs.zma.lastChild.style.color = "#fff";
......@@ -697,12 +704,12 @@
}
mapma1(){
if (this.ma1Visble) {
this.Mutil.visibleMarks(false, "material1");
this.Mutil.visibleMarks(true, "material1");
this.ma1Visble = false;
this.$refs.material1.style.background = "#24BBC7";
this.$refs.zma1.lastChild.style.color = "#013056";
} else {
this.Mutil.visibleMarks(true, "material1");
this.Mutil.visibleMarks(false, "material1");
this.ma1Visble = true;
this.$refs.material1.style.background = "RGBA(5, 52, 82, 0.7)";
this.$refs.zma1.lastChild.style.color = "#fff";
......@@ -710,12 +717,12 @@
}
mapma2(){
if (this.ma2Visble) {
this.Mutil.visibleMarks(false, "material2");
this.Mutil.visibleMarks(true, "material2");
this.ma2Visble = false;
this.$refs.material2.style.background = "#24BBC7";
this.$refs.zma2.lastChild.style.color = "#013056";
} else {
this.Mutil.visibleMarks(true, "material2");
this.Mutil.visibleMarks(false, "material2");
this.ma2Visble = true;
this.$refs.material2.style.background = "RGBA(5, 52, 82, 0.7)";
this.$refs.zma2.lastChild.style.color = "#fff";
......@@ -723,12 +730,12 @@
}
mapma3(){
if (this.ma3Visble) {
this.Mutil.visibleMarks(false, "material3");
this.Mutil.visibleMarks(true, "material3");
this.ma3Visble = false;
this.$refs.material3.style.background = "#24BBC7";
this.$refs.zma3.lastChild.style.color = "#013056";
} else {
this.Mutil.visibleMarks(true, "material3");
this.Mutil.visibleMarks(false, "material3");
this.ma3Visble = true;
this.$refs.material3.style.background = "RGBA(5, 52, 82, 0.7)";
this.$refs.zma3.lastChild.style.color = "#fff";
......@@ -736,12 +743,12 @@
}
mapma4() {
if (this.ma4Visble) {
this.Mutil.visibleMarks(false, "material4");
this.Mutil.visibleMarks(true, "material4");
this.ma4Visble = false;
this.$refs.material4.style.background = "#24BBC7";
this.$refs.zma4.lastChild.style.color = "#013056";
} else {
this.Mutil.visibleMarks(true, "material4");
this.Mutil.visibleMarks(false, "material4");
this.ma4Visble = true;
this.$refs.material4.style.background = "RGBA(5, 52, 82, 0.7)";
this.$refs.zma4.lastChild.style.color = "#fff";
......@@ -749,12 +756,12 @@
}
mapma5() {
if (this.ma5Visble) {
this.Mutil.visibleMarks(false, "material5");
this.Mutil.visibleMarks(true, "material5");
this.ma5Visble = false;
this.$refs.material5.style.background = "#24BBC7";
this.$refs.zma5.lastChild.style.color = "#013056";
} else {
this.Mutil.visibleMarks(true, "material5");
this.Mutil.visibleMarks(false, "material5");
this.ma5Visble = true;
this.$refs.material5.style.background = "RGBA(5, 52, 82, 0.7)";
this.$refs.zma5.lastChild.style.color = "#fff";
......@@ -762,12 +769,12 @@
}
mapma6() {
if (this.ma6Visble) {
this.Mutil.visibleMarks(false, "material6");
this.Mutil.visibleMarks(true, "material6");
this.ma6Visble = false;
this.$refs.material6.style.background = "#24BBC7";
this.$refs.zma6.lastChild.style.color = "#013056";
} else {
this.Mutil.visibleMarks(true, "material6");
this.Mutil.visibleMarks(false, "material6");
this.ma6Visble = true;
this.$refs.material6.style.background = "RGBA(5, 52, 82, 0.7)";
this.$refs.zma6.lastChild.style.color = "#fff";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment