mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-14 09:00:50 +00:00
Merge branch 'main' of github.com:apache/skywalking-booster-ui into feat/metrics
This commit is contained in:
commit
7ebe6adc9a
@ -18,7 +18,6 @@ limitations under the License. -->
|
|||||||
v-model="selected"
|
v-model="selected"
|
||||||
:placeholder="placeholder"
|
:placeholder="placeholder"
|
||||||
@change="changeSelected"
|
@change="changeSelected"
|
||||||
filterable
|
|
||||||
:multiple="multiple"
|
:multiple="multiple"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
:style="{ borderRadius }"
|
:style="{ borderRadius }"
|
||||||
@ -26,6 +25,7 @@ limitations under the License. -->
|
|||||||
:remote="isRemote"
|
:remote="isRemote"
|
||||||
:reserve-keyword="isRemote"
|
:reserve-keyword="isRemote"
|
||||||
:remote-method="remoteMethod"
|
:remote-method="remoteMethod"
|
||||||
|
:filterable="filterable"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in options"
|
v-for="item in options"
|
||||||
@ -66,6 +66,7 @@ const props = defineProps({
|
|||||||
disabled: { type: Boolean, default: false },
|
disabled: { type: Boolean, default: false },
|
||||||
clearable: { type: Boolean, default: false },
|
clearable: { type: Boolean, default: false },
|
||||||
isRemote: { type: Boolean, default: false },
|
isRemote: { type: Boolean, default: false },
|
||||||
|
filterable: { type: Boolean, default: true },
|
||||||
});
|
});
|
||||||
|
|
||||||
const selected = ref<string[] | string>(props.value);
|
const selected = ref<string[] | string>(props.value);
|
||||||
|
@ -101,7 +101,7 @@ export default defineComponent({
|
|||||||
...CustomOptions,
|
...CustomOptions,
|
||||||
},
|
},
|
||||||
setup() {
|
setup() {
|
||||||
const configHeight = document.documentElement.clientHeight - 520;
|
const configHeight = document.documentElement.clientHeight - 540;
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const dashboardStore = useDashboardStore();
|
const dashboardStore = useDashboardStore();
|
||||||
const appStoreWithOut = useAppStoreWithOut();
|
const appStoreWithOut = useAppStoreWithOut();
|
||||||
|
@ -23,6 +23,7 @@ limitations under the License. -->
|
|||||||
placeholder="Select a widget"
|
placeholder="Select a widget"
|
||||||
class="selectors"
|
class="selectors"
|
||||||
@change="updateWidgetConfig"
|
@change="updateWidgetConfig"
|
||||||
|
:filterable="false"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -31,6 +31,7 @@ limitations under the License. -->
|
|||||||
:options="Status"
|
:options="Status"
|
||||||
placeholder="Select a status"
|
placeholder="Select a status"
|
||||||
@change="updateConfig({ status: $event[0].value })"
|
@change="updateConfig({ status: $event[0].value })"
|
||||||
|
class="selector"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
@ -40,6 +41,7 @@ limitations under the License. -->
|
|||||||
:value="queryOrder"
|
:value="queryOrder"
|
||||||
:options="QueryOrders"
|
:options="QueryOrders"
|
||||||
placeholder="Select a option"
|
placeholder="Select a option"
|
||||||
|
class="selector"
|
||||||
@change="updateConfig({ queryOrder: $event[0].value })"
|
@change="updateConfig({ queryOrder: $event[0].value })"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@ -87,4 +89,8 @@ function updateConfig(param: { [key: string]: unknown }) {
|
|||||||
.item {
|
.item {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.selector {
|
||||||
|
width: 500px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -17,11 +17,6 @@ limitations under the License. -->
|
|||||||
v-if="traceStore.currentTrace.endpointNames"
|
v-if="traceStore.currentTrace.endpointNames"
|
||||||
>
|
>
|
||||||
<h5 class="mb-5 mt-0">
|
<h5 class="mb-5 mt-0">
|
||||||
<Icon
|
|
||||||
icon="clear"
|
|
||||||
v-if="traceStore.currentTrace.isError"
|
|
||||||
class="red mr-5 sm"
|
|
||||||
/>
|
|
||||||
<span class="vm">{{ traceStore.currentTrace.endpointNames[0] }}</span>
|
<span class="vm">{{ traceStore.currentTrace.endpointNames[0] }}</span>
|
||||||
<div class="trace-log-btn">
|
<div class="trace-log-btn">
|
||||||
<el-button
|
<el-button
|
||||||
|
Loading…
Reference in New Issue
Block a user