|
|
|
@ -141,7 +141,12 @@ import changshaMap from "@/assets/data/changsha.json"; |
|
|
|
import * as echarts from "echarts/core"; |
|
|
|
import * as echarts from "echarts/core"; |
|
|
|
import moment from "moment/moment"; |
|
|
|
import moment from "moment/moment"; |
|
|
|
import {getCaseVerifData} from "@/api/datav"; |
|
|
|
import {getCaseVerifData} from "@/api/datav"; |
|
|
|
import {getAllGobalCount, getGobalRecentlyTrendByMonth} from "@/api/data/basicScreen.ts"; |
|
|
|
import { |
|
|
|
|
|
|
|
getAllGobalCount, |
|
|
|
|
|
|
|
getBusinessRate, |
|
|
|
|
|
|
|
getGobalRecentlyTrendByMonth, |
|
|
|
|
|
|
|
getOrganizationRank, getProblemBusinessRate, getStrongProblemRate |
|
|
|
|
|
|
|
} from "@/api/data/basicScreen.ts"; |
|
|
|
// region 各种数据 |
|
|
|
// region 各种数据 |
|
|
|
const activeOrgTab = ref("1"); |
|
|
|
const activeOrgTab = ref("1"); |
|
|
|
const fxsjlist = ref([]); // 分县市区机构问题排名 |
|
|
|
const fxsjlist = ref([]); // 分县市区机构问题排名 |
|
|
|
@ -396,28 +401,36 @@ const time = ref([ |
|
|
|
]); |
|
|
|
]); |
|
|
|
|
|
|
|
|
|
|
|
function getData() { |
|
|
|
function getData() { |
|
|
|
getAllGobalCount(time.value).then((res) => { |
|
|
|
getOrganizationRank(time.value).then((res) => { |
|
|
|
overview.value = res.overview; |
|
|
|
|
|
|
|
fxsjlist.value = res.fxsjlist; |
|
|
|
fxsjlist.value = res.fxsjlist; |
|
|
|
jsdwlist.value = res.jsdwlist; |
|
|
|
jsdwlist.value = res.jsdwlist; |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
getBusinessRate(time.value).then((res) => { |
|
|
|
ywzblist.value = res.ywzblist; |
|
|
|
ywzblist.value = res.ywzblist; |
|
|
|
wtlxlist.value = res.wtlxlist; |
|
|
|
}); |
|
|
|
tcwtlist.value = res.tcwtlist; |
|
|
|
getAllGobalCount(time.value).then((res) => { |
|
|
|
|
|
|
|
overview.value = res.overview; |
|
|
|
gobalTempMapVoList = res.gobalTempMapVoList; |
|
|
|
gobalTempMapVoList = res.gobalTempMapVoList; |
|
|
|
}); |
|
|
|
}); |
|
|
|
getGobalRecentlyTrendByMonth(new Date().getFullYear()).then((res) => { |
|
|
|
getGobalRecentlyTrendByMonth(new Date().getFullYear()).then((res) => { |
|
|
|
proTrend.value.xAxis.data = res.monthList; |
|
|
|
proTrend.value.xAxis.data = res.monthList; |
|
|
|
proTrend.value.series[0].data = res.totalList; |
|
|
|
proTrend.value.series[0].data = res.totalList; |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
getStrongProblemRate(time.value).then((res) => { |
|
|
|
|
|
|
|
tcwtlist.value = res.tcwtlist; |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
getProblemBusinessRate(time.value).then((res) => { |
|
|
|
|
|
|
|
wtlxlist.value = res.wtlxlist; |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
watch(time, () => { |
|
|
|
onMounted(() => { |
|
|
|
getData(); |
|
|
|
getData(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
onMounted(() => { |
|
|
|
watch(time, () => { |
|
|
|
getData(); |
|
|
|
getData(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
const colors = [ |
|
|
|
const colors = [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
color: "linear-gradient( 270deg, #FB002D 0%, #822232 100%)", |
|
|
|
color: "linear-gradient( 270deg, #FB002D 0%, #822232 100%)", |
|
|
|
|