fix(测试跟踪): 点击用例行进入编辑查看页面

--story=1013909 --user=宋昌昌 【测试跟踪】功能用例列表点击ID或名称可以直接进入用例查看页面 https://www.tapd.cn/55049933/s/1444581
This commit is contained in:
song-cc-rock 2023-12-18 11:05:15 +08:00 committed by 刘瑞斌
parent b55cb5e3b8
commit e717b1988f
3 changed files with 6 additions and 4 deletions

View File

@ -15,7 +15,7 @@
</div>
</el-button>
</el-tooltip>
<el-button @click="exec" v-else-if="isTextButton"
<el-button @click.native.stop="exec" v-else-if="isTextButton"
@keydown.enter.native.prevent
type="text" class="text-btn"
:disabled="isReadOnly"

View File

@ -429,12 +429,13 @@ export default {
name: '',
projectId: row.id
};
this.memberTableLoading = getProjectMemberPages(this.dialogCurrentPage, this.dialogPageSize, row.workspaceId, param).then(res => {
this.memberTableLoading = getProjectMemberPages(1, 10000, row.workspaceId, param).then(res => {
let data = res.data;
let {listObject, itemCount} = data;
this.memberLineData = listObject;
let allMemberLineData = listObject;
this.memberLineData = allMemberLineData.slice(0, this.dialogPageSize);
this.dialogTotal = itemCount;
let memberArr = this.memberLineData.filter(item => item.id === getCurrentUserId());
let memberArr = allMemberLineData.filter(item => item.id === getCurrentUserId());
if (memberArr.length === 0) {
isSuperUser(getCurrentUserId()).then(r => {
if (r && r.data) {

View File

@ -52,6 +52,7 @@
@callBackSelect="callBackSelect"
@callBackSelectAll="callBackSelectAll"
@clearTableSelect="clearTableSelect"
@handleRowClick="handleEdit"
ref="table">
<ms-table-column