|
|
@ -34,7 +34,13 @@ |
|
|
|
<section class="flex flex-col relative text-primary mb-4"> |
|
|
|
<main class="mt-[43px] border border-[#D6D6D6] bg-white rounded-b-md rounded-tr-md px-6 py-6"> |
|
|
|
<div class="flex items-center gap-6"> |
|
|
|
<p class="text-lg">预充管道</p> |
|
|
|
<!-- <p class="text-lg">预充管道</p> --> |
|
|
|
<p class="text-lg mr-4"> |
|
|
|
预充速度 <input |
|
|
|
type="number" |
|
|
|
v-model.number="prefillSpeed" |
|
|
|
class="border-none outline-none h-[32px] w-[60px] mx-2 bg-[#E8ECF7] text-primary font-medium rounded-md text-lg text-center" />ul/min |
|
|
|
</p> |
|
|
|
<button |
|
|
|
:disabled="statusStore.workStatus !== 'idle'" |
|
|
|
class="btn-dark px-8 py-2 text-lg" |
|
|
@ -153,6 +159,7 @@ const dialogContent = ref<DialogParam>({ |
|
|
|
|
|
|
|
const showDialog = ref(false); |
|
|
|
const humidity = ref<number | undefined>(); |
|
|
|
const prefillSpeed = ref<number | undefined>(); |
|
|
|
|
|
|
|
function onStartDehumidify() { |
|
|
|
if (typeof humidity.value !== "number") { |
|
|
@ -209,7 +216,11 @@ function onStopWash() { |
|
|
|
} |
|
|
|
|
|
|
|
function onStartPrefill() { |
|
|
|
startPrefill({}).then(res => { |
|
|
|
if (typeof prefillSpeed.value !== "number") { |
|
|
|
ElMessage.error("请输入预充速度"); |
|
|
|
return; |
|
|
|
} |
|
|
|
startPrefill({ speed: prefillSpeed.value }).then(res => { |
|
|
|
if (res.success) { |
|
|
|
ElMessage.success("已经开始预充"); |
|
|
|
} else { |
|
|
|