From e05d93aa335d872730fb55ece75e093c051ea600 Mon Sep 17 00:00:00 2001 From: zhuangchong Date: Sun, 31 Jan 2021 21:04:03 +0800 Subject: [PATCH 1/3] fix ui warningInstance title support internationalization. --- .../warningInstance/_source/createWarningInstance.vue | 10 +++++----- .../pages/security/pages/warningInstance/index.vue | 6 +++--- dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js | 2 ++ dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js | 2 ++ 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue index c41af3db42..b46e477803 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue @@ -39,7 +39,7 @@ @@ -86,7 +86,7 @@ isADMIN: store.state.user.userInfo.userType === 'ADMIN_USER', createWarningDialog: false, item: {}, - pulginInstance: [] + pluginInstance: [] } }, mixins: [listUrlParamHandle], @@ -114,7 +114,7 @@ }, _create (item) { this.getPlugins({ pluginType: 'ALERT' }).then(res => { - this.pulginInstance = res + this.pluginInstance = res }).catch(e => { this.$message.error(e.msg) }) diff --git a/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js b/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js index 168258a9f6..9038e21fa7 100755 --- a/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js +++ b/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js @@ -400,6 +400,8 @@ export default { 'Please select a notification group': 'Please select a notification group', Recipient: 'Recipient', Cc: 'Cc', + receivers: 'receivers', + receiverCcs: 'receiverCcs', 'Whether it is a complement process?': 'Whether it is a complement process?', 'Schedule date': 'Schedule date', 'Mode of execution': 'Mode of execution', diff --git a/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js b/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js index fb3bd3fb5b..61174ae867 100755 --- a/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js +++ b/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js @@ -400,6 +400,8 @@ export default { 'Please select a notification group': '请选择通知组', Recipient: '收件人', Cc: '抄送人', + receivers: '收件人', + receiverCcs: '抄送人', 'Whether it is a complement process?': '是否补数', 'Schedule date': '调度日期', 'Mode of execution': '执行方式', From 7db8ca239365abaccfcf83b677b639f8003efd57 Mon Sep 17 00:00:00 2001 From: zhuangchong Date: Mon, 1 Feb 2021 13:08:35 +0800 Subject: [PATCH 2/3] imp ui alert groups description add filter null. --- .../pages/security/pages/warningGroups/_source/list.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/list.vue index c3c0a9e343..914c46b66a 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/list.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/list.vue @@ -20,7 +20,11 @@ - + + +