mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-15 01:33:54 +00:00
aligned instance filter
This commit is contained in:
parent
91a0c2979b
commit
631160750e
@ -34,7 +34,7 @@ limitations under the License. -->
|
|||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-h items-center row">
|
<div class="flex-h items-center">
|
||||||
<div class="flex-h items-center" v-if="currentSearchTerm === 'service'">
|
<div class="flex-h items-center" v-if="currentSearchTerm === 'service'">
|
||||||
<div
|
<div
|
||||||
class="mr-5 flex-h items-center"
|
class="mr-5 flex-h items-center"
|
||||||
@ -54,7 +54,7 @@ limitations under the License. -->
|
|||||||
|
|
||||||
<div class="flex-h items-center" v-if="currentSearchTerm === 'instance'">
|
<div class="flex-h items-center" v-if="currentSearchTerm === 'instance'">
|
||||||
<div
|
<div
|
||||||
class="mr-5 flex-h"
|
class="mr-5 items-center flex-h"
|
||||||
v-if="
|
v-if="
|
||||||
dashboardStore.entity !== EntityType[3].value &&
|
dashboardStore.entity !== EntityType[3].value &&
|
||||||
currentSearchTerm === 'instance'
|
currentSearchTerm === 'instance'
|
||||||
|
@ -209,7 +209,7 @@ const state = reactive<any>({
|
|||||||
service: { value: "", label: "" },
|
service: { value: "", label: "" },
|
||||||
});
|
});
|
||||||
|
|
||||||
const tagComponent = ref<InstanceType<typeof ConditionTags> | null>(null)
|
const tagComponent = ref<InstanceType<typeof ConditionTags> | null>(null);
|
||||||
|
|
||||||
// const dateTime = computed(() => [
|
// const dateTime = computed(() => [
|
||||||
// appStore.durationRow.start,
|
// appStore.durationRow.start,
|
||||||
@ -282,7 +282,7 @@ function cancelSearch() {
|
|||||||
tagsList.value = [];
|
tagsList.value = [];
|
||||||
tagsMap.value = [];
|
tagsMap.value = [];
|
||||||
updateTags({ tagsMap: [], tagsList: [] });
|
updateTags({ tagsMap: [], tagsList: [] });
|
||||||
tagComponent.value?.emptyTags()
|
tagComponent.value?.emptyTags();
|
||||||
break;
|
break;
|
||||||
case "traceId":
|
case "traceId":
|
||||||
traceId.value = "";
|
traceId.value = "";
|
||||||
@ -364,7 +364,6 @@ function changeField(type: string, opt: any) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
function updateTags(data: { tagsMap: Array<Option>; tagsList: string[] }) {
|
function updateTags(data: { tagsMap: Array<Option>; tagsList: string[] }) {
|
||||||
console.log(data, tagComponent.value)
|
|
||||||
tagsList.value = data.tagsList;
|
tagsList.value = data.tagsList;
|
||||||
tagsMap.value = data.tagsMap;
|
tagsMap.value = data.tagsMap;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user