Browse Source

fix:1、问题数榜单调整;2、信访的抚慰金额情况

main
pengwei 5 months ago
parent
commit
7702663853
  1. 8
      src/components/datav/chart-bar.vue
  2. 89
      src/views/datav/subonedatav/SubOneRightsComfort.vue

8
src/components/datav/chart-bar.vue

@ -30,7 +30,7 @@
placement="top-start"
>
<div class="popover_content">
<p> <span class="popover_border" style="background-color: #63e700"></span>市局下发问题数<span style="font-weight: 800">{{item.cityNumber}}</span></p>
<p> <span class="popover_border" style="background-color: #63e700"></span>市局下发问题数<span style="font-weight: 800">{{item.cityNumber }}</span></p>
<p> <span class="popover_border" style="background-color: #399372"></span>二级机构下发问题数<span style="font-weight: 800">{{item.countyNumber}}</span></p>
</div>
<template #reference>
@ -39,7 +39,7 @@
class="bar-item_content-bar-item"
:style="{
width: `${(item.cityNumber / item.denominator) * 100}%`,
width: `${(item.cityNumber / (item.denominator?item.denominator:item.value) ) * 100}%`,
background: `#63e700`,
}"
@ -47,7 +47,7 @@
</div>
<div class="bar-item_content-bar-item" :style="{
width:`${(item.countyNumber / item.denominator) * 100}%`,
width:`${(item.countyNumber / (item.denominator?item.denominator:item.value)) * 100}%`,
background: `#399372`,
}">
</div>
@ -239,7 +239,7 @@ function getColor(val) {
height: 100%;
}
.bar-item_content-bar-item{
height: 18px;
height: 13px;
transition: width 0.3s;
background: linear-gradient(270deg, #63e700 0%, #19674c 100%);
}

89
src/views/datav/subonedatav/SubOneRightsComfort.vue

@ -243,6 +243,7 @@ const time = ref([
moment().startOf("year").format("YYYY-MM-DD"),
moment().format("YYYY-MM-DD"),
]);
const fxsjRightsRank = ref([
{
label: "岳麓分局",
@ -328,92 +329,10 @@ const jsdwRightsRank = ref([
value: 4
},
]); //
]); //
const fxsjComfortMoneyRank = ref([
{
label: "岳麓分局",
value: 53
},
{
label: "芙蓉分局",
value: 20
},
{
label: "天心分局",
value: 20
},
{
label: "雨花分局",
value: 19
},
{
label: "浏阳市局",
value: 17
},
{
label: "宁乡市局",
value: 11
},
{
label: "开福分局",
value: 11
},
{
label: "望城分局",
value: 9
},
{
label: "长沙县局",
value: 9
},
{
label: "高新分局",
value: 4
},
]); //
]); //
const jsdwComfortMoneyRank = ref([
{
label: "岳麓分局",
value: 33
},
{
label: "芙蓉分局",
value: 20
},
{
label: "天心分局",
value: 20
},
{
label: "雨花分局",
value: 19
},
{
label: "浏阳市局",
value: 17
},
{
label: "宁乡市局",
value: 11
},
{
label: "开福分局",
value: 11
},
{
label: "望城分局",
value: 9
},
{
label: "长沙县局",
value: 9
},
{
label: "高新分局",
value: 4
},
]); //
const comfortOverview = ref({
comfortCaseTotal: 0,
@ -441,6 +360,8 @@ const getRightsRankList = async (departId, timeValue) => {
fxsjRightsRank.value = res.fxsjRightsRankList;
jsdwRightsRank.value = res.jsdwRightsRankList;
comfortOverview.value=res.comfortOverview;
fxsjComfortMoneyRank.value =res.fxsjComfortMoneyRank;
jsdwComfortMoneyRank.value =res.jsdwComfortMoneyRank;
}
//
// const getComfortOverview = async (timeValue) => {

Loading…
Cancel
Save