From a12283aa23df86081291594dfa72265323380326 Mon Sep 17 00:00:00 2001 From: break60 <790061044@qq.com> Date: Tue, 18 Aug 2020 14:09:03 +0800 Subject: [PATCH] [ui]Resource delete OK button to increase loading, change the number of homepage display cursor --- .../conf/home/pages/dag/_source/formModel/log.vue | 1 + .../pages/index/_source/processStateCount.vue | 9 +++++++-- .../pages/index/_source/taskCtatusCount.vue | 13 +++++++++---- .../resource/pages/file/pages/list/_source/list.vue | 10 +++++++--- .../pages/file/pages/subdirectory/_source/list.vue | 10 +++++++--- .../pages/udf/pages/function/_source/list.vue | 10 +++++++--- .../pages/udf/pages/resource/_source/list.vue | 10 +++++++--- .../udf/pages/subUdfDirectory/_source/list.vue | 10 +++++++--- 8 files changed, 52 insertions(+), 21 deletions(-) diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/log.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/log.vue index 39a6989f42..838f429bd3 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/log.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/log.vue @@ -304,6 +304,7 @@ font-size: 12px; margin-left: 10px; em { + text-decoration: none !important; vertical-align: middle; } } diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/processStateCount.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/processStateCount.vue index d121034932..84665fbe9d 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/processStateCount.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/processStateCount.vue @@ -31,7 +31,10 @@ {{$index+1}} - {{item.value}} + + {{item.value}} + {{item.value}} + {{item.key}} @@ -57,7 +60,8 @@ return { isSpin: true, msg: '', - processStateList: [] + processStateList: [], + currentName: '' } }, props: { @@ -113,6 +117,7 @@ beforeCreate () { }, created () { + this.currentName = this.$router.currentRoute.name }, beforeMount () { }, diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/taskCtatusCount.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/taskCtatusCount.vue index 3e56c344f7..f82097ab8e 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/taskCtatusCount.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/taskCtatusCount.vue @@ -32,8 +32,9 @@ {{$index+1}} - - {{item.value}} + {{item.value}} + + {{item.value}} {{item.key}} @@ -62,7 +63,8 @@ return { isSpin: true, msg: '', - taskCtatusList: [] + taskCtatusList: [], + currentName: '' } }, props: { @@ -120,6 +122,7 @@ beforeCreate () { }, created () { + this.currentName = this.$router.currentRoute.name }, beforeMount () { }, @@ -140,6 +143,8 @@ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/list.vue index 4f256f8563..ce4d2b7dac 100755 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/list.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/list.vue @@ -115,11 +115,11 @@ + width="190">

{{$t('Delete?')}}

{{$t('Cancel')}} - {{$t('Confirm')}} + {{spinnerLoading ? 'Loading' : $t('Confirm')}}