diff --git a/ruoyi-ui/src/api/system/NonAutomaticWarning.js b/ruoyi-ui/src/api/system/NonAutomaticWarning.js new file mode 100644 index 00000000..2b19feb0 --- /dev/null +++ b/ruoyi-ui/src/api/system/NonAutomaticWarning.js @@ -0,0 +1,10 @@ +import request from '@/utils/request' + +// 调用非机预警设备订阅事件 +export function eventSubscription(data) { + return request({ + url: '/nonAutomaticWarning/eventSubscription', + method: 'post', + data: data + }) +} diff --git a/ruoyi-ui/src/views/system/device/index.vue b/ruoyi-ui/src/views/system/device/index.vue index 906c0f2e..9c538fe1 100644 --- a/ruoyi-ui/src/views/system/device/index.vue +++ b/ruoyi-ui/src/views/system/device/index.vue @@ -140,7 +140,7 @@ - + - + +