diff --git a/src/App.vue b/src/App.vue index 93fd29d8..3f4af22a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -15,7 +15,6 @@ limitations under the License. --> - diff --git a/src/views/Settings.vue b/src/views/Settings.vue index 60a75850..947e89a4 100644 --- a/src/views/Settings.vue +++ b/src/views/Settings.vue @@ -76,7 +76,6 @@ import { ref, reactive } from "vue"; import { useI18n } from "vue-i18n"; import { useAppStoreWithOut } from "@/store/modules/app"; import timeFormat from "@/utils/timeFormat"; -import { ElSwitch } from "element-plus"; const { t, locale } = useI18n(); const state = reactive<{ timer: ReturnType | null }>({ diff --git a/src/views/components/ConditionTags.vue b/src/views/components/ConditionTags.vue index 4fb39719..f85bae98 100644 --- a/src/views/components/ConditionTags.vue +++ b/src/views/components/ConditionTags.vue @@ -65,7 +65,6 @@ const tagsList = ref([]); function removeTags(index: number) { tagsList.value.splice(index, 1); updateTags(); - localStorage.setItem("traceTags", JSON.stringify(this.tagsList)); } function addLabels() { if (!tags.value) { diff --git a/src/views/dashboard/Edit.vue b/src/views/dashboard/Edit.vue index d6b3e24a..3da6c974 100644 --- a/src/views/dashboard/Edit.vue +++ b/src/views/dashboard/Edit.vue @@ -13,8 +13,12 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> diff --git a/src/views/dashboard/List.vue b/src/views/dashboard/List.vue index fe56d192..08f03777 100644 --- a/src/views/dashboard/List.vue +++ b/src/views/dashboard/List.vue @@ -17,13 +17,14 @@ limitations under the License. -->
@@ -33,38 +34,106 @@ limitations under the License. -->
- - - - - - - - +
+ + + + + + + + + + + + +
+ + + {{ t("export") }} + + + + + +
+
diff --git a/src/views/dashboard/New.vue b/src/views/dashboard/New.vue index 286db407..1ba4e5bb 100644 --- a/src/views/dashboard/New.vue +++ b/src/views/dashboard/New.vue @@ -51,15 +51,17 @@ limitations under the License. --> diff --git a/src/views/dashboard/configuration/Widget.vue b/src/views/dashboard/configuration/Widget.vue index 045fd802..28ada4ce 100644 --- a/src/views/dashboard/configuration/Widget.vue +++ b/src/views/dashboard/configuration/Widget.vue @@ -17,6 +17,9 @@ limitations under the License. -->
{{ dashboardStore.selectedGrid.widget.title }} + + ({{ dashboardStore.selectedGrid.standard.unit }}) +
@@ -33,6 +36,8 @@ limitations under the License. --> i: dashboardStore.selectedGrid.i, metrics: dashboardStore.selectedGrid.metrics, metricTypes: dashboardStore.selectedGrid.metricTypes, + standard: dashboardStore.selectedGrid.standard, + isEdit: true, }" />
@@ -55,7 +60,7 @@ limitations under the License. --> - +
@@ -98,7 +103,7 @@ export default defineComponent({ const loading = ref(false); const states = reactive<{ activeNames: string; - source: any; + source: unknown; index: string; visType: Option[]; }>({ @@ -209,4 +214,9 @@ export default defineComponent({ .ds-name { margin-bottom: 10px; } + +.unit { + display: inline-block; + margin-left: 5px; +} diff --git a/src/views/dashboard/configuration/widget/MetricOptions.vue b/src/views/dashboard/configuration/widget/MetricOptions.vue index 3e9ef323..8682dae3 100644 --- a/src/views/dashboard/configuration/widget/MetricOptions.vue +++ b/src/views/dashboard/configuration/widget/MetricOptions.vue @@ -13,14 +13,15 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->