|
|
|
|
@ -41,27 +41,27 @@
|
|
|
|
|
<datav-date-picker v-model="time"/> |
|
|
|
|
<div class="flex gap-42"> |
|
|
|
|
<datav-statistic |
|
|
|
|
:value="171" |
|
|
|
|
:value="temp.tempTotalCase" |
|
|
|
|
title="维权案件总数" |
|
|
|
|
style="width: 20%" |
|
|
|
|
/> |
|
|
|
|
<datav-statistic |
|
|
|
|
:value="121" |
|
|
|
|
:value="temp.tempVictimPer" |
|
|
|
|
title="受侵害人数" |
|
|
|
|
style="width: 20%" |
|
|
|
|
/> |
|
|
|
|
<datav-statistic |
|
|
|
|
:value="114" |
|
|
|
|
:value="temp.tempComfortPer" |
|
|
|
|
title="抚慰人数" |
|
|
|
|
style="width: 20%" |
|
|
|
|
/> |
|
|
|
|
<datav-statistic |
|
|
|
|
:value="205" |
|
|
|
|
:value="temp.tempHitPro" |
|
|
|
|
title="打击处理人数" |
|
|
|
|
style="width: 20%" |
|
|
|
|
/> |
|
|
|
|
<datav-statistic |
|
|
|
|
:value="28.1" |
|
|
|
|
:value="temp.tempComfortMon" |
|
|
|
|
:title="`抚慰金额\n(万元)`" |
|
|
|
|
:isDecimal="true" |
|
|
|
|
style="width: 20%" |
|
|
|
|
@ -139,6 +139,26 @@ import * as echarts from "echarts/core";
|
|
|
|
|
import {getRightsComfortData} from "@/api/datav"; |
|
|
|
|
import moment from "moment"; |
|
|
|
|
|
|
|
|
|
const temp = ref({ |
|
|
|
|
tempTotalCase: 0, |
|
|
|
|
tempVictimPer: 0, |
|
|
|
|
tempComfortPer: 0, |
|
|
|
|
tempHitPro: 0, |
|
|
|
|
tempComfortMon: 0, |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
setTimeout(() => { |
|
|
|
|
temp.value={ |
|
|
|
|
tempTotalCase: 171, |
|
|
|
|
tempVictimPer: 121, |
|
|
|
|
tempComfortPer: 114, |
|
|
|
|
tempHitPro: 205, |
|
|
|
|
tempComfortMon: 28.1, |
|
|
|
|
} |
|
|
|
|
}, 1000); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echarts.registerMap("changsha", changshaMap); |
|
|
|
|
const time = ref([ |
|
|
|
|
moment().startOf("year").format("YYYY-MM-DD"), |
|
|
|
|
|