update pie chart

This commit is contained in:
lb
2023-08-07 16:09:25 +08:00
parent 9947b2fa37
commit c755ecc105
3 changed files with 85 additions and 31 deletions

View File

@@ -8,7 +8,7 @@
<template>
<div class="graph-page">
<DetailGraph id="dg1" key="dg1" ref="dg1" title="数据总览">
<TotalGraph />
<TotalGraph :summary-list="summaryList" />
</DetailGraph>
<DetailGraph id="dg2" key="dg2" ref="dg2" title="检测内容数据" />
<!-- <DetailGraph id="dg3" key="dg3" ref="dg3" />
@@ -23,7 +23,12 @@ import TotalGraph from './components/graphs/total.vue';
export default {
name: 'GraphPage',
components: { DetailGraph, TotalGraph },
props: {},
props: {
summaryList: {
type: Array,
default: () => [],
},
},
data() {
return {};
},