diff --git a/ruoyi-ui/src/api/business/alarmInformation.js b/ruoyi-ui/src/api/business/alarmInformation.js new file mode 100644 index 0000000..e909261 --- /dev/null +++ b/ruoyi-ui/src/api/business/alarmInformation.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询报警信息列表 +export function listAlarmInformation(query) { + return request({ + url: '/business/alarmInformation/list', + method: 'get', + params: query + }) +} + +// 查询报警信息详细 +export function getAlarmInformation(alarmInfoId) { + return request({ + url: '/business/alarmInformation/' + alarmInfoId, + method: 'get' + }) +} + +// 新增报警信息 +export function addAlarmInformation(data) { + return request({ + url: '/business/alarmInformation', + method: 'post', + data: data + }) +} + +// 修改报警信息 +export function updateAlarmInformation(data) { + return request({ + url: '/business/alarmInformation', + method: 'put', + data: data + }) +} + +// 删除报警信息 +export function delAlarmInformation(alarmInfoId) { + return request({ + url: '/business/alarmInformation/' + alarmInfoId, + method: 'delete' + }) +} diff --git a/ruoyi-ui/src/views/business/alarmInformation/index.vue b/ruoyi-ui/src/views/business/alarmInformation/index.vue new file mode 100644 index 0000000..6274d7f --- /dev/null +++ b/ruoyi-ui/src/views/business/alarmInformation/index.vue @@ -0,0 +1,724 @@ + + +