|
@ -1,7 +1,7 @@
|
|
|
|
|
|
var httpData=GetRequest(),
|
|
|
doctorInfo = JSON.parse(window.localStorage.getItem('wlyyAgent'));
|
|
|
|
|
|
var applyDate=httpData.applyDate?decodeURI(httpData.applyDate):""
|
|
|
var refuseReason = null;
|
|
|
|
|
|
function showSuccessMessage(msg) {
|
|
@ -44,7 +44,7 @@ top.handleVue=new Vue({
|
|
|
el: "#app",
|
|
|
data: {
|
|
|
renewFlag: httpData.renewFlag, // 2 改签
|
|
|
applyDate: decodeURI(httpData.applyDate) || "",
|
|
|
applyDate: applyDate,
|
|
|
justDoc: null,
|
|
|
justHDoc: null,
|
|
|
doctorType: doctorInfo.doctorType,
|
|
@ -225,16 +225,20 @@ top.handleVue=new Vue({
|
|
|
signAPI.signing(params).then(function(res) {
|
|
|
layer.close(loadding)
|
|
|
if(res.status == 200) {
|
|
|
vm.patientInfo = res.data
|
|
|
var patientInfo=JSON.parse(JSON.stringify(vm.patientInfo))
|
|
|
vm.patientInfo={}
|
|
|
vm.patientInfo = _.assign(patientInfo, res.data)
|
|
|
vm.signInfo.patientIDcard = res.data.idCard
|
|
|
if(vm.doctorType == 2) {
|
|
|
vm.signInfo.doctorName = res.data.jtSign.doctorName
|
|
|
vm.signInfo.doctor = res.data.jtSign.doctor
|
|
|
}
|
|
|
if(vm.doctorType == 3) {
|
|
|
vm.signInfo.healthDoctorName = res.data.jtSign.doctorHealthName
|
|
|
vm.signInfo.healthDoctor = res.data.jtSign.doctorHealth
|
|
|
}
|
|
|
if(res.data.jtSign){
|
|
|
if(vm.doctorType == 2) {
|
|
|
vm.signInfo.doctorName = res.data.jtSign.doctorName
|
|
|
vm.signInfo.doctor = res.data.jtSign.doctor
|
|
|
}
|
|
|
if(vm.doctorType == 3) {
|
|
|
vm.signInfo.healthDoctorName = res.data.jtSign.doctorHealthName
|
|
|
vm.signInfo.healthDoctor = res.data.jtSign.doctorHealth
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
showErrorMessage(res.msg);
|
|
|
}
|