Browse Source

液位2300

master
maochaoying 2 years ago
parent
commit
121f3a28ff
  1. BIN
      src/assets/img/liquid/chart.png
  2. BIN
      src/assets/img/liquid/form.png
  3. 6
      src/components/LiquidHandle.vue

BIN
src/assets/img/liquid/chart.png

Before

Width: 446  |  Height: 472  |  Size: 25 KiB

After

Width: 446  |  Height: 472  |  Size: 25 KiB

BIN
src/assets/img/liquid/form.png

Before

Width: 340  |  Height: 221  |  Size: 11 KiB

After

Width: 340  |  Height: 221  |  Size: 10 KiB

6
src/components/LiquidHandle.vue

@ -62,7 +62,7 @@
class="liquid_column" class="liquid_column"
:style="{ :style="{
'--height': `${ '--height': `${
((disinfectantCapacity <= 0 ? 0 : disinfectantCapacity) / 5000) *
((disinfectantCapacity <= 0 ? 0 : disinfectantCapacity) / 2300) *
472 472
}px`, }px`,
}" }"
@ -193,8 +193,8 @@ const webSocketStore = useWebSocketStore()
const isPopLiquidStatus = ref(false) const isPopLiquidStatus = ref(false)
const formatter = value => { const formatter = value => {
if (parseInt(value) > 5000) {
return '5000'
if (parseInt(value) > 2300) {
return '2300'
} }
if (parseInt(value) <= 0) { if (parseInt(value) <= 0) {
return '0' return '0'

Loading…
Cancel
Save