# Conflicts:
#	src/views/charts/PanelChart.vue
This commit is contained in:
zhangyu
2022-01-26 16:05:20 +08:00
13 changed files with 840 additions and 7 deletions

View File

@@ -13,11 +13,13 @@
:chart-data="chartData"
:chart-info="chartInfo"
:table="table"
:order-pie-table="orderPieTable"
@loadMore="loadMore"
@refresh="refresh"
@groupShow="groupShow"
@showFullscreen="showFullscreen"
@tableChange="tableChange"
@orderPieTableChange="orderPieTableChange"
></chart-header>
<!-- chart -->
<!-- 数据查询后传入chart组件chart组件内不查询只根据接传递的数据来渲染 -->
@@ -34,6 +36,7 @@
:entity="entity"
:table="table"
:is-fullscreen="isFullscreen"
:order-pie-table="orderPieTable"
@showLoading="showLoading"
></chart>
</div>
@@ -331,6 +334,11 @@ export default {
},
groupShow (chartInfo) {
this.$emit('groupShow', chartInfo)
},
orderPieTableChange (orderPieTable) {
this.orderPieTable = orderPieTable
this.getChartData()
this.$refs.chart.initEchartsWithTable()
}
},
mounted () {