|
|
@@ -34,7 +34,7 @@
|
|
|
</div>
|
|
|
<div class="mapShow">
|
|
|
<div class="mapurl"></div>
|
|
|
- <div class="img-box">
|
|
|
+ <div class="img-box" @click="mapEvent">
|
|
|
<img
|
|
|
src="images/shiyanshijiankong/shiyanshi.png"
|
|
|
class="img"
|
|
|
@@ -58,8 +58,9 @@
|
|
|
:class="[item.ifshow == 'false' ? 'contentshow' : 'content']"
|
|
|
v-show="item.run == 1"
|
|
|
>
|
|
|
- <div class="envir-conditoin">温度:{{ item.temp }}</div>
|
|
|
- <div class="envir-conditoin">湿度:{{ item.humidness }}</div>
|
|
|
+ <!-- <div class="contentshow"> -->
|
|
|
+ <div class="envir-conditoin" v-show="item.temp?true:false">温度:{{ item.temp }}</div>
|
|
|
+ <div class="envir-conditoin" v-show="item.humidness?true:false">湿度:{{ item.humidness }}</div>
|
|
|
<div class="envir-conditoin">气压:{{ item.airPressure }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -128,6 +129,7 @@ export default {
|
|
|
newTiMe: "",
|
|
|
weizhi: [
|
|
|
{
|
|
|
+ //细胞
|
|
|
x: 463,
|
|
|
y: 653,
|
|
|
},
|
|
|
@@ -144,6 +146,7 @@ export default {
|
|
|
y: 653,
|
|
|
},
|
|
|
{
|
|
|
+ //分练区
|
|
|
x: 1460,
|
|
|
y: 655,
|
|
|
},
|
|
|
@@ -152,13 +155,16 @@ export default {
|
|
|
y: 450,
|
|
|
},
|
|
|
{
|
|
|
+ //支原体
|
|
|
x: 713,
|
|
|
y: 260,
|
|
|
},
|
|
|
{
|
|
|
+ //无菌检测室
|
|
|
x: 724,
|
|
|
y: 89,
|
|
|
},
|
|
|
+ //产物分析室
|
|
|
{
|
|
|
x: 950,
|
|
|
y: 127,
|
|
|
@@ -175,8 +181,8 @@ export default {
|
|
|
x: 1353,
|
|
|
y: 127,
|
|
|
},
|
|
|
- ,
|
|
|
{
|
|
|
+ //支原体阳性
|
|
|
x: 321,
|
|
|
y: 99,
|
|
|
},
|
|
|
@@ -184,6 +190,117 @@ export default {
|
|
|
x: 357,
|
|
|
y: 200,
|
|
|
},
|
|
|
+ //细胞->更
|
|
|
+ {
|
|
|
+ x: 584,
|
|
|
+ y: 420,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ x: 584,
|
|
|
+ y: 480,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ x: 640,
|
|
|
+ y: 465,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ x: 710,
|
|
|
+ y: 480,
|
|
|
+ },
|
|
|
+ {
|
|
|
+
|
|
|
+ x: 710,
|
|
|
+ y: 420,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ x: 584,
|
|
|
+ y: 547,
|
|
|
+ },
|
|
|
+ // 分练区 ->更
|
|
|
+ {
|
|
|
+ x: 1390,
|
|
|
+ y: 560,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ x: 1450,
|
|
|
+ y: 525,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ x: 1495,
|
|
|
+ y: 570,
|
|
|
+ },
|
|
|
+ {//支原体检测->更
|
|
|
+ x: 850,
|
|
|
+ y: 250,
|
|
|
+ },
|
|
|
+ {
|
|
|
+
|
|
|
+ x: 780,
|
|
|
+ y: 290,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ x: 780,
|
|
|
+ y: 235,
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ //无菌检测->更
|
|
|
+ x: 850,
|
|
|
+ y: 180,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ x: 850,
|
|
|
+ y: 70,
|
|
|
+ },
|
|
|
+ { //产物分析室->更
|
|
|
+ x: 1098,
|
|
|
+ y: 270,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ x: 1355,
|
|
|
+ y: 270,
|
|
|
+ },
|
|
|
+ {
|
|
|
+
|
|
|
+ x: 965,
|
|
|
+ y: 220,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ x: 1088,
|
|
|
+ y: 220,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ x: 1190,
|
|
|
+ y: 220,
|
|
|
+ },
|
|
|
+ //无菌阳性->
|
|
|
+ {
|
|
|
+ x: 250,
|
|
|
+ y: 280,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ x: 250,
|
|
|
+ y: 220,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ x: 250,
|
|
|
+ y: 170,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ x: 340,
|
|
|
+ y: 280,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ //支原体阳性->更
|
|
|
+ x: 400,
|
|
|
+ y: 280,
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ x: 250,
|
|
|
+ y: 280,
|
|
|
+ },
|
|
|
+
|
|
|
],
|
|
|
domsize: [
|
|
|
{
|
|
|
@@ -243,6 +360,7 @@ export default {
|
|
|
let newdata = [];
|
|
|
curdPost("sql", sqlString).then((response) => {
|
|
|
newdata = response.variables.data;
|
|
|
+ console.log(newdata);
|
|
|
this_.newTiMe = this_.fmtDate(newdata[0].saveTime);
|
|
|
for (let i = 0; i < newdata.length; i++) {
|
|
|
setTimeout(() => {
|
|
|
@@ -264,10 +382,10 @@ export default {
|
|
|
this.screenChange();
|
|
|
this.mapChange();
|
|
|
},
|
|
|
- // mapEvent(e) {
|
|
|
- // console.log(e.offsetX, e.offsetY, " x ");
|
|
|
- // console.log(e.target.height, e.target.width, "y");
|
|
|
- // },
|
|
|
+ mapEvent(e) {
|
|
|
+ console.log(e.offsetX, e.offsetY, " x ");
|
|
|
+ console.log(e.target.height, e.target.width, "y");
|
|
|
+ },
|
|
|
screenChange() {
|
|
|
this.fullHeight = `${document.documentElement.clientHeight}`;
|
|
|
// this.fullWidth = `${document.documentElement.clientWidth}`; //默认值
|
|
|
@@ -288,6 +406,7 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
mapChange() {
|
|
|
+ //图片变动函数
|
|
|
let this_ = this;
|
|
|
setTimeout(() => {
|
|
|
var dom = document.getElementsByClassName("img");
|
|
|
@@ -322,22 +441,29 @@ export default {
|
|
|
}, 10);
|
|
|
},
|
|
|
setIntervalData() {
|
|
|
+ //刷新频率
|
|
|
let this_ = this;
|
|
|
var timer = setInterval(() => {
|
|
|
if (this_.setIntervalDis == true) {
|
|
|
clearInterval(timer);
|
|
|
return;
|
|
|
}
|
|
|
- this.screenChange();
|
|
|
+ this_.screenChange();
|
|
|
this_.mapChange();
|
|
|
this_.timeData();
|
|
|
- }, 300000);
|
|
|
+ }, 300000); /// 300000
|
|
|
},
|
|
|
- returnifShow(t, h, p) {
|
|
|
+ returnifShow(t, h, p,qiya) {
|
|
|
+ let ifshow = "";
|
|
|
+ if(t==999&&h===999){
|
|
|
+ ifshow = "true";
|
|
|
+ return ifshow;
|
|
|
+ }
|
|
|
let temp = t.toFixed(2);
|
|
|
let humidness = h.toFixed(2);
|
|
|
let airPressure = p.toFixed(2);
|
|
|
- let ifshow = "";
|
|
|
+ // let ifshow = "";
|
|
|
+
|
|
|
if (temp > 999 || temp <= 0) {
|
|
|
//不给予赋值
|
|
|
} else if (temp >= 18 && temp <= 26) {
|
|
|
@@ -353,15 +479,16 @@ export default {
|
|
|
}
|
|
|
if (airPressure > 999) {
|
|
|
//不给予赋值
|
|
|
- } else if (airPressure >= 5) {
|
|
|
+ } else if (airPressure >= qiya) {
|
|
|
ifshow = "true";
|
|
|
} else {
|
|
|
ifshow = "false";
|
|
|
}
|
|
|
return ifshow;
|
|
|
},
|
|
|
- // 大屏数据列表赋值
|
|
|
+
|
|
|
timeData() {
|
|
|
+ // 大屏数据列表赋值
|
|
|
let this_ = this;
|
|
|
let sql =
|
|
|
"select * FROM DATA WHERE deviceName = 'HAU01' ORDER BY saveTime DESC LIMIT 1";
|
|
|
@@ -369,43 +496,72 @@ export default {
|
|
|
let data = res.variables.data;
|
|
|
this_.newweizhi[0].temp = data[0].t1;
|
|
|
this_.newweizhi[0].humidness = data[0].h1;
|
|
|
- this_.newweizhi[0].airPressure = data[0].p1;
|
|
|
+ this_.newweizhi[0].airPressure = data[0].p6;
|
|
|
this_.newweizhi[0].run = data[0].run;
|
|
|
this_.newTiMe = this_.fmtDate(data[0].saveTime);
|
|
|
this_.newweizhi[0].ifshow = this_.returnifShow(
|
|
|
+ //数据范围校准
|
|
|
data[0].t1,
|
|
|
data[0].h1,
|
|
|
- data[0].p1
|
|
|
+ data[0].p6,
|
|
|
+ 5
|
|
|
);
|
|
|
|
|
|
this_.newweizhi[1].temp = data[0].t2;
|
|
|
this_.newweizhi[1].humidness = data[0].h2;
|
|
|
- this_.newweizhi[1].airPressure = data[0].p2;
|
|
|
+ this_.newweizhi[1].airPressure = data[0].p7;
|
|
|
this_.newweizhi[1].run = data[0].run;
|
|
|
this_.newweizhi[1].ifshow = this_.returnifShow(
|
|
|
data[0].t2,
|
|
|
data[0].h2,
|
|
|
- data[0].p2
|
|
|
+ data[0].p7,
|
|
|
+ 5
|
|
|
);
|
|
|
|
|
|
this_.newweizhi[2].temp = data[0].t3;
|
|
|
this_.newweizhi[2].humidness = data[0].h3;
|
|
|
- this_.newweizhi[2].airPressure = data[0].p3;
|
|
|
+ this_.newweizhi[2].airPressure = data[0].p8;
|
|
|
this_.newweizhi[2].run = data[0].run;
|
|
|
this_.newweizhi[2].ifshow = this_.returnifShow(
|
|
|
data[0].t3,
|
|
|
data[0].h3,
|
|
|
- data[0].p3
|
|
|
+ data[0].p8,
|
|
|
+ 5
|
|
|
);
|
|
|
this_.newweizhi[3].temp = data[0].t4;
|
|
|
this_.newweizhi[3].humidness = data[0].h4;
|
|
|
- this_.newweizhi[3].airPressure = data[0].p4;
|
|
|
+ this_.newweizhi[3].airPressure = data[0].p9;
|
|
|
this_.newweizhi[3].run = data[0].run;
|
|
|
this_.newweizhi[3].ifshow = this_.returnifShow(
|
|
|
data[0].t4,
|
|
|
data[0].h4,
|
|
|
- data[0].p4
|
|
|
+ data[0].p9,
|
|
|
+ 5
|
|
|
);
|
|
|
+ this_.newweizhi[14].airPressure = data[0].p1;
|
|
|
+ this_.newweizhi[14].ifshow = this_.returnifShow(999,999,data[0].p1,10);
|
|
|
+ this_.newweizhi[14].run = data[0].run;
|
|
|
+
|
|
|
+ this_.newweizhi[15].airPressure = data[0].p2;
|
|
|
+ this_.newweizhi[15].ifshow = this_.returnifShow(999,999,data[0].p2,10);
|
|
|
+ this_.newweizhi[15].run = data[0].run;
|
|
|
+
|
|
|
+ this_.newweizhi[16].airPressure = data[0].p3;
|
|
|
+ this_.newweizhi[16].ifshow = this_.returnifShow(999,999,data[0].p3,5);
|
|
|
+ this_.newweizhi[16].run = data[0].run;
|
|
|
+
|
|
|
+ this_.newweizhi[17].airPressure =data[0].p4;
|
|
|
+ this_.newweizhi[17].ifshow = this_.returnifShow(999,999,data[0].p4,5);
|
|
|
+ this_.newweizhi[17].run = data[0].run;
|
|
|
+
|
|
|
+ this_.newweizhi[18].airPressure = data[0].p5;
|
|
|
+ this_.newweizhi[18].ifshow = this_.returnifShow(999,999,data[0].p5,10);
|
|
|
+ this_.newweizhi[18].run = data[0].run;
|
|
|
+
|
|
|
+ this_.newweizhi[19].airPressure = 6666;
|
|
|
+ this_.newweizhi[19].ifshow = this_.returnifShow(999,999,data[0].p10,10);
|
|
|
+ this_.newweizhi[19].run = data[0].run;
|
|
|
+
|
|
|
});
|
|
|
let sql1 =
|
|
|
"select * FROM DATA WHERE deviceName ='HAU02' ORDER BY saveTime ASC LIMIT 1";
|
|
|
@@ -413,99 +569,167 @@ export default {
|
|
|
let data = res.variables.data;
|
|
|
this_.newweizhi[4].temp = data[0].t1;
|
|
|
this_.newweizhi[4].humidness = data[0].h1;
|
|
|
- this_.newweizhi[4].airPressure = data[0].p1;
|
|
|
+ this_.newweizhi[4].airPressure = data[0].p4;
|
|
|
this_.newweizhi[4].run = data[0].run;
|
|
|
this_.newweizhi[4].ifshow = this_.returnifShow(
|
|
|
data[0].t1,
|
|
|
data[0].h1,
|
|
|
- data[0].p1
|
|
|
+ data[0].p4,
|
|
|
+ 5
|
|
|
);
|
|
|
this_.newweizhi[5].temp = data[0].t2;
|
|
|
this_.newweizhi[5].humidness = data[0].h2;
|
|
|
- this_.newweizhi[5].airPressure = data[0].p2;
|
|
|
+ this_.newweizhi[5].airPressure = data[0].p5;
|
|
|
this_.newweizhi[5].run = data[0].run;
|
|
|
this_.newweizhi[5].ifshow = this_.returnifShow(
|
|
|
data[0].t2,
|
|
|
data[0].h2,
|
|
|
- data[0].p2
|
|
|
+ data[0].p5,
|
|
|
+ 5
|
|
|
);
|
|
|
+
|
|
|
+ this_.newweizhi[20].airPressure = data[0].p1;
|
|
|
+ this_.newweizhi[20].ifshow = this_.returnifShow(999,999,data[0].p1,10);
|
|
|
+ this_.newweizhi[20].run = data[0].run;
|
|
|
+
|
|
|
+ this_.newweizhi[21].airPressure = data[0].p2;
|
|
|
+ this_.newweizhi[21].ifshow = this_.returnifShow(999,999,data[0].p2,10);
|
|
|
+ this_.newweizhi[21].run = data[0].run;
|
|
|
+
|
|
|
+ this_.newweizhi[22].airPressure = data[0].p3;
|
|
|
+ this_.newweizhi[22].ifshow = this_.returnifShow(999,999,data[0].p3,5);
|
|
|
+ this_.newweizhi[22].run = data[0].run;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
});
|
|
|
let sql2 =
|
|
|
- "select * FROM DATA WHERE deviceName ='HAU03' ORDER BY saveTime ASC LIMIT 1";
|
|
|
+ "select * FROM DATA WHERE deviceName ='HAU03' ORDER BY saveTime DESC LIMIT 1";//支原体室
|
|
|
curdPost("sql", sql2).then((res) => {
|
|
|
let data = res.variables.data;
|
|
|
this_.newweizhi[6].temp = data[0].t1;
|
|
|
this_.newweizhi[6].humidness = data[0].h1;
|
|
|
- this_.newweizhi[6].airPressure = data[0].p1;
|
|
|
+ this_.newweizhi[6].airPressure = data[0].p4;
|
|
|
this_.newweizhi[6].run = data[0].run;
|
|
|
this_.newweizhi[6].ifshow = this_.returnifShow(
|
|
|
data[0].t1,
|
|
|
data[0].h1,
|
|
|
- data[0].p1
|
|
|
+ data[0].p4,
|
|
|
+ 5
|
|
|
);
|
|
|
+ this_.newweizhi[23].airPressure = data[0].p1
|
|
|
+ this_.newweizhi[23].ifshow = this_.returnifShow(999,999,data[0].p1,10);
|
|
|
+ this_.newweizhi[23].run = data[0].run;
|
|
|
+
|
|
|
+ this_.newweizhi[24].airPressure = data[0].p2
|
|
|
+ this_.newweizhi[24].ifshow = this_.returnifShow(999,999,data[0].p2,10);
|
|
|
+ this_.newweizhi[24].run = data[0].run;
|
|
|
+
|
|
|
+ this_.newweizhi[25].airPressure = data[0].p3;
|
|
|
+ this_.newweizhi[25].ifshow = this_.returnifShow(999,999,data[0].p3,5);
|
|
|
+ this_.newweizhi[25].run = data[0].run;
|
|
|
+
|
|
|
+
|
|
|
});
|
|
|
let sql3 =
|
|
|
- "select * FROM DATA WHERE deviceName ='HAU04' ORDER BY saveTime ASC LIMIT 1";
|
|
|
+ "select * FROM DATA WHERE deviceName ='HAU04' ORDER BY saveTime DESC LIMIT 1";
|
|
|
curdPost("sql", sql3).then((res) => {
|
|
|
let data = res.variables.data;
|
|
|
this_.newweizhi[7].temp = data[0].t1;
|
|
|
this_.newweizhi[7].humidness = data[0].h1;
|
|
|
- this_.newweizhi[7].airPressure = data[0].p1;
|
|
|
+ this_.newweizhi[7].airPressure = data[0].p3;
|
|
|
this_.newweizhi[7].run = data[0].run;
|
|
|
this_.newweizhi[7].ifshow = this_.returnifShow(
|
|
|
data[0].t1,
|
|
|
data[0].h1,
|
|
|
- data[0].p1
|
|
|
+ data[0].p3,
|
|
|
+ 5
|
|
|
);
|
|
|
+ this_.newweizhi[26].airPressure = data[0].p1
|
|
|
+ this_.newweizhi[26].ifshow = this_.returnifShow(999,999,data[0].p1,10);
|
|
|
+ this_.newweizhi[26].run = data[0].run;
|
|
|
+
|
|
|
+ this_.newweizhi[27].airPressure = data[0].p2;
|
|
|
+ this_.newweizhi[27].ifshow = this_.returnifShow(999,999,data[0].p2,5);
|
|
|
+ this_.newweizhi[27].run = data[0].run;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
});
|
|
|
let sql4 =
|
|
|
- "select * FROM DATA WHERE deviceName ='PAU01' ORDER BY saveTime ASC LIMIT 1";
|
|
|
+ "select * FROM DATA WHERE deviceName ='PAU01' ORDER BY saveTime DESC LIMIT 1";
|
|
|
curdPost("sql", sql4).then((res) => {
|
|
|
let data = res.variables.data;
|
|
|
this_.newweizhi[8].temp = data[0].t1;
|
|
|
this_.newweizhi[8].humidness = data[0].h1;
|
|
|
- this_.newweizhi[8].airPressure = data[0].p1;
|
|
|
+ this_.newweizhi[8].airPressure = data[0].p9;//产物
|
|
|
this_.newweizhi[8].run = data[0].run;
|
|
|
this_.newweizhi[8].ifshow = this_.returnifShow(
|
|
|
data[0].t1,
|
|
|
data[0].h1,
|
|
|
- data[0].p1
|
|
|
+ data[0].p9,
|
|
|
+ -10
|
|
|
);
|
|
|
this_.newweizhi[9].temp = data[0].t2;
|
|
|
this_.newweizhi[9].humidness = data[0].h2;
|
|
|
- this_.newweizhi[9].airPressure = data[0].p2;
|
|
|
+ this_.newweizhi[9].airPressure = data[0].p7;//扩增
|
|
|
this_.newweizhi[9].run = data[0].run;
|
|
|
this_.newweizhi[9].ifshow = this_.returnifShow(
|
|
|
data[0].t2,
|
|
|
data[0].h2,
|
|
|
- data[0].p2
|
|
|
+ data[0].p7,
|
|
|
+ -25
|
|
|
);
|
|
|
this_.newweizhi[10].temp = data[0].t3;
|
|
|
this_.newweizhi[10].humidness = data[0].h3;
|
|
|
- this_.newweizhi[10].airPressure = data[0].p3;
|
|
|
+ this_.newweizhi[10].airPressure = data[0].p5;//样本制备
|
|
|
this_.newweizhi[10].run = data[0].run;
|
|
|
this_.newweizhi[10].ifshow = this_.returnifShow(
|
|
|
data[0].t3,
|
|
|
data[0].h3,
|
|
|
- data[0].p3
|
|
|
+ data[0].p5,
|
|
|
+ 5
|
|
|
);
|
|
|
this_.newweizhi[11].temp = data[0].t4;
|
|
|
this_.newweizhi[11].humidness = data[0].h4;
|
|
|
- this_.newweizhi[11].airPressure = data[0].p4;
|
|
|
+ this_.newweizhi[11].airPressure = data[0].p3;//试剂准备
|
|
|
this_.newweizhi[11].run = data[0].run;
|
|
|
this_.newweizhi[11].ifshow = this_.returnifShow(
|
|
|
data[0].t4,
|
|
|
data[0].h4,
|
|
|
- data[0].p4
|
|
|
+ data[0].p3,
|
|
|
+ 15
|
|
|
);
|
|
|
+ this_.newweizhi[28].airPressure = data[0].p1; //pcr
|
|
|
+ this_.newweizhi[28].ifshow = this_.returnifShow(999,999,data[0].p1,5);
|
|
|
+ this_.newweizhi[28].run = data[0].run;
|
|
|
+
|
|
|
+ this_.newweizhi[29].airPressure = data[0].p2;//试剂准备缓冲
|
|
|
+ this_.newweizhi[29].ifshow = this_.returnifShow(999,999,data[0].p2,5);
|
|
|
+ this_.newweizhi[29].run = data[0].run;
|
|
|
+
|
|
|
+ this_.newweizhi[30].airPressure = data[0].p8//产物缓冲
|
|
|
+ this_.newweizhi[30].ifshow = this_.returnifShow(999,999,data[0].p8,5);
|
|
|
+ this_.newweizhi[30].run = data[0].run;
|
|
|
+
|
|
|
+ this_.newweizhi[31].airPressure = data[0].p6;//扩增缓冲
|
|
|
+ this_.newweizhi[31].ifshow = this_.returnifShow(999,999,data[0].p6,5);
|
|
|
+ this_.newweizhi[31].run = data[0].run;
|
|
|
+
|
|
|
+ this_.newweizhi[32].airPressure = data[0].p4//样本制备缓冲
|
|
|
+ this_.newweizhi[32].ifshow = this_.returnifShow(999,999,data[0].p4s,5);
|
|
|
+ this_.newweizhi[32].run = data[0].run;
|
|
|
+
|
|
|
+
|
|
|
});
|
|
|
let sql5 =
|
|
|
- "select * FROM DATA WHERE deviceName ='PAU02' ORDER BY saveTime ASC LIMIT 1";
|
|
|
+ "select * FROM DATA WHERE deviceName ='PAU02' ORDER BY saveTime DESC LIMIT 1";
|
|
|
curdPost("sql", sql5).then((res) => {
|
|
|
let data = res.variables.data;
|
|
|
this_.newweizhi[12].temp = data[0].t1;
|
|
|
this_.newweizhi[12].humidness = data[0].h1;
|
|
|
- this_.newweizhi[12].airPressure = data[0].p1;
|
|
|
+ this_.newweizhi[12].airPressure = data[0].p4;
|
|
|
this_.newweizhi[12].run = data[0].run;
|
|
|
this_.newweizhi[12].ifshow = this_.returnifShow(
|
|
|
data[0].t1,
|
|
|
@@ -521,6 +745,32 @@ export default {
|
|
|
data[0].h2,
|
|
|
data[0].p2
|
|
|
);
|
|
|
+
|
|
|
+ this_.newweizhi[33].airPressure = data[0].p1;
|
|
|
+ this_.newweizhi[33].ifshow = this_.returnifShow(999,999,data[0].p5);
|
|
|
+ this_.newweizhi[33].run = data[0].run;
|
|
|
+
|
|
|
+ this_.newweizhi[34].airPressure = data[0].p2;
|
|
|
+ this_.newweizhi[34].ifshow = this_.returnifShow(999,999,data[0].p5);
|
|
|
+ this_.newweizhi[34].run = data[0].run;
|
|
|
+
|
|
|
+ this_.newweizhi[35].airPressure = data[0].p3;
|
|
|
+ this_.newweizhi[35].ifshow = this_.returnifShow(999,999,data[0].p5);
|
|
|
+ this_.newweizhi[36].run = data[0].run;
|
|
|
+
|
|
|
+ this_.newweizhi[37].airPressure = data[0].p5;
|
|
|
+ this_.newweizhi[37].ifshow = this_.returnifShow(999,999,data[0].p5);
|
|
|
+ this_.newweizhi[37].run = data[0].run;
|
|
|
+
|
|
|
+ this_.newweizhi[38].airPressure = data[0].p6;
|
|
|
+ this_.newweizhi[38].ifshow = this_.returnifShow(999,999,data[0].p5);
|
|
|
+ this_.newweizhi[38].run = data[0].run;
|
|
|
+
|
|
|
+ // this_.newweizhi[37].airPressure = data[0].p1;
|
|
|
+ // this_.newweizhi[31].ifshow = this_.returnifShow(999,999,data[0].p5);
|
|
|
+ // this_.newweizhi[37].run = data[0].run;
|
|
|
+
|
|
|
+ console.log(this_.newweizhi, "新位置数据");
|
|
|
});
|
|
|
},
|
|
|
},
|
|
|
@@ -768,7 +1018,7 @@ li {
|
|
|
height: 20px;
|
|
|
position: absolute;
|
|
|
border-radius: 50%;
|
|
|
- z-index: 99;
|
|
|
+ // z-index: 99;
|
|
|
animation: traffic-light 2s linear 4s infinite;
|
|
|
text-align: center;
|
|
|
background: #828282 !important;
|
|
|
@@ -777,9 +1027,10 @@ li {
|
|
|
position: absolute;
|
|
|
z-index: 99;
|
|
|
width: 90px;
|
|
|
- left: 30px;
|
|
|
- top: 0px;
|
|
|
+ left: 25px;
|
|
|
+ top: 5px;
|
|
|
color: black;
|
|
|
+ z-index: 99;
|
|
|
}
|
|
|
.envir-conditoin {
|
|
|
text-align: left;
|
|
|
@@ -788,6 +1039,7 @@ li {
|
|
|
height: 20px;
|
|
|
line-height: 20px;
|
|
|
overflow: hidden;
|
|
|
+ z-index: 99;
|
|
|
}
|
|
|
.content {
|
|
|
position: absolute;
|