From 480013c3d24d2c4f46e52a2af866e9923332deb8 Mon Sep 17 00:00:00 2001
From: dearlin <1261008090@qq.com>
Date: Wed, 21 Feb 2024 09:04:28 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E4=B8=8A=E6=8A=A5=E8=AD=A6?=
=?UTF-8?q?=E4=BF=A1=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/sign/index.vue | 1 +
src/request/bi/mapApi.js | 4 +
.../BI/components/dialog/alarm_dialog.vue | 147 ++++++++++++++++++
src/views/BI/components/personnel.vue | 35 ++++-
.../meeting/components/select_template.vue | 99 ------------
src/views/safety_meeting/meeting/details.vue | 85 ----------
src/views/safety_meeting/meeting/view.vue | 28 ++--
7 files changed, 191 insertions(+), 208 deletions(-)
create mode 100644 src/views/BI/components/dialog/alarm_dialog.vue
delete mode 100644 src/views/safety_meeting/meeting/components/select_template.vue
delete mode 100644 src/views/safety_meeting/meeting/details.vue
diff --git a/src/components/sign/index.vue b/src/components/sign/index.vue
index c7f341b..6332571 100644
--- a/src/components/sign/index.vue
+++ b/src/components/sign/index.vue
@@ -15,6 +15,7 @@
:is-crop="false"
:line-width="6"
line-color="#000"
+ bg-color="#FFFFFF"
/>
重签
diff --git a/src/request/bi/mapApi.js b/src/request/bi/mapApi.js
index 2753d4b..e643617 100644
--- a/src/request/bi/mapApi.js
+++ b/src/request/bi/mapApi.js
@@ -4,6 +4,10 @@ export const getPersonnelTypeCount = (params) =>
post("/map/getPersonnelTypeCount", params); // 人员类型统计
export const getAlarmTypeCount = (params) =>
post("/map/getAlarmTypeCount", params); // 告警类型统计
+
+export const getAlArmDataList = (params) =>
+ post("/map/getAlArmDataList", params); // 告警类型统计
+
export const getPersonnelPositioningCount = (params) =>
post("/map/getPersonnelPositioningCount", params); // 人员定位情况
// 八项作业
diff --git a/src/views/BI/components/dialog/alarm_dialog.vue b/src/views/BI/components/dialog/alarm_dialog.vue
new file mode 100644
index 0000000..5aebd5d
--- /dev/null
+++ b/src/views/BI/components/dialog/alarm_dialog.vue
@@ -0,0 +1,147 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+ {{ serialNumber(pagination, $index) }}
+
+
+
+
+ {{ row.status === 0 ? "未处理" : "已处理" }}
+
+
+
+
+ {{ typeList[row.eleType] }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 关闭
+
+
+
+
+
+
+
diff --git a/src/views/BI/components/personnel.vue b/src/views/BI/components/personnel.vue
index 68f4c03..abded03 100644
--- a/src/views/BI/components/personnel.vue
+++ b/src/views/BI/components/personnel.vue
@@ -24,9 +24,11 @@
v-for="(item, index) in data.block2OptionsList"
:key="index"
>
- {{ item.label }}
-
@@ -48,18 +50,33 @@
+
+ This is a message
+
+
+
+
+
-
-
diff --git a/src/views/safety_meeting/meeting/details.vue b/src/views/safety_meeting/meeting/details.vue
deleted file mode 100644
index 9911683..0000000
--- a/src/views/safety_meeting/meeting/details.vue
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
- {{ serialNumber(pagination, $index) }}
-
-
-
-
-
-
-
-
- {{ row.ISSIGN === 0 ? "未签署" : "已签署" }}
-
-
-
-
-
- 查看
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/safety_meeting/meeting/view.vue b/src/views/safety_meeting/meeting/view.vue
index e2455c7..fe18a60 100644
--- a/src/views/safety_meeting/meeting/view.vue
+++ b/src/views/safety_meeting/meeting/view.vue
@@ -50,9 +50,9 @@
反馈情况
-
+
-
+
{{ row.FEED_BACK ? "是" : "否" }}
@@ -81,9 +81,9 @@
-
+
{{ index + 1 }} |
- {{ item.CHECK_CATEGORY_NAME }} |
+ {{ item.NAME }} |
{{ item.FEED_BACK ? "是" : "否" }} |
{{ item.FEED_BACK }} |
@@ -111,26 +111,13 @@ import { reactive } from "vue";
const route = useRoute();
const FILE_URL = import.meta.env.VITE_FILE_URL;
const { SAFETY_MEETING_ID } = route.query;
-const inspectionList = [
- {
- CHECK_CATEGORY_NAME: "123",
- FEED_BACK: "FEED_BACK1",
- FILEPATH:
- "/uploadFiles/file/13cf0f4ec77e4d98ae8cdd9c3386ae0c/20240126/a244a5ed273d4e77b466aa29c4361820.jpg",
- },
- {
- CHECK_CATEGORY_NAME: "123",
- FEED_BACK: "FEED_BACK1",
- },
- {
- CHECK_CATEGORY_NAME: "132",
- },
-];
+
const data = reactive({
form: {
people: [],
file: [],
},
+ feedbackList: [],
});
const fnGetData = async () => {
const resData = await getSafetyMeetingView({ SAFETY_MEETING_ID });
@@ -141,6 +128,9 @@ const fnGetData = async () => {
if (resData.imgs) {
data.form.file = addingPrefixToFile(resData.imgs);
}
+ if (resData.feedbackList) {
+ data.feedbackList = resData.feedbackList;
+ }
};
fnGetData();
|