This commit is contained in:
parent
53dbebd296
commit
6b4538aab6
|
@ -264,17 +264,17 @@
|
||||||
<div class="clue">
|
<div class="clue">
|
||||||
<div class="clueBox">
|
<div class="clueBox">
|
||||||
<div class="clueTitle">预警线索总数</div>
|
<div class="clueTitle">预警线索总数</div>
|
||||||
<div class="clueNum">355</div>
|
<div class="clueNum">{{ data.culeTotal }}</div>
|
||||||
<div class="clueUnit">条</div>
|
<div class="clueUnit">条</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="clueBox">
|
<div class="clueBox">
|
||||||
<div class="clueTitle">公安协同 <br />处置线索</div>
|
<div class="clueTitle">公安协同 <br />处置线索</div>
|
||||||
<div class="clueNum">355</div>
|
<div class="clueNum">{{ data.gaCules }}</div>
|
||||||
<div class="clueUnit">条</div>
|
<div class="clueUnit">条</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="clueBox">
|
<div class="clueBox">
|
||||||
<div class="clueTitle">检察官处置线索</div>
|
<div class="clueTitle">检察官处置线索</div>
|
||||||
<div class="clueNum">355</div>
|
<div class="clueNum">{{ data.jcgCules }}</div>
|
||||||
<div class="clueUnit">条</div>
|
<div class="clueUnit">条</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -576,6 +576,9 @@ const data = reactive({
|
||||||
time: ["5.31", "6.1", "6.2", "6.3", "6.4"],
|
time: ["5.31", "6.1", "6.2", "6.3", "6.4"],
|
||||||
}, //检察官协同处置线索
|
}, //检察官协同处置线索
|
||||||
},
|
},
|
||||||
|
culeTotal: "", //预警线索总数量最新值
|
||||||
|
gaCules: "", //公安协同处置线索最新值
|
||||||
|
jcgCules: "", //检察官协同处置线索最新值
|
||||||
});
|
});
|
||||||
const getData = async () => {
|
const getData = async () => {
|
||||||
await http.get("/api/ggfwyth/education").then((res) => {
|
await http.get("/api/ggfwyth/education").then((res) => {
|
||||||
|
@ -609,6 +612,12 @@ const getData = async () => {
|
||||||
// 吹哨人
|
// 吹哨人
|
||||||
data.whistleblower = res.data.whistleblower;
|
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];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue