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