diff --git a/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue b/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue index e09f84c05..a1c539d22 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue +++ b/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue @@ -482,74 +482,90 @@
{{$t('dashboard.panel.chartForm.columns')}}
-
-
- - - - - {{item.value}} + +
+
+ + + + + {{item.value}} + - - - - + + + + + + + + + + + + + - - - - - - - - - - -
- - -
-
{{$t('project.topology.title')}}
-
- - - -
-
{{$t('dashboard.panel.chartForm.unit')}}
-
- - -
- -
-
- {{$t('config.assetLabel.display')}} - -
-
{{<expression name>.$labels.<label name>}}
-
{{$t('tip.expressionLabel')}}{{$t('tip.$labels')}}
-
{{<expression name>.$value}}
-
{{$t('tip.expressionValue')}}
-
- - - -
+
+ + +
+
{{$t('project.topology.title')}}
-
- - - -
-
-
+ + + +
+
{{$t('dashboard.panel.chartForm.unit')}}
+
+ + + + +
+
+ {{$t('config.assetLabel.display')}} + +
+
{{<expression name>.$labels.<label name>}}
+
{{$t('tip.expressionLabel')}}{{$t('tip.$labels')}}
+
{{<expression name>.$value}}
+
{{$t('tip.expressionValue')}}
+
+ + + +
+
+
+ + + +
+ +
+
{{$t('overall.addColumns')}}
@@ -567,176 +583,195 @@
-
-
- - - {{item.column}}: - - - {{item.value}} - - - [{{item.from}},{{item.to}}) - - - {{item.regx}} - -
- -
-
- - {{item.display || "T"}} - + +
+
+ + + {{item.column}}: + + + {{item.value}} + + + [{{item.from}},{{item.to}}) + + + {{item.regx}} + +
+
-
-
- - - - - - - - - - - -
- - -
- - - -
- - - - - - - - - - - - -
- -
-
{{$t('placeholder.chart.column')}}
-
- - - - - -
-
{{$t('config.assetLabel.display')}}
-
- - - - + + + + + + + + + + + + + + + + +
+ + +
+ + + +
+ + + + + + + + + + + + +
+ +
+
{{$t('placeholder.chart.column')}}
+
+ + + + + +
+
{{$t('config.assetLabel.display')}}
+
+ + + + + +
    +
  • + +
  • +
+
+
+
+
+ +
+
+
+
{{$t('overall.addMapping')}}
diff --git a/nezha-fronted/src/components/common/rightBox/chart/systemChartConfig.vue b/nezha-fronted/src/components/common/rightBox/chart/systemChartConfig.vue index 477683473..da8292042 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/systemChartConfig.vue +++ b/nezha-fronted/src/components/common/rightBox/chart/systemChartConfig.vue @@ -435,74 +435,90 @@
{{$t('dashboard.panel.chartForm.columns')}}
-
-
- - - - - {{item.value}} + +
+
+ + + + + {{item.value}} + - - - - + + + + + + + + + + + + + - - - - - - - - - - -
- - -
-
{{$t('project.topology.title')}}
-
- - - -
-
{{$t('dashboard.panel.chartForm.unit')}}
-
- - -
- -
-
- {{$t('config.assetLabel.display')}} - -
-
{{<expression name>.$labels.<label name>}}
-
{{$t('tip.expressionLabel')}}{{$t('tip.$labels')}}
-
{{<expression name>.$value}}
-
{{$t('tip.expressionValue')}}
-
- - - -
+
+ + +
+
{{$t('project.topology.title')}}
-
- - - -
-
-
+ + + +
+
{{$t('dashboard.panel.chartForm.unit')}}
+
+ + + + +
+
+ {{$t('config.assetLabel.display')}} + +
+
{{<expression name>.$labels.<label name>}}
+
{{$t('tip.expressionLabel')}}{{$t('tip.$labels')}}
+
{{<expression name>.$value}}
+
{{$t('tip.expressionValue')}}
+
+ + + +
+
+
+ + + +
+ +
+
{{$t('overall.addColumns')}}
@@ -520,177 +536,196 @@
-
-
- - - {{item.column}}: - - - {{item.value}} - - - [{{item.from}},{{item.to}}) - - - {{item.regx}} - -
- -
-
- - {{item.display || "T"}} + +
+
+ + + {{item.column}}: + + + {{item.value}} -
+ + [{{item.from}},{{item.to}}) + + + {{item.regx}} + +
+ +
+
+ + {{item.display || "T"}} + +
+ - - - + + - - + + - - + + + + + + - -
- - -
- + + +
+ + + +
+ + + + + + + + + + + + +
+ +
+
{{$t('placeholder.chart.column')}}
+
+ + - -
- - - - - - - - - - - - -
- -
-
{{$t('placeholder.chart.column')}}
-
- - - - - -
-
{{$t('config.assetLabel.display')}}
-
- - - - + +
    +
  • + +
  • +
+
+
+
+
+ +
+
+
+
{{$t('overall.addMapping')}}
@@ -807,14 +842,15 @@ import nezhaColor from '@/components/common/nezhaColor' import filterSearch from '@/components/common/filterSearch/filterSearch.vue' import VueTagsInput from '@johmun/vue-tags-input' import { isGauge } from '@/components/chart/chart/tools' - +import draggable from 'vuedraggable' export default { name: 'systemChartConfig', mixins: [publicConfig, chartTypeShow], components: { nezhaColor, filterSearch, - VueTagsInput + VueTagsInput, + draggable }, data () { return {