|
|
|
@ -5,7 +5,7 @@ |
|
|
|
<main> |
|
|
|
<main> |
|
|
|
<el-row :gutter="16"> |
|
|
|
<el-row :gutter="16"> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-col :span="6"> |
|
|
|
<datav-card title="所队排名" subTitle="案件数"> |
|
|
|
<datav-card title="所队排名" subTitle="查处问题数"> |
|
|
|
<datav-tabs |
|
|
|
<datav-tabs |
|
|
|
type="bottom-button" |
|
|
|
type="bottom-button" |
|
|
|
v-model="subOneCaseVerifRankTab" |
|
|
|
v-model="subOneCaseVerifRankTab" |
|
|
|
@ -159,15 +159,15 @@ |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</datav-tab-item> |
|
|
|
</datav-tab-item> |
|
|
|
<datav-tab-item label="停职处理情况" name="2" style="display: none"> |
|
|
|
<!-- <datav-tab-item label="停职处理情况" name="2" style="display: none">--> |
|
|
|
<div class="mb-40"> |
|
|
|
<!-- <div class="mb-40">--> |
|
|
|
<v-charts |
|
|
|
<!-- <v-charts--> |
|
|
|
style="height: 340px" |
|
|
|
<!-- style="height: 340px"--> |
|
|
|
:option="tzcloption" |
|
|
|
<!-- :option="tzcloption"--> |
|
|
|
autoresize |
|
|
|
<!-- autoresize--> |
|
|
|
/> |
|
|
|
<!-- />--> |
|
|
|
</div> |
|
|
|
<!-- </div>--> |
|
|
|
</datav-tab-item> |
|
|
|
<!-- </datav-tab-item>--> |
|
|
|
</datav-tabs> |
|
|
|
</datav-tabs> |
|
|
|
</datav-card> |
|
|
|
</datav-card> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
@ -190,7 +190,7 @@ import { |
|
|
|
getSubOneCaseSourceRateAndDealSituation, |
|
|
|
getSubOneCaseSourceRateAndDealSituation, |
|
|
|
getSubOneCaseVerificationMap, |
|
|
|
getSubOneCaseVerificationMap, |
|
|
|
getSubOneCaseVerificationRank, |
|
|
|
getSubOneCaseVerificationRank, |
|
|
|
getSubOneCaseVerificationTrend |
|
|
|
getSubOneCaseVerificationTrend, getSubOneConfinementAndPause |
|
|
|
} from "@/api/screen/subScreen/subOneCaseVerif.ts"; |
|
|
|
} from "@/api/screen/subScreen/subOneCaseVerif.ts"; |
|
|
|
import {circularChart} from "@/views/datav/simulateData/AnimationTestData.js"; |
|
|
|
import {circularChart} from "@/views/datav/simulateData/AnimationTestData.js"; |
|
|
|
import SubOneHeader from "@/components/datav/subOne/subOneHeader.vue"; |
|
|
|
import SubOneHeader from "@/components/datav/subOne/subOneHeader.vue"; |
|
|
|
@ -534,8 +534,13 @@ const getMapJSON = async (departId) => { |
|
|
|
echarts.registerMap("changsha", res); |
|
|
|
echarts.registerMap("changsha", res); |
|
|
|
subOneCaseVerifMap.value.chart.setOption(option.value); |
|
|
|
subOneCaseVerifMap.value.chart.setOption(option.value); |
|
|
|
} |
|
|
|
} |
|
|
|
const getSubOneCaseVerificationRankData = async (departId, timeValue) => { |
|
|
|
const getSubOneCaseVerificationRankData = async () => { |
|
|
|
const res = await getSubOneCaseVerificationRank(departId, timeValue); |
|
|
|
const body = { |
|
|
|
|
|
|
|
beginTime: time.value[0], |
|
|
|
|
|
|
|
endTime: time.value[1], |
|
|
|
|
|
|
|
departId: route.query.departId |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
const res = await getSubOneCaseVerificationRank(body); |
|
|
|
fxsjBarList.value = res.fxsjRankList |
|
|
|
fxsjBarList.value = res.fxsjRankList |
|
|
|
jsdwBarList.value = res.jsdwRankList |
|
|
|
jsdwBarList.value = res.jsdwRankList |
|
|
|
} |
|
|
|
} |
|
|
|
@ -544,12 +549,24 @@ const getSubOneCaseProblemPropertyData = async (departId, timeValue) => { |
|
|
|
zfbaPieOption.value.series[0].data = res.zfbaPieList; |
|
|
|
zfbaPieOption.value.series[0].data = res.zfbaPieList; |
|
|
|
fwglPieOption.value.series[0].data = res.fwglPieList; |
|
|
|
fwglPieOption.value.series[0].data = res.fwglPieList; |
|
|
|
} |
|
|
|
} |
|
|
|
const getSubOneAllCaseVerificationCountData = async (departId, timeValue) => { |
|
|
|
const getSubOneAllCaseVerificationCountData = async () => { |
|
|
|
const res = await getSubOneAllCaseVerificationCount(departId, timeValue) |
|
|
|
|
|
|
|
|
|
|
|
const body = { |
|
|
|
|
|
|
|
beginTime: time.value[0], |
|
|
|
|
|
|
|
endTime: time.value[1], |
|
|
|
|
|
|
|
departId: route.query.departId |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const res = await getSubOneAllCaseVerificationCount(body) |
|
|
|
overview.value = res.overview |
|
|
|
overview.value = res.overview |
|
|
|
} |
|
|
|
} |
|
|
|
const getSubOneCaseVerificationMapData = async (departId, timeValue) => { |
|
|
|
const getSubOneCaseVerificationMapData = async () => { |
|
|
|
const res = await getSubOneCaseVerificationMap(departId, timeValue); |
|
|
|
const body = { |
|
|
|
|
|
|
|
beginTime: time.value[0], |
|
|
|
|
|
|
|
endTime: time.value[1], |
|
|
|
|
|
|
|
departId: route.query.departId |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
const res = await getSubOneCaseVerificationMap(body); |
|
|
|
const mappedData = res.caseVerificationMapList.map(item => { |
|
|
|
const mappedData = res.caseVerificationMapList.map(item => { |
|
|
|
return { |
|
|
|
return { |
|
|
|
...item, |
|
|
|
...item, |
|
|
|
@ -575,8 +592,13 @@ const getSubOneCaseVerificationTrendData = async (departId, year) => { |
|
|
|
proTrend.value.xAxis.data = categories; |
|
|
|
proTrend.value.xAxis.data = categories; |
|
|
|
proTrend.value.series[0].data = values; |
|
|
|
proTrend.value.series[0].data = values; |
|
|
|
} |
|
|
|
} |
|
|
|
const getSubOneCaseSourceRateAndDealSituationData = async (departId, timeValue) => { |
|
|
|
const getSubOneCaseSourceRateAndDealSituationData = async () => { |
|
|
|
const res = await getSubOneCaseSourceRateAndDealSituation(departId, timeValue); |
|
|
|
const body = { |
|
|
|
|
|
|
|
beginTime: time.value[0], |
|
|
|
|
|
|
|
endTime: time.value[1], |
|
|
|
|
|
|
|
departId: route.query.departId |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
const res = await getSubOneCaseSourceRateAndDealSituation(body); |
|
|
|
ajlyPieOption.value.series[0].data = res.caseSourceRateList |
|
|
|
ajlyPieOption.value.series[0].data = res.caseSourceRateList |
|
|
|
wzclPieOption.value.series[0].data = res.dealSituationPieList |
|
|
|
wzclPieOption.value.series[0].data = res.dealSituationPieList |
|
|
|
} |
|
|
|
} |
|
|
|
@ -589,18 +611,24 @@ const getSubOneCaseSourceRateAndDealSituationData = async (departId, timeValue) |
|
|
|
// } |
|
|
|
// } |
|
|
|
function getData() { |
|
|
|
function getData() { |
|
|
|
getMapJSON(currentDepartId) |
|
|
|
getMapJSON(currentDepartId) |
|
|
|
getSubOneCaseVerificationRankData(currentDepartId, time.value) |
|
|
|
getSubOneCaseVerificationRankData() |
|
|
|
getSubOneCaseProblemPropertyData(currentDepartId, time.value) |
|
|
|
getSubOneCaseProblemPropertyData(currentDepartId, time.value) |
|
|
|
getSubOneAllCaseVerificationCountData(currentDepartId, time.value) |
|
|
|
getSubOneAllCaseVerificationCountData() |
|
|
|
getSubOneCaseVerificationMapData(currentDepartId, time.value) |
|
|
|
getSubOneCaseVerificationMapData(currentDepartId, time.value) |
|
|
|
getSubOneCaseVerificationTrendData(currentDepartId, currentYear) |
|
|
|
getSubOneCaseVerificationTrendData(currentDepartId, currentYear) |
|
|
|
getSubOneCaseSourceRateAndDealSituationData(currentDepartId, time.value) |
|
|
|
getSubOneCaseSourceRateAndDealSituationData() |
|
|
|
// getConfinementAndPauseList(currentDepartId, time.value) |
|
|
|
getSubOneConfinementAndPauseData(currentDepartId, time.value) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// endregion |
|
|
|
// endregion |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const getSubOneConfinementAndPauseData = async(departId, timeValue) =>{ |
|
|
|
|
|
|
|
const res = await getSubOneConfinementAndPause(departId, timeValue); |
|
|
|
|
|
|
|
jbcloption.value.series[0].data=res.confinementList; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// region动画 |
|
|
|
// region动画 |
|
|
|
// 分县市局排名动画 |
|
|
|
// 分县市局排名动画 |
|
|
|
const subOneCaseVerifRankAnimation = () => { |
|
|
|
const subOneCaseVerifRankAnimation = () => { |
|
|
|
|