From 8313c70235f3e6c733c0d60e42fe067a383f72c9 Mon Sep 17 00:00:00 2001
From: break60 <790061044@qq.com>
Date: Fri, 8 May 2020 09:06:37 +0800
Subject: [PATCH] fix
---
.../pages/workerGroups/_source/list.vue | 21 -------
.../security/pages/workerGroups/index.vue | 58 +++++++++----------
2 files changed, 27 insertions(+), 52 deletions(-)
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 5e8927d3f4..5991196389 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
@@ -34,9 +34,6 @@
{{$t('Update Time')}}
|
-
@@ -58,24 +55,6 @@
{{item.updateTime | formatDate}}
-
|
-
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/index.vue
index 6780069618..32bb8620a6 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/index.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/index.vue
@@ -17,11 +17,7 @@
-
-
-
+
@@ -92,32 +88,32 @@
_onEdit (item) {
this._create(item)
},
- // _create (item) {
- // let self = this
- // let modal = this.$modal.dialog({
- // closable: false,
- // showMask: true,
- // escClose: true,
- // className: 'v-modal-custom',
- // transitionName: 'opacityp',
- // render (h) {
- // return h(mCreateWorker, {
- // on: {
- // onUpdate () {
- // self._debounceGET('false')
- // modal.remove()
- // },
- // close () {
- // modal.remove()
- // }
- // },
- // props: {
- // item: item
- // }
- // })
- // }
- // })
- // },
+ _create (item) {
+ let self = this
+ let modal = this.$modal.dialog({
+ closable: false,
+ showMask: true,
+ escClose: true,
+ className: 'v-modal-custom',
+ transitionName: 'opacityp',
+ render (h) {
+ return h(mCreateWorker, {
+ on: {
+ onUpdate () {
+ self._debounceGET('false')
+ modal.remove()
+ },
+ close () {
+ modal.remove()
+ }
+ },
+ props: {
+ item: item
+ }
+ })
+ }
+ })
+ },
_getList (flag) {
this.isLoading = !flag
this.getWorkerGroups(this.searchParams).then(res => {