Browse Source

[Improvement-16598][UI] SQL task type optimization of sending alarm notifications (#16599)

* improvement 16598

* improvement 16598
dev
xiangzihao 4 months ago committed by GitHub
parent
commit
950831ed1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      dolphinscheduler-ui/src/locales/en_US/project.ts
  2. 4
      dolphinscheduler-ui/src/locales/zh_CN/project.ts
  3. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql-type.ts

4
dolphinscheduler-ui/src/locales/en_US/project.ts

@ -823,11 +823,11 @@ export default {
dvc_load_save_data_path: 'Data Path In Worker',
dvc_store_url: 'Store Url',
dvc_empty_tips: 'This parameter cannot be empty',
send_email: 'Send Email',
send_alarm: 'Send Alarm',
log_display: 'Log display',
rows_of_result: 'rows of result',
title: 'Title',
title_tips: 'Please enter the title of email',
title_tips: 'Please enter the title of alarm',
alarm_group: 'Alarm group',
alarm_group_tips: 'Alarm group required',
integer_tips: 'Please enter a positive integer',

4
dolphinscheduler-ui/src/locales/zh_CN/project.ts

@ -798,11 +798,11 @@ export default {
dvc_load_save_data_path: 'Worker中数据路径',
dvc_store_url: '数据存储地址',
dvc_empty_tips: '该参数不能为空',
send_email: '发送邮件',
send_alarm: '发送告警',
log_display: '日志显示',
rows_of_result: '行查询结果',
title: '主题',
title_tips: '请输入邮件主题',
title_tips: '请输入告警主题',
alarm_group: '告警组',
alarm_group_tips: '告警组必填',
integer_tips: '请输入一个正整数',

2
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql-type.ts

@ -71,7 +71,7 @@ export function useSqlType(model: { [field: string]: any }): IJsonItem[] {
type: 'switch',
field: 'sendEmail',
span: querySpan,
name: t('project.node.send_email')
name: t('project.node.send_alarm')
},
{
type: 'select',

Loading…
Cancel
Save