mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-18 14:05:25 +00:00
feat: add content
This commit is contained in:
parent
79d4312f7c
commit
971dc13312
@ -55,7 +55,7 @@ const props = defineProps({
|
|||||||
type: [Array, String] as PropType<string[] | string>,
|
type: [Array, String] as PropType<string[] | string>,
|
||||||
default: () => [],
|
default: () => [],
|
||||||
},
|
},
|
||||||
size: { type: String },
|
size: { type: String, default: "default" },
|
||||||
placeholder: { type: String, default: "Select a option" },
|
placeholder: { type: String, default: "Select a option" },
|
||||||
borderRadius: { type: Number, default: 3 },
|
borderRadius: { type: Number, default: 3 },
|
||||||
multiple: { type: Boolean, default: false },
|
multiple: { type: Boolean, default: false },
|
||||||
|
@ -75,6 +75,12 @@ const msg = {
|
|||||||
areaOpacity: "Area Opacity",
|
areaOpacity: "Area Opacity",
|
||||||
editGraph: "Edit Graph Options",
|
editGraph: "Edit Graph Options",
|
||||||
dashboardName: "Select Dashboard Name",
|
dashboardName: "Select Dashboard Name",
|
||||||
|
linkDashboard: "Dashboard name related with topology calls",
|
||||||
|
linkMetrics: "Metrics related with topology calls",
|
||||||
|
nodeDashboard: "Dashboard name related with topology nodes",
|
||||||
|
nodeMetrics: "Metrics related with topology nodes",
|
||||||
|
instanceDashboard: "Dashboard name related with service instances",
|
||||||
|
endpointDashboard: "Dashboard name related with endpoints",
|
||||||
hourTip: "Select Hour",
|
hourTip: "Select Hour",
|
||||||
minuteTip: "Select Minute",
|
minuteTip: "Select Minute",
|
||||||
secondTip: "Select Second",
|
secondTip: "Select Second",
|
||||||
|
@ -74,6 +74,12 @@ const msg = {
|
|||||||
areaOpacity: "透明度",
|
areaOpacity: "透明度",
|
||||||
editGraph: "编辑图表选项",
|
editGraph: "编辑图表选项",
|
||||||
dashboardName: "选择仪表板名称",
|
dashboardName: "选择仪表板名称",
|
||||||
|
linkDashboard: "拓扑线关联的仪表板名称",
|
||||||
|
linkMetrics: "拓扑线关联的指标",
|
||||||
|
nodeDashboard: "拓节点关联的仪表板名称",
|
||||||
|
nodeMetrics: "拓扑节点关联的指标",
|
||||||
|
instanceDashboard: "拓节点关联的实例的仪表板名称",
|
||||||
|
endpointDashboard: "拓节点端点的实例的仪表板名称",
|
||||||
hourTip: "选择小时",
|
hourTip: "选择小时",
|
||||||
minuteTip: "选择分钟",
|
minuteTip: "选择分钟",
|
||||||
secondTip: "选择秒数",
|
secondTip: "选择秒数",
|
||||||
|
@ -19,7 +19,7 @@ limitations under the License. -->
|
|||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
:style="`height: ${height}`"
|
:style="`height: ${height}`"
|
||||||
>
|
>
|
||||||
<div class="setting" v-show="showSetting">
|
<div class="setting" v-if="showSetting">
|
||||||
<Settings @update="updateSettings" />
|
<Settings @update="updateSettings" />
|
||||||
</div>
|
</div>
|
||||||
<Icon
|
<Icon
|
||||||
|
@ -15,7 +15,7 @@ limitations under the License. -->
|
|||||||
<template>
|
<template>
|
||||||
<div class="link-settings">
|
<div class="link-settings">
|
||||||
<h5 class="title">Call settings</h5>
|
<h5 class="title">Call settings</h5>
|
||||||
<div class="label">{{ t("dashboards") }}</div>
|
<div class="label">{{ t("linkDashboard") }}</div>
|
||||||
<el-input
|
<el-input
|
||||||
v-model="states.linkDashboard"
|
v-model="states.linkDashboard"
|
||||||
placeholder="Please input a dashboard name for calls"
|
placeholder="Please input a dashboard name for calls"
|
||||||
@ -23,20 +23,20 @@ limitations under the License. -->
|
|||||||
size="small"
|
size="small"
|
||||||
class="inputs"
|
class="inputs"
|
||||||
/>
|
/>
|
||||||
<div class="label">{{ t("metrics") }}</div>
|
<div class="label">{{ t("linkMetrics") }}</div>
|
||||||
<Selector
|
<Selector
|
||||||
class="inputs"
|
class="inputs"
|
||||||
:multiple="true"
|
:multiple="true"
|
||||||
:value="states.linkMetrics"
|
:value="states.linkMetrics"
|
||||||
:options="states.linkMetricList"
|
:options="states.linkMetricList"
|
||||||
size="small"
|
size="small"
|
||||||
placeholder="Select a metric"
|
placeholder="Select metrics"
|
||||||
@change="changeLinkMetrics"
|
@change="changeLinkMetrics"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="node-settings">
|
<div class="node-settings">
|
||||||
<h5 class="title">Node settings</h5>
|
<h5 class="title">Node settings</h5>
|
||||||
<div class="label">{{ t("dashboards") }}</div>
|
<div class="label">{{ t("nodeDashboard") }}</div>
|
||||||
<el-input
|
<el-input
|
||||||
v-model="states.nodeDashboard"
|
v-model="states.nodeDashboard"
|
||||||
placeholder="Please input a dashboard name for nodes"
|
placeholder="Please input a dashboard name for nodes"
|
||||||
@ -44,7 +44,7 @@ limitations under the License. -->
|
|||||||
size="small"
|
size="small"
|
||||||
class="inputs"
|
class="inputs"
|
||||||
/>
|
/>
|
||||||
<div class="label">{{ t("dashboards") }}</div>
|
<div class="label">{{ t("instanceDashboard") }}</div>
|
||||||
<el-input
|
<el-input
|
||||||
v-model="states.instanceDashboard"
|
v-model="states.instanceDashboard"
|
||||||
placeholder="Please input a dashboard name for service instances"
|
placeholder="Please input a dashboard name for service instances"
|
||||||
@ -52,7 +52,7 @@ limitations under the License. -->
|
|||||||
size="small"
|
size="small"
|
||||||
class="inputs"
|
class="inputs"
|
||||||
/>
|
/>
|
||||||
<div class="label">{{ t("dashboards") }}</div>
|
<div class="label">{{ t("endpointDashboard") }}</div>
|
||||||
<el-input
|
<el-input
|
||||||
v-model="states.endpointDashboard"
|
v-model="states.endpointDashboard"
|
||||||
placeholder="Please input a dashboard name for endpoints"
|
placeholder="Please input a dashboard name for endpoints"
|
||||||
@ -60,14 +60,14 @@ limitations under the License. -->
|
|||||||
size="small"
|
size="small"
|
||||||
class="inputs"
|
class="inputs"
|
||||||
/>
|
/>
|
||||||
<div class="label">{{ t("metrics") }}</div>
|
<div class="label">{{ t("nodeMetrics") }}</div>
|
||||||
<Selector
|
<Selector
|
||||||
class="inputs"
|
class="inputs"
|
||||||
:multiple="true"
|
:multiple="true"
|
||||||
:value="states.nodeMetrics"
|
:value="states.nodeMetrics"
|
||||||
:options="states.nodeMetricList"
|
:options="states.nodeMetricList"
|
||||||
size="small"
|
size="small"
|
||||||
placeholder="Select a metric"
|
placeholder="Select metrics"
|
||||||
@change="changeNodeMetrics"
|
@change="changeNodeMetrics"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user