fix(测试跟踪): 测试计划关联接口用例, 责任人筛选字段显示问题

--bug=1014199 --user=宋昌昌 【测试跟踪】测试计划关联接口用例 责任人筛选字段 没有显示 https://www.tapd.cn/55049933/s/1184953
This commit is contained in:
song-cc-rock 2022-06-17 11:54:52 +08:00 committed by 刘瑞斌
parent 12257242bc
commit fce72104c1
2 changed files with 4 additions and 1 deletions

View File

@ -1687,6 +1687,7 @@ public class ApiDefinitionService {
}
Page<Object> page = PageHelper.startPage(goPage, pageSize, true);
List<ApiDefinitionResult> resList = extApiDefinitionMapper.listRelevance(request);
buildUserInfo(resList);
calculateResult(resList, request.getProjectId());
return PageUtils.setPageInfo(page, resList);
}

View File

@ -187,7 +187,9 @@ export default {
},
created: function () {
getProjectMember((data) => {
this.userFilters = data;
this.userFilters = data.map(u => {
return {text: u.name, value: u.id};
});
});
this.getProtocolFilter();
this.checkVersionEnable();