feat: 新增教学模式
This commit is contained in:
+16
-7
@@ -1,3 +1,5 @@
|
||||
export type CaseMode = 'training' | 'teaching'
|
||||
|
||||
export type ClinicalCase = {
|
||||
id: string
|
||||
title: string
|
||||
@@ -8,6 +10,7 @@ export type ClinicalCase = {
|
||||
scene: string
|
||||
caseNo: string
|
||||
tone: 'blue' | 'teal' | 'pink' | 'orange' | 'purple' | 'green'
|
||||
mode: CaseMode
|
||||
}
|
||||
|
||||
export function fetchCaseList(): Promise<ClinicalCase[]> {
|
||||
@@ -21,7 +24,8 @@ export function fetchCaseList(): Promise<ClinicalCase[]> {
|
||||
department: '风湿免疫科',
|
||||
scene: '门诊部',
|
||||
caseNo: '31190016',
|
||||
tone: 'blue'
|
||||
tone: 'blue',
|
||||
mode: 'training'
|
||||
},
|
||||
{
|
||||
id: 'case-31180002',
|
||||
@@ -32,7 +36,8 @@ export function fetchCaseList(): Promise<ClinicalCase[]> {
|
||||
department: '风湿免疫科',
|
||||
scene: '住院部',
|
||||
caseNo: '31180002',
|
||||
tone: 'teal'
|
||||
tone: 'teal',
|
||||
mode: 'training'
|
||||
},
|
||||
{
|
||||
id: 'case-2238015',
|
||||
@@ -43,18 +48,20 @@ export function fetchCaseList(): Promise<ClinicalCase[]> {
|
||||
department: '妇科',
|
||||
scene: '住院部',
|
||||
caseNo: '2238015',
|
||||
tone: 'pink'
|
||||
tone: 'pink',
|
||||
mode: 'training'
|
||||
},
|
||||
{
|
||||
id: 'case-1006004',
|
||||
title: '持续胸痛3小时',
|
||||
patientName: '毕波涛',
|
||||
patientName: '陈先生',
|
||||
gender: '男',
|
||||
age: 60,
|
||||
department: '心血管内科',
|
||||
scene: '住院部',
|
||||
caseNo: '1006004',
|
||||
tone: 'orange'
|
||||
tone: 'orange',
|
||||
mode: 'teaching'
|
||||
},
|
||||
{
|
||||
id: 'case-31190042',
|
||||
@@ -65,7 +72,8 @@ export function fetchCaseList(): Promise<ClinicalCase[]> {
|
||||
department: '呼吸内科',
|
||||
scene: '普通门诊',
|
||||
caseNo: '31190042',
|
||||
tone: 'purple'
|
||||
tone: 'purple',
|
||||
mode: 'training'
|
||||
},
|
||||
{
|
||||
id: 'case-2238019',
|
||||
@@ -76,7 +84,8 @@ export function fetchCaseList(): Promise<ClinicalCase[]> {
|
||||
department: '泌尿外科',
|
||||
scene: '急诊留观',
|
||||
caseNo: '2238019',
|
||||
tone: 'green'
|
||||
tone: 'green',
|
||||
mode: 'training'
|
||||
}
|
||||
])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user