From db5ceeadba65b141322f38f8fa5389d37f4ec019 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com>
Date: Thu, 17 Oct 2024 17:18:51 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ruoyi-ui/src/api/business/alarmInformation.js | 44 ++
.../views/business/alarmInformation/index.vue | 724 ++++++++++++++++++
2 files changed, 768 insertions(+)
create mode 100644 ruoyi-ui/src/api/business/alarmInformation.js
create mode 100644 ruoyi-ui/src/views/business/alarmInformation/index.vue
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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.alarmRuleName }}
+ {{ scope.row.alarmReleatedId }}
+ {{ scope.row.offlineRuleName }}
+ {{ scope.row.electronicFenceName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.alarmTime, '{y}-{m}-{d} {h}:{i}:{s}') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{dict.label}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+