From ebf83c4749866d724d5acc58f04b7d9f83dbbcad Mon Sep 17 00:00:00 2001 From: xiangxy Date: Thu, 27 Oct 2022 14:55:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/getData.js | 3 +- src/pages/proj/RunOperate.vue | 246 ++++++++++++++++++++++------------ src/style/layout.styl | 1 + 3 files changed, 162 insertions(+), 88 deletions(-) diff --git a/src/config/getData.js b/src/config/getData.js index 645517c..4898f08 100644 --- a/src/config/getData.js +++ b/src/config/getData.js @@ -31,7 +31,8 @@ export const instOperation = (uuid, type) => post('api/andxy2/hand/inst', { // 1.3信号查询(定时) export const queryDeviceInfo = () => post('api/hand/queryDeviceInfo', {}) // 1.3下发设备信号(按照查询的字段,每次1个信号) -export const putPoint = (type, value) => post('api/hand/putPoint', { +export const putPoint = (name, type, value) => post('api/hand/putPoint', { + name: name, type: type, value: value }) diff --git a/src/pages/proj/RunOperate.vue b/src/pages/proj/RunOperate.vue index 9c57587..f3c41ec 100644 --- a/src/pages/proj/RunOperate.vue +++ b/src/pages/proj/RunOperate.vue @@ -5,20 +5,20 @@
- 自动 - 系统运行 - 联机模式 + 自动 + 系统运行 + 联机模式
-
{{val1}}
+
{{rData.a_pressure}}
-
{{val1}}
+
{{rData.b_pressure}}
@@ -43,7 +43,7 @@
- +
- - + +
@@ -76,64 +76,64 @@
  • - - 1 - 2 + + 1 + 2
  • - - 1 - 2 - 3 + + 1 + 2 + 3
  • - - 1 + + 1
  • - - - 1 - 2 + + + 1 + 2
  • - - 1 - 2 + + 1 + 2
  • - - 1 - 2 - + + 1 + 2 +
  • - - 1 - 2 - 3 - + + 1 + 2 + 3 +
  • - - 1 - 2 - + + 1 + 2 +
  • - - 1 - 2 - - + + 1 + 2 + +
@@ -149,15 +149,15 @@
  • - - 1 - 2 + + 1 + 2
  • - - 1 - 2 + + 1 + 2
@@ -168,33 +168,33 @@
- 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12
- - - - + + + +
- - + +
- +
@@ -217,7 +217,7 @@