|
|
|
@ -12,6 +12,7 @@ Page({
@@ -12,6 +12,7 @@ Page({
|
|
|
|
|
area: [], |
|
|
|
|
|
|
|
|
|
id: "", |
|
|
|
|
rid: "", |
|
|
|
|
|
|
|
|
|
DoctorTitleType: {}, |
|
|
|
|
hospitalClassification: {}, |
|
|
|
@ -57,6 +58,7 @@ Page({
@@ -57,6 +58,7 @@ Page({
|
|
|
|
|
this.setData({ |
|
|
|
|
params: data.params, |
|
|
|
|
caseId: data.caseId, |
|
|
|
|
rid: data.rid, |
|
|
|
|
detailInvite: data.detailInvite, |
|
|
|
|
feedBackInvite: data.feedBackInvite, |
|
|
|
|
}); |
|
|
|
@ -244,7 +246,7 @@ Page({
@@ -244,7 +246,7 @@ Page({
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
handleSubmit() { |
|
|
|
|
const { feedBackInvite, caseId, DoctorId, params, detailInvite } = this.data; |
|
|
|
|
const { feedBackInvite, caseId, DoctorId, params, detailInvite, rid } = this.data; |
|
|
|
|
if (!DoctorId) { |
|
|
|
|
wx.showToast({ |
|
|
|
|
title: "请选择医生", |
|
|
|
@ -263,7 +265,7 @@ Page({
@@ -263,7 +265,7 @@ Page({
|
|
|
|
|
}, |
|
|
|
|
}).then((res) => { |
|
|
|
|
wx.reLaunch({ |
|
|
|
|
url: `/module1/pages/entryCasesResult/index?isf=${res.isSubscribe}&wxi=${encodeURIComponent(res.wxImg)}&cid=${res.caseId || caseId}`, |
|
|
|
|
url: `/module1/pages/entryCasesResult/index?isf=${res.isSubscribe}&wxi=${encodeURIComponent(res.wxImg)}&cid=${res.caseId || caseId}&rid=${rid}`, |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
return; |
|
|
|
@ -273,7 +275,7 @@ Page({
@@ -273,7 +275,7 @@ Page({
|
|
|
|
|
wx.ajax({ method: "POST", url: "?r=takeda/case/invite-doctor", data: { caseId, dealDoctorId: DoctorId } }).then( |
|
|
|
|
(res) => { |
|
|
|
|
wx.reLaunch({ |
|
|
|
|
url: `/module1/pages/entryCasesResult/index?isf=${res.isSubscribe}&wxi=${encodeURIComponent(res.wxImg)}&cid=${res.caseId || caseId}`, |
|
|
|
|
url: `/module1/pages/entryCasesResult/index?isf=${res.isSubscribe}&wxi=${encodeURIComponent(res.wxImg)}&cid=${res.caseId || caseId}&rid=${rid}`, |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
); |
|
|
|
@ -291,7 +293,7 @@ Page({
@@ -291,7 +293,7 @@ Page({
|
|
|
|
|
}, |
|
|
|
|
}).then((res) => { |
|
|
|
|
wx.reLaunch({ |
|
|
|
|
url: `/module1/pages/entryCasesResult/index?isf=${res.isSubscribe}&wxi=${encodeURIComponent(res.wxImg)}&cid=${res.caseId || caseId}`, |
|
|
|
|
url: `/module1/pages/entryCasesResult/index?isf=${res.isSubscribe}&wxi=${encodeURIComponent(res.wxImg)}&cid=${res.caseId || caseId}&rid=${rid}`, |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|