|
|
@ -85,9 +85,9 @@ const onBottomState = () => {} |
|
|
|
<div class="dashboard-container"> |
|
|
|
<main class="main-content"> |
|
|
|
<!-- 上下布局 --> |
|
|
|
<section class="debug-upper"> |
|
|
|
<section> |
|
|
|
<div v-for="(item, index) in h2O2SensorData" :key="index" class="debug-left-lh"> |
|
|
|
<div class="debug-label"> |
|
|
|
<div class="debug-label" style="text-align: center;"> |
|
|
|
{{ index === 0 ? '仓内环境' : item.title }} |
|
|
|
</div> |
|
|
|
<div> |
|
|
@ -109,7 +109,7 @@ const onBottomState = () => {} |
|
|
|
<div> |
|
|
|
<div class="debug-left-lh"> |
|
|
|
<div class="debug-label"> |
|
|
|
加液蠕动泵 |
|
|
|
加液蠕动泵: |
|
|
|
</div> |
|
|
|
<div class="debug-bw"> |
|
|
|
<bt-button |
|
|
@ -134,7 +134,7 @@ const onBottomState = () => {} |
|
|
|
</div> |
|
|
|
<div class="debug-left-lh"> |
|
|
|
<div class="debug-label"> |
|
|
|
空压机 |
|
|
|
空压机: |
|
|
|
</div> |
|
|
|
<div class="debug-bw"> |
|
|
|
<span class="debug-text">0.00A</span> |
|
|
@ -155,7 +155,7 @@ const onBottomState = () => {} |
|
|
|
</div> |
|
|
|
<div class="debug-left-lh"> |
|
|
|
<div class="debug-label"> |
|
|
|
加热片 |
|
|
|
加热片: |
|
|
|
</div> |
|
|
|
<div class="debug-bw"> |
|
|
|
<span class="debug-text">0.00A</span> |
|
|
@ -163,21 +163,20 @@ const onBottomState = () => {} |
|
|
|
<div> |
|
|
|
<bt-button |
|
|
|
type="primary" |
|
|
|
@click="onOpenHeat" |
|
|
|
button-text="打开" |
|
|
|
> |
|
|
|
</bt-button> |
|
|
|
@click="onOpenHeat" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<bt-button |
|
|
|
@click="onCloseHeat" |
|
|
|
button-text="关闭" |
|
|
|
@click="onCloseHeat" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="debug-left-lh"> |
|
|
|
<div class="debug-label"> |
|
|
|
蒸发仓水浸 |
|
|
|
蒸发仓水浸: |
|
|
|
</div> |
|
|
|
<div class="debug-bw"> |
|
|
|
<span class="debug-text">没水</span> |
|
|
@ -185,8 +184,8 @@ const onBottomState = () => {} |
|
|
|
<div> |
|
|
|
<bt-button |
|
|
|
type="primary" |
|
|
|
@click="queryEvaporationState" |
|
|
|
button-text="读取状态" |
|
|
|
@click="queryEvaporationState" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -196,34 +195,32 @@ const onBottomState = () => {} |
|
|
|
<div> |
|
|
|
<div class="debug-left-lh"> |
|
|
|
<div class="debug-label"> |
|
|
|
注射蠕动泵 |
|
|
|
注射蠕动泵: |
|
|
|
</div> |
|
|
|
<div class="debug-bw"> |
|
|
|
<bt-button |
|
|
|
type="primary" |
|
|
|
@click="onSprayMetor" |
|
|
|
button-text="喷射" |
|
|
|
> |
|
|
|
</bt-button> |
|
|
|
@click="onSprayMetor" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<bt-button |
|
|
|
type="primary" |
|
|
|
@click="onRefluxMetor" |
|
|
|
button-text="回流" |
|
|
|
> |
|
|
|
</bt-button> |
|
|
|
@click="onRefluxMetor" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<bt-button |
|
|
|
@click="onClosePump" |
|
|
|
button-text="关闭" |
|
|
|
@click="onClosePump" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="debug-left-lh"> |
|
|
|
<div class="debug-label"> |
|
|
|
风机 |
|
|
|
风机: |
|
|
|
</div> |
|
|
|
<div class="debug-bw"> |
|
|
|
<span class="debug-text">0.00A</span> |
|
|
@ -231,20 +228,20 @@ const onBottomState = () => {} |
|
|
|
<div> |
|
|
|
<bt-button |
|
|
|
type="primary" |
|
|
|
@click="onOpenFan" |
|
|
|
button-text="打开" |
|
|
|
@click="onOpenFan" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<bt-button |
|
|
|
@click="onCloseFan" |
|
|
|
button-text="关闭" |
|
|
|
@click="onCloseFan" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="debug-left-lh"> |
|
|
|
<div class="debug-label"> |
|
|
|
设备底部水浸 |
|
|
|
设备底部水浸: |
|
|
|
</div> |
|
|
|
<div class="debug-bw"> |
|
|
|
<span class="debug-text">没水</span> |
|
|
@ -252,8 +249,8 @@ const onBottomState = () => {} |
|
|
|
<div> |
|
|
|
<bt-button |
|
|
|
type="primary" |
|
|
|
@click="onBottomState" |
|
|
|
button-text="读取状态" |
|
|
|
@click="onBottomState" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -272,9 +269,10 @@ const onBottomState = () => {} |
|
|
|
background: $gradient-color; |
|
|
|
padding-top: 50px; |
|
|
|
padding-left: 30px; |
|
|
|
font-size: 20px; |
|
|
|
.debug-upper{ |
|
|
|
display: grid; |
|
|
|
grid-template-columns: 1fr 1fr; |
|
|
|
grid-template-columns: repeat(2, 1fr); |
|
|
|
grid-template-rows: auto auto; |
|
|
|
} |
|
|
|
.debug-lower{ |
|
|
@ -284,21 +282,22 @@ const onBottomState = () => {} |
|
|
|
.debug-left{ |
|
|
|
.debug-inside{ |
|
|
|
display: flex; |
|
|
|
gap: 2rem; |
|
|
|
gap: 1rem; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.debug-left-lh{ |
|
|
|
display: flex; |
|
|
|
gap: 2rem; |
|
|
|
gap: 1rem; |
|
|
|
height: $lineHeight; |
|
|
|
} |
|
|
|
.debug-bw{ |
|
|
|
width: 8vw; |
|
|
|
} |
|
|
|
.debug-label{ |
|
|
|
width: 8vw; |
|
|
|
width: 13vw; |
|
|
|
text-align: end; |
|
|
|
} |
|
|
|
.debug-text{ |
|
|
|
color: #2892F3; |
|
|
|