|
@@ -1274,19 +1274,20 @@ function initRecommendList() {
|
|
|
}
|
|
|
});
|
|
|
|
|
|
-
|
|
|
+ settings.height=240;
|
|
|
//体格检查弹窗
|
|
|
$('#weight').webuiPopover('destroy').webuiPopover(settings);
|
|
|
//体格检查各输入框选中事件
|
|
|
- $("#weight,#temperature,#sphygmus,#breathe,#pressure_floor,#pressure_high").on("click", function (t) {
|
|
|
+ $("#weight,#temperature,#sphygmus,#breathe,#pressure_high,#pressure_floor").on("click", function (t) {
|
|
|
if ($("#webuiPopover2").css("display") == "block") {
|
|
|
$("#webuiPopover2").css("left",$("#webuiPopover1").css("left"));
|
|
|
if($("#healthCheckupContentHtml").html()==null || $("#healthCheckupContentHtml").html()!=""){
|
|
|
$("#webuiPopover2 div.arrow").css("left", "23px");
|
|
|
- var html = '<span style="font-size: 18px;margin-left: 20px!important;color: #2e69eb!important;line-height: 50px;">主诉</span>';
|
|
|
+ var html = '<span style="font-size: 18px;margin-left: 20px!important;color: #2e69eb!important;line-height: 50px;">体格检查</span>';
|
|
|
html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='healthCheckupContentHtml'>";
|
|
|
html += "</div>";
|
|
|
$("#webuiPopover2 div.webui-popover-content").append(html);
|
|
|
+ loadHealthCheckup ();
|
|
|
}
|
|
|
//loadSymptom();
|
|
|
}else {
|
|
@@ -1294,307 +1295,15 @@ function initRecommendList() {
|
|
|
$("#webuiPopover2").css("left",$("#webuiPopover1").css("left"));
|
|
|
if($("#healthCheckupContentHtml").html()==null || $("#healthCheckupContentHtml").html()!=""){
|
|
|
$("#webuiPopover2 div.arrow").css("left", "23px");
|
|
|
- var html = '<span style="font-size: 18px;margin-left: 20px!important;color: #2e69eb!important;line-height: 50px;">主诉</span>';
|
|
|
+ var html = '<span style="font-size: 18px;margin-left: 20px!important;color: #2e69eb!important;line-height: 50px;">体格检查</span>';
|
|
|
html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='healthCheckupContentHtml'>";
|
|
|
html += "</div>";
|
|
|
$("#webuiPopover2 div.webui-popover-content").append(html);
|
|
|
+ loadHealthCheckup ();
|
|
|
}
|
|
|
}
|
|
|
return false;
|
|
|
});
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- // //体格检查弹窗
|
|
|
- // var weightWebuiPopover = $('#weight').webuiPopover('destroy').webuiPopover(settings);
|
|
|
- // //体格检查各输入框选中事件
|
|
|
- // $("#weight").on("click", function (t) {
|
|
|
- // if ($(weightWebuiPopover).css("display") == "block") {
|
|
|
- // $("#webuiPopover2 div.arrow").css("left", "23px");
|
|
|
- // var html = '<span style="font-size: 18px;margin-left: 20px!important;color: #2e69eb!important;line-height: 50px;">主诉</span>';
|
|
|
- // html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='healthCheckupContentHtml'>";
|
|
|
- // html += "</div>";
|
|
|
- // $("#webuiPopover2 div.webui-popover-content").append(html);
|
|
|
- // //loadSymptom();
|
|
|
- // }
|
|
|
- // });
|
|
|
- //
|
|
|
- // //体格检查各输入框选中事件
|
|
|
- // $("#temperature").on("click", function (t) {
|
|
|
- // $("#webuiPopover2").css("display","block");
|
|
|
- // if ($("#webuiPopover2").css("display") == "block") {
|
|
|
- // $("#webuiPopover2 div.arrow").css("left", "23px");
|
|
|
- // var html = '<span style="font-size: 18px;margin-left: 20px!important;color: #2e69eb!important;line-height: 50px;">主诉</span>';
|
|
|
- // html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='healthCheckupContentHtml'>";
|
|
|
- // html += "</div>";
|
|
|
- // $("#webuiPopover2 div.webui-popover-content").append(html);
|
|
|
- // //loadSymptom();
|
|
|
- // }
|
|
|
- // });
|
|
|
- //
|
|
|
- // //体格检查各输入框选中事件
|
|
|
- // $("#sphygmus").on("click", function (t) {
|
|
|
- // if ($(weightWebuiPopover).css("display") == "block") {
|
|
|
- // $("#webuiPopover2 div.arrow").css("left", "23px");
|
|
|
- // var html = '<span style="font-size: 18px;margin-left: 20px!important;color: #2e69eb!important;line-height: 50px;">主诉</span>';
|
|
|
- // html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='healthCheckupContentHtml'>";
|
|
|
- // html += "</div>";
|
|
|
- // $("#webuiPopover2 div.webui-popover-content").append(html);
|
|
|
- // //loadSymptom();
|
|
|
- // }
|
|
|
- // });
|
|
|
- //
|
|
|
- // //体格检查各输入框选中事件
|
|
|
- // $("#breathe").on("click", function (t) {
|
|
|
- // if ($(weightWebuiPopover).css("display") == "block") {
|
|
|
- // $("#webuiPopover2 div.arrow").css("left", "23px");
|
|
|
- // var html = '<span style="font-size: 18px;margin-left: 20px!important;color: #2e69eb!important;line-height: 50px;">主诉</span>';
|
|
|
- // html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='healthCheckupContentHtml'>";
|
|
|
- // html += "</div>";
|
|
|
- // $("#webuiPopover2 div.webui-popover-content").append(html);
|
|
|
- // //loadSymptom();
|
|
|
- // }
|
|
|
- // });
|
|
|
- //
|
|
|
- //
|
|
|
- // //体格检查各输入框选中事件
|
|
|
- // $("#pressure_floor").on("click", function (t) {
|
|
|
- // if ($(weightWebuiPopover).css("display") == "block") {
|
|
|
- // $("#webuiPopover2 div.arrow").css("left", "23px");
|
|
|
- // var html = '<span style="font-size: 18px;margin-left: 20px!important;color: #2e69eb!important;line-height: 50px;">主诉</span>';
|
|
|
- // html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='healthCheckupContentHtml'>";
|
|
|
- // html += "</div>";
|
|
|
- // $("#webuiPopover2 div.webui-popover-content").append(html);
|
|
|
- // //loadSymptom();
|
|
|
- // }
|
|
|
- // });
|
|
|
- //
|
|
|
- // //体格检查各输入框选中事件
|
|
|
- // $("#pressure_high").on("click", function (t) {
|
|
|
- // if ($(weightWebuiPopover).css("display") == "block") {
|
|
|
- // $("#webuiPopover2 div.arrow").css("left", "23px");
|
|
|
- // var html = '<span style="font-size: 18px;margin-left: 20px!important;color: #2e69eb!important;line-height: 50px;">主诉</span>';
|
|
|
- // html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='healthCheckupContentHtml'>";
|
|
|
- // html += "</div>";
|
|
|
- // $("#webuiPopover2 div.webui-popover-content").append(html);
|
|
|
- // //loadSymptom();
|
|
|
- // }
|
|
|
- // });
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- // //体格检查弹窗
|
|
|
- // var weightWebuiPopover = $('#weight').webuiPopover('destroy').webuiPopover(settings);
|
|
|
- // //体格检查各输入框选中事件
|
|
|
- // $("#weight").on("click", function (t) {
|
|
|
- // // $("#webuiPopover3").css("display","none");
|
|
|
- // // $("#webuiPopover4").css("display","none");
|
|
|
- // // $("#webuiPopover5").css("display","none");
|
|
|
- // // $("#webuiPopover6").css("display","none");
|
|
|
- // // $("#webuiPopover7").css("display","none");
|
|
|
- // if($("#webuiPopover3").css("display") == "block"){
|
|
|
- // $("#temperature").click();
|
|
|
- // }
|
|
|
- // if($("#webuiPopover4").css("display") == "block"){
|
|
|
- // $("#sphygmus").click();
|
|
|
- // }
|
|
|
- // if($("#webuiPopover5").css("display") == "block"){
|
|
|
- // $("#breathe").click();
|
|
|
- // }
|
|
|
- // if($("#webuiPopover6").css("display") == "block"){
|
|
|
- // $("#pressure_floor").click();
|
|
|
- // }
|
|
|
- // if($("#webuiPopover7").css("display") == "block"){
|
|
|
- // $("#pressure_high").click();
|
|
|
- // }
|
|
|
- // if ($(weightWebuiPopover).css("display") == "block") {
|
|
|
- // $("#webuiPopover2 div.arrow").css("left", "23px");
|
|
|
- // var html = '<span style="font-size: 18px;margin-left: 20px!important;color: #2e69eb!important;line-height: 50px;">主诉</span>';
|
|
|
- // html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='healthCheckupContentHtml'>";
|
|
|
- // html += "</div>";
|
|
|
- // $("#webuiPopover2 div.webui-popover-content").append(html);
|
|
|
- // //loadSymptom();
|
|
|
- // }
|
|
|
- // });
|
|
|
- //
|
|
|
- // //体格检查弹窗
|
|
|
- // var temperatureWebuiPopover = $('#temperature').webuiPopover('destroy').webuiPopover(settings);
|
|
|
- // //体格检查各输入框选中事件
|
|
|
- // $("#temperature").on("click", function (t) {
|
|
|
- // // $("#webuiPopover2").css("display","none");
|
|
|
- // // $("#webuiPopover4").css("display","none");
|
|
|
- // // $("#webuiPopover5").css("display","none");
|
|
|
- // // $("#webuiPopover6").css("display","none");
|
|
|
- // // $("#webuiPopover7").css("display","none");
|
|
|
- // if($("#webuiPopover2").css("display") == "block"){
|
|
|
- // $("#webuiPopover2").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover4").css("display") == "block"){
|
|
|
- // $("#webuiPopover4").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover5").css("display") == "block"){
|
|
|
- // $("#webuiPopover5").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover6").css("display") == "block"){
|
|
|
- // $("#webuiPopover6").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover7").css("display") == "block"){
|
|
|
- // $("#webuiPopover7").css("display","none");
|
|
|
- // }
|
|
|
- // if ($(temperatureWebuiPopover).css("display") == "block") {
|
|
|
- // $("#webuiPopover3 div.arrow").css("left", "23px");
|
|
|
- // var html = '<span style="font-size: 18px;margin-left: 20px!important;color: #2e69eb!important;line-height: 50px;">主诉</span>';
|
|
|
- // html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='healthCheckupContentHtml'>";
|
|
|
- // html += "</div>";
|
|
|
- // $("#webuiPopover3 div.webui-popover-content").append(html);
|
|
|
- // //loadSymptom();
|
|
|
- // }
|
|
|
- // });
|
|
|
- //
|
|
|
- // //体格检查弹窗
|
|
|
- // var sphygmusWebuiPopover = $('#sphygmus').webuiPopover('destroy').webuiPopover(settings);
|
|
|
- // //体格检查各输入框选中事件
|
|
|
- // $("#sphygmus").on("click", function (t) {
|
|
|
- // // $("#webuiPopover2").css("display","none");
|
|
|
- // // $("#webuiPopover3").css("display","none");
|
|
|
- // // $("#webuiPopover5").css("display","none");
|
|
|
- // // $("#webuiPopover6").css("display","none");
|
|
|
- // // $("#webuiPopover7").css("display","none");
|
|
|
- //
|
|
|
- // if($("#webuiPopover2").css("display") == "block"){
|
|
|
- // $("#webuiPopover2").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover3").css("display") == "block"){
|
|
|
- // $("#webuiPopover3").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover5").css("display") == "block"){
|
|
|
- // $("#webuiPopover5").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover6").css("display") == "block"){
|
|
|
- // $("#webuiPopover6").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover7").css("display") == "block"){
|
|
|
- // $("#webuiPopover7").css("display","none");
|
|
|
- // }
|
|
|
- //
|
|
|
- // if ($(sphygmusWebuiPopover).css("display") == "block") {
|
|
|
- // $("#webuiPopover4 div.arrow").css("left", "23px");
|
|
|
- // var html = '<span style="font-size: 18px;margin-left: 20px!important;color: #2e69eb!important;line-height: 50px;">主诉</span>';
|
|
|
- // html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='healthCheckupContentHtml'>";
|
|
|
- // html += "</div>";
|
|
|
- // $("#webuiPopover4 div.webui-popover-content").append(html);
|
|
|
- // //loadSymptom();
|
|
|
- // }
|
|
|
- // });
|
|
|
- //
|
|
|
- // //体格检查弹窗
|
|
|
- // var breatheWebuiPopover = $('#breathe').webuiPopover('destroy').webuiPopover(settings);
|
|
|
- // //体格检查各输入框选中事件
|
|
|
- // $("#breathe").on("click", function (t) {
|
|
|
- // // $("#webuiPopover2").css("display","none");
|
|
|
- // // $("#webuiPopover3").css("display","none");
|
|
|
- // // $("#webuiPopover4").css("display","none");
|
|
|
- // // $("#webuiPopover6").css("display","none");
|
|
|
- // // $("#webuiPopover7").css("display","none");
|
|
|
- //
|
|
|
- // if($("#webuiPopover2").css("display") == "block"){
|
|
|
- // $("#webuiPopover2").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover3").css("display") == "block"){
|
|
|
- // $("#webuiPopover3").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover4").css("display") == "block"){
|
|
|
- // $("#webuiPopover4").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover6").css("display") == "block"){
|
|
|
- // $("#webuiPopover6").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover7").css("display") == "block"){
|
|
|
- // $("#webuiPopover7").css("display","none");
|
|
|
- // }
|
|
|
- // if ($(breatheWebuiPopover).css("display") == "block") {
|
|
|
- // $("#webuiPopover5 div.arrow").css("left", "23px");
|
|
|
- // var html = '<span style="font-size: 18px;margin-left: 20px!important;color: #2e69eb!important;line-height: 50px;">主诉</span>';
|
|
|
- // html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='healthCheckupContentHtml'>";
|
|
|
- // html += "</div>";
|
|
|
- // $("#webuiPopover5 div.webui-popover-content").append(html);
|
|
|
- // //loadSymptom();
|
|
|
- // }
|
|
|
- // });
|
|
|
- //
|
|
|
- //
|
|
|
- // //体格检查弹窗
|
|
|
- // var pressureFloorWebuiPopover = $('#pressure_floor').webuiPopover('destroy').webuiPopover(settings);
|
|
|
- // //体格检查各输入框选中事件
|
|
|
- // $("#pressure_floor").on("click", function (t) {
|
|
|
- // // $("#webuiPopover2").css("display","none");
|
|
|
- // // $("#webuiPopover3").css("display","none");
|
|
|
- // // $("#webuiPopover4").css("display","none");
|
|
|
- // // $("#webuiPopover5").css("display","none");
|
|
|
- // // $("#webuiPopover7").css("display","none");
|
|
|
- //
|
|
|
- //
|
|
|
- // if($("#webuiPopover2").css("display") == "block"){
|
|
|
- // $("#webuiPopover2").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover3").css("display") == "block"){
|
|
|
- // $("#webuiPopover3").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover4").css("display") == "block"){
|
|
|
- // $("#webuiPopover4").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover5").css("display") == "block"){
|
|
|
- // $("#webuiPopover5").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover7").css("display") == "block"){
|
|
|
- // $("#webuiPopover7").css("display","none");
|
|
|
- // }
|
|
|
- // if ($(pressureFloorWebuiPopover).css("display") == "block") {
|
|
|
- // $("#webuiPopover6 div.arrow").css("left", "23px");
|
|
|
- // var html = '<span style="font-size: 18px;margin-left: 20px!important;color: #2e69eb!important;line-height: 50px;">主诉</span>';
|
|
|
- // html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='healthCheckupContentHtml'>";
|
|
|
- // html += "</div>";
|
|
|
- // $("#webuiPopover6 div.webui-popover-content").append(html);
|
|
|
- // //loadSymptom();
|
|
|
- // }
|
|
|
- // });
|
|
|
- //
|
|
|
- // //体格检查弹窗
|
|
|
- // var pressureHighWebuiPopover = $('#pressure_high').webuiPopover('destroy').webuiPopover(settings);
|
|
|
- // //体格检查各输入框选中事件
|
|
|
- // $("#pressure_high").on("click", function (t) {
|
|
|
- // // $("#webuiPopover2").css("display","none");
|
|
|
- // // $("#webuiPopover3").css("display","none");
|
|
|
- // // $("#webuiPopover4").css("display","none");
|
|
|
- // // $("#webuiPopover5").css("display","none");
|
|
|
- // // $("#webuiPopover6").css("display","none");
|
|
|
- //
|
|
|
- //
|
|
|
- // if($("#webuiPopover2").css("display") == "block"){
|
|
|
- // $("#webuiPopover2").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover3").css("display") == "block"){
|
|
|
- // $("#webuiPopover3").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover4").css("display") == "block"){
|
|
|
- // $("#webuiPopover4").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover5").css("display") == "block"){
|
|
|
- // $("#webuiPopover5").css("display","none");
|
|
|
- // }
|
|
|
- // if($("#webuiPopover6").css("display") == "block"){
|
|
|
- // $("#webuiPopover6").css("display","none");
|
|
|
- // }
|
|
|
- // if ($(pressureHighWebuiPopover).css("display") == "block") {
|
|
|
- // $("#webuiPopover7 div.arrow").css("left", "23px");
|
|
|
- // var html = '<span style="font-size: 18px;margin-left: 20px!important;color: #2e69eb!important;line-height: 50px;">主诉</span>';
|
|
|
- // html += "<div style='width: 100%;height:210px;overflow-y: auto;padding: 0px 20px;' id='healthCheckupContentHtml'>";
|
|
|
- // html += "</div>";
|
|
|
- // $("#webuiPopover7 div.webui-popover-content").append(html);
|
|
|
- // //loadSymptom();
|
|
|
- // }
|
|
|
- // });
|
|
|
}
|
|
|
|
|
|
|
|
@@ -1655,7 +1364,7 @@ function loadSymptom() {
|
|
|
html += '<div style="width: 80px; line-height: 25px; float: left;font-size: 16px;">常用症状:</div>';
|
|
|
html += '<div style="width: calc(100% - 80px); float: left;">';
|
|
|
for (var i = 0; i < res.featureList.length; i++) {
|
|
|
- html += '<button type="button" class="button_color" style="background-color: rgb(255, 255, 255);border: none;"><span style="padding: 0px 5px;">';
|
|
|
+ html += '<button type="button" class="button_color" style="background-color: rgb(255, 255, 255);border: none;" onclick="fitValue(\''+res.featureList[i].paramsName+'\',\'symptom\')"><span style="padding: 0px 5px;">';
|
|
|
html += res.featureList[i].paramsName;
|
|
|
html += '</span></button>';
|
|
|
}
|
|
@@ -1666,7 +1375,7 @@ function loadSymptom() {
|
|
|
html += '<div style="width: 80px; line-height: 25px; float: left;font-size: 16px;">常用时间:</div>';
|
|
|
html += '<div style="width: calc(100% - 80px); float: left;">';
|
|
|
for (var i = 0; i < res.timeList.length; i++) {
|
|
|
- html += '<button type="button" class="button_color" style="background-color: rgb(255, 255, 255);border: none;"><span style="padding: 0px 5px;">';
|
|
|
+ html += '<button type="button" class="button_color" style="background-color: rgb(255, 255, 255);border: none;" onclick="fitValue(\''+res.timeList[i].paramsName+'\',\'symptom\')"><span style="padding: 0px 5px;">';
|
|
|
html += res.timeList[i].paramsName;
|
|
|
html += '</span></button>';
|
|
|
}
|
|
@@ -1677,7 +1386,7 @@ function loadSymptom() {
|
|
|
html += '<div style="width: 80px; line-height: 25px; float: left;font-size: 16px;">常用标点:</div>';
|
|
|
html += '<div style="width: calc(100% - 80px); float: left;">';
|
|
|
for (var i = 0; i < res.characterList.length; i++) {
|
|
|
- html += '<button type="button" class="button_color" style="background-color: rgb(255, 255, 255);border: none;"><span style="padding: 0px 5px;">';
|
|
|
+ html += '<button type="button" class="button_color" style="background-color: rgb(255, 255, 255);border: none;" onclick="fitValue(\''+res.characterList[i].paramsName+'\',\'symptom\')"><span style="padding: 0px 5px;">';
|
|
|
html += res.characterList[i].paramsName;
|
|
|
html += '</span></button>';
|
|
|
}
|
|
@@ -1688,7 +1397,7 @@ function loadSymptom() {
|
|
|
html += '<div style="width: 80px; line-height: 25px; float: left;font-size: 16px;">常用词:</div>';
|
|
|
html += '<div style="width: calc(100% - 80px); float: left;">';
|
|
|
for (var i = 0; i < res.wordsList.length; i++) {
|
|
|
- html += '<button type="button" class="button_color" style="background-color: rgb(255, 255, 255);border: none;"><span style="padding: 0px 5px;">';
|
|
|
+ html += '<button type="button" class="button_color" style="background-color: rgb(255, 255, 255);border: none;" onclick="fitValue(\''+res.wordsList[i].paramsName+'\',\'symptom\')"><span style="padding: 0px 5px;">';
|
|
|
html += res.wordsList[i].paramsName;
|
|
|
html += '</span></button>';
|
|
|
}
|
|
@@ -1700,113 +1409,115 @@ function loadSymptom() {
|
|
|
$("#contentHtml").html(html);
|
|
|
}
|
|
|
});
|
|
|
+}
|
|
|
|
|
|
- //
|
|
|
- //
|
|
|
- // ' 阿斯顿发阿斯顿发大师傅阿的说法放到' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-1" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 大师傅阿斯顿发阿斯顿发生发的说法\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-2" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 大师傅大师傅阿斯顿发生的方法\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-3" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 阿道夫大师傅阿萨德发的说法阿斯顿发斯蒂芬\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-4" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 阿萨德发斯蒂芬阿的说法阿斯顿发大师傅\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-5" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 啊打是的发多少发顺丰安全法发顺丰阿斯顿发\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-6" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' ad发的说法阿斯顿发是的发放阿斯顿发\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-7" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 大师傅阿斯蒂芬阿的说法四方达\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-8" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 阿斯蒂芬大师傅地方\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-9" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 阿斯蒂芬阿斯蒂芬阿萨德\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-10" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 阿斯蒂芬地方\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-11" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 阿斯蒂芬阿斯蒂芬是\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-12" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 阿斯蒂芬阿斯蒂芬的\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-13" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 水电费阿斯蒂芬d\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-14" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 水电费阿斯蒂芬阿斯蒂芬\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-15" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 水电费阿萨德\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-16" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 盛世嫡妃\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-17" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 发热\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-18" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 头痛\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-19" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 头晕\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-20" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 鼻塞\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-21" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 流涕\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-22" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 声嘶\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-23" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 咽痛\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-24" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 咽轻红\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-25" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 咽充血\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-26" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 咳嗽\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-27" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 咳痰\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-28" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 呼吸困难\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-29" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 腹痛\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-30" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 腹泻\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-31" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 腹胀\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-32" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 恶心\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-33" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 乏力\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-34" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 呕吐\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-35" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 反酸\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-36" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 便秘\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-37" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 胸闷\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-38" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 胸痛\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-39" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 心悸\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-40" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 腰痛\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-41" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 腰背痛\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-42" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 关节痛\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-43" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 尿急\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-44" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 尿痛\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-45" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 多尿\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-46" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 排尿困难\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-47" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 水肿\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-48" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 皮疹\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-49" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 包疹\n' +
|
|
|
- // ' </span></button><button type="button" class="el-button el-button--default" id="el-autocomplete-7392-item-50" role="option" style="background-color: rgb(255, 255, 255);"><!----><!----><span>\n' +
|
|
|
- // ' 红疹\n' +
|
|
|
- // ' </span></button>';
|
|
|
|
|
|
|
|
|
+/**
|
|
|
+ * 加载体格检查参数列表
|
|
|
+ */
|
|
|
+function loadHealthCheckup () {
|
|
|
+ $.ajax({
|
|
|
+ type: "GET",
|
|
|
+ url: '/thmz/loadHealthCheckup',
|
|
|
+ contentType: "application/json;charset=UTF-8",
|
|
|
+ dataType: "json",
|
|
|
+ async: false,
|
|
|
+ headers: {'Accept': 'application/json', 'Authorization': 'Bearer ' + localStorage.getItem("token")},
|
|
|
+ success: function (res) {
|
|
|
+ if (res == '401' || res == 401) {
|
|
|
+ window.location.href = '/thmz/login/view'
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ var html = '';
|
|
|
+ if (res.code == 0) {
|
|
|
+ if (res.weightList != null && res.weightList.length > 0) {
|
|
|
+ html += '<div id="weightDiv">';
|
|
|
+ html += '<div style="width: 80px; line-height: 25px; float: left;font-size: 16px;">体重:</div>';
|
|
|
+ html += '<div style="width: calc(100% - 80px); float: left;">';
|
|
|
+ for (var i = 0; i < res.weightList.length; i++) {
|
|
|
+ html += '<button type="button" class="button_color" style="background-color: rgb(255, 255, 255);border: none;" onclick="fitValue(\''+res.weightList[i].paramsName+'\',\'weight\')"><span style="padding: 0px 5px;">';
|
|
|
+ html += res.weightList[i].paramsName;
|
|
|
+ html += '</span></button>';
|
|
|
+ }
|
|
|
+ html += '</div><div style="clear:both"></div></div>';
|
|
|
+ }
|
|
|
+ if (res.temperatureList != null && res.temperatureList.length > 0) {
|
|
|
+ html += '<div id="temperatureDiv">';
|
|
|
+ html += '<div style="width: 80px; line-height: 25px; float: left;font-size: 16px;">体温:</div>';
|
|
|
+ html += '<div style="width: calc(100% - 80px); float: left;">';
|
|
|
+ for (var i = 0; i < res.temperatureList.length; i++) {
|
|
|
+ html += '<button type="button" class="button_color" style="background-color: rgb(255, 255, 255);border: none;" onclick="fitValue(\''+res.temperatureList[i].paramsName+'\',\'temperature\')"><span style="padding: 0px 5px;">';
|
|
|
+ html += res.temperatureList[i].paramsName;
|
|
|
+ html += '</span></button>';
|
|
|
+ }
|
|
|
+ html += '</div><div style="clear:both"></div></div>';
|
|
|
+ }
|
|
|
+ if (res.sphygmusList != null && res.sphygmusList.length > 0) {
|
|
|
+ html += '<div id="sphygmusDiv">';
|
|
|
+ html += '<div style="width: 80px; line-height: 25px; float: left;font-size: 16px;">脉搏:</div>';
|
|
|
+ html += '<div style="width: calc(100% - 80px); float: left;">';
|
|
|
+ for (var i = 0; i < res.sphygmusList.length; i++) {
|
|
|
+ html += '<button type="button" class="button_color" style="background-color: rgb(255, 255, 255);border: none;" onclick="fitValue(\''+res.sphygmusList[i].paramsName+'\',\'sphygmus\')"><span style="padding: 0px 5px;">';
|
|
|
+ html += res.sphygmusList[i].paramsName;
|
|
|
+ html += '</span></button>';
|
|
|
+ }
|
|
|
+ html += '</div><div style="clear:both"></div></div>';
|
|
|
+ }
|
|
|
+ if (res.breatheList != null && res.breatheList.length > 0) {
|
|
|
+ html += '<div id="breatheDiv">';
|
|
|
+ html += '<div style="width: 80px; line-height: 25px; float: left;font-size: 16px;">呼吸:</div>';
|
|
|
+ html += '<div style="width: calc(100% - 80px); float: left;">';
|
|
|
+ for (var i = 0; i < res.breatheList.length; i++) {
|
|
|
+ html += '<button type="button" class="button_color" style="background-color: rgb(255, 255, 255);border: none;" onclick="fitValue(\''+res.breatheList[i].paramsName+'\',\'breathe\')"><span style="padding: 0px 5px;">';
|
|
|
+ html += res.breatheList[i].paramsName;
|
|
|
+ html += '</span></button>';
|
|
|
+ }
|
|
|
+ html += '</div><div style="clear:both"></div></div>';
|
|
|
+ }
|
|
|
+ if (res.pressureList != null && res.pressureList.length > 0) {
|
|
|
+ html += '<div id="pressureDiv">';
|
|
|
+ html += '<div style="width: 80px; line-height: 25px; float: left;font-size: 16px;">呼吸:</div>';
|
|
|
+ html += '<div style="width: calc(100% - 80px); float: left;">';
|
|
|
+ for (var i = 0; i < res.pressureList.length; i++) {
|
|
|
+ html += '<button type="button" class="button_color" style="background-color: rgb(255, 255, 255);border: none;" onclick="fitValue(\''+res.pressureList[i].paramsName+'\',\'pressure_\')"><span style="padding: 0px 5px;">';
|
|
|
+ html += res.pressureList[i].paramsName;
|
|
|
+ html += '</span></button>';
|
|
|
+ }
|
|
|
+ html += '</div><div style="clear:both"></div></div>';
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ errorMesage(res);
|
|
|
+ }
|
|
|
+ $("#healthCheckupContentHtml").html(html);
|
|
|
+ }
|
|
|
+ });
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * 点击通用参数属性值时设置值到对应的区域
|
|
|
+ * @param value
|
|
|
+ * @param id
|
|
|
+ */
|
|
|
+function fitValue(value,id) {
|
|
|
+ //当选择的是血压时
|
|
|
+ if(id=="pressure_"){
|
|
|
+ var arr = value.split("/");
|
|
|
+ $("#pressure_high").val(arr[0]);
|
|
|
+ $("#pressure_floor").val(arr[1]);
|
|
|
+ //当选的是体重,体温,脉搏和呼吸时
|
|
|
+ }else if(id=="weight" || id=="temperature" || id=="sphygmus" || id=="breathe"){
|
|
|
+ $("#"+id).val(value);
|
|
|
+ }else {
|
|
|
+ //主诉拼写时
|
|
|
+ var valueExist = $("#"+id).val();
|
|
|
+ if(valueExist!=null && valueExist!=""){
|
|
|
+ value = valueExist+value;
|
|
|
+ }
|
|
|
+ $("#"+id).val(value);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|