From 89780e296d7dc3e9fe510e3b9d3e8addc17acdd9 Mon Sep 17 00:00:00 2001
From: songjianet <1778651752@qq.com>
Date: Thu, 14 Jul 2022 18:02:29 +0800
Subject: [PATCH] [Feat][UI] Add title display to the table in the security
center. (#10969)
---
.../views/security/alarm-group-manage/index.tsx | 10 +++++-----
.../security/alarm-instance-manage/index.tsx | 12 ++++++------
.../src/views/security/cluster-manage/index.tsx | 10 +++++-----
.../views/security/environment-manage/index.tsx | 10 +++++-----
.../security/k8s-namespace-manage/index.tsx | 10 +++++-----
.../src/views/security/tenant-manage/index.tsx | 12 ++++++------
.../src/views/security/token-manage/index.tsx | 10 +++++-----
.../src/views/security/user-manage/index.tsx | 16 ++++++++--------
.../views/security/worker-group-manage/index.tsx | 10 +++++-----
.../views/security/yarn-queue-manage/index.tsx | 10 +++++-----
10 files changed, 55 insertions(+), 55 deletions(-)
diff --git a/dolphinscheduler-ui/src/views/security/alarm-group-manage/index.tsx b/dolphinscheduler-ui/src/views/security/alarm-group-manage/index.tsx
index d060e6e6a1..518ce42d89 100644
--- a/dolphinscheduler-ui/src/views/security/alarm-group-manage/index.tsx
+++ b/dolphinscheduler-ui/src/views/security/alarm-group-manage/index.tsx
@@ -18,7 +18,6 @@
import { defineComponent, onMounted, toRefs, watch } from 'vue'
import {
NButton,
- NCard,
NDataTable,
NIcon,
NInput,
@@ -29,6 +28,7 @@ import { SearchOutlined } from '@vicons/antd'
import { useI18n } from 'vue-i18n'
import { useTable } from './use-table'
import AlarmGroupModal from './components/alarm-group-modal'
+import Card from '@/components/card'
const alarmGroupManage = defineComponent({
name: 'alarm-group-manage',
@@ -102,7 +102,7 @@ const alarmGroupManage = defineComponent({
return (
-
+
{t('security.alarm_group.create_alarm_group')}
@@ -121,8 +121,8 @@ const alarmGroupManage = defineComponent({
-
-
+
+
-
+
-
+
{{
default: () => (
@@ -138,8 +138,8 @@ const AlarmInstanceManage = defineComponent({
)
}}
-
-
+
+
@@ -153,7 +153,7 @@ const AlarmInstanceManage = defineComponent({
/>
-
+
{IS_ADMIN && (
-
+
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
+
{t('security.k8s_namespace.create_namespace')}
@@ -121,8 +121,8 @@ const k8sNamespaceManage = defineComponent({
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
-
+