|
@@ -429,7 +429,9 @@ function contentMethod() {
|
|
' </div>' +
|
|
' </div>' +
|
|
' </div>';
|
|
' </div>';
|
|
$("#smartAssistPopoverContent").html(html);
|
|
$("#smartAssistPopoverContent").html(html);
|
|
- fitPatientHisData();
|
|
|
|
|
|
+ if( $("#"+popoverId).hasClass("in")){
|
|
|
|
+ fitPatientHisData();
|
|
|
|
+ }
|
|
}, 100);
|
|
}, 100);
|
|
|
|
|
|
// setTimeout(function () {
|
|
// setTimeout(function () {
|
|
@@ -1676,7 +1678,9 @@ function initRecommendList() {
|
|
$("#webuiPopover1 div.webui-popover-content").append(html);
|
|
$("#webuiPopover1 div.webui-popover-content").append(html);
|
|
$('#paramsType').selectpicker('refresh');
|
|
$('#paramsType').selectpicker('refresh');
|
|
$("#paramsType").parent().css("width", "140px").css("height", "34px");
|
|
$("#paramsType").parent().css("width", "140px").css("height", "34px");
|
|
- loadSymptom();
|
|
|
|
|
|
+ if( $("#webuiPopover1").hasClass("in")){
|
|
|
|
+ loadSymptom();
|
|
|
|
+ }
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
|
|
@@ -1691,7 +1695,9 @@ function initRecommendList() {
|
|
html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='healthCheckupContentHtml'>";
|
|
html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='healthCheckupContentHtml'>";
|
|
html += "</div>";
|
|
html += "</div>";
|
|
$("#webuiPopover2 div.webui-popover-content").append(html);
|
|
$("#webuiPopover2 div.webui-popover-content").append(html);
|
|
- loadHealthCheckup();
|
|
|
|
|
|
+ if( $("#webuiPopover2").hasClass("in")){
|
|
|
|
+ loadHealthCheckup();
|
|
|
|
+ }
|
|
}
|
|
}
|
|
//loadSymptom();
|
|
//loadSymptom();
|
|
} else {
|
|
} else {
|
|
@@ -1703,7 +1709,9 @@ function initRecommendList() {
|
|
html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='healthCheckupContentHtml'>";
|
|
html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='healthCheckupContentHtml'>";
|
|
html += "</div>";
|
|
html += "</div>";
|
|
$("#webuiPopover2 div.webui-popover-content").append(html);
|
|
$("#webuiPopover2 div.webui-popover-content").append(html);
|
|
- loadHealthCheckup();
|
|
|
|
|
|
+ if( $("#webuiPopover2").hasClass("in")){
|
|
|
|
+ loadHealthCheckup();
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return false;
|
|
return false;
|
|
@@ -1724,7 +1732,7 @@ function initRecommendList() {
|
|
html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='diagnoseContentHtml'>";
|
|
html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='diagnoseContentHtml'>";
|
|
html += "</div>";
|
|
html += "</div>";
|
|
$("#webuiPopover3 div.webui-popover-content").append(html);
|
|
$("#webuiPopover3 div.webui-popover-content").append(html);
|
|
- $("#paramsDiagnose").on('input propertychange', loadDiagnose($("#paramsDiagnose").val()));
|
|
|
|
|
|
+ //$("#paramsDiagnose").on('input propertychange', loadDiagnose($("#paramsDiagnose").val()));
|
|
loadDiagnose("");
|
|
loadDiagnose("");
|
|
}
|
|
}
|
|
});
|
|
});
|
|
@@ -1924,6 +1932,9 @@ function loadHealthCheckup() {
|
|
* @param value
|
|
* @param value
|
|
*/
|
|
*/
|
|
function loadDiagnose(value) {
|
|
function loadDiagnose(value) {
|
|
|
|
+ if(!$("#webuiPopover3").hasClass("in")){
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
$.ajax({
|
|
$.ajax({
|
|
type: "GET",
|
|
type: "GET",
|
|
url: '/thmz/getTCommonParamsByParamsType?paramsType=4&commonParams=' + value,
|
|
url: '/thmz/getTCommonParamsByParamsType?paramsType=4&commonParams=' + value,
|