Commit d11833c6 authored by liuzhaoh's avatar liuzhaoh

修改除尘器监控

parent 09009d68
...@@ -71,14 +71,16 @@ ...@@ -71,14 +71,16 @@
<div class="left" v-if="detailObj.compartHealthList.length > 0"> <div class="left" v-if="detailObj.compartHealthList.length > 0">
<div class="part"> <div class="part">
<div <div
class="point warn" class="point"
:class="item.healthStatus == 1 ? 'health' : 'warn'"
v-for="item in detailObj.compartHealthList[0]" v-for="item in detailObj.compartHealthList[0]"
:key="item" :key="item"
></div> ></div>
</div> </div>
<div class="part"> <div class="part">
<div <div
class="point warn" class="point"
:class="item.healthStatus == 1 ? 'health' : 'warn'"
v-for="item in detailObj.compartHealthList[1]" v-for="item in detailObj.compartHealthList[1]"
:key="item" :key="item"
></div> ></div>
...@@ -470,7 +472,7 @@ const getDustDetail = () => { ...@@ -470,7 +472,7 @@ const getDustDetail = () => {
indicatorTwoInstance, indicatorTwoInstance,
"indicatorTwo", "indicatorTwo",
getGaugeOption({ getGaugeOption({
value: dustInfo[1].value, value: parseInt(dustInfo[1].value / 100),
chartName: "粉尘浓度", chartName: "粉尘浓度",
min: 5, min: 5,
max: 50, max: 50,
...@@ -680,7 +682,7 @@ $borderColor: #bbbdc391; ...@@ -680,7 +682,7 @@ $borderColor: #bbbdc391;
} }
.point { .point {
width: 20px; width: 20px;
margin: 1% 3%; margin: 10px;
border-radius: 50%; border-radius: 50%;
display: inline-block; display: inline-block;
cursor: pointer; cursor: pointer;
......
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