24 lines
650 B
TypeScript
24 lines
650 B
TypeScript
|
|
export type MatchingProfile = {
|
||
|
|
message: string
|
||
|
|
subtitle: string
|
||
|
|
progressTarget: number
|
||
|
|
tags: Array<{
|
||
|
|
label: string
|
||
|
|
tone: 'secondary' | 'primary' | 'tertiary' | 'neutral'
|
||
|
|
}>
|
||
|
|
}
|
||
|
|
|
||
|
|
export function fetchMatchingProfile(): Promise<MatchingProfile> {
|
||
|
|
return Promise.resolve({
|
||
|
|
message: '王主任正在为您智能匹配病例',
|
||
|
|
subtitle: '正在通过大模型计算最适合您的临床案例库...',
|
||
|
|
progressTarget: 92,
|
||
|
|
tags: [
|
||
|
|
{ label: '薄弱环节', tone: 'secondary' },
|
||
|
|
{ label: '主治医级别', tone: 'primary' },
|
||
|
|
{ label: '高匹配度', tone: 'tertiary' },
|
||
|
|
{ label: '基于历史偏好', tone: 'neutral' }
|
||
|
|
]
|
||
|
|
})
|
||
|
|
}
|