From 563ade512cb25690fa79a5843069961e4fcfa942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Tue, 29 Oct 2024 17:34:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B94F=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/board/cs2.js | 9 +++++++++ src/views/cs/index2.vue | 20 ++++++++++++-------- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/src/api/board/cs2.js b/src/api/board/cs2.js index a1dc289..c59cc56 100644 --- a/src/api/board/cs2.js +++ b/src/api/board/cs2.js @@ -8,3 +8,12 @@ export function getHourProductionList(query) { params: query }); } + +// 查询产量 +export function getAgvData(query) { + return request({ + url: 'http://192.168.202.25:9001/api/scada/agvdata', + method: 'get', + params: query + }); +} diff --git a/src/views/cs/index2.vue b/src/views/cs/index2.vue index de8b4a7..9aebd3b 100644 --- a/src/views/cs/index2.vue +++ b/src/views/cs/index2.vue @@ -66,12 +66,12 @@
-
烘房{{ k + 1 }} (产量:{{ i.quantity }}车) -
+
{{ i.equName }}
-
设备产量: 10
+
设备产量: {{ i.quantity }}
设备信息: 10
@@ -93,7 +93,7 @@
{{ i.equName }}
-
设备产量: 10
+
设备产量: {{ i.quantity }}
设备信息: 10
@@ -108,7 +108,7 @@