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

6
src/views/datav/RightsComfort.vue

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

8
src/views/datav/VideoInsp.vue

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

Loading…
Cancel
Save