CN-53 perf: entity实体列表筛选功能完善

This commit is contained in:
chenjinsong
2021-07-13 15:44:49 +08:00
parent ba87995c58
commit f3c232965c
4 changed files with 8 additions and 6 deletions

View File

@@ -18,7 +18,7 @@
<script>
import { getChartColor } from '@/components/charts/chart-options'
import {chartColor} from "./chart-options";
import { chartColor } from './chart-options'
export default {
name: 'StatisticsLegend',
props: {
@@ -47,6 +47,7 @@ export default {
border: 1px solid #E7EAED;
color: #5f6368;
margin: auto;
margin-bottom: 15px;
}
.chart__table-top {
width: 100%;

View File

@@ -11,11 +11,12 @@
>
<el-tree
:data="f.data"
:load="(node, resolve) => f.loadFilter(node, resolve, f.filterType, f.childrenKey ? f.childrenKey : f.key)"
:load="(node, resolve) => f.loadFilter(node, resolve, f.filterType, f.childrenKey, f.key)"
:node-key="f.key"
:props="{ isLeaf: 'leaf' }"
:expand-on-click-node="false"
:lazy="i === 0"
highlight-current
:show-checkbox="i === 1"
@node-click="nodeClick"
>