Browse Source

#103 密封测试单位修改

master
sige 1 year ago
parent
commit
25a5c67eb7
  1. 16
      src/components/SealTest.vue

16
src/components/SealTest.vue

@ -13,9 +13,9 @@
<p class="num">
{{
sealStore.oldAirPressure != null
? sealStore.oldAirPressure * 1000
? parseFloat(sealStore.oldAirPressure).toFixed(1)
: '--'
}}Pa
}}kp
</p>
</div>
<img
@ -66,7 +66,7 @@
<div class="num">
{{
sealStore.differenceValue != null
? `${sealStore.differenceValue * 1000}Pa`
? `${parseFloat(sealStore.differenceValue).toFixed(1)}kp`
: '未开始'
}}
</div>
@ -128,7 +128,7 @@ const sealOptions = ref({
{
type: 'gauge',
min: 0,
max: 10,
max: 6,
progress: {
show: true,
width: 18,
@ -177,12 +177,12 @@ const sealOptions = ref({
valueAnimation: true,
fontSize: 40,
color: '#3442aa',
formatter: '{value} Pa',
formatter: '{value} kp',
offsetCenter: [0, '70%'],
},
data: [
{
value: sealStore.currentAirPressure * 1000,
value: parseFloat(sealStore.currentAirPressure).toFixed(1),
},
],
},
@ -356,7 +356,7 @@ onMounted(() => {
{
type: 'gauge',
min: 0,
max: 10,
max: 6,
progress: {
show: true,
width: 18,
@ -410,7 +410,7 @@ onMounted(() => {
},
data: [
{
value: sealStore.currentAirPressure * 1000,
value: parseFloat(sealStore.currentAirPressure).toFixed(1),
},
],
},

Loading…
Cancel
Save