diff --git a/src/main/webapp/WEB-INF/views/recordManage/commomSearch/showRecordIframeBlood.jsp b/src/main/webapp/WEB-INF/views/recordManage/commomSearch/showRecordIframeBlood.jsp
index 48c74be..7001dee 100644
--- a/src/main/webapp/WEB-INF/views/recordManage/commomSearch/showRecordIframeBlood.jsp
+++ b/src/main/webapp/WEB-INF/views/recordManage/commomSearch/showRecordIframeBlood.jsp
@@ -89,7 +89,6 @@
- <%----%>
diff --git a/src/main/webapp/static/js/recordManage/commomSearch/commomListqf.js b/src/main/webapp/static/js/recordManage/commomSearch/commomListqf.js
index 9d41563..41fbe86 100644
--- a/src/main/webapp/static/js/recordManage/commomSearch/commomListqf.js
+++ b/src/main/webapp/static/js/recordManage/commomSearch/commomListqf.js
@@ -689,24 +689,28 @@ function insertContent(content, id) {
clearContent(id);
setLocation(id);
var json = JSON.parse(content);
+ debugger
for (key in json) {
+ console.log(key)
+ console.log(json[key])
var tr = document.createElement("tr");
var td2 = document.createElement("td");
var td4 = document.createElement("td");
tr.setAttribute("bgcolor", "#FFFAFA");
tr.setAttribute("border", "0");
- td2.innerHTML = key;
- td4.innerHTML = json[key];
+ if (id == 'inpatient_no' || id == 'diag_code' || id == 'operate_code') {
+ td2.innerHTML = key;
+ td4.innerHTML = json[key];
+ } else {
+ td2.innerHTML = json[key];
+ td4.innerHTML = key;
+ }
tr.appendChild(td2);
tr.appendChild(td4);
document.getElementById(id + "Content").appendChild(tr);
tr.onmouseover = function () {
this.className = 'mouseOver';
- if (id == 'inpatient_no' || id == 'diag_code' || id == 'operate_code') {
- document.getElementById(id).value = $(this).children("td").eq(0).html();
- } else {
- document.getElementById(id).value = $(this).children("td").eq(1).html();
- }
+ document.getElementById(id).value = $(this).children("td").eq(0).html();
};
tr.onmouseout = function () {
this.className = 'mouseOut';
diff --git a/src/main/webapp/static/js/recordManage/commomSearch/showRecord174.js b/src/main/webapp/static/js/recordManage/commomSearch/showRecord174.js
index 6559d55..6876035 100644
--- a/src/main/webapp/static/js/recordManage/commomSearch/showRecord174.js
+++ b/src/main/webapp/static/js/recordManage/commomSearch/showRecord174.js
@@ -107,13 +107,13 @@ $("#admissTimes").change(function () {
success:function(d){
if(d != null){
$("#patientId").val(d.patientId);
- $("#iframe").prop("src",path+"/commom/showRecordIframe?patientId="+d.patientId);
+ $("#iframe").prop("src",path+"/commom/showRecordIframeBlood?patientId="+d.patientId);
$("#disDate").val(d.disDate);
$("#disDeptName").val(d.disDept);
$("#diagName").val(d.mainDiagName);
$("#otherDiagName").val(d.otherDiagName);
//重新加载其他诊断名称鼠标滑过显示全部文本
- loadQtip('.otherDiagName');
+ /*loadQtip('.otherDiagName');*/
//变更收藏信息
$("#collectId").val("");
$("#collectTime").val(currentDate);
diff --git a/src/main/webapp/static/js/recordManage/templateSearch/customSearchIframeqf.js b/src/main/webapp/static/js/recordManage/templateSearch/customSearchIframeqf.js
index b8deae9..c3e0fd0 100644
--- a/src/main/webapp/static/js/recordManage/templateSearch/customSearchIframeqf.js
+++ b/src/main/webapp/static/js/recordManage/templateSearch/customSearchIframeqf.js
@@ -142,6 +142,7 @@ function getSql() {
var age_month = '';
var age_day = '';
$("#block").children().find('div').each(function () {
+ debugger
var val = $(this).children().val();
var className = $(this).children().attr('class');
if (className == 'select2') {
@@ -195,6 +196,11 @@ function getSql() {
age_day = val;
whereNames += "(";
}
+ if (val == 'and') {
+ age = '';
+ age_month = '';
+ age_day = '';
+ }
whereNames += val + ' ';
}
})
@@ -231,7 +237,9 @@ function getSql() {
var orderBys = " order by " + commomtable + ".inpatient_no," + commomtable + ".admiss_times";
var sql = selectNames + fromTableNames + whereNames;
$("#orderBys").val(orderBys);
+ debugger
$("#sql").val(sql);
+ console.log("sql = " + $("#sql").val());
//console.log(sql);
$("#tableThNames").val(tableThNames);
if (tableThNames != '') {