|
@@ -429,9 +429,7 @@ function contentMethod() {
|
|
|
' </div>' +
|
|
|
' </div>';
|
|
|
$("#smartAssistPopoverContent").html(html);
|
|
|
- if( $("#"+popoverId).hasClass("in")){
|
|
|
- fitPatientHisData();
|
|
|
- }
|
|
|
+ fitPatientHisData();
|
|
|
}, 100);
|
|
|
|
|
|
// setTimeout(function () {
|
|
@@ -444,6 +442,10 @@ function contentMethod() {
|
|
|
* 设置患者的就诊轨迹
|
|
|
*/
|
|
|
function fitPatientHisData() {
|
|
|
+ var popoverId = $("#box-arrow-left").attr("aria-describedby");
|
|
|
+ if(!$("#"+popoverId).hasClass("in")){
|
|
|
+ return;
|
|
|
+ }
|
|
|
var emptyHtml='<img src="/thmz/images/locus.png" style="height: 120px;position: absolute;top: 50%;transform: translateY(-50%);margin-left: -30px;">';
|
|
|
if($("#patientId").val()==null || $("#patientId").val()==""){
|
|
|
$("#patientHisDataForm").html(emptyHtml);
|
|
@@ -900,6 +902,7 @@ function realClinicalReception(patientId) {
|
|
|
$("#first").parent().removeClass("checked");
|
|
|
}
|
|
|
$("#patientHisData").text(res.data.name);
|
|
|
+ fitPatientHisData();
|
|
|
}
|
|
|
} else {
|
|
|
errorMesage(res);
|