Browse Source

首页大屏前端1.1

main
parent
commit
ef827af0c3
  1. 7
      src/views/datav/Gobal.vue

7
src/views/datav/Gobal.vue

@ -147,8 +147,8 @@
</datav-card> </datav-card>
<datav-card title="问题类型占比"> <datav-card title="问题类型占比">
<v-charts <v-charts
style="height: 320px" style="height: 300px"
:option="zfbaPieOption" :option="wtlxPieOption"
autoresize autoresize
/> />
</datav-card> </datav-card>
@ -344,6 +344,8 @@ const wtlxPieOption = computed(() => {
color: "#fff", color: "#fff",
}, },
data: wtlxlist.value, data: wtlxlist.value,
width: 350,
height: 300
}, },
], ],
}; };
@ -372,6 +374,7 @@ function getData() {
fxsjlist.value = res.fxsjlist; fxsjlist.value = res.fxsjlist;
jsdwlist.value = res.jsdwlist; jsdwlist.value = res.jsdwlist;
ywzblist.value = res.ywzblist; ywzblist.value = res.ywzblist;
wtlxlist.value = res.wtlxlist;
}); });
getGobalRecentlyTrendByMonth(new Date().getFullYear()).then((res) => { getGobalRecentlyTrendByMonth(new Date().getFullYear()).then((res) => {
proTrend.value.xAxis.data = res.monthList; proTrend.value.xAxis.data = res.monthList;

Loading…
Cancel
Save