|
|
@@ -11186,7 +11186,13 @@ function printPrescription(patientId, times, clnicId, payMark, printType) {
|
|
|
});
|
|
|
$("#visitDateZyReq").text(format(mzZyReq.visitDate, "yyyy-MM-dd HH:mm:ss"));
|
|
|
$("#deptCodeZyReq").text(mzZyReq.deptName);
|
|
|
- $("#doctorCodeZyReq").text(mzZyReq.doctorName);
|
|
|
+ getAjaxRequst("/thmz/getDoctorSignatureImage",{doctorCode:mzZyReq.doctorCode},false,function (signRes) {
|
|
|
+ if(signRes.code == 0){
|
|
|
+ $("#doctorCodeZyReq").html("<img src='" + signRes.data + "' style='width:100px;height:23px;'/>")
|
|
|
+ }else {
|
|
|
+ $("#doctorCodeZyReq").text(mzZyReq.doctorName);
|
|
|
+ }
|
|
|
+ })
|
|
|
if (index > 0) {
|
|
|
LODOP.NewPageA();
|
|
|
}
|
|
|
@@ -11791,7 +11797,13 @@ function printZyReq(patientId, printType) {
|
|
|
});
|
|
|
$("#visitDateZyReq").text(format(mzZyReq.visitDate, "yyyy-MM-dd HH:mm:ss"));
|
|
|
$("#deptCodeZyReq").text(mzZyReq.deptName);
|
|
|
- $("#doctorCodeZyReq").text(mzZyReq.doctorName);
|
|
|
+ getAjaxRequst("/thmz/getDoctorSignatureImage",{doctorCode:mzZyReq.doctorCode},false,function (signRes) {
|
|
|
+ if(signRes.code == 0){
|
|
|
+ $("#doctorCodeZyReq").html("<img src='" + signRes.data + "' style='width:100px;height:23px;'/>")
|
|
|
+ }else {
|
|
|
+ $("#doctorCodeZyReq").text(mzZyReq.doctorName);
|
|
|
+ }
|
|
|
+ })
|
|
|
LODOP.ADD_PRINT_HTM("0mm", "5mm", "140mm", "200mm", strStyle + document.getElementById("mz_zy_req_table").innerHTML);
|
|
|
if (printType == 1) {
|
|
|
LODOP.PREVIEW();
|