fix(消息通知): 修改测试计划定时任务变量不能获取的问题

--bug=1010513 --user=刘瑞斌 【测试跟踪】-测试计划-定时执行-飞书/钉钉/企业微信机器人通知中无测试报告链接 https://www.tapd.cn/55049933/s/1107858
This commit is contained in:
CaptainB 2022-02-22 17:54:21 +08:00 committed by shiziyuan9527
parent 04f436ba7f
commit 7199744c28
1 changed files with 6 additions and 2 deletions

View File

@ -153,13 +153,13 @@ export default {
'<body>\n' +
'<div>\n' +
' <div style="margin-left: 100px">\n' +
' ${operator}执行接口测试成功: ${name}, 报告: ${reportUrl}' +
' ${operator}执行接口测试成功: ${name}, 报告: ${planShareUrl}' +
' </div>\n' +
'\n' +
'</div>\n' +
'</body>\n' +
'</html>',
robotTitle: "${operator}执行接口测试成功: ${name}, 报告: ${reportUrl}",
robotTitle: "${operator}执行接口测试成功: ${name}, 报告: ${planShareUrl}",
scheduleTask: [{
taskType: "scheduleTask",
event: "",
@ -265,6 +265,10 @@ export default {
label: this.$t('test_track.pass_rate'),
value: 'passRate',
},
{
label: this.$t('report.plan_share_url'),
value: 'planShareUrl',
},
],
};
},