|
|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
<template> |
|
|
|
|
<el-scrollbar height="100vh"> |
|
|
|
|
<div class="wrapper"> |
|
|
|
|
<datav-header/> |
|
|
|
|
<sub-one-header :depart-id="currentDepartId"/> |
|
|
|
|
<main> |
|
|
|
|
<el-row :gutter="16"> |
|
|
|
|
|
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<datav-card title="日常督察情况"> |
|
|
|
|
<datav-card title="现场督察"> |
|
|
|
|
<datav-tabs |
|
|
|
|
v-model="subOneRcdcProRankTab" |
|
|
|
|
type="bottom-button" |
|
|
|
|
@ -142,33 +142,27 @@
|
|
|
|
|
<datav-statistic |
|
|
|
|
:value="overview.supervisionNotifyTotal" |
|
|
|
|
title="通报问题数" |
|
|
|
|
style="width: 16.66%" |
|
|
|
|
style="width: 20%" |
|
|
|
|
/> |
|
|
|
|
<datav-statistic |
|
|
|
|
:value="overview.supervisionNotifyChangingTotal" |
|
|
|
|
title="办理中" |
|
|
|
|
style="width: 16.66%" |
|
|
|
|
style="width: 20%" |
|
|
|
|
/> |
|
|
|
|
<datav-statistic |
|
|
|
|
:value="overview.supervisionNotifyChangedTotal" |
|
|
|
|
title="已办结" |
|
|
|
|
style="width: 16.66%" |
|
|
|
|
style="width: 20%" |
|
|
|
|
/> |
|
|
|
|
<datav-statistic |
|
|
|
|
:value="overview.supervisionNotifyOrgTotal" |
|
|
|
|
title="涉及单位数" |
|
|
|
|
style="width: 16.66%" |
|
|
|
|
title="问责单位数" |
|
|
|
|
style="width: 20%" |
|
|
|
|
/> |
|
|
|
|
<datav-statistic |
|
|
|
|
:value="overview.supervisionNotifyPreTotal" |
|
|
|
|
title="涉及人数" |
|
|
|
|
style="width: 16.66%" |
|
|
|
|
/> |
|
|
|
|
<datav-statistic |
|
|
|
|
:value="overview.correctionRate" |
|
|
|
|
value-unit="%" |
|
|
|
|
title="整改率" |
|
|
|
|
style="width: 16.66%" |
|
|
|
|
title="问责人次" |
|
|
|
|
style="width: 20%" |
|
|
|
|
/> |
|
|
|
|
</div> |
|
|
|
|
<v-charts |
|
|
|
|
@ -316,119 +310,119 @@
|
|
|
|
|
</datav-tab-item> |
|
|
|
|
</datav-tabs> |
|
|
|
|
</datav-tab-item> |
|
|
|
|
<datav-tab-item label="枪支管理" name="2"> |
|
|
|
|
<datav-tabs |
|
|
|
|
type="bottom-button"> |
|
|
|
|
<datav-tab-item label="派出所" name="1"> |
|
|
|
|
<el-row class="mb-32"> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<div class="descriptions_cell text-center"> |
|
|
|
|
<div class="descriptions_content"> |
|
|
|
|
{{ fxsjGunControllerOverview.proTotal }} |
|
|
|
|
</div> |
|
|
|
|
<div class="descriptions_label"> |
|
|
|
|
问题数 |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<div class="descriptions_cell text-center"> |
|
|
|
|
<div class="descriptions_content"> |
|
|
|
|
{{ fxsjGunControllerOverview.changing }} |
|
|
|
|
</div> |
|
|
|
|
<div class="descriptions_label"> |
|
|
|
|
办理中 |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<div class="descriptions_cell text-center"> |
|
|
|
|
<div class="descriptions_content"> |
|
|
|
|
{{ fxsjGunControllerOverview.changed }} |
|
|
|
|
</div> |
|
|
|
|
<div class="descriptions_label"> |
|
|
|
|
已办结 |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<div class="descriptions_cell text-center"> |
|
|
|
|
<div class="descriptions_content"> |
|
|
|
|
{{ fxsjGunControllerOverview.correctionRate }}% |
|
|
|
|
</div> |
|
|
|
|
<div class="descriptions_label"> |
|
|
|
|
整改率 |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-scrollbar height="330px"> |
|
|
|
|
<datav-chart-bar |
|
|
|
|
:data="fxsjGunControllerRankList" |
|
|
|
|
size="large" |
|
|
|
|
title="问题数排名" |
|
|
|
|
sub-title="问题数" |
|
|
|
|
:color="colors" |
|
|
|
|
/> |
|
|
|
|
</el-scrollbar> |
|
|
|
|
</datav-tab-item> |
|
|
|
|
<datav-tab-item label="大队" name="2"> |
|
|
|
|
<el-row class="mb-32"> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<div class="descriptions_cell text-center"> |
|
|
|
|
<div class="descriptions_content"> |
|
|
|
|
{{ jsdwGunControllerOverview.proTotal }} |
|
|
|
|
</div> |
|
|
|
|
<div class="descriptions_label"> |
|
|
|
|
问题数 |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<div class="descriptions_cell text-center"> |
|
|
|
|
<div class="descriptions_content"> |
|
|
|
|
{{ jsdwGunControllerOverview.changing }} |
|
|
|
|
</div> |
|
|
|
|
<div class="descriptions_label"> |
|
|
|
|
办理中 |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<div class="descriptions_cell text-center"> |
|
|
|
|
<div class="descriptions_content"> |
|
|
|
|
{{ jsdwGunControllerOverview.changed }} |
|
|
|
|
</div> |
|
|
|
|
<div class="descriptions_label"> |
|
|
|
|
已办结 |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<div class="descriptions_cell text-center"> |
|
|
|
|
<div class="descriptions_content"> |
|
|
|
|
{{ jsdwGunControllerOverview.correctionRate }}% |
|
|
|
|
</div> |
|
|
|
|
<div class="descriptions_label"> |
|
|
|
|
整改率 |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-scrollbar height="330px"> |
|
|
|
|
<datav-chart-bar |
|
|
|
|
:data="jsdwGunControllerRankList" |
|
|
|
|
size="large" |
|
|
|
|
title="问题数排名" |
|
|
|
|
sub-title="问题数" |
|
|
|
|
:color="colors" |
|
|
|
|
/> |
|
|
|
|
</el-scrollbar> |
|
|
|
|
</datav-tab-item> |
|
|
|
|
<!-- <datav-tab-item label="枪支管理" name="2">--> |
|
|
|
|
<!-- <datav-tabs--> |
|
|
|
|
<!-- type="bottom-button">--> |
|
|
|
|
<!-- <datav-tab-item label="派出所" name="1">--> |
|
|
|
|
<!-- <el-row class="mb-32">--> |
|
|
|
|
<!-- <el-col :span="6">--> |
|
|
|
|
<!-- <div class="descriptions_cell text-center">--> |
|
|
|
|
<!-- <div class="descriptions_content">--> |
|
|
|
|
<!-- {{ fxsjGunControllerOverview.proTotal }}--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- <div class="descriptions_label">--> |
|
|
|
|
<!-- 问题数--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </el-col>--> |
|
|
|
|
<!-- <el-col :span="6">--> |
|
|
|
|
<!-- <div class="descriptions_cell text-center">--> |
|
|
|
|
<!-- <div class="descriptions_content">--> |
|
|
|
|
<!-- {{ fxsjGunControllerOverview.changing }}--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- <div class="descriptions_label">--> |
|
|
|
|
<!-- 办理中--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </el-col>--> |
|
|
|
|
<!-- <el-col :span="6">--> |
|
|
|
|
<!-- <div class="descriptions_cell text-center">--> |
|
|
|
|
<!-- <div class="descriptions_content">--> |
|
|
|
|
<!-- {{ fxsjGunControllerOverview.changed }}--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- <div class="descriptions_label">--> |
|
|
|
|
<!-- 已办结--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </el-col>--> |
|
|
|
|
<!-- <el-col :span="6">--> |
|
|
|
|
<!-- <div class="descriptions_cell text-center">--> |
|
|
|
|
<!-- <div class="descriptions_content">--> |
|
|
|
|
<!-- {{ fxsjGunControllerOverview.correctionRate }}%--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- <div class="descriptions_label">--> |
|
|
|
|
<!-- 整改率--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </el-col>--> |
|
|
|
|
<!-- </el-row>--> |
|
|
|
|
<!-- <el-scrollbar height="330px">--> |
|
|
|
|
<!-- <datav-chart-bar--> |
|
|
|
|
<!-- :data="fxsjGunControllerRankList"--> |
|
|
|
|
<!-- size="large"--> |
|
|
|
|
<!-- title="问题数排名"--> |
|
|
|
|
<!-- sub-title="问题数"--> |
|
|
|
|
<!-- :color="colors"--> |
|
|
|
|
<!-- />--> |
|
|
|
|
<!-- </el-scrollbar>--> |
|
|
|
|
<!-- </datav-tab-item>--> |
|
|
|
|
<!-- <datav-tab-item label="大队" name="2">--> |
|
|
|
|
<!-- <el-row class="mb-32">--> |
|
|
|
|
<!-- <el-col :span="6">--> |
|
|
|
|
<!-- <div class="descriptions_cell text-center">--> |
|
|
|
|
<!-- <div class="descriptions_content">--> |
|
|
|
|
<!-- {{ jsdwGunControllerOverview.proTotal }}--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- <div class="descriptions_label">--> |
|
|
|
|
<!-- 问题数--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </el-col>--> |
|
|
|
|
<!-- <el-col :span="6">--> |
|
|
|
|
<!-- <div class="descriptions_cell text-center">--> |
|
|
|
|
<!-- <div class="descriptions_content">--> |
|
|
|
|
<!-- {{ jsdwGunControllerOverview.changing }}--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- <div class="descriptions_label">--> |
|
|
|
|
<!-- 办理中--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </el-col>--> |
|
|
|
|
<!-- <el-col :span="6">--> |
|
|
|
|
<!-- <div class="descriptions_cell text-center">--> |
|
|
|
|
<!-- <div class="descriptions_content">--> |
|
|
|
|
<!-- {{ jsdwGunControllerOverview.changed }}--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- <div class="descriptions_label">--> |
|
|
|
|
<!-- 已办结--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </el-col>--> |
|
|
|
|
<!-- <el-col :span="6">--> |
|
|
|
|
<!-- <div class="descriptions_cell text-center">--> |
|
|
|
|
<!-- <div class="descriptions_content">--> |
|
|
|
|
<!-- {{ jsdwGunControllerOverview.correctionRate }}%--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- <div class="descriptions_label">--> |
|
|
|
|
<!-- 整改率--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </el-col>--> |
|
|
|
|
<!-- </el-row>--> |
|
|
|
|
<!-- <el-scrollbar height="330px">--> |
|
|
|
|
<!-- <datav-chart-bar--> |
|
|
|
|
<!-- :data="jsdwGunControllerRankList"--> |
|
|
|
|
<!-- size="large"--> |
|
|
|
|
<!-- title="问题数排名"--> |
|
|
|
|
<!-- sub-title="问题数"--> |
|
|
|
|
<!-- :color="colors"--> |
|
|
|
|
<!-- />--> |
|
|
|
|
<!-- </el-scrollbar>--> |
|
|
|
|
<!-- </datav-tab-item>--> |
|
|
|
|
|
|
|
|
|
</datav-tabs> |
|
|
|
|
</datav-tab-item> |
|
|
|
|
<datav-tab-item label="涉企问题" name="3"> |
|
|
|
|
<!-- </datav-tabs>--> |
|
|
|
|
<!-- </datav-tab-item>--> |
|
|
|
|
<datav-tab-item label="涉企问题" name="2"> |
|
|
|
|
<datav-tabs |
|
|
|
|
type="bottom-button"> |
|
|
|
|
<datav-tab-item label="派出所" name="1"> |
|
|
|
|
@ -540,7 +534,7 @@
|
|
|
|
|
|
|
|
|
|
</datav-tabs> |
|
|
|
|
</datav-tab-item> |
|
|
|
|
<datav-tab-item label="执法办案" name="4"> |
|
|
|
|
<datav-tab-item label="执法办案" name="3"> |
|
|
|
|
<datav-tabs |
|
|
|
|
type="bottom-button"> |
|
|
|
|
<datav-tab-item label="派出所" name="1"> |
|
|
|
|
@ -652,7 +646,7 @@
|
|
|
|
|
|
|
|
|
|
</datav-tabs> |
|
|
|
|
</datav-tab-item> |
|
|
|
|
<datav-tab-item label="工作日测酒" name="5"> |
|
|
|
|
<datav-tab-item label="工作日测酒" name="4"> |
|
|
|
|
<datav-tabs |
|
|
|
|
type="bottom-button"> |
|
|
|
|
<datav-tab-item label="派出所" name="1"> |
|
|
|
|
@ -802,14 +796,18 @@ import {
|
|
|
|
|
getSubOneSupervisionTrend, getSubOneWorkDynamics, getSubOneYellowBetDrug |
|
|
|
|
} from "@/api/screen/subScreen/subOneSupervisionNotify.ts"; |
|
|
|
|
import {workDynamicColorMapping} from "@/enums/workDynamicColorMapping.js"; |
|
|
|
|
|
|
|
|
|
import SubOneHeader from "@/components/datav/subOne/subOneHeader.vue"; |
|
|
|
|
import useUserStore from "@/stores/modules/user"; |
|
|
|
|
const userStore = useUserStore(); |
|
|
|
|
// region 所有变量 |
|
|
|
|
const time = ref([ |
|
|
|
|
moment().startOf("year").format("YYYY-MM-DD"), |
|
|
|
|
moment().format("YYYY-MM-DD"), |
|
|
|
|
]); |
|
|
|
|
const route = useRoute(); |
|
|
|
|
const currentDepartId = route.query.departId; |
|
|
|
|
let currentDepartId = route.query.departId; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const currentYear = new Date().getFullYear(); |
|
|
|
|
const years = ref([currentYear.toString(), (currentYear - 1).toString(), (currentYear - 2).toString()]); // 年份列表 |
|
|
|
|
const selectedYear = ref(currentYear); // 当前选中的年份 |
|
|
|
|
@ -972,11 +970,10 @@ const option = ref({
|
|
|
|
|
<div class="tooltip-content"> |
|
|
|
|
<ul class="tooltip-ul" > |
|
|
|
|
<li>通报问题数 <span>${dataItem.totalPro}</span></li> |
|
|
|
|
<li>办理中 <span>${dataItem.changing}</span></li> |
|
|
|
|
<li>已办结 <span>${dataItem.changed}</span></li> |
|
|
|
|
<li>涉及单位数 <span>${dataItem.relationOrg}</span></li> |
|
|
|
|
<li>涉及人数 <span>${dataItem.personNum}</span></li> |
|
|
|
|
<li>整改率 <span>${dataItem.changedRate}%</span></li> |
|
|
|
|
<li>办理中 <span>${dataItem.processingNumber}</span></li> |
|
|
|
|
<li>已办结 <span>${dataItem.completedNumber}</span></li> |
|
|
|
|
<li>问责单位数 <span>${dataItem.relationOrg}</span></li> |
|
|
|
|
<li>问责人次 <span>${dataItem.personNum}</span></li> |
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
</div>`; |
|
|
|
|
@ -988,9 +985,9 @@ const option = ref({
|
|
|
|
|
<li>通报问题数 <span>-</span></li> |
|
|
|
|
<li>办理中 <span>-</span></li> |
|
|
|
|
<li>已办结 <span>-</span></li> |
|
|
|
|
<li>涉及单位数 <span>-</span></li> |
|
|
|
|
<li>涉及人数 <span>-</span></li> |
|
|
|
|
<li>整改率 <span>-</span></li> |
|
|
|
|
<li>问责单位数 <span>-</span></li> |
|
|
|
|
<li>问责人次 <span>-</span></li> |
|
|
|
|
|
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
</div>`; |
|
|
|
|
@ -1293,7 +1290,7 @@ const subOneSceneInspTrendAnimation = () => {
|
|
|
|
|
subOneSceneInspTrendIntervalId = setInterval(subOneSceneInspTrendAnimation, 2000); |
|
|
|
|
// // 专项督察问题排行动画 直接切换大tab,里面不管了 |
|
|
|
|
const subOneSceneInspZxdxRankAnimation = () => { |
|
|
|
|
subOneZxdcProRankTab.value = (parseInt(subOneZxdcProRankTab.value) % 5 + 1).toString(); |
|
|
|
|
subOneZxdcProRankTab.value = (parseInt(subOneZxdcProRankTab.value) % 4 + 1).toString(); |
|
|
|
|
}; |
|
|
|
|
subOneSceneInspZxdxIntervalId = setInterval(subOneSceneInspZxdxRankAnimation, 3000); |
|
|
|
|
// 工作动态动画 |
|
|
|
|
@ -1314,6 +1311,13 @@ subOneSceneWorkDynamicsIntervalId = setInterval(subOneSceneWorkDynamicsAnimation
|
|
|
|
|
watch(time, () => { |
|
|
|
|
getData(); |
|
|
|
|
}); |
|
|
|
|
watch(()=>route.query.departId,(newVal)=>{ |
|
|
|
|
if(newVal!= null){ |
|
|
|
|
currentDepartId = newVal |
|
|
|
|
}else{ |
|
|
|
|
currentDepartId=userStore.user.departId; |
|
|
|
|
} |
|
|
|
|
},{immediate:true}) |
|
|
|
|
onMounted(() => { |
|
|
|
|
getData(); |
|
|
|
|
setupEventListeners(); |
|
|
|
|
@ -1477,18 +1481,20 @@ const subOneSceneWorkDynamicsAnimationStop = () => {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.tooltip-content ul li { |
|
|
|
|
height: 24px; |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: space-around; |
|
|
|
|
height: 26px; |
|
|
|
|
color: #597AE9; |
|
|
|
|
font-weight: 400; |
|
|
|
|
font-size: 14px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.tooltip-ul span { |
|
|
|
|
display: inline-block; |
|
|
|
|
float: right; |
|
|
|
|
width: 55px; |
|
|
|
|
color: #fff; |
|
|
|
|
font-size: 14px; |
|
|
|
|
text-align: center; /* 水平居中 */ |
|
|
|
|
//text-align: center; /* 水平居中 */ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//.tooltip::before { |
|
|
|
|
@ -1526,4 +1532,4 @@ const subOneSceneWorkDynamicsAnimationStop = () => {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</style> |
|
|
|
|
</style> |
|
|
|
|
|