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"> <if test="request.orders != null and request.orders.size() > 0">
order by order by
<foreach collection="request.orders" separator="," item="order"> <foreach collection="request.orders" separator="," item="order">
<if test="order.name == 'num'"> <choose>
lt.${order.name} ${order.type} <when test="order.name == 'num'">
</if> lt.${order.name} ${order.type}
<if test="order.name != 'num'"> </when>
tplc.${order.name} ${order.type} <when test="order.name == 'case_name'">
</if> lt.name ${order.type}
</when>
<otherwise>
tplc.${order.name} ${order.type}
</otherwise>
</choose>
</foreach> </foreach>
</if> </if>
</select> </select>

View File

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