|
|
@@ -94,6 +94,10 @@ $(function () {
|
|
|
// });
|
|
|
// $("#editWindowsModal").modal();
|
|
|
// });
|
|
|
+ postCMD("login",localStorage.getItem("userID"),'000000','收费项目',0,0,0, '','祝您早日康复',0,0,0);
|
|
|
+ // setTimeout(function () {
|
|
|
+ // postCMD("login",localStorage.getItem("userID"),'000000','收费项目',0,0,0, '','祝您早日康复',0,0,0);
|
|
|
+ // }, 3000);
|
|
|
});
|
|
|
|
|
|
/**
|
|
|
@@ -809,8 +813,32 @@ function confirmFeeModal(times, totalCharge, receiptNo) {
|
|
|
$("#payType").selectpicker('refresh');
|
|
|
$("#changeAmount").val(0.0);
|
|
|
$("#surplusAmount").val(0.0);
|
|
|
+ sendPeiceMessage(data);
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+ * 推送价格信息
|
|
|
+ */
|
|
|
+function sendPeiceMessage(data) {
|
|
|
+ $.ajax({
|
|
|
+ type: "GET",
|
|
|
+ url: '/thmz/getByPatientId?patientId=' + $("#patientIdHaveTally").val(),
|
|
|
+ contentType: "application/json;charset=UTF-8",
|
|
|
+ dataType: "json",
|
|
|
+ headers: {'Accept': 'application/json', 'Authorization': 'Bearer ' + localStorage.getItem("token")},
|
|
|
+ success: function (res) {
|
|
|
+ if (res == '401' || res == 401) {
|
|
|
+ window.location.href = '/thmz/login/view'
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (res.code == 0) {
|
|
|
+ if (res.data != null) {
|
|
|
+ postCMD("price",localStorage.getItem("userID"),'000000','收费项目',data.toFixed(2),parseFloat(0).toFixed(2),parseFloat(0).toFixed(2), $("#nameHaveTally").val(),'祝您早日康复',data.toFixed(2),parseFloat(0).toFixed(2),res.data.phoneNo);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+}
|
|
|
|
|
|
/**
|
|
|
* 打开收费明细窗口
|
|
|
@@ -825,6 +853,7 @@ function chargeDetailModal(patientId, times, receiptNo) {
|
|
|
}
|
|
|
|
|
|
|
|
|
+
|
|
|
/**
|
|
|
* 病人当前就诊次数的诊断查询
|
|
|
* @param data
|
|
|
@@ -1234,6 +1263,7 @@ function saveConfirmFee() {
|
|
|
initFeeTable();
|
|
|
//默认光标在卡号输入框
|
|
|
$("#cardNo").focus();
|
|
|
+ postCMD("appraise",localStorage.getItem("userID"),'000000','收费项目',0,0,0, '','祝您早日康复',0,0,0);
|
|
|
} else {
|
|
|
new PNotify({
|
|
|
title: '错误提示',
|
|
|
@@ -2142,4 +2172,5 @@ function cleanParams() {
|
|
|
$("#cardNo").focus();
|
|
|
$("#serialNo").val(null);
|
|
|
$("#ownData").removeAttr("checked");
|
|
|
-}
|
|
|
+}
|
|
|
+
|