Merge branch 'main' of git.zdool.com:xs/ggfwjsc

This commit is contained in:
姚宇浩 2024-06-21 15:46:15 +08:00
commit 9a0ca931f4
1 changed files with 9 additions and 3 deletions

View File

@ -264,17 +264,17 @@
<div class="clue">
<div class="clueBox">
<div class="clueTitle">预警线索总数</div>
<div class="clueNum">355</div>
<div class="clueNum">{{ data.culeTotal }}</div>
<div class="clueUnit"></div>
</div>
<div class="clueBox">
<div class="clueTitle">公安协同 <br />处置线索</div>
<div class="clueNum">355</div>
<div class="clueNum">{{ data.gaCules }}</div>
<div class="clueUnit"></div>
</div>
<div class="clueBox">
<div class="clueTitle">检察官处置线索</div>
<div class="clueNum">355</div>
<div class="clueNum">{{ data.jcgCules }}</div>
<div class="clueUnit"></div>
</div>
</div>
@ -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,9 @@ const getData = async () => {
//
data.whistleblower = res.data.whistleblower;
// 线
data.culeTotal = res.data.whistleblower.culeTotal.data.slice(-1)[0];
data.gaCules = res.data.whistleblower.gaCules.data.slice(-1)[0];
data.jcgCules = res.data.whistleblower.jcgCules.data.slice(-1)[0];
}
});
};