From 27dd6d2418b8f933c6dc577c33fcef8ee82796de Mon Sep 17 00:00:00 2001 From: Fine Date: Mon, 17 Oct 2022 12:38:12 +0800 Subject: [PATCH] update --- src/components/Graph.vue | 2 +- src/graphql/query/selector.ts | 2 +- src/views/dashboard/graphs/TopList.vue | 3 +- src/views/dashboard/related/trace/Header.vue | 22 +++++-- src/views/dashboard/related/trace/Index.vue | 63 ++++++++++++++++++++ 5 files changed, 84 insertions(+), 8 deletions(-) create mode 100644 src/views/dashboard/related/trace/Index.vue diff --git a/src/components/Graph.vue b/src/components/Graph.vue index 094fbf91..f50c0961 100644 --- a/src/components/Graph.vue +++ b/src/components/Graph.vue @@ -50,7 +50,7 @@ import { useI18n } from "vue-i18n"; import { EventParams } from "@/types/app"; import { useECharts } from "@/hooks/useEcharts"; import { addResizeListener, removeResizeListener } from "@/utils/event"; -import Trace from "@/views/dashboard/controls/Trace.vue"; +import Trace from "@/views/dashboard/related/trace/Index.vue"; import associateProcessor from "@/hooks/useAssociateProcessor"; /*global Nullable, defineProps, defineEmits*/ diff --git a/src/graphql/query/selector.ts b/src/graphql/query/selector.ts index dc8d446f..18e74920 100644 --- a/src/graphql/query/selector.ts +++ b/src/graphql/query/selector.ts @@ -32,6 +32,6 @@ export const queryInstances = `query queryInstances(${Instances.variable}) {${In export const queryLayers = `query listLayer {${Layers.query}}`; export const queryService = `query queryService(${getService.variable}) {${getService.query}}`; export const queryInstance = `query queryInstance(${getInstance.variable}) {${getInstance.query}}`; -export const queryEndpoint = `query queryInstance(${getEndpoint.variable}) {${getEndpoint.query}}`; +export const queryEndpoint = `query queryEndpoint(${getEndpoint.variable}) {${getEndpoint.query}}`; export const queryProcesses = `query queryProcesses(${Processes.variable}) {${Processes.query}}`; export const queryProcess = `query queryProcess(${getProcess.variable}) {${getProcess.query}}`; diff --git a/src/views/dashboard/graphs/TopList.vue b/src/views/dashboard/graphs/TopList.vue index 98e6a3e8..5eae78d3 100644 --- a/src/views/dashboard/graphs/TopList.vue +++ b/src/views/dashboard/graphs/TopList.vue @@ -46,7 +46,6 @@ limitations under the License. -->
+
+ + {{ t("search") }} + +
+