refactor: 消息通知页面修改

This commit is contained in:
Captain.B 2020-12-01 11:00:46 +08:00
parent e1eef7ee41
commit 605e308159
4 changed files with 9 additions and 5 deletions

View File

@ -2,8 +2,12 @@
<ms-container> <ms-container>
<ms-main-container> <ms-main-container>
<el-alert <el-alert
:title="$t('organization.message.notes')" title="Notice:"
type="info"> type="info"
show-icon>
<template v-slot:default>
{{ $t('organization.message.notes') }}
</template>
</el-alert> </el-alert>
<jenkins-notification :jenkins-receiver-options="jenkinsReceiverOptions"/> <jenkins-notification :jenkins-receiver-options="jenkinsReceiverOptions"/>
<test-plan-task-notification :test-plan-receiver-options="testPlanReceiverOptions"/> <test-plan-task-notification :test-plan-receiver-options="testPlanReceiverOptions"/>

View File

@ -236,7 +236,7 @@ export default {
mail: 'mail', mail: 'mail',
nail_robot: 'Nail robot', nail_robot: 'Nail robot',
enterprise_wechat_robot: 'Enterprise wechat robot', enterprise_wechat_robot: 'Enterprise wechat robot',
notes: 'Note: 1. Nail and create a custom robot in the enterprise group, and then copy the webhook address on our platform;\n' + notes: '1. Nail and create a custom robot in the enterprise group, and then copy the webhook address on our platform;\n' +
'\n' + '\n' +
'2. Robots are selected as swarm robots, and "custom keyword" is selected for security verification: "task notification";\n' + '2. Robots are selected as swarm robots, and "custom keyword" is selected for security verification: "task notification";\n' +
'\n' + '\n' +

View File

@ -237,7 +237,7 @@ export default {
mail: '邮件', mail: '邮件',
nail_robot: '钉钉机器人', nail_robot: '钉钉机器人',
enterprise_wechat_robot: '企业微信机器人', enterprise_wechat_robot: '企业微信机器人',
notes: '注意:1.钉钉和企业群里新建一个自定义机器人,然后复制 webhook 地址在我们平台上;\n' + notes: '1.钉钉和企业群里新建一个自定义机器人,然后复制 webhook 地址在我们平台上;\n' +
' 2.机器人选择为群机器人,安全验证选择“自定义关键词” "任务通知";\n' + ' 2.机器人选择为群机器人,安全验证选择“自定义关键词” "任务通知";\n' +
' 3.选择接收人时必须是你所建的群里包含的人,接收人手机号为必填项且为钉钉企业所使用的手机号,', ' 3.选择接收人时必须是你所建的群里包含的人,接收人手机号为必填项且为钉钉企业所使用的手机号,',
message: '事件,接收人,接收方式为必填项', message: '事件,接收人,接收方式为必填项',

View File

@ -237,7 +237,7 @@ export default {
mail: '郵件', mail: '郵件',
nail_robot: '釘釘機器人', nail_robot: '釘釘機器人',
enterprise_wechat_robot: '企業微信機器人', enterprise_wechat_robot: '企業微信機器人',
notes: '註意: 1.事件,接收方式,接收人為必填項;\n' + notes: '1.事件,接收方式,接收人為必填項;\n' +
' 2.接收方式除郵件外webhook為必填\n' + ' 2.接收方式除郵件外webhook為必填\n' +
' 3.機器人選擇為群機器人,安全驗證選擇“自定義關鍵詞” "任務通知"', ' 3.機器人選擇為群機器人,安全驗證選擇“自定義關鍵詞” "任務通知"',
message: '事件,接收人,接收方式為必填項', message: '事件,接收人,接收方式為必填項',