mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 05:29:29 +08:00
fix(测试跟踪): 功能用例列表创建人排序报错
--bug=1014994 --user=陈建星 【测试跟踪】功能用例列表-筛选的用例评审结果+同时筛选创建人-筛选失败-然后功能用例页面无法使用报sql错误 https://www.tapd.cn/55049933/s/1204118
This commit is contained in:
parent
18a6510ce0
commit
ee4821af5f
@ -588,6 +588,10 @@
|
||||
<include refid="io.metersphere.base.mapper.ext.ExtBaseMapper.filterInWrapper"/>
|
||||
)
|
||||
</when>
|
||||
<when test="key=='create_user'">
|
||||
and test_case.create_user in
|
||||
<include refid="io.metersphere.base.mapper.ext.ExtBaseMapper.filterInWrapper"/>
|
||||
</when>
|
||||
</choose>
|
||||
</if>
|
||||
<if test="key=='status' and (values == null || values.size() == 0)">
|
||||
|
@ -8,25 +8,26 @@
|
||||
|
||||
<ms-table
|
||||
v-loading="page.result.loading"
|
||||
operator-width="170px"
|
||||
row-key="id"
|
||||
:data="page.data"
|
||||
:condition="condition"
|
||||
:total="page.total"
|
||||
:page-size.sync="page.pageSize"
|
||||
:operators="operators"
|
||||
operator-width="170px"
|
||||
:screen-height="screenHeight"
|
||||
:batch-operators="batchButtons"
|
||||
:remember-order="true"
|
||||
:enable-order-drag="enableOrderDrag"
|
||||
row-key="id"
|
||||
:row-order-group-id="projectId"
|
||||
:row-order-func="editTestCaseOrder"
|
||||
@handlePageChange="initTableData"
|
||||
@handleRowClick="handleEdit"
|
||||
:fields.sync="fields"
|
||||
:field-key="tableHeaderKey"
|
||||
@filter="search"
|
||||
:custom-fields="testCaseTemplate.customFields"
|
||||
@handlePageChange="initTableData"
|
||||
@handleRowClick="handleEdit"
|
||||
@order="initTableData"
|
||||
@filter="search"
|
||||
ref="table">
|
||||
|
||||
<ms-table-column
|
||||
@ -92,12 +93,16 @@
|
||||
|
||||
<ms-table-column
|
||||
sortable
|
||||
prop="createName"
|
||||
prop="createUser"
|
||||
min-width="120"
|
||||
:field="item"
|
||||
:fields-width="fieldsWidth"
|
||||
:label="$t('commons.create_user')"
|
||||
:filters="userFilter"/>
|
||||
:filters="userFilter">
|
||||
<template v-slot:default="scope">
|
||||
{{ scope.row.createName }}
|
||||
</template>
|
||||
</ms-table-column>
|
||||
|
||||
<test-case-review-status-table-item
|
||||
:field="item"
|
||||
|
@ -209,7 +209,7 @@ export let CUSTOM_TABLE_HEADER = {
|
||||
{id: 'versionId', key: 'b', label: 'project.version.name', xpack: true},
|
||||
{id: 'nodePath', key: '5', label: 'test_track.case.module'},
|
||||
{id: 'updateTime', key: '6', label: 'commons.update_time'},
|
||||
{id: 'createName', key: '7', label: 'commons.create_user'},
|
||||
{id: 'createUser', key: '7', label: 'commons.create_user'},
|
||||
{id: 'createTime', key: '8', label: 'commons.create_time'},
|
||||
{id: 'desc', key: '9', label: 'test_track.case.case_desc'},
|
||||
{id: 'lastExecuteResult', key: '0', label: 'test_track.plan_view.execute_result'},
|
||||
|
Loading…
Reference in New Issue
Block a user