From 8583b60df514c6c5a31cdb8ea70639d6ff026e77 Mon Sep 17 00:00:00 2001
From: break60 <790061044@qq.com>
Date: Sat, 9 May 2020 11:44:42 +0800
Subject: [PATCH] Repair worklist cannot be deleted
---
.../definition/pages/list/_source/list.vue | 22 ++---------------
.../instance/pages/list/_source/list.vue | 24 +++----------------
2 files changed, 5 insertions(+), 41 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 1a07fae037..d0f9983f6f 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
@@ -86,7 +86,7 @@
{{$t('online')}}
-
-
+ |
@@ -122,20 +122,6 @@
-
- {{$t('Delete?')}}
-
- {{$t('Cancel')}}
- {{$t('Confirm')}}
-
-
- {{$t('Delete')}}
-
-
{{$t('Export')}}
@@ -264,11 +250,7 @@
* Close the delete layer
*/
_closeDelete (i) {
- if (i > 0) {
- this.$refs[`poptip-delete-${i}`][0].doClose()
- }else{
- this.$refs['poptipDeleteAll'].doClose()
- }
+ this.$refs[`poptip-delete-${i}`][0].doClose()
},
/**
* delete
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 e0a13a65ba..8c2c8659ed 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
@@ -99,7 +99,7 @@
{{item.executorName}}
-
|
-
+ |
{{$t('Delete?')}}
@@ -287,20 +287,6 @@
-
- {{$t('Delete?')}}
-
- {{$t('Cancel')}}
- {{$t('Confirm')}}
-
-
- {{$t('Delete')}}
-
-
|