fix(接口测试): 接口定义-CASE模块下的接口用例,执行结果筛选功能失效

【接口测试-接口定义-CASE模块下的接口用例,执行结果筛选功能失效,请确认并修改】https://www.tapd.cn/33805590/bugtrace/bugs/view?bug_id=1133805590001008658
This commit is contained in:
wxg0103 2021-12-08 16:24:33 +08:00 committed by 刘瑞斌
parent 4456fe8506
commit d48f680c04
2 changed files with 9 additions and 2 deletions

View File

@ -205,7 +205,7 @@
</if>
</if>
<if test="${condition}.status != null">
and t2.status
and t1.status
<include refid="condition">
<property name="object" value="${condition}.status"/>
</include>
@ -389,6 +389,12 @@
#{value}
</foreach>
</when>
<when test="key=='execResult' or key=='exec_result'">
and t1.STATUS in
<foreach collection="values" item="value" separator="," open="(" close=")">
(#{value})
</foreach>
</when>
</choose>
</if>
<if test="request.toUpdate == null || request.toUpdate == false ">

View File

@ -165,7 +165,8 @@ export const API_CASE_RESULT = {
},
options: [
{value: 'success', label: 'api_test.automation.success'},
{value: 'error', label: 'api_test.automation.fail'}
{value: 'error', label: 'api_test.automation.fail'},
{value: '', label: 'api_test.home_page.detail_card.unexecute'}
],
props: { // 尾部控件的props一般为element ui控件的props
multiple: true