Update index.js
This commit is contained in:
parent
f02600e33f
commit
c5b3b867e5
@ -504,12 +504,14 @@ async function addCorpAccount(ctx) {
|
|||||||
} else if (account && account.relatedHlwPeople && account.relatedHlwPeople === relatedHlwPeople) {
|
} else if (account && account.relatedHlwPeople && account.relatedHlwPeople === relatedHlwPeople) {
|
||||||
return { success: false, message: "该人员已关联其他账号" };
|
return { success: false, message: "该人员已关联其他账号" };
|
||||||
}
|
}
|
||||||
|
const corpId = data.corpId;
|
||||||
if (
|
if (
|
||||||
typeof relatedHlwPeople === "string" &&
|
typeof relatedHlwPeople === "string" &&
|
||||||
relatedHlwPeople.trim() !== ""
|
relatedHlwPeople.trim() !== ""
|
||||||
) {
|
) {
|
||||||
const { success, message, data } = await api.getInternetHospitalApi({
|
const { success, message, data } = await api.getInternetHospitalApi({
|
||||||
type: "getHlwPersonList",
|
type: "getHlwPersonList",
|
||||||
|
corpId,
|
||||||
page: 1,
|
page: 1,
|
||||||
pageSize: 1,
|
pageSize: 1,
|
||||||
doctorNo: relatedHlwPeople,
|
doctorNo: relatedHlwPeople,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user