From c01122b440dc8a3c38d7cb48cf3081636451c235 Mon Sep 17 00:00:00 2001 From: break60 <790061044@qq.com> Date: Thu, 30 Apr 2020 17:40:45 +0800 Subject: [PATCH 1/2] Optimize workflow instance page --- .../instance/pages/list/_source/list.vue | 47 +++++++++---------- .../pages/instance/pages/list/index.vue | 1 + 2 files changed, 24 insertions(+), 24 deletions(-) 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 af0036ab12..2996f7d731 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 @@ -19,48 +19,48 @@
- - - - - - - - - - - - - + - @@ -73,8 +73,7 @@ {{item.name}} + - -
+ + {{$t('#')}} + {{$t('Process Name')}} - {{$t('Executor')}} + + {{$t('State')}} + {{$t('Run Type')}} + {{$t('Scheduling Time')}} + {{$t('Start Time')}} + {{$t('End Time')}} + {{$t('Duration')}}s + {{$t('Run Times')}} - {{$t('host')}} - + {{$t('fault-tolerant sign')}} -
- {{$t('State')}} +
+ {{$t('host')}} + +
+ {{$t('Executor')}}
+ {{$t('Operation')}}
- {{item.executorName}} - - + {{_rtRunningType(item.commandType)}} @@ -91,14 +90,14 @@ {{item.duration || '-'}} {{item.runTimes}}{{item.recovery}} {{item.host}} - {{item.recovery}} - + {{item.executorName}} + -
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/index.vue index 4a4206218a..d26da294f3 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/index.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/index.vue @@ -204,6 +204,7 @@ } .table-box { .fixed { + table-layout: auto; tr { th:last-child,td:last-child { background: inherit; From 50e4b23e1f51e3eb24de53989006c00d0e134f0a Mon Sep 17 00:00:00 2001 From: break60 <790061044@qq.com> Date: Wed, 6 May 2020 11:22:11 +0800 Subject: [PATCH 2/2] Workflow definition and task instance page add scroll --- .../definition/pages/list/_source/list.vue | 24 ++++--- .../pages/definition/pages/list/index.vue | 70 +++++++++++++------ .../pages/instance/pages/list/index.vue | 32 ++++----- .../pages/taskInstance/_source/list.vue | 30 ++++---- .../projects/pages/taskInstance/index.vue | 62 +++++++++++----- 5 files changed, 140 insertions(+), 78 deletions(-) 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 310725dd51..dd4530786d 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 @@ -19,34 +19,36 @@
- - - - - - - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/index.vue index 5dd12b4355..5fcb3f6f21 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/index.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/index.vue @@ -15,29 +15,30 @@ * limitations under the License. */
+ + {{$t('#')}} + {{$t('Process Name')}} + {{$t('State')}} + {{$t('Create Time')}} + {{$t('Update Time')}} + {{$t('Description')}} + {{$t('Modify User')}} - {{$t('Timing state')}} + +
+ {{$t('Timing state')}} +
+ {{$t('Operation')}}