From 1449cbe464db0c5b99d9796bff138d5faf2478ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E6=A2=A6=E8=BF=9C?= <1063331231@qq.com>
Date: Tue, 15 Jul 2025 10:38:17 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=A2=9E=E5=8A=A0=E5=96=B7?=
=?UTF-8?q?=E5=A4=B4=E6=B8=A9=E5=BA=A6=E5=92=8C=E8=BD=BD=E7=8E=BB=E5=8F=B0?=
=?UTF-8?q?=E6=B8=A9=E5=BA=A6=E7=9A=84=E6=98=BE=E7=A4=BA=E4=BB=A5=E5=8F=8A?=
=?UTF-8?q?=E5=85=B3=E9=97=AD=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/images/entry/heat_icon.svg | 1 +
src/views/clean/index.vue | 48 +++++++++++++++++++++++++++++-
src/views/main/index.vue | 56 +++++++++++++++++++++++++++++++++++
3 files changed, 104 insertions(+), 1 deletion(-)
create mode 100644 src/assets/images/entry/heat_icon.svg
diff --git a/src/assets/images/entry/heat_icon.svg b/src/assets/images/entry/heat_icon.svg
new file mode 100644
index 0000000..bed7892
--- /dev/null
+++ b/src/assets/images/entry/heat_icon.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/views/clean/index.vue b/src/views/clean/index.vue
index de6418c..8c84e62 100644
--- a/src/views/clean/index.vue
+++ b/src/views/clean/index.vue
@@ -84,7 +84,43 @@ const nozzlePipelineWash = () => {
})
}
console.log(nozzlePipelineWash)
-
+const valvesWashRef = ref()
+const valvesWash = () => {
+ if (!clearSpeed.value) {
+ FtMessage.error('请输入清洗速度')
+ return
+ }
+ if (clearSpeed.value > 100) {
+ FtMessage.error('清洗速度最大为100 uL/min')
+ return
+ }
+ ElMessageBox({
+ title: '提示',
+ message: h('div', null, [
+ h('p', null, '请检查废液瓶是否已满 '),
+ h('p', null, '请检查设备内是否有异物'),
+ ]),
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ showCancelButton: true,
+ showClose: false,
+ }).then(async () => {
+ valvesWashRef.value.setLoading(true)
+ const params = {
+ cmdCode: 'valves_wash',
+ cmdId: '',
+ params: {
+ speed: clearSpeed.value,
+ },
+ }
+ try {
+ await sendControl(params)
+ }
+ finally {
+ valvesWashRef.value.setLoading(false)
+ }
+ })
+}
const syringePipelineWashStop = async () => {
const params = {
cmdCode: 'syringe_pipeline_wash_stop',
@@ -205,6 +241,16 @@ const syringePumpStop = async () => {
+ 清洗三通阀
+
+
+
+ isClose.value, async (newValue) => {
}
}
})
+const slideSwitch = async () => {
+ if (systemStore.systemStatus.slidePlatHeating) {
+ ElMessageBox.confirm('确认关闭喷头加热?', '提示', {
+ type: 'warning',
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ showCancelButton: true,
+ showClose: false,
+ closeOnClickModal: false,
+ closeOnPressEscape: false,
+ closeOnHashChange: false,
+ }).then(async () => {
+ const params = {
+ cmdCode: 'slide_plat_heat_stop',
+ cmdId: '',
+ }
+ await sendControl(params)
+ FtMessage.success('已关闭载台加热')
+ })
+ }
+ else {
+ FtMessage.success('载台加热已关闭')
+ }
+}
+const nozzleSwitch = async () => {
+ if (systemStore.systemStatus.nozzleHeating) {
+ ElMessageBox.confirm('确认关闭喷头加热?', '提示', {
+ type: 'warning',
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ showCancelButton: true,
+ showClose: false,
+ closeOnClickModal: false,
+ closeOnPressEscape: false,
+ closeOnHashChange: false,
+ }).then(async () => {
+ const params = {
+ cmdCode: 'nozzle_heat_stop',
+ cmdId: '',
+ }
+ await sendControl(params)
+ FtMessage.success('已关闭喷头加热')
+ })
+ }
+ else {
+ FtMessage.success('喷头加热已经关闭')
+ }
+}
@@ -214,6 +262,14 @@ watch(() => isClose.value, async (newValue) => {
当前湿度: {{ systemStore.systemSensor.humidity }}%RH
+
+
+ 喷头温度: {{ systemStore.systemSensor.nozzleTemperature }}℃
+
+
+
+ 载玻台温度: {{ systemStore.systemSensor.slideTemperature }}℃
+
设备状态: {{ status }}