From 6824071083df6d38e32b5fe44d08ef30d034d0ab Mon Sep 17 00:00:00 2001 From: zhangjunwen Date: Tue, 9 Apr 2024 18:05:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E8=AD=A6=E8=A7=84=E5=88=99=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E8=8F=9C=E5=8D=95=E5=8A=9F=E8=83=BD=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zfipc-ui/src/api/industrial/monitorData.js | 53 +++ zfipc-ui/src/views/monitorData/index.vue | 461 +++++++++++++++++++++ 2 files changed, 514 insertions(+) create mode 100644 zfipc-ui/src/api/industrial/monitorData.js create mode 100644 zfipc-ui/src/views/monitorData/index.vue diff --git a/zfipc-ui/src/api/industrial/monitorData.js b/zfipc-ui/src/api/industrial/monitorData.js new file mode 100644 index 0000000..140b087 --- /dev/null +++ b/zfipc-ui/src/api/industrial/monitorData.js @@ -0,0 +1,53 @@ +import request from "@/utils/request"; + +// 查询监控数据信息列表 +export function listMonitorInfo(query) { + return request({ + url: "/monitorData/info/list", + method: "get", + params: query, + }); +} + +// 查询所有数据 +export function getAllMonitorData(query) { + return request({ + url: "/monitorData/info/getAll", + method: "get", + params: query, + }); +} + +// 查询监控数据信息详细 +export function getMonitorInfo(id) { + return request({ + url: "/monitorData/info/" + id, + method: "get", + }); +} + +// 新增监控数据信息 +export function addMonitorInfo(data) { + return request({ + url: "/monitorData/info", + method: "post", + data: data, + }); +} + +// 修改监控数据信息 +export function updateMonitorInfo(data) { + return request({ + url: "/monitorData/info", + method: "put", + data: data, + }); +} + +// 删除监控数据信息 +export function delMonitorInfo(id) { + return request({ + url: "/monitorData/info/" + id, + method: "delete", + }); +} diff --git a/zfipc-ui/src/views/monitorData/index.vue b/zfipc-ui/src/views/monitorData/index.vue new file mode 100644 index 0000000..dfba8d5 --- /dev/null +++ b/zfipc-ui/src/views/monitorData/index.vue @@ -0,0 +1,461 @@ + + + + \ No newline at end of file