|
|
@ -50,7 +50,8 @@ const dehumidifierStart = () => { |
|
|
|
cancelButtonText: '取消', |
|
|
|
showCancelButton: true, |
|
|
|
showClose: false, |
|
|
|
}).then(async () => { |
|
|
|
}) |
|
|
|
.then(async () => { |
|
|
|
dehumidifierStartRef.value.setLoading(true) |
|
|
|
const params = { |
|
|
|
cmdCode: 'dehumidifier_start', |
|
|
@ -61,7 +62,8 @@ const dehumidifierStart = () => { |
|
|
|
} |
|
|
|
await sendControl(params) |
|
|
|
dehumidifierStartRef.value.setLoading(false) |
|
|
|
}).catch(() => { |
|
|
|
}) |
|
|
|
.catch(() => { |
|
|
|
FtMessage.error('取消除湿') |
|
|
|
}) |
|
|
|
} |
|
|
@ -74,15 +76,13 @@ const syringePipelineWash = async () => { |
|
|
|
} |
|
|
|
ElMessageBox({ |
|
|
|
title: '提示', |
|
|
|
message: h('div', null, [ |
|
|
|
h('p', null, '请检查废液瓶是否已满 '), |
|
|
|
h('p', null, '请检查设备内是否有异物'), |
|
|
|
]), |
|
|
|
message: h('div', null, [h('p', null, '请检查废液瓶是否已满 '), h('p', null, '请检查设备内是否有异物')]), |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
showCancelButton: true, |
|
|
|
showClose: false, |
|
|
|
}).then(async () => { |
|
|
|
}) |
|
|
|
.then(async () => { |
|
|
|
syringePipelineWashRef.value.setLoading(true) |
|
|
|
const params = { |
|
|
|
cmdCode: 'syringe_pipeline_wash', |
|
|
@ -94,7 +94,8 @@ const syringePipelineWash = async () => { |
|
|
|
console.log('sendControl', params) |
|
|
|
await sendControl(params) |
|
|
|
syringePipelineWashRef.value.setLoading(false) |
|
|
|
}).catch(() => { |
|
|
|
}) |
|
|
|
.catch(() => { |
|
|
|
FtMessage.error('取消清洗') |
|
|
|
}) |
|
|
|
} |
|
|
@ -107,15 +108,13 @@ const nozzlePipelineWash = () => { |
|
|
|
} |
|
|
|
ElMessageBox({ |
|
|
|
title: '提示', |
|
|
|
message: h('div', null, [ |
|
|
|
h('p', null, '请检查废液瓶是否已满 '), |
|
|
|
h('p', null, '请检查设备内是否有异物'), |
|
|
|
]), |
|
|
|
message: h('div', null, [h('p', null, '请检查废液瓶是否已满 '), h('p', null, '请检查设备内是否有异物')]), |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
showCancelButton: true, |
|
|
|
showClose: false, |
|
|
|
}).then(async () => { |
|
|
|
}) |
|
|
|
.then(async () => { |
|
|
|
nozzlePipelineWashRef.value.setLoading(true) |
|
|
|
const params = { |
|
|
|
cmdCode: 'nozzle_pipeline_wash', |
|
|
@ -124,10 +123,12 @@ const nozzlePipelineWash = () => { |
|
|
|
speed: clearSpeed.value, |
|
|
|
}, |
|
|
|
} |
|
|
|
try { |
|
|
|
await sendControl(params) |
|
|
|
} |
|
|
|
finally { |
|
|
|
nozzlePipelineWashRef.value.setLoading(false) |
|
|
|
}).catch(() => { |
|
|
|
FtMessage.error('取消清洗') |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
@ -139,15 +140,13 @@ const matrixPrefill = () => { |
|
|
|
} |
|
|
|
ElMessageBox({ |
|
|
|
title: '提示', |
|
|
|
message: h('div', null, [ |
|
|
|
h('p', null, '请检查废液瓶是否已满 '), |
|
|
|
h('p', null, '请检查设备内是否有异物'), |
|
|
|
]), |
|
|
|
message: h('div', null, [h('p', null, '请检查废液瓶是否已满 '), h('p', null, '请检查设备内是否有异物')]), |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
showCancelButton: true, |
|
|
|
showClose: false, |
|
|
|
}).then(async () => { |
|
|
|
}) |
|
|
|
.then(async () => { |
|
|
|
matrixPrefillRef.value.setLoading(true) |
|
|
|
const params = { |
|
|
|
cmdCode: 'matrix_prefill', |
|
|
@ -158,7 +157,8 @@ const matrixPrefill = () => { |
|
|
|
} |
|
|
|
await sendControl(params) |
|
|
|
matrixPrefillRef.value.setLoading(false) |
|
|
|
}).catch(() => { |
|
|
|
}) |
|
|
|
.catch(() => { |
|
|
|
FtMessage.error('取消预充') |
|
|
|
}) |
|
|
|
} |
|
|
@ -199,10 +199,10 @@ const dehumidifierStop = async () => { |
|
|
|
<span> 清洗管道</span> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<div style="display: flex;align-items: center;margin-top: 20px"> |
|
|
|
<div style="display: flex;align-items: center;width: fit-content;margin-right: 30px"> |
|
|
|
<div style="display: flex; align-items: center; margin-top: 20px"> |
|
|
|
<div style="display: flex; align-items: center; width: fit-content; margin-right: 30px"> |
|
|
|
<span>清洗速度</span> |
|
|
|
<el-input v-model="clearSpeed" type="number" style="width: 100px;margin:0 10px" /> |
|
|
|
<el-input v-model="clearSpeed" type="number" style="width: 100px; margin: 0 10px" /> |
|
|
|
<span>uL/min</span> |
|
|
|
</div> |
|
|
|
<ft-button ref="syringePipelineWashRef" type="primary" :click-handle="syringePipelineWash"> |
|
|
@ -225,10 +225,10 @@ const dehumidifierStop = async () => { |
|
|
|
<span> 预充管道</span> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<div style="display: flex;align-items: center;margin-top: 20px"> |
|
|
|
<div style="display: flex;align-items: center;width: fit-content;margin-right: 30px"> |
|
|
|
<div style="display: flex; align-items: center; margin-top: 20px"> |
|
|
|
<div style="display: flex; align-items: center; width: fit-content; margin-right: 30px"> |
|
|
|
<span>预充速度</span> |
|
|
|
<el-input v-model="speed" type="number" style="width: 100px;margin:0 10px" /> |
|
|
|
<el-input v-model="speed" type="number" style="width: 100px; margin: 0 10px" /> |
|
|
|
<span>uL/min</span> |
|
|
|
</div> |
|
|
|
<ft-button ref="matrixPrefillRef" type="primary" :click-handle="matrixPrefill"> |
|
|
@ -249,15 +249,15 @@ const dehumidifierStop = async () => { |
|
|
|
<span> 环境设置</span> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<div style="display: flex;align-items: center;margin-top: 20px"> |
|
|
|
<div style="display: flex;align-items: center;width: fit-content;margin-right: 30px"> |
|
|
|
<div style="display: flex; align-items: center; margin-top: 20px"> |
|
|
|
<div style="display: flex; align-items: center; width: fit-content; margin-right: 30px"> |
|
|
|
<span>当前湿度</span> |
|
|
|
<span class="num-text">{{ systemStore.systemSensor.humidity }}</span> |
|
|
|
<span>%RH</span> |
|
|
|
</div> |
|
|
|
<div style="display: flex;align-items: center;width: fit-content;margin-right: 30px"> |
|
|
|
<div style="display: flex; align-items: center; width: fit-content; margin-right: 30px"> |
|
|
|
<span>要求湿度</span> |
|
|
|
<el-input v-model="humidity" type="number" style="width: 100px;margin:0 10px" /> |
|
|
|
<el-input v-model="humidity" type="number" style="width: 100px; margin: 0 10px" /> |
|
|
|
<span>%RH</span> |
|
|
|
</div> |
|
|
|
<ft-button ref="dehumidifierStartRef" type="primary" :click-handle="dehumidifierStart"> |
|
|
|