ecg申请诊断判断
This commit is contained in:
parent
41007a5040
commit
c77ae94875
@ -103,5 +103,8 @@ export const EcganalysisparasApi = {
|
||||
},
|
||||
getDoctorBydoctorID: async (doctorID: any) => {
|
||||
return await request.get({ url: `/doctor/getBydoctorID?doctorID=` + doctorID })
|
||||
},
|
||||
getOrg: async (orgID: any) => {
|
||||
return await request.get({ url: `/org/org/getone?orgID=` + orgID })
|
||||
}
|
||||
}
|
||||
|
@ -1012,6 +1012,12 @@ function touchCopy() {
|
||||
/** 申请后更新上级机构字段*/
|
||||
const getuporghiorgid = async (id: number, orgId: string) => {
|
||||
try {
|
||||
let orgInfo: any = null
|
||||
if (Profilevo.value.orgId) orgInfo = await EcganalysisparasApi.getOrg(Profilevo.value.orgId)
|
||||
if (!orgInfo || !orgInfo.highLevelOrgID) {
|
||||
message.alertWarning('请先设置当前用户的上级机构')
|
||||
return
|
||||
}
|
||||
if (applyFormVO.value.highLevelOrgId) {
|
||||
message.alertWarning('已提交申请')
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user