fix(测试跟踪): 工作台缺陷列表,成员类型的自定义字段,显示的是ID不是名字
--bug=1037136 --user=陈建星 【工作台】github#29420,工作台,我关注的,缺陷管理。显示的处理人是用户id区分不出来,用例管理-缺陷管理显示的是用户名称。期望展示为用名称 https://www.tapd.cn/55049933/s/1621236
This commit is contained in:
parent
159f0cd8a5
commit
5520044764
|
@ -168,7 +168,8 @@ import {
|
|||
getCurrentProjectID,
|
||||
getCurrentWorkspaceId,
|
||||
} from "metersphere-frontend/src/utils/token";
|
||||
import { getProjectMember, getProjectMemberUserFilter } from "@/api/user";
|
||||
import { getProjectMemberUserFilter } from "@/api/user";
|
||||
import { getProjectMemberById } from "metersphere-frontend/src/api/user";
|
||||
import { LOCAL } from "metersphere-frontend/src/utils/constants";
|
||||
import { TEST_TRACK_ISSUE_LIST } from "metersphere-frontend/src/components/search/search-components";
|
||||
import { getAdvSearchCustomField } from "metersphere-frontend/src/components/search/custom-component";
|
||||
|
@ -305,9 +306,10 @@ export default {
|
|||
this.getMaintainerOptions();
|
||||
this.loading = true;
|
||||
this.$nextTick(() => {
|
||||
getProjectMember((data) => {
|
||||
this.members = data;
|
||||
});
|
||||
getProjectMemberById(this.projectId)
|
||||
.then((r) => {
|
||||
this.members = r.data;
|
||||
});
|
||||
getIssuePartTemplateWithProject((template) => {
|
||||
this.initFields(template);
|
||||
this.getIssues();
|
||||
|
|
Loading…
Reference in New Issue