From bbd949abcf849285f3ef20a4514afc2873a83b8d Mon Sep 17 00:00:00 2001
From: wj <347312259@qq.com>
Date: Thu, 1 Jun 2023 14:36:46 +0800
Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E5=8A=A8=E6=8E=A7=E5=88=B6=E6=B8=B2?=
=?UTF-8?q?=E6=9F=93=E5=8F=AF=E6=8E=A7=E8=AE=BE=E5=A4=87=EF=BC=8C=E7=AD=96?=
=?UTF-8?q?=E7=95=A5=E5=AF=BC=E5=85=A5=E6=89=A7=E8=A1=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
psdc-ui/src/api/control/manual.js | 8 ++++++++
psdc-ui/src/views/control/manual/index.vue | 23 +++++++++++++---------
2 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/psdc-ui/src/api/control/manual.js b/psdc-ui/src/api/control/manual.js
index 902edf6..eb6cf03 100644
--- a/psdc-ui/src/api/control/manual.js
+++ b/psdc-ui/src/api/control/manual.js
@@ -4,6 +4,10 @@ import request from '@/utils/request'
export function getDevice() {
return request.get('/control/manual/deviceStatusList')
}
+/** 获取可控设备*/
+export function getControlDeviceList() {
+ return request.get('/control/manual/controlDeviceList')
+}
/** 获取调控日志列表*/
export function getControlLogList(data) {
return request.post('/control/manual/controlLogList',data)
@@ -19,4 +23,8 @@ export function getStartAndStop(data) {
/** 设置温度*/
export function getSetTemperature(data) {
return request.post('/control/manual/setTemperature',data)
+}
+/** 策略执行控制*/
+export function getSenceControl(data) {
+ return request.post('/control/manual/senceControl',data)
}
\ No newline at end of file
diff --git a/psdc-ui/src/views/control/manual/index.vue b/psdc-ui/src/views/control/manual/index.vue
index c9a9bcb..cd5e9cf 100644
--- a/psdc-ui/src/views/control/manual/index.vue
+++ b/psdc-ui/src/views/control/manual/index.vue
@@ -25,6 +25,7 @@