更新
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
/** 展示当前挂号的问诊方式;旧记录的空值默认视频。 */
|
||||
export function appointmentTypeDescription(value?: string | null): string {
|
||||
if (value == null || value.trim() === '') return '视频问诊'
|
||||
if (value === 'text') return '图文问诊'
|
||||
if (value === 'video') return '视频问诊'
|
||||
if (value === 'phone') return '电话问诊'
|
||||
return '未知'
|
||||
}
|
||||
Reference in New Issue
Block a user