|
|
@ -68,6 +68,7 @@ Page({ |
|
|
|
}).then((res) => { |
|
|
|
}).then((res) => { |
|
|
|
this.setData({ |
|
|
|
this.setData({ |
|
|
|
inviteName: res.Name, |
|
|
|
inviteName: res.Name, |
|
|
|
|
|
|
|
InviteDoctorId: dId, |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -126,8 +127,22 @@ Page({ |
|
|
|
TitleType: value, |
|
|
|
TitleType: value, |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
handleSubmitConform() { |
|
|
|
|
|
|
|
wx.showModal({ |
|
|
|
|
|
|
|
content: "您没有邀约医生,可能会影响您的审核", |
|
|
|
|
|
|
|
confirmColor: "#00B4C5", |
|
|
|
|
|
|
|
cancelColor: "#141515", |
|
|
|
|
|
|
|
confirmText: "继续提交", |
|
|
|
|
|
|
|
cancelText: "取消", |
|
|
|
|
|
|
|
success: (res) => { |
|
|
|
|
|
|
|
if (res.confirm) { |
|
|
|
|
|
|
|
this.handleSubmit(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}, |
|
|
|
handleSubmit() { |
|
|
|
handleSubmit() { |
|
|
|
let { |
|
|
|
const { |
|
|
|
AuditId, |
|
|
|
AuditId, |
|
|
|
Name, |
|
|
|
Name, |
|
|
|
HospitalId, |
|
|
|
HospitalId, |
|
|
@ -139,10 +154,6 @@ Page({ |
|
|
|
RegisterImg, |
|
|
|
RegisterImg, |
|
|
|
PositionImg, |
|
|
|
PositionImg, |
|
|
|
} = this.data; |
|
|
|
} = this.data; |
|
|
|
const scene = app.globalData.scene; |
|
|
|
|
|
|
|
if (scene?.doctorId) { |
|
|
|
|
|
|
|
InviteDoctorId = scene.doctorId; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!Name) { |
|
|
|
if (!Name) { |
|
|
|
wx.showToast({ |
|
|
|
wx.showToast({ |
|
|
@ -291,7 +302,7 @@ Page({ |
|
|
|
title: "确认退出登录?", |
|
|
|
title: "确认退出登录?", |
|
|
|
success(res) { |
|
|
|
success(res) { |
|
|
|
if (res.confirm) { |
|
|
|
if (res.confirm) { |
|
|
|
app.globalData.isLogin = 0 |
|
|
|
app.globalData.isLogin = 0; |
|
|
|
wx.ajax({ |
|
|
|
wx.ajax({ |
|
|
|
method: "POST", |
|
|
|
method: "POST", |
|
|
|
url: "?r=takeda/account/reg-logout", |
|
|
|
url: "?r=takeda/account/reg-logout", |
|
|
|