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 }}