From 8dd07abaa6910a6f0ae2471136bf816a04258e81 Mon Sep 17 00:00:00 2001 From: guoapeng Date: Mon, 24 Mar 2025 01:24:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=87=AA=E6=A3=80bug=E4=BF=AE=E5=A4=8D;?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/system.ts | 3 +- src/components/home/Check/index.vue | 95 ++++++++++++++++++++++++------------- src/views/clean/index.vue | 6 ++- src/views/log/index.vue | 6 +-- src/views/point/index.vue | 1 + src/views/spray/index.vue | 1 + src/views/spraySet/index.vue | 2 +- 7 files changed, 74 insertions(+), 40 deletions(-) diff --git a/src/apis/system.ts b/src/apis/system.ts index 9784918..e38ce5e 100644 --- a/src/apis/system.ts +++ b/src/apis/system.ts @@ -11,5 +11,6 @@ export const control = (params: any) => http.post('/function', params) export const debugControl = (params: any) => http.post('/function/debug', params) export const getDeviceStatus = () => http.get('/device-status/') -export const getDeviceSelfTest = () => http.get('/self-test/') +export const getDeviceSelfTest = () => http.get('/self-test/status') +export const deviceSelfTestFinish = () => http.post('/self-test/finish') export const getSprayStatus = () => http.get('/spray-task/status') diff --git a/src/components/home/Check/index.vue b/src/components/home/Check/index.vue index c89612d..568a8c3 100644 --- a/src/components/home/Check/index.vue +++ b/src/components/home/Check/index.vue @@ -1,10 +1,10 @@ @@ -153,7 +173,7 @@ const addTextToCheckList = async (text: string, id: number) => { align-items: center; margin-bottom: 40px; .el-tag { - margin-right: 20px; + margin-right: 20px; width: 100%; } } @@ -174,4 +194,11 @@ const addTextToCheckList = async (text: string, id: number) => { :deep(.el-tag) { padding: 30px 0; } +:deep(.check-button) { + margin-left: 10px; + .my-button { + width: 230px; + } + +} diff --git a/src/views/clean/index.vue b/src/views/clean/index.vue index fee4999..3e60316 100644 --- a/src/views/clean/index.vue +++ b/src/views/clean/index.vue @@ -117,7 +117,11 @@ const syringePipelineWashStop = async () => { > 清洗喷嘴管路 - + 结束清洗 diff --git a/src/views/log/index.vue b/src/views/log/index.vue index 3b8ab01..f51c4b3 100644 --- a/src/views/log/index.vue +++ b/src/views/log/index.vue @@ -97,8 +97,8 @@ const delHandle = async () => {
- - + + - +