From 847619bb3e5d6c92a3184580838d26c6b29495bc Mon Sep 17 00:00:00 2001 From: Zhao Zhao Shen Date: Thu, 6 Mar 2025 14:21:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20bug=E5=88=97=E8=A1=A8=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/request.js | 4 +- src/views/Dashboard/index.vue | 82 +++++++++++++--------------------- src/views/Inspection/index.vue | 69 ++++++++++++++++------------ src/views/layout/vueLayout.vue | 28 ++++++------ 4 files changed, 87 insertions(+), 96 deletions(-) diff --git a/src/utils/request.js b/src/utils/request.js index 7e83ce2..dbb0743 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -1,8 +1,8 @@ import axios from 'axios'; const service = axios.create({ - baseURL: 'http://192.168.1.199:8080/api', // 办公室测试接口 - //baseURL: 'http://39.105.9.124:8090/api', // 家用测试接口 + // baseURL: 'http://192.168.1.199:8080/api', // 办公室测试接口 + baseURL: 'http://39.105.9.124:8090/api', // 家用测试接口 timeout: 5000, // 请求超时时间 headers: { "Access-Control-Allow-Origin": "*", diff --git a/src/views/Dashboard/index.vue b/src/views/Dashboard/index.vue index cacddd2..313ce22 100644 --- a/src/views/Dashboard/index.vue +++ b/src/views/Dashboard/index.vue @@ -10,7 +10,8 @@
+ :data-device-id="item?.deviceId" + @click="handleBlockClick(item?.deviceId, item.name, false)"> {{ item.name }}:
+ :data-device-id="item?.deviceId" + @click="handleBlockClick(item?.deviceId, item.name, false)"> {{ item.name }}:
- +   已碱洗 - +   已酸洗 - +  清洁状态 - +  无菌状态
@@ -106,7 +104,8 @@
+ @click="handleBlockClick(pulpUHTData?.deviceId, pulpUHTData.name, true)" + style="cursor: pointer;">

果肉 UHT

@@ -187,11 +186,8 @@
- - - - 果汁流量:{{ juiceTank.productFlowRate - }} + ▼果汁流量:{{ juiceTank.productFlowRate + }}
@@ -233,11 +229,8 @@
- - - - 果汁流量:{{ pulpTank.productFlowRate - }} + ▲果肉流量:{{ pulpTank.productFlowRate + }}

果肉无菌罐

@@ -286,8 +279,8 @@
- +