From 3de94f60cbddbe68dab07898b62fee959112ce07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BE=9A=E7=A5=96=E6=9C=9B?= <573413756@qq.com> Date: Tue, 19 Sep 2023 17:57:13 +0800 Subject: [PATCH] add plc formula transfer function --- xiuosiot-frontend/src/api/terminal/plc.js | 8 ++ .../src/views/terminal/PLC/index.vue | 80 ++++++++++++++++--- 2 files changed, 75 insertions(+), 13 deletions(-) diff --git a/xiuosiot-frontend/src/api/terminal/plc.js b/xiuosiot-frontend/src/api/terminal/plc.js index b0656f8..a0d36d3 100644 --- a/xiuosiot-frontend/src/api/terminal/plc.js +++ b/xiuosiot-frontend/src/api/terminal/plc.js @@ -31,3 +31,11 @@ export function publish(data) { data }) } + +export function getClient(data) { + return request({ + url: '/api/getClient', + method: 'get', + params: data || {} + }) +} diff --git a/xiuosiot-frontend/src/views/terminal/PLC/index.vue b/xiuosiot-frontend/src/views/terminal/PLC/index.vue index d63b3f5..f1e0541 100644 --- a/xiuosiot-frontend/src/views/terminal/PLC/index.vue +++ b/xiuosiot-frontend/src/views/terminal/PLC/index.vue @@ -49,7 +49,7 @@

在线烧录

@@ -487,7 +487,7 @@ 上一步 + + + + + + + + + + + + + + +