fix(缺陷管理): 修复缺陷管理发送通知解析不到自定义字段问题

--bug=1039437 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039437
This commit is contained in:
guoyuqi 2024-04-16 11:11:12 +08:00 committed by Craftsman
parent ccb11753f3
commit a9df04d1c5
3 changed files with 3 additions and 7 deletions

View File

@ -69,7 +69,7 @@ public class BugNoticeService {
fields.add(fieldDTO);
}
});
notice.setCustomFields(fields);
notice.setFields(fields);
}
return notice;
} else {
@ -101,7 +101,7 @@ public class BugNoticeService {
fieldDTO.setName(field.getValue());
fields.add(fieldDTO);
});
notice.setCustomFields(fields);
notice.setFields(fields);
}
return notice;
}

View File

@ -14,5 +14,5 @@ import java.util.List;
public class BugNoticeDTO extends BugMessageDTO{
@Schema(description = "自定义字段内容")
private List<OptionDTO> customFields;
private List<OptionDTO> fields;
}

View File

@ -570,15 +570,11 @@
//
const caseNodeSelect = (selectedNodeKeys: (string | number)[] | string[], node: MsTreeNodeData) => {
[activeFolder.value] = selectedNodeKeys as string[];
console.log('node');
console.log(node);
offspringIds.value = [];
mapTree(node.children || [], (e) => {
offspringIds.value.push(e.id);
return e;
});
console.log('offspringIds');
console.log(offspringIds);
focusNodeKey.value = '';
};