9.12 feature 问诊订单,药品订单,取消订单

This commit is contained in:
zoujiandong
2023-09-12 15:34:00 +08:00
parent c53cd6763f
commit d3aa9d7f45
14 changed files with 890 additions and 241 deletions
+27
View File
@@ -0,0 +1,27 @@
export const formatDoctorTitle=(val)=>{
//医生职称(1:主任医师 2:主任中医师 3:副主任医师 4:副主任中医师 5:主治医师 6:住院医师)
let data={1:'主任医师', 2:'主任中医师', 3:'副主任医师', 4:'副主任中医师', 5:'主治医师',6:'住院医师'}
if(val){
return data[val]
}else{
return ''
}
}
export const formatPrescriptionStatus=(val)=>{
//处方状态(1:待审核 2:待使用 3:已失效 4:已使用)
let data={1:'待审核', 2:'待使用', 3:'已失效', 4:'已使用'}
if(val){
return data[val]
}else{
return ''
}
}
export const formatPharmacistStatus=(val)=>{
//pharmacist_audit_status药师审核状态(0:审核中 1:审核成功 2:审核驳回)
let data={1:'审核中', 2:'审核成功', 3:'审核驳回'}
if(val || val==0){
return data[val]
}else{
return ''
}
}