Browse Source

修改降序

main
parent
commit
b61af064e3
  1. 0
      src/api/screen/screen.ts
  2. 3
      src/views/datav/CaseVerif.vue
  3. 6
      src/views/datav/RightsComfort.vue
  4. 8
      src/views/datav/VideoInsp.vue

0
src/api/screen/screen.ts

3
src/views/datav/CaseVerif.vue

@ -84,7 +84,7 @@
style="width: 16.66%"
/>
<datav-statistic
:value="overview.Rate"
:value="overview.rate"
value-unit="%"
title="查实率"
style="width: 16.66%"
@ -320,6 +320,7 @@ function getData() {
getMapIcon(time.value);
getProTrendList(selectedYear.value);
getCaseSourceAndDeal(time.value);
getConfinementAndPauseList(time.value);
}
watch(time, () => {

6
src/views/datav/RightsComfort.vue

@ -213,7 +213,7 @@
import vCharts from "vue-echarts";
import changshaMap from "@/assets/data/changsha.json";
import * as echarts from "echarts/core";
import {getRightsComfortData} from "@/api/datav";
import moment from "moment";
import {
getALlComfortCount,
@ -539,12 +539,12 @@ const getComfortSituationList = async (timeValue) => {
// -
const getPoliceHurtSituationList = async (timeValue) => {
const res = getPoliceHurtSituationAndHurtType(timeValue);
const res = await getPoliceHurtSituationAndHurtType(timeValue);
hurtNumOption.value.series[0].data = res.policeHurtSituationList
}
const getCaseAriseSituationRateList = async (timeValue) => {
const res = getCaseAriseSituationRate(timeValue);
const res = await getCaseAriseSituationRate(timeValue);
ariseCaseLinkOption.value.series[0].data = res.incidentLinkList
ariseCasePoliceOption.value.series[0].data = res.incidentPoliceTypeList
ariseCaseORgOption.value.series[0].data = res.incidentOrgList

8
src/views/datav/VideoInsp.vue

@ -220,7 +220,7 @@ const mapIconList = ref([{
relativePer: 152,
changedRate: 100
}])
const ProblemTypeRate = ref([])
const currentYear = new Date().getFullYear();
const years = ref([currentYear.toString(), (currentYear - 1).toString(), (currentYear - 2).toString()]); //
const selectedYear = ref('2024'); //
@ -284,7 +284,7 @@ const getMap = async (timeValue) => {
const getProblemTypeRate = async (timeValue) => {
const res = await getVideoSuperviseProblemTypeRate(timeValue);
ProblemTypeRate.value = res.videoSuperviseProblemTypeRate
ProblemTypeRateChart.value.series[0].data = res.videoSuperviseProblemTypeRate
}
@ -303,10 +303,10 @@ const getTrend = async(year)=> {
}
const getData = async () => {
getOverview(time.value);
getProblemTypeRate(time.value);
getRankList(time.value)
getMap(time.value)
getTrend(selectedYear.value)
getProblemTypeRate(time.value);
}
// endregion
@ -478,7 +478,7 @@ const ProblemTypeRateChart = ref({
label: {
color: "#fff",
},
data: ProblemTypeRate.value,
data: [],
},
],
tooltip: {

Loading…
Cancel
Save