feat(web-admin): show related family and protocols on customer detail
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
af5c6e725d
commit
818b809614
4 files changed
+296
-8
No files matched your search
Vendored
+31
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user