fix: 查看场景测试报告报错

This commit is contained in:
chenjianxing 2021-06-10 15:52:39 +08:00 committed by jianxing
parent b14abedb88
commit 74cd21ce5e
2 changed files with 12 additions and 6 deletions

View File

@ -70,12 +70,17 @@
<if test="request.orders != null and request.orders.size() > 0">
order by
<foreach collection="request.orders" separator="," item="order">
<if test="order.name == 'num'">
lt.${order.name} ${order.type}
</if>
<if test="order.name != 'num'">
tplc.${order.name} ${order.type}
</if>
<choose>
<when test="order.name == 'num'">
lt.${order.name} ${order.type}
</when>
<when test="order.name == 'case_name'">
lt.name ${order.type}
</when>
<otherwise>
tplc.${order.name} ${order.type}
</otherwise>
</choose>
</foreach>
</if>
</select>

View File

@ -36,6 +36,7 @@
prop="caseName"
:label="$t('commons.name')"
min-width="120"
sortable
show-overflow-tooltip
:key="index">
</el-table-column>