|
@ -134,34 +134,7 @@ $(function () {
|
|
|
alert('请选择医生')
|
|
|
return
|
|
|
}
|
|
|
var userInfo = this.patientInfo,
|
|
|
baseInfo = this.baseInfo,
|
|
|
dateInfo = this.dateInfo,
|
|
|
numberInfo = this.numberInfo;
|
|
|
var params = {
|
|
|
thirdPartyUserId: userInfo.id,
|
|
|
patientName: userInfo.realName,
|
|
|
tel: userInfo.telephone,
|
|
|
IP: returnCitySN.cip, //通过搜狐接口获得ip地址
|
|
|
cardNo: userInfo.idCardNo,
|
|
|
modeId: dateInfo.modeId,
|
|
|
hospitalId: this.YiYuan.hospitalId,
|
|
|
hospitalName: this.YiYuan.hosName,
|
|
|
hosDeptId: this.KeShi.hosDeptId,
|
|
|
hosDeptName: this.KeShi.deptName,
|
|
|
doctorSn: this.YiSheng.doctorSn,
|
|
|
doctorName: this.YiSheng.doctorName,
|
|
|
numberSn: numberInfo.numberSN,
|
|
|
numberPrice: dateInfo.specialPrice,
|
|
|
thirdPartyOrderId: "",
|
|
|
registerDate: dateInfo.registerDate,
|
|
|
timeId: dateInfo.timeId,
|
|
|
commendTime: numberInfo.commendTime,
|
|
|
serialNo: numberInfo.serialNo
|
|
|
}
|
|
|
appointmentAPI.createRegOrderForOpen(params).then(function(res){
|
|
|
|
|
|
});
|
|
|
window.location.href = "../../appointment/html/select-time.html?doctorSn="+Base64.encode(this.YiSheng.doctorSn);
|
|
|
}
|
|
|
}
|
|
|
})
|