diff --git a/frontend/src/business/components/settings/system/SystemWorkspace.vue b/frontend/src/business/components/settings/system/SystemWorkspace.vue
index 2a73b74da7..cf8a4d2d4a 100644
--- a/frontend/src/business/components/settings/system/SystemWorkspace.vue
+++ b/frontend/src/business/components/settings/system/SystemWorkspace.vue
@@ -12,7 +12,8 @@
- {{scope.row.memberSize}}
+
+ {{scope.row.memberSize}}
@@ -85,7 +86,7 @@
-
+
@@ -112,7 +113,7 @@
+ @close="closeWsMemberAddDialog">
@@ -152,7 +153,7 @@
+ @close="closeWsMemberUpdateDialog">
@@ -180,7 +181,7 @@
@@ -232,7 +233,6 @@
},
addMember() {
this.dialogWsMemberAddVisible = true;
- this.memberForm = {};
this.result = this.$get('/user/list/', response => {
this.$set(this.memberForm, "userList", response.data);
});
@@ -318,13 +318,16 @@
});
},
- closeFunc() {
- this.form = {};
+ closeWsMemberAddDialog() {
+ this.memberForm = {};
},
- closeMemberFunc() {
+ closeWsMemberDialog() {
this.memberLineData = [];
this.list();
},
+ closeWsMemberUpdateDialog() {
+ this.dialogSearch();
+ },
list() {
let url = '/workspace/list/all/' + this.currentPage + '/' + this.pageSize;
this.result = this.$post(url, this.condition, response => {
@@ -385,7 +388,7 @@
this.$info(this.$t('commons.delete_cancel'));
});
},
- updateOrgMember() {
+ updateWorkspaceMember() {
let param = {
id: this.memberForm.id,
name: this.memberForm.name,