fix(项目设置): 消息通知ui消息标题优化

--bug=1030784 --user=王旭 【项目设置】消息设置-UI自动化消息配置和其它标题不统一 https://www.tapd.cn/55049933/s/1417940
This commit is contained in:
WangXu10 2023-09-19 18:04:42 +08:00 committed by fit2-zhao
parent 2402fccfb1
commit 10a003a71a
4 changed files with 10 additions and 6 deletions

View File

@ -795,6 +795,7 @@ const message = {
api: "Api notification", api: "Api notification",
performance: "Performance notification", performance: "Performance notification",
notice_count: "Number", notice_count: "Number",
ui: "UI notification"
}, },
integration: { integration: {
select_defect_platform: select_defect_platform:
@ -2394,7 +2395,7 @@ const message = {
definition: "Api Definition", definition: "Api Definition",
automation: "Api Automation", automation: "Api Automation",
report: "Test Report", report: "Test Report",
ui_automation: "Ui Automation", ui_automation: "Ui Test",
}, },
ldap: { ldap: {
url: "LDAP URL", url: "LDAP URL",

View File

@ -782,7 +782,7 @@ const message = {
api: "接口测试任务通知", api: "接口测试任务通知",
performance: "性能测试任务通知", performance: "性能测试任务通知",
notice_count: "通知数", notice_count: "通知数",
ui: "UI自动化消息配置", ui: "UI测试任务通知",
}, },
integration: { integration: {
select_defect_platform: "请选择要集成的缺陷管理平台:", select_defect_platform: "请选择要集成的缺陷管理平台:",
@ -2301,7 +2301,7 @@ const message = {
definition: "接口定义", definition: "接口定义",
automation: "接口自动化", automation: "接口自动化",
report: "测试报告", report: "测试报告",
ui_automation: "UI自动化", ui_automation: "UI测试",
}, },
ldap: { ldap: {
url: "LDAP地址", url: "LDAP地址",

View File

@ -781,6 +781,7 @@ const message = {
api: "接口測試任務通知", api: "接口測試任務通知",
performance: "性能測試任務通知", performance: "性能測試任務通知",
notice_count: "通知數", notice_count: "通知數",
ui: "UI测试任务通知"
}, },
integration: { integration: {
select_defect_platform: "請選擇要集成的缺陷管理平臺:", select_defect_platform: "請選擇要集成的缺陷管理平臺:",
@ -2299,7 +2300,7 @@ const message = {
definition: "接口定義", definition: "接口定義",
automation: "接口自動化", automation: "接口自動化",
report: "測試報告", report: "測試報告",
ui_automation: "UI自動化", ui_automation: "UI測試",
}, },
ldap: { ldap: {
url: "LDAP地址", url: "LDAP地址",

View File

@ -260,8 +260,10 @@ export default {
switch (row.event) { switch (row.event) {
case "CREATE": case "CREATE":
receiverOptions.unshift({id: 'CREATOR', name: this.$t('commons.create_user')}); receiverOptions.unshift({id: 'CREATOR', name: this.$t('commons.create_user')});
if (i2 < 0) { if (row.isSet) {
row.userIds.unshift('CREATOR'); if (i2 < 0) {
row.userIds.unshift('CREATOR');
}
} }
break; break;
case "UPDATE": case "UPDATE":