diff --git a/frontend/src/api/steady/steadyDataView/interface/index.ts b/frontend/src/api/steady/steadyDataView/interface/index.ts index a0bb8c0..e1f5a72 100644 --- a/frontend/src/api/steady/steadyDataView/interface/index.ts +++ b/frontend/src/api/steady/steadyDataView/interface/index.ts @@ -42,7 +42,6 @@ export namespace SteadyDataView { statTypes: SteadyTrendStatType[] timeStart: string timeEnd: string - bucket?: string qualityFlag?: number harmonicOrders?: number[] } diff --git a/frontend/src/views/steady/steadyDataView/components/SteadyIndicatorFloatingPanel.vue b/frontend/src/views/steady/steadyDataView/components/SteadyIndicatorFloatingPanel.vue index 08cd059..4a70e59 100644 --- a/frontend/src/views/steady/steadyDataView/components/SteadyIndicatorFloatingPanel.vue +++ b/frontend/src/views/steady/steadyDataView/components/SteadyIndicatorFloatingPanel.vue @@ -19,6 +19,7 @@ :key="selectorResetKey" :tree-data="treeData" :loading="loading" + :default-checked-keys="defaultCheckedKeys" @refresh="emit('refresh')" @change="emit('change', $event)" /> @@ -39,6 +40,7 @@ defineProps<{ collapsed: boolean treeData: SteadyDataView.SteadyIndicatorNode[] loading: boolean + defaultCheckedKeys: string[] selectorResetKey: number }>() diff --git a/frontend/src/views/steady/steadyDataView/components/SteadyIndicatorTree.vue b/frontend/src/views/steady/steadyDataView/components/SteadyIndicatorTree.vue index bb22678..1f4d349 100644 --- a/frontend/src/views/steady/steadyDataView/components/SteadyIndicatorTree.vue +++ b/frontend/src/views/steady/steadyDataView/components/SteadyIndicatorTree.vue @@ -13,6 +13,7 @@ node-key="treeKey" show-checkbox default-expand-all + :default-checked-keys="defaultCheckedKeys" :expand-on-click-node="false" :props="{ label: 'name', children: 'children' }" @check="handleCheck" @@ -29,7 +30,7 @@