diff --git a/src/api/monitoring/equipmentAlarmLog.js b/src/api/monitoring/equipmentAlarmLog.js new file mode 100644 index 00000000..fd74cb33 --- /dev/null +++ b/src/api/monitoring/equipmentAlarmLog.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建设备报警日志 +export function createEquipmentAlarmLog(data) { + return request({ + url: '/monitoring/equipment-alarm-log/create', + method: 'post', + data: data + }) +} + +// 更新设备报警日志 +export function updateEquipmentAlarmLog(data) { + return request({ + url: '/monitoring/equipment-alarm-log/update', + method: 'put', + data: data + }) +} + +// 删除设备报警日志 +export function deleteEquipmentAlarmLog(id) { + return request({ + url: '/monitoring/equipment-alarm-log/delete?id=' + id, + method: 'delete' + }) +} + +// 获得设备报警日志 +export function getEquipmentAlarmLog(id) { + return request({ + url: '/monitoring/equipment-alarm-log/get?id=' + id, + method: 'get' + }) +} + +// 获得设备报警日志分页 +export function getEquipmentAlarmLogPage(query) { + return request({ + url: '/monitoring/equipment-alarm-log/page', + method: 'get', + params: query + }) +} + +// 导出设备报警日志 Excel +export function exportEquipmentAlarmLogExcel(query) { + return request({ + url: '/monitoring/equipment-alarm-log/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/monitoring/equipmentAlarmRealtime.js b/src/api/monitoring/equipmentAlarmRealtime.js new file mode 100644 index 00000000..00523a24 --- /dev/null +++ b/src/api/monitoring/equipmentAlarmRealtime.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建设备报警实时信息 +export function createEquipmentAlarmRealtime(data) { + return request({ + url: '/monitoring/equipment-alarm-realtime/create', + method: 'post', + data: data + }) +} + +// 更新设备报警实时信息 +export function updateEquipmentAlarmRealtime(data) { + return request({ + url: '/monitoring/equipment-alarm-realtime/update', + method: 'put', + data: data + }) +} + +// 删除设备报警实时信息 +export function deleteEquipmentAlarmRealtime(id) { + return request({ + url: '/monitoring/equipment-alarm-realtime/delete?id=' + id, + method: 'delete' + }) +} + +// 获得设备报警实时信息 +export function getEquipmentAlarmRealtime(id) { + return request({ + url: '/monitoring/equipment-alarm-realtime/get?id=' + id, + method: 'get' + }) +} + +// 获得设备报警实时信息分页 +export function getEquipmentAlarmRealtimePage(query) { + return request({ + url: '/monitoring/equipment-alarm-realtime/page', + method: 'get', + params: query + }) +} + +// 导出设备报警实时信息 Excel +export function exportEquipmentAlarmRealtimeExcel(query) { + return request({ + url: '/monitoring/equipment-alarm-realtime/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/components/SequenceGraph/index.vue b/src/components/SequenceGraph/index.vue new file mode 100644 index 00000000..34da2137 --- /dev/null +++ b/src/components/SequenceGraph/index.vue @@ -0,0 +1,89 @@ + + + + + + + diff --git a/src/components/SequenceGraph/sequenceGraphItem.vue b/src/components/SequenceGraph/sequenceGraphItem.vue new file mode 100644 index 00000000..de882b0c --- /dev/null +++ b/src/components/SequenceGraph/sequenceGraphItem.vue @@ -0,0 +1,51 @@ + + + + + + + diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue index 797c3eb5..a14aba84 100644 --- a/src/layout/components/AppMain.vue +++ b/src/layout/components/AppMain.vue @@ -46,6 +46,8 @@ export default { .app-main { /* 84 = navbar + tags-view = 50 + 34 */ min-height: calc(100vh - 120px - 8px); + display: flex; + flex-direction: column; } .fixed-header + .app-main { diff --git a/src/views/monitoring/equipmentAlarmLog/index.vue b/src/views/monitoring/equipmentAlarmLog/index.vue new file mode 100644 index 00000000..697cbf10 --- /dev/null +++ b/src/views/monitoring/equipmentAlarmLog/index.vue @@ -0,0 +1,285 @@ + + + diff --git a/src/views/monitoring/equipmentAlarmRealtime/index.vue b/src/views/monitoring/equipmentAlarmRealtime/index.vue new file mode 100644 index 00000000..b5e7080b --- /dev/null +++ b/src/views/monitoring/equipmentAlarmRealtime/index.vue @@ -0,0 +1,326 @@ + + + diff --git a/src/views/monitoring/equipmentFullParams/index.vue b/src/views/monitoring/equipmentFullParams/index.vue new file mode 100644 index 00000000..05c4c16c --- /dev/null +++ b/src/views/monitoring/equipmentFullParams/index.vue @@ -0,0 +1,497 @@ + + + + + + + diff --git a/src/views/monitoring/equipmentProcessAmount/graph.vue b/src/views/monitoring/equipmentProcessAmount/graph.vue new file mode 100644 index 00000000..c75926b5 --- /dev/null +++ b/src/views/monitoring/equipmentProcessAmount/graph.vue @@ -0,0 +1,69 @@ + + + + + + + diff --git a/src/views/monitoring/equipmentProcessAmount/index.vue b/src/views/monitoring/equipmentProcessAmount/index.vue new file mode 100644 index 00000000..ccbe715e --- /dev/null +++ b/src/views/monitoring/equipmentProcessAmount/index.vue @@ -0,0 +1,340 @@ + + + + + + + diff --git a/src/views/monitoring/equipmentRecentHours/index.vue b/src/views/monitoring/equipmentRecentHours/index.vue new file mode 100644 index 00000000..c4cf6b6b --- /dev/null +++ b/src/views/monitoring/equipmentRecentHours/index.vue @@ -0,0 +1,181 @@ + + + + + + + diff --git a/src/views/monitoring/equipmentStatusAndParams/index.vue b/src/views/monitoring/equipmentStatusAndParams/index.vue new file mode 100644 index 00000000..2cacd5b6 --- /dev/null +++ b/src/views/monitoring/equipmentStatusAndParams/index.vue @@ -0,0 +1,283 @@ + + +