|
@@ -1281,6 +1281,7 @@ function clinicalReception(patientId, serialNo) {
|
|
|
realClinicalReception(patientId, serialNo);
|
|
|
});
|
|
|
});
|
|
|
+ $("#cancelButton").off("click");
|
|
|
} else {
|
|
|
realClinicalReception(patientId, serialNo);
|
|
|
}
|
|
@@ -1321,6 +1322,7 @@ function cancelClinic(patientId, times) {
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
+ $("#cancelButton").off("click");
|
|
|
};
|
|
|
|
|
|
|
|
@@ -1986,6 +1988,7 @@ function fitAppeal(appeal, paramsType, id) {
|
|
|
}
|
|
|
extracted(paramsType, appeal, inputId);
|
|
|
});
|
|
|
+ $("#cancelButton").off("click");
|
|
|
} else {
|
|
|
extracted(paramsType, appeal, inputId);
|
|
|
}
|
|
@@ -2973,6 +2976,7 @@ function saveJyJcItem(calculateTotalAmountFlag) {
|
|
|
$("#messageModal").modal("hide");
|
|
|
saveJyJcItemReal(true);
|
|
|
});
|
|
|
+ $("#cancelButton").off("click");
|
|
|
} else {
|
|
|
//虽然是不满6岁,但是也没有需要加收的项目,直接保存
|
|
|
saveJyJcItemReal(calculateTotalAmountFlag);
|
|
@@ -3159,6 +3163,7 @@ function saveZyReq(messageFlag) {
|
|
|
$("#messageModal").modal("hide");
|
|
|
saveZyReq(false);
|
|
|
});
|
|
|
+ $("#cancelButton").off("click");
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
@@ -4049,7 +4054,7 @@ function initRecommendList() {
|
|
|
|
|
|
//帮助字典弹窗
|
|
|
settings.width = 450;
|
|
|
- settings.height = 200;
|
|
|
+ settings.height = 500;
|
|
|
settings.placement = 'right';//值: auto,top,right,bottom,left,top-right,top-left,bottom-right,bottom-left 要显示的位置
|
|
|
settings.content = '<div id="treePopoverContent"><div><ul id="treeDemo" class="ztree"></ul></div></div>';
|
|
|
settings.trigger = 'click';
|
|
@@ -4596,6 +4601,7 @@ function checkYpInfo(code, serial, groupNo, needNotice) {
|
|
|
// //选中药品后,光标默认到用法
|
|
|
// $("#supplyType").next().click();
|
|
|
});
|
|
|
+ $("#cancelButton").off("click");
|
|
|
} else {
|
|
|
refreshNavTabs(0, groupNo);
|
|
|
fitWesternMedicine(res, groupNo);
|
|
@@ -4638,6 +4644,7 @@ function checkYpInfo(code, serial, groupNo, needNotice) {
|
|
|
// //选中药品后,光标默认到用法
|
|
|
// $("#supplyType").next().click();
|
|
|
});
|
|
|
+ $("#cancelButton").off("click");
|
|
|
} else {
|
|
|
refreshNavTabs(0, groupNo);
|
|
|
fitWesternMedicine(res, groupNo);
|
|
@@ -5876,6 +5883,11 @@ function initzTree() {
|
|
|
}
|
|
|
};
|
|
|
$.fn.zTree.init($("#treeDemo"), setting, res.data);
|
|
|
+ var webuiId=$("#treeButton").attr("data-target");
|
|
|
+ var top=$("#"+webuiId).css("top");
|
|
|
+ if(top.indexOf("-")==0){
|
|
|
+ $("#"+webuiId).css("top",'0px');
|
|
|
+ }
|
|
|
} else {
|
|
|
errorMesage(res);
|
|
|
}
|
|
@@ -5903,6 +5915,11 @@ function initzTree() {
|
|
|
}
|
|
|
};
|
|
|
$.fn.zTree.init($("#treeDemo"), setting, res.data);
|
|
|
+ var webuiId=$("#treeButton").attr("data-target");
|
|
|
+ var top=$("#"+webuiId).css("top");
|
|
|
+ if(top.indexOf("-")==0){
|
|
|
+ $("#"+webuiId).css("top",'0px');
|
|
|
+ }
|
|
|
} else {
|
|
|
errorMesage(res);
|
|
|
}
|
|
@@ -6149,6 +6166,7 @@ function savePrescription() {
|
|
|
$("#messageModal").modal("hide");
|
|
|
printPrescription(res.data.patientId, res.data.times, res.data.id, 5, 1);
|
|
|
});
|
|
|
+ $("#cancelButton").off("click");
|
|
|
} else {
|
|
|
$("#messageModal").modal("hide");
|
|
|
errorMesage(res);
|
|
@@ -6156,6 +6174,7 @@ function savePrescription() {
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
+ $("#cancelButton").off("click");
|
|
|
}
|
|
|
|
|
|
|
|
@@ -6224,6 +6243,7 @@ function saveapidAccepts() {
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
+ $("#cancelButton").off("click");
|
|
|
}
|
|
|
|
|
|
|
|
@@ -6259,6 +6279,7 @@ function removeTemplate() {
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
+ $("#cancelButton").off("click");
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -6397,6 +6418,7 @@ function getMzPrescriptionVoPaid(patientId, times, clnicId) {
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
+ $("#cancelButton").off("click");
|
|
|
}
|
|
|
|
|
|
|
|
@@ -6427,6 +6449,7 @@ function repeatAccepts(patientId, times, clnicId, deptCode) {
|
|
|
$("#messageModal").modal("hide");
|
|
|
repeatAcceptsConfirm(patientId, times, clnicId);
|
|
|
});
|
|
|
+ $("#cancelButton").off("click");
|
|
|
return;
|
|
|
}
|
|
|
repeatAcceptsConfirm(patientId, times, clnicId);
|
|
@@ -6811,18 +6834,18 @@ function prescriptionDetailCommon(patientId, times, clnicId, payMark, type) {
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
- $("#printBlRecord").removeClass("hide").addClass("in");
|
|
|
- $("#printBlRecord").off("click").on("click", function (t) {
|
|
|
- printBlRecord(patientId, times, 1);
|
|
|
- });
|
|
|
- $("#printBlRecordSetup").removeClass("hide").addClass("in");
|
|
|
- $("#printBlRecordSetup").off("click").on("click", function (t) {
|
|
|
- printBlRecord(patientId, times, 2);
|
|
|
- });
|
|
|
- $("#showMzBlRecordModal").removeClass("hide").addClass("in");
|
|
|
- $("#showMzBlRecordModal").off("click").on("click", function (t) {
|
|
|
- showMzBlRecordModal(patientId, times, 1);
|
|
|
- });
|
|
|
+ // $("#printBlRecord").removeClass("hide").addClass("in");
|
|
|
+ // $("#printBlRecord").off("click").on("click", function (t) {
|
|
|
+ // printBlRecord(patientId, times, 1);
|
|
|
+ // });
|
|
|
+ // $("#printBlRecordSetup").removeClass("hide").addClass("in");
|
|
|
+ // $("#printBlRecordSetup").off("click").on("click", function (t) {
|
|
|
+ // printBlRecord(patientId, times, 2);
|
|
|
+ // });
|
|
|
+ // $("#showMzBlRecordModal").removeClass("hide").addClass("in");
|
|
|
+ // $("#showMzBlRecordModal").off("click").on("click", function (t) {
|
|
|
+ // showMzBlRecordModal(patientId, times, 1);
|
|
|
+ // });
|
|
|
if (jsonData.mzZyReq == null || jsonData.mzZyReq.reqDept == null || jsonData.mzZyReq.reqDept == "") {
|
|
|
$("#printZyReq").removeClass("in").addClass("hide");
|
|
|
$("#printZyReq").off("click");
|
|
@@ -6867,6 +6890,18 @@ function prescriptionDetailCommon(patientId, times, clnicId, payMark, type) {
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
+ $("#printBlRecord").removeClass("hide").addClass("in");
|
|
|
+ $("#printBlRecord").off("click").on("click", function (t) {
|
|
|
+ printBlRecord(patientId, times, 1);
|
|
|
+ });
|
|
|
+ $("#printBlRecordSetup").removeClass("hide").addClass("in");
|
|
|
+ $("#printBlRecordSetup").off("click").on("click", function (t) {
|
|
|
+ printBlRecord(patientId, times, 2);
|
|
|
+ });
|
|
|
+ $("#showMzBlRecordModal").removeClass("hide").addClass("in");
|
|
|
+ $("#showMzBlRecordModal").off("click").on("click", function (t) {
|
|
|
+ showMzBlRecordModal(patientId, times, 1);
|
|
|
+ });
|
|
|
if ($("#setupId").hasClass("fa-chevron-up")) {
|
|
|
//默认不展开打印设置
|
|
|
$("#setupId").parent().click();
|