From 0ddaedd8bbb7cc62eb8d4e604db0fc6bd8b7ea7c Mon Sep 17 00:00:00 2001
From: dearlin <1261008090@qq.com>
Date: Wed, 28 Feb 2024 09:56:46 +0800
Subject: [PATCH] =?UTF-8?q?=E8=81=9A=E9=9B=86=E5=91=8A=E8=AD=A6=E8=AE=B0?=
=?UTF-8?q?=E5=BD=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/request/aggregation_management.js | 2 +
.../components/viewInfo.vue | 134 ++++++++++++++++++
.../gathering_alarm_records/index.vue | 36 ++++-
.../risk_control/identifying_parts/index.vue | 2 -
4 files changed, 167 insertions(+), 7 deletions(-)
create mode 100644 src/views/aggregation_management/gathering_alarm_records/components/viewInfo.vue
diff --git a/src/request/aggregation_management.js b/src/request/aggregation_management.js
index c6d5611..30e67be 100644
--- a/src/request/aggregation_management.js
+++ b/src/request/aggregation_management.js
@@ -2,6 +2,8 @@ import { post } from "@/request/axios.js";
export const getGatheringAlarmRecordsList = (params) =>
post("/positAlarm/getAlarmRecordList", params); // 聚集告警记录列表
+export const getGatheringAlarmRecordViewList = (params) =>
+ post("/positAlarm/alarmRecordgoEdit", params); // 聚集告警记录详情
export const getAggregationAlarmTrend = (params) =>
post("/positAlarm/aggregateAlarmTrends", params); // 聚集报警趋势
export const getAggregatedDataStatistics = (params) =>
diff --git a/src/views/aggregation_management/gathering_alarm_records/components/viewInfo.vue b/src/views/aggregation_management/gathering_alarm_records/components/viewInfo.vue
new file mode 100644
index 0000000..d93e032
--- /dev/null
+++ b/src/views/aggregation_management/gathering_alarm_records/components/viewInfo.vue
@@ -0,0 +1,134 @@
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+ 重置
+
+
+
+
+
+
+
+
+
+ {{ serialNumber(pagination, $index) }}
+
+
+
+
+ 一级
+
+
+
+
+
+
+ 查看位置
+
+
+
+
+
+
+ 关闭
+ 保存
+
+
+
+
+
+
+
diff --git a/src/views/aggregation_management/gathering_alarm_records/index.vue b/src/views/aggregation_management/gathering_alarm_records/index.vue
index e8a1061..9afcd4b 100644
--- a/src/views/aggregation_management/gathering_alarm_records/index.vue
+++ b/src/views/aggregation_management/gathering_alarm_records/index.vue
@@ -34,30 +34,56 @@
{{ serialNumber(pagination, $index) }}
-
-
-
-
+
+
+ {{ row.status === "1" ? "已处理" : "待处理" }}
+
+
+
+
+
- {{ row }}
+ 查看详情
+
diff --git a/src/views/risk_control/identifying_parts/index.vue b/src/views/risk_control/identifying_parts/index.vue
index 13f1a2b..36ae34d 100644
--- a/src/views/risk_control/identifying_parts/index.vue
+++ b/src/views/risk_control/identifying_parts/index.vue
@@ -148,11 +148,9 @@ import { ElMessage, ElMessageBox } from "element-plus";
import { nextTick, reactive } from "vue";
import LayoutImportFile from "@/components/import_file/index.vue";
import Add from "./components/add.vue";
-// import { useRouter } from "vue-router";
import QrCode from "./components/qr_code.vue";
import LayoutTooltipImg from "@/components/tooltip_img/index.vue";
import useButtonJurisdiction from "@/assets/js/useButtonJurisdiction.js";
-// const router = useRouter();
const { list, pagination, searchForm, fnGetData, fnResetPagination, tableRef } =
useListData(getIdentifyingPartsList);
const data = reactive({