From 6b4538aab6a333f5e1a50f6521694a4f0c536f25 Mon Sep 17 00:00:00 2001
From: duanxiaohai <1812246227@qq.com>
Date: Thu, 20 Jun 2024 17:14:36 +0800
Subject: [PATCH] gx
---
src/view/education.vue | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/src/view/education.vue b/src/view/education.vue
index 8f2b86a..c337e40 100644
--- a/src/view/education.vue
+++ b/src/view/education.vue
@@ -264,17 +264,17 @@
预警线索总数
-
355
+
{{ data.culeTotal }}
条
公安协同
处置线索
-
355
+
{{ data.gaCules }}
条
检察官处置线索
-
355
+
{{ data.jcgCules }}
条
@@ -576,6 +576,9 @@ const data = reactive({
time: ["5.31", "6.1", "6.2", "6.3", "6.4"],
}, //检察官协同处置线索
},
+ culeTotal: "", //预警线索总数量最新值
+ gaCules: "", //公安协同处置线索最新值
+ jcgCules: "", //检察官协同处置线索最新值
});
const getData = async () => {
await http.get("/api/ggfwyth/education").then((res) => {
@@ -609,6 +612,12 @@ const getData = async () => {
// 吹哨人
data.whistleblower = res.data.whistleblower;
// 预警线索
+ const dataArray = res.data.whistleblower.culeTotal.data;
+ const dataArray1 = res.data.whistleblower.gaCules.data;
+ const dataArray2 = res.data.whistleblower.jcgCules.data;
+ data.culeTotal = dataArray[dataArray.length - 1];
+ data.gaCules = dataArray1[dataArray1.length - 1];
+ data.jcgCules = dataArray2[dataArray2.length - 1];
}
});
};