From 31389167bcdd21d7cfc452375f8240b767c51b68 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Wed, 26 Feb 2020 17:22:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E5=B7=A5=E4=BD=9C=E7=A9=BA?= =?UTF-8?q?=E9=97=B4=E6=97=B6=E9=80=89=E6=8B=A9=E7=BB=84=E7=BB=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/i18n/en_US.js | 3 ++- frontend/src/i18n/zh_CN.js | 3 ++- frontend/src/i18n/zh_TW.js | 2 ++ .../components/settings/SystemWorkspace.vue | 13 +++++++++++++ 4 files changed, 19 insertions(+), 2 deletions(-) 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) => {