Browse Source

fix:1、民意感知优化

main
pengwei 6 months ago
parent
commit
1aa8e4e001
  1. 5
      src/views/datav/Global.vue
  2. 18
      src/views/datav/Jwpy.vue

5
src/views/datav/Global.vue

@ -47,13 +47,14 @@
<datav-statistic
:value="overview.supervisionPro"
title="现场督察"
style="width: 16.66%;"
style="width: 20%;"
@click="open('/datav/sceneInsp')"
/>
<datav-statistic
:value="overview.numSupervisionPro"
:title="`数字督察`"
style="width: 20%;"
@click="open('/datav/sceneInsp')"
/>
<datav-statistic
:value="overview.caseVerificationPro"

18
src/views/datav/Jwpy.vue

@ -212,7 +212,7 @@
class="map-option"
/>
<datav-card title="不满意样本趋势" sub-title="不满意样本" >
<div class="common-layout">
<div style="height: 420px">
<v-charts
:option="option2"
autoresize
@ -251,7 +251,7 @@
</datav-card>
<div style="background-color:#04144E; ">
<datav-card title="项目下发情况">
<div style="height: 480px">
<div style="height: 560px">
<v-charts
:option="option4"
autoresize
@ -828,8 +828,8 @@ async function getData() {
GetGLFW(selectYear.value, selectOrg.value, task.value).then((res) => {
dcmyd.value = res
console.log('-----调查满意度----',dcmyd.value)
option1.value.xAxis.data = dcmyd.value[0].lstson.slice(new Date().getMonth()+1).map(item => item.SonPeriodName);
option1.value.series[0].data = dcmyd.value[0].lstson.slice(new Date().getMonth()+1).map(item => item.FinalRP);
option1.value.xAxis.data = dcmyd.value[0].lstson.slice(0,new Date().getMonth()+1).map(item => item.SonPeriodName);
option1.value.series[0].data = dcmyd.value[0].lstson.slice(0,new Date().getMonth()+1).map(item => item.FinalRP);
});
//
@ -853,9 +853,13 @@ async function getData() {
//
GetBMYYBQS(selectYear.value, selectOrg.value, task.value).then((res) => {
bmyybqs.value = res?res:[];
option2.value.xAxis.data = bmyybqs.value.map(item => item.SonPeriodName);
option2.value.series[0].data = bmyybqs.value.map(item => item.QACount);
if(res){
bmyybqs.value = res;
option2.value.xAxis.data = bmyybqs.value.map(item => item.SonPeriodName);
option2.value.series[0].data = bmyybqs.value.map(item => item.QACount);
}
console.log('不满意样本趋势.value', bmyybqs.value)
});

Loading…
Cancel
Save