From adbfcbc64edf1106b93ab4e3b57ee1bc03ae89f2 Mon Sep 17 00:00:00 2001
From: break60 <790061044@qq.com>
Date: Wed, 6 May 2020 15:28:32 +0800
Subject: [PATCH] The background color of the list is deepened, and the
workflow layout page and job definition page display dag automatic layout
button
---
.../src/js/conf/home/pages/dag/_source/dag.vue | 3 ++-
.../projects/pages/definition/pages/list/_source/list.vue | 6 +++---
.../projects/pages/instance/pages/list/_source/list.vue | 4 ++--
.../pages/projects/pages/taskInstance/_source/list.vue | 8 ++++----
dolphinscheduler-ui/src/sass/common/_table.scss | 4 ++--
5 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue
index ae15e20f7..6d2449588 100755
--- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue
@@ -77,7 +77,7 @@
icon="ans-icon-triangle-solid-right"
size="xsmall"
data-container="body"
- v-if="type === 'instance'"
+ v-if="(type === 'instance' || 'definition') && urlParam.id !=undefined"
style="vertical-align: middle;"
@click="dagAutomaticLayout">
@@ -155,6 +155,7 @@
isLoading: false,
taskId: null,
arg: false,
+
}
},
mixins: [disabledState],
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue
index dd4530786..1a090dc5e 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue
@@ -25,7 +25,7 @@
{{$t('#')}}
|
-
+ |
{{$t('Process Name')}}
|
@@ -57,9 +57,9 @@
|
{{parseInt(pageNo === 1 ? ($index + 1) : (($index + 1) + (pageSize * (pageNo - 1))))}}
|
-
+ |
-
+
{{item.name}}
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue
index 2996f7d73..4484e80ed 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue
@@ -25,7 +25,7 @@
|
{{$t('#')}}
|
-
+ |
{{$t('Process Name')}}
|
@@ -69,7 +69,7 @@
|
{{parseInt(pageNo === 1 ? ($index + 1) : (($index + 1) + (pageSize * (pageNo - 1))))}}
|
-
+ |
{{item.name}}
|
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/_source/list.vue
index 97d736490..1acc25762 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/_source/list.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/_source/list.vue
@@ -22,10 +22,10 @@
|
{{$t('#')}}
|
-
+ |
{{$t('Name')}}
|
-
+ |
{{$t('Process Instance')}}
|
@@ -65,10 +65,10 @@
|
{{parseInt(pageNo === 1 ? ($index + 1) : (($index + 1) + (pageSize * (pageNo - 1))))}}
|
-
+ |
{{item.name}}
|
- {{item.processInstanceName}} |
+ {{item.processInstanceName}} |
{{item.executorName}}
-
diff --git a/dolphinscheduler-ui/src/sass/common/_table.scss b/dolphinscheduler-ui/src/sass/common/_table.scss
index 5b5bf34f9..688f8e326 100644
--- a/dolphinscheduler-ui/src/sass/common/_table.scss
+++ b/dolphinscheduler-ui/src/sass/common/_table.scss
@@ -95,7 +95,7 @@
font-size: 12px;
border-bottom: 1px solid #ecf3ff;
&:hover {
- background: #f6faff;
+ background: #ddecff;
}
th,td{
&:nth-child(1) {
@@ -165,7 +165,7 @@
}
&:hover {
td {
- background: #f6faff;
+ background: #ddecff;
}
}
}
--
GitLab
|