refactor: 消息通知模版修改

This commit is contained in:
Captain.B 2021-09-26 16:16:29 +08:00 committed by 刘瑞斌
parent 34e9c7420f
commit fbe43422fd
16 changed files with 30 additions and 35 deletions

View File

@ -6,7 +6,7 @@
</head>
<body>
<div>
<p style="text-align: left">${creator}创建的:<br>
<p style="text-align: left">${operator}创建的:<br>
${name}<br>
计划开始时间是:${start}<br>
计划结束时间为:${end}<br>

View File

@ -183,7 +183,7 @@ export default {
'</body>\n' +
'</html>',
robotTitle:
"测试【任务通知】:'${name} ${type}测试运行${status}\n" +
"测试'${name} ${type}测试运行${status}\n" +
"执行人:${executor}" + "\n" +
"负责人:${principal}" + "\n" +
"测试环境为:${executionEnvironment}\n" +

View File

@ -182,7 +182,7 @@ export default {
'</body>\n' +
'</html>',
robotTitle:
"测试【任务通知】:'${name} ${type}测试运行${status}," + "\n" +
"测试'${name} ${type}测试运行${status}," + "\n" +
"执行人:${executor}" + "\n" +
"负责人:${principal}" + "\n" +
"测试环境为:${executionEnvironment}" + "\n" +

View File

@ -176,11 +176,11 @@ export default {
"</head>\n" +
"<body>\n" +
"<div>\n" +
" <p>${creator}创建了测试用例</p>\n" +
" <p>${operator}创建了接口自动化${name}</p>\n" +
"</div>\n" +
"</body>\n" +
"</html>",
robotTitle: "【任务通知】:${creator}创建了测试用例",
robotTitle: "${operator}创建了接口自动化${name}",
defectTask: [{
taskType: "defectTask",
event: "",

View File

@ -176,11 +176,11 @@ export default {
"</head>\n" +
"<body>\n" +
"<div>\n" +
" <p>${creator}创建了测试用例</p>\n" +
" <p>${operator}创建了接口定义${name}</p>\n" +
"</div>\n" +
"</body>\n" +
"</html>",
robotTitle: "【任务通知】:${creator}创建了测试用例",
robotTitle: "${operator}创建了接口定义${name}",
defectTask: [{
taskType: "defectTask",
event: "",

View File

@ -176,11 +176,11 @@ export default {
"</head>\n" +
"<body>\n" +
"<div>\n" +
" <p>${creator}关闭了定时任务</p>\n" +
" <p>${operator}关闭了定时任务</p>\n" +
"</div>\n" +
"</body>\n" +
"</html>",
robotTitle: "【任务通知】:${creator}发起了一个缺陷:${issuesName},请跟进",
robotTitle: "${operator}发起了一个缺陷:${issuesName},请跟进",
defectTask: [{
taskType: "defectTask",
event: "",

View File

@ -176,11 +176,11 @@ export default {
"</head>\n" +
"<body>\n" +
"<div>\n" +
" <p>${creator}创建了测试用例</p>\n" +
" <p>${operator}删除了测试报告${name}</p>\n" +
"</div>\n" +
"</body>\n" +
"</html>",
robotTitle: "【任务通知】:${creator}创建了测试用例",
robotTitle: "${operator}删除了测试报告${name}",
defectTask: [{
taskType: "defectTask",
event: "",

View File

@ -198,7 +198,7 @@ export default {
'</body>\n' +
'</html>',
robotTitle:
"测试【任务通知】:'${executor}所执行的 ${name} ${type}测试运行${status}\n" +
"测试'${executor}所执行的 ${name} ${type}测试运行${status}\n" +
"测试环境为:${executionEnvironment}\n" +
"执行时间:${executionTime}\n" +
"请点击下面链接进入测试报告页面\n" +

View File

@ -176,11 +176,11 @@ export default {
"</head>\n" +
"<body>\n" +
"<div>\n" +
" <p>${creator}创建了测试用例</p>\n" +
" <p>${operator}删除了测试报告${name}</p>\n" +
"</div>\n" +
"</body>\n" +
"</html>",
robotTitle: "【任务通知】:${creator}创建了测试用例",
robotTitle: "${operator}删除了测试报告${name}",
defectTask: [{
taskType: "defectTask",
event: "",

View File

@ -176,11 +176,11 @@ export default {
"</head>\n" +
"<body>\n" +
"<div>\n" +
" <p>${creator}创建了测试用例</p>\n" +
" <p>${operator}创建了性能测试${name}</p>\n" +
"</div>\n" +
"</body>\n" +
"</html>",
robotTitle: "【任务通知】:${creator}创建了测试用例",
robotTitle: "${operator}创建了性能测试${name}",
defectTask: [{
taskType: "defectTask",
event: "",

View File

@ -176,11 +176,11 @@ export default {
"</head>\n" +
"<body>\n" +
"<div>\n" +
" <p>${creator}发起了一个缺陷:${issuesName},请跟进</p>\n" +
" <p>${operator}发起了一个缺陷:${name}</p>\n" +
"</div>\n" +
"</body>\n" +
"</html>",
robotTitle: "【任务通知】:${creator}发起了一个缺陷:${issuesName},请跟进",
robotTitle: "${operator}发起了一个缺陷:${name}",
defectTask: [{
taskType: "defectTask",
event: "",

View File

@ -176,11 +176,11 @@ export default {
"</head>\n" +
"<body>\n" +
"<div>\n" +
" <p>${creator}创建了测试用例</p>\n" +
" <p>${operator}创建了测试用例:${name}</p>\n" +
"</div>\n" +
"</body>\n" +
"</html>",
robotTitle: "【任务通知】:${creator}创建了测试用例",
robotTitle: "${operator}创建了测试用例:${name}",
defectTask: [{
taskType: "defectTask",
event: "",

View File

@ -175,10 +175,8 @@ export default {
"</head>\n" +
"<body>\n" +
"<div>\n" +
" <p style=\"text-align: left\">${creator} 创建的:<br>\n" +
" ${testPlanName}<br>\n" +
" 计划开始时间是:${start}<br>\n" +
" 计划结束时间为:${end}<br>\n" +
" <p style=\"text-align: left\">${operator} 创建测试计划: ${name}<br>\n" +
" <br>\n" +
" 请跟进!<br>\n" +
" 点击下面链接进入测试计划页面</p>\n" +
" <a href=\"${url}/#/track/plan/all\">${url}/#/track/plan/all</a>\n" +
@ -186,7 +184,7 @@ export default {
"</body>\n" +
"</html>",
robotTitle:
" 【任务通知】:${creator} 创建的:${testPlanName}计划开始时间是:${start}计划结束时间是:${end}请跟进!/ ${status}" +
"${operator} 创建的:${name} " +
"点击下面链接进入测试计划页面${url}/#/track/plan/all",
testCasePlanTask: [{
taskType: "testPlanTask",

View File

@ -175,18 +175,15 @@ export default {
"</head>\n" +
"<body>\n" +
"<div>\n" +
" <p style=\"text-align: left\">${creator} 创建的:<br>\n" +
" ${reviewName}待开始<br>\n" +
" 计划开始时间是:${start}<br>\n" +
" 计划结束时间为:${end}<br>\n" +
" <p style=\"text-align: left\">${operator} 创建的:<br>\n" +
" ${name}待开始<br>\n" +
" 请跟进!/${status}<br>\n" +
" 点击下面链接进入评审页面进行审核</p>\n" +
" <a href=\"${url}/#/track/review/view/${id}\">${url}/#/track/review/view/${id}</a>\n" +
"</div>\n" +
"</body>\n" +
"</html>",
robotTitle: "【任务通知】:${creator} 创建的:${reviewName}待开始,计划开始时间是:${start}," +
"计划结束时间是:${end}请跟进!/ ${status}!点击下面链接进入测试评审页面${url}/#/track/review/view/${id}",
robotTitle: "${operator} 创建的:${name} 请跟进!/ ${status}!点击下面链接进入测试评审页面${url}/#/track/review/view/${id}",
reviewTask: [{
taskType: "reviewTask",
event: "",

View File

@ -176,11 +176,11 @@ export default {
"</head>\n" +
"<body>\n" +
"<div>\n" +
" <p>${operator}关闭了定时任务</p>\n" +
" <p>${operator}关闭了定时任务: ${name}</p>\n" +
"</div>\n" +
"</body>\n" +
"</html>",
robotTitle: "【任务通知】:${operator}发起了一个缺陷:${name},请跟进",
robotTitle: "${operator}关闭了定时任务: ${name}",
defectTask: [{
taskType: "defectTask",
event: "",

View File

@ -176,11 +176,11 @@ export default {
"</head>\n" +
"<body>\n" +
"<div>\n" +
" <p>${creator}关闭了定时任务</p>\n" +
" <p>${operator}删除了测试报告${name}</p>\n" +
"</div>\n" +
"</body>\n" +
"</html>",
robotTitle: "【任务通知】:${creator}发起了一个缺陷:${issuesName},请跟进",
robotTitle: "${operator}删除了测试报告${name}",
defectTask: [{
taskType: "defectTask",
event: "",