feat(web-admin): show related family and protocols on customer detail

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-10-07 22:36:35 +08:00
1 parent af5c6e725d
commit 818b809614
4 files changed
+296 -8

No files matched your search

+31
View File
@@ -510,6 +510,37 @@ declare namespace Api {
createTime: string
updateTime: string
}
type PartyRole = 'mother' | 'father' | 'newborn'
type RelationBizType = 'cell_storage' | 'research_donation'
interface RelationMember {
role: PartyRole
customerId: string
name: string
phone: string
idCardNo: string
}
interface RelationGroup {
bizType: RelationBizType
protocolId: string
protocolNo: string
protocolStatus: string
registerDate: string
myRole: PartyRole
members: RelationMember[]
}
interface ProtocolSummary {
bizType: RelationBizType
protocolId: string
protocolNo: string
protocolStatus: string
registerDate: string
myRole: PartyRole
}
interface CustomerRelations {
customer: CustomerItem
relatedGroups: RelationGroup[]
protocols: ProtocolSummary[]
}
}
namespace BizCellSampleType {