fix(缺陷管理): 修复缺陷管理发送通知解析不到自定义字段问题
--bug=1039437 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039437
This commit is contained in:
parent
ccb11753f3
commit
a9df04d1c5
|
@ -69,7 +69,7 @@ public class BugNoticeService {
|
||||||
fields.add(fieldDTO);
|
fields.add(fieldDTO);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
notice.setCustomFields(fields);
|
notice.setFields(fields);
|
||||||
}
|
}
|
||||||
return notice;
|
return notice;
|
||||||
} else {
|
} else {
|
||||||
|
@ -101,7 +101,7 @@ public class BugNoticeService {
|
||||||
fieldDTO.setName(field.getValue());
|
fieldDTO.setName(field.getValue());
|
||||||
fields.add(fieldDTO);
|
fields.add(fieldDTO);
|
||||||
});
|
});
|
||||||
notice.setCustomFields(fields);
|
notice.setFields(fields);
|
||||||
}
|
}
|
||||||
return notice;
|
return notice;
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,5 +14,5 @@ import java.util.List;
|
||||||
public class BugNoticeDTO extends BugMessageDTO{
|
public class BugNoticeDTO extends BugMessageDTO{
|
||||||
|
|
||||||
@Schema(description = "自定义字段内容")
|
@Schema(description = "自定义字段内容")
|
||||||
private List<OptionDTO> customFields;
|
private List<OptionDTO> fields;
|
||||||
}
|
}
|
||||||
|
|
|
@ -570,15 +570,11 @@
|
||||||
// 用例树节点选中事件
|
// 用例树节点选中事件
|
||||||
const caseNodeSelect = (selectedNodeKeys: (string | number)[] | string[], node: MsTreeNodeData) => {
|
const caseNodeSelect = (selectedNodeKeys: (string | number)[] | string[], node: MsTreeNodeData) => {
|
||||||
[activeFolder.value] = selectedNodeKeys as string[];
|
[activeFolder.value] = selectedNodeKeys as string[];
|
||||||
console.log('node');
|
|
||||||
console.log(node);
|
|
||||||
offspringIds.value = [];
|
offspringIds.value = [];
|
||||||
mapTree(node.children || [], (e) => {
|
mapTree(node.children || [], (e) => {
|
||||||
offspringIds.value.push(e.id);
|
offspringIds.value.push(e.id);
|
||||||
return e;
|
return e;
|
||||||
});
|
});
|
||||||
console.log('offspringIds');
|
|
||||||
console.log(offspringIds);
|
|
||||||
focusNodeKey.value = '';
|
focusNodeKey.value = '';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue