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 () => {
- - + + - +