From def79b1de064a67241b3c02ae36a8fea5456deac Mon Sep 17 00:00:00 2001
From: wenyann <64353056+wenyann@users.noreply.github.com>
Date: Tue, 26 May 2020 09:49:38 +0800
Subject: [PATCH] ..
---
.../organization/OrganizationWorkspace.vue | 23 +++++++++++++++----
.../settings/system/Organization.vue | 3 ++-
.../system/SystemParameterSetting.vue | 2 +-
.../settings/system/SystemWorkspace.vue | 3 ++-
4 files changed, 23 insertions(+), 8 deletions(-)
diff --git a/frontend/src/business/components/settings/organization/OrganizationWorkspace.vue b/frontend/src/business/components/settings/organization/OrganizationWorkspace.vue
index 0f9f1dc56e..5d6ab25502 100644
--- a/frontend/src/business/components/settings/organization/OrganizationWorkspace.vue
+++ b/frontend/src/business/components/settings/organization/OrganizationWorkspace.vue
@@ -56,7 +56,11 @@
-
+
+
+
+
@@ -150,12 +154,21 @@
import MsTableHeader from "../../common/components/MsTableHeader";
import MsRolesTag from "../../common/components/MsRolesTag";
import MsTableOperator from "../../common/components/MsTableOperator";
+ import MsTableOperatorButton from "../../common/components/MsTableOperatorButton";
import MsDialogFooter from "../../common/components/MsDialogFooter";
import {getCurrentUser, getCurrentWorkspaceId, refreshSessionAndCookies} from "../../../../common/js/utils";
export default {
name: "MsOrganizationWorkspace",
- components: {MsCreateBox, MsTablePagination, MsTableHeader, MsRolesTag, MsTableOperator, MsDialogFooter},
+ components: {
+ MsCreateBox,
+ MsTablePagination,
+ MsTableHeader,
+ MsRolesTag,
+ MsTableOperator,
+ MsDialogFooter,
+ MsTableOperatorButton
+ },
activated() {
this.list();
},
@@ -327,17 +340,17 @@
this.$set(this.memberForm, 'roleIds', roleIds);
},
delMember(row) {
- this.$confirm(this.$t('member.delete_confirm'), '', {
+ this.$confirm(this.$t('member.remove_member'), '', {
confirmButtonText: this.$t('commons.confirm'),
cancelButtonText: this.$t('commons.cancel'),
type: 'warning'
}).then(() => {
this.result = this.$get('/user/ws/member/delete/' + this.currentWorkspaceRow.id + '/' + row.id, () => {
- this.$success(this.$t('commons.delete_success'));
+ this.$success(this.$t('commons.remove_success'));
this.cellClick(this.currentWorkspaceRow);
});
}).catch(() => {
- this.$info(this.$t('commons.delete_cancel'));
+ this.$info(this.$t('commons.remove_cancel'));
});
},
updateOrgMember() {
diff --git a/frontend/src/business/components/settings/system/Organization.vue b/frontend/src/business/components/settings/system/Organization.vue
index 4b7c9aeace..ebefc1ac90 100644
--- a/frontend/src/business/components/settings/system/Organization.vue
+++ b/frontend/src/business/components/settings/system/Organization.vue
@@ -44,7 +44,8 @@
-
+
-
+