Browse Source

fix: 禁用管路清洗

master
guoapeng 4 months ago
parent
commit
201b32f0bd
  1. 2
      package.json
  2. 21
      src/views/clean/index.vue
  3. 7
      src/views/debug/index.vue
  4. 17
      src/views/spraySet/index.vue

2
package.json

@ -1,7 +1,7 @@
{
"name": "matrix-spray-web",
"type": "module",
"version": "1.0.1",
"version": "1.0.2",
"description": "",
"author": "",
"license": "ISC",

21
src/views/clean/index.vue

@ -83,6 +83,7 @@ const nozzlePipelineWash = () => {
}
})
}
console.log(nozzlePipelineWash)
const syringePipelineWashStop = async () => {
const params = {
@ -192,16 +193,16 @@ const syringePumpStop = async () => {
清洗注射器管路
</ft-button>
</el-form-item>
<el-form-item>
<ft-button
ref="nozzlePipelineWashRef" class="button-style" type="primary" :disabled="systemStore.systemStatus.spraying
|| systemStore.systemStatus.cleaningSyringePipeline
|| systemStore.systemStatus.cleaningNozzlePipeline
|| systemStore.systemStatus.prefilling" @click="nozzlePipelineWash"
>
清洗喷嘴管路
</ft-button>
</el-form-item>
<!-- <el-form-item> -->
<!-- <ft-button -->
<!-- ref="nozzlePipelineWashRef" class="button-style" type="primary" :disabled="systemStore.systemStatus.spraying -->
<!-- || systemStore.systemStatus.cleaningSyringePipeline -->
<!-- || systemStore.systemStatus.cleaningNozzlePipeline -->
<!-- || systemStore.systemStatus.prefilling" @click="nozzlePipelineWash" -->
<!-- > -->
<!-- 清洗喷嘴管路 -->
<!-- </ft-button> -->
<!-- </el-form-item> -->
<el-form-item>
<ft-button
class="button-style"

7
src/views/debug/index.vue

@ -62,6 +62,7 @@ const threeWayValveOpenSyringePipeline = async () => {
}
await sendControl(params, 'debug')
}
console.log('threeWayValveOpenSyringePipeline', threeWayValveOpenSyringePipeline)
const threeWayValveOpenNozzlePipeline = async () => {
const params = {
@ -351,9 +352,9 @@ const highVoltageClose = async () => {
关闭照明灯
</ft-button>
<div style="margin-top: 10px;display: flex;justify-content: center">
<ft-button type="primary" :click-handle="threeWayValveOpenSyringePipeline">
打开喷嘴管路
</ft-button>
<!-- <ft-button type="primary" :click-handle="threeWayValveOpenSyringePipeline"> -->
<!-- 打开喷嘴管路 -->
<!-- </ft-button> -->
<ft-button type="primary" :click-handle="threeWayValveOpenNozzlePipeline">
打开注射器管路
</ft-button>

17
src/views/spraySet/index.vue

@ -144,6 +144,7 @@ const nozzlePipelineWash = () => {
}
})
}
console.log(nozzlePipelineWash)
const matrixPrefillRef = ref()
const matrixPrefill = () => {
@ -233,14 +234,14 @@ const dehumidifierStop = async () => {
>
清洗注射器管路
</ft-button>
<ft-button
ref="nozzlePipelineWashRef" type="primary" :click-handle="nozzlePipelineWash" :disabled="systemStore.systemStatus.spraying
|| systemStore.systemStatus.cleaningSyringePipeline
|| systemStore.systemStatus.cleaningNozzlePipeline
|| systemStore.systemStatus.prefilling"
>
清洗喷嘴管路
</ft-button>
<!-- <ft-button -->
<!-- ref="nozzlePipelineWashRef" type="primary" :click-handle="nozzlePipelineWash" :disabled="systemStore.systemStatus.spraying -->
<!-- || systemStore.systemStatus.cleaningSyringePipeline -->
<!-- || systemStore.systemStatus.cleaningNozzlePipeline -->
<!-- || systemStore.systemStatus.prefilling" -->
<!-- > -->
<!-- 清洗喷嘴管路 -->
<!-- </ft-button> -->
<ft-button :click-handle="pipelineWashStop" :disabled="!systemStore.systemStatus.cleaningSyringePipeline && !systemStore.systemStatus.cleaningNozzlePipeline">
停止清洗
</ft-button>

Loading…
Cancel
Save