From 3a3df01abed81e23972eedc8e0d30ae2e9dfb6ff Mon Sep 17 00:00:00 2001
From: break60 <790061044@qq.com>
Date: Tue, 22 Dec 2020 09:03:54 +0800
Subject: [PATCH] [Improvement-3878][ui]Fix the list style (#4280)
* [Improvement-3878]Tenant list delete user name
* [Improvement-3878][ui]Fix the list style
---
.../pages/udf/pages/function/_source/list.vue | 10 ++++-----
.../pages/udf/pages/resource/_source/list.vue | 6 ++---
.../pages/subUdfDirectory/_source/list.vue | 12 +++++-----
.../security/pages/queue/_source/list.vue | 2 +-
.../security/pages/tenement/_source/list.vue | 11 +++++-----
.../security/pages/users/_source/list.vue | 22 +++++++++----------
.../pages/warningGroups/_source/list.vue | 8 ++++---
.../pages/workerGroups/_source/list.vue | 2 +-
.../src/sass/common/_table.scss | 6 +++++
9 files changed, 44 insertions(+), 35 deletions(-)
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue
index 9eaa30aedc..6a98f57823 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue
@@ -18,7 +18,7 @@
-
+
@@ -29,16 +29,16 @@
-
+
-
-
+
+
{{scope.row.updateTime | formatDate}}
-
+
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/list.vue
index e38c66565b..e56ae5d599 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/list.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/list.vue
@@ -19,7 +19,7 @@
-
+
{{ scope.row.alias }}
@@ -29,7 +29,7 @@
-
+
{{scope.row.directory? $t('Yes') : $t('No')}}
@@ -51,7 +51,7 @@
{{scope.row.updateTime | formatDate}}
-
+
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/_source/list.vue
index d1f9e0b3a7..cfca456b15 100755
--- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/_source/list.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/_source/list.vue
@@ -19,7 +19,7 @@
-
+
{{ scope.row.alias }}
@@ -29,29 +29,29 @@
-
+
{{scope.row.directory? $t('Yes') : $t('No')}}
-
+
{{_rtSize(scope.row.size)}}
-
+
{{scope.row.createTime | formatDate}}
-
+
{{scope.row.updateTime | formatDate}}
-
+
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/list.vue
index 2df22319d2..41b636d2be 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/list.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/list.vue
@@ -31,7 +31,7 @@
{{scope.row.updateTime | formatDate}}
-
+
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/_source/list.vue
index f2c94fa189..51a04afb48 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/_source/list.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/_source/list.vue
@@ -19,15 +19,16 @@
-
-
-
-
+
+
+
+
+
{{scope.row.createTime | formatDate}}
-
+
{{scope.row.updateTime | formatDate}}
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue
index bb2f79763d..2808aac369 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue
@@ -20,31 +20,31 @@
-
+
- {{scope.row.userType === 'GENERAL_USER'? `${$t('Ordinary users')}` : `${$t('Administrator')}`}}
+ {{scope.row.userType === 'GENERAL_USER' ? `${$t('Ordinary users')}` : `${$t('Administrator')}`}}
-
-
-
-
-
+
+
+
+
+
- {{scope.row.state === 1? `${$t('Enable')}` : `${$t('Disable')}`}}
+ {{scope.row.state === 1 ? `${$t('Enable')}` : `${$t('Disable')}`}}
-
+
{{scope.row.createTime | formatDate}}
-
+
{{scope.row.updateTime | formatDate}}
-
+
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/list.vue
index ce9ef00749..29414f4ea0 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/list.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/list.vue
@@ -21,15 +21,17 @@
- {{groupType === 'EMAIL' ? `${$t('Email')}` : `${$t('SMS')}`}}
+
+ {{scope.row.groupType === 'EMAIL' ? `${$t('Email')}` : `${$t('SMS')}`}}
+
-
+
{{scope.row.createTime | formatDate}}
-
+
{{scope.row.updateTime | formatDate}}
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/_source/list.vue
index 596729c070..0c5150e45b 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/_source/list.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/_source/list.vue
@@ -20,7 +20,7 @@
-
+
{{scope.row.ipList.join(',')}}
diff --git a/dolphinscheduler-ui/src/sass/common/_table.scss b/dolphinscheduler-ui/src/sass/common/_table.scss
index 2d157a3cd6..2f229a1a59 100644
--- a/dolphinscheduler-ui/src/sass/common/_table.scss
+++ b/dolphinscheduler-ui/src/sass/common/_table.scss
@@ -176,7 +176,13 @@
}
.el-table th>.cell {
color: #555;
+ padding-left: 0;
+ padding-right: 0;
}
.el-table td div {
color: #666;
+}
+.el-table td>.cell {
+ padding-left: 0;
+ padding-right: 0;
}
\ No newline at end of file