diff --git a/frontend/src/i18n/en_US.js b/frontend/src/i18n/en_US.js index a43f3da859..0b3379ae04 100644 --- a/frontend/src/i18n/en_US.js +++ b/frontend/src/i18n/en_US.js @@ -17,7 +17,8 @@ const en_US = { 'input_name': 'Please enter a workspace name', 'input_name_2_50': '2 to 50 characters in length', 'search_by_name': 'Search by name', - 'organization_name': 'Organizationn Name' + 'organization_name': 'Organizationn Name', + 'please_choose_organization': 'Please Choose Organization', }, project: { 'recent': 'Recent Projects' diff --git a/frontend/src/i18n/zh_CN.js b/frontend/src/i18n/zh_CN.js index ee0f7bd3c2..b4485f5be9 100644 --- a/frontend/src/i18n/zh_CN.js +++ b/frontend/src/i18n/zh_CN.js @@ -17,7 +17,8 @@ const zh_CN = { 'input_name': '请输入工作空间名称', 'input_name_2_50': '长度在 2 到 50 个字符', 'search_by_name': '根据名称搜索', - 'organization_name': '所属组织' + 'organization_name': '所属组织', + 'please_choose_organization': '请选择组织', }, project: { 'recent': '最近的项目' diff --git a/frontend/src/i18n/zh_TW.js b/frontend/src/i18n/zh_TW.js index 3db5da3af3..644e452581 100644 --- a/frontend/src/i18n/zh_TW.js +++ b/frontend/src/i18n/zh_TW.js @@ -17,6 +17,8 @@ const zh_TW = { 'input_name': '请输入工作空间名称', 'input_name_2_50': '长度在 2 到 50 个字符', 'search_by_name': '根据名称搜索', + 'organization_name': '所属组织', + 'please_choose_organization': '请选择组织', }, project: { 'recent': '最近的项目' diff --git a/frontend/src/performance/components/settings/SystemWorkspace.vue b/frontend/src/performance/components/settings/SystemWorkspace.vue index a114ec9fd9..c5ef60b2c8 100644 --- a/frontend/src/performance/components/settings/SystemWorkspace.vue +++ b/frontend/src/performance/components/settings/SystemWorkspace.vue @@ -52,6 +52,16 @@ + + + + + + {{$t('commons.save')}} @@ -74,6 +84,9 @@ create() { this.createVisible = true; this.form = {}; + this.$get("/organization/list", response => { + this.form = { orgList: response.data } + }) }, submit(formName) { this.$refs[formName].validate((valid) => {