浏览代码

[진료관리 - 상세] 데이터 없을때 colspan 수정.

sjpark 4 年之前
父节点
当前提交
ffe964ce94
共有 1 个文件被更改,包括 12 次插入9 次删除
  1. 12 9
      src/main/webapp/WEB-INF/jsp/clinic/info.jsp

+ 12 - 9
src/main/webapp/WEB-INF/jsp/clinic/info.jsp

@@ -284,7 +284,10 @@ function retrievePhrData(phrType) {
             	drawPhrChart(phrType+"Chart", datas, phrName);
 						}
 
-			var contents = "<tr><td colspan=3>데이터가 없습니다.</td></tr>" ;
+      var contents = "<tr><td colspan=4>데이터가 없습니다.</td></tr>" ;
+      if (phrType==="bloodPressure") {
+        contents = "<tr><td colspan=5>데이터가 없습니다.</td></tr>" ;
+      }
 			if (datas.length > 0) {
 				contents = "";
 				datas.forEach(function(d) {
@@ -488,7 +491,7 @@ function retrieveSymptomData() {
         dataType : "json",
         success  : function( datas ){
 
-			var html = "<tr><td colspan=18>데이터가 없습니다.</td></tr>" ;
+			var html = "<tr><td colspan=19>데이터가 없습니다.</td></tr>" ;
 			var checkSymbol = '<i class="mdi mdi-check-bold"></i>';
 			if (datas.length > 0) {
 				html = "";
@@ -650,7 +653,7 @@ function retrieveMemoData() {
         dataType : "json",
         success  : function( datas ){
 
-			var html = "<tr><td colspan=3>데이터가 없습니다.</td></tr>" ;
+			var html = "<tr><td colspan=4>데이터가 없습니다.</td></tr>" ;
 			if (datas.length > 0) {
 				html = "";
 				contents = datas.forEach(function(d) {
@@ -1314,7 +1317,7 @@ $(document).ready(function() {
                                     </c:when>
                                     <c:otherwise>
                                       <tr>
-                                        <td colspan=3>데이터가 없습니다.</td>
+                                        <td colspan=19>데이터가 없습니다.</td>
                                       </tr>
                                     </c:otherwise>
                                   </c:choose>
@@ -1387,7 +1390,7 @@ $(document).ready(function() {
                                   </c:when>
                                   <c:otherwise>
                                     <tr>
-                                      <td colspan=3>데이터가 없습니다.</td>
+                                      <td colspan=4>데이터가 없습니다.</td>
                                     </tr>
                                   </c:otherwise>
                                 </c:choose>
@@ -1465,7 +1468,7 @@ $(document).ready(function() {
                                   </c:when>
                                   <c:otherwise>
                                     <tr>
-                                      <td colspan=3>데이터가 없습니다.</td>
+                                      <td colspan=5>데이터가 없습니다.</td>
                                     </tr>
                                   </c:otherwise>
                                 </c:choose>
@@ -1539,7 +1542,7 @@ $(document).ready(function() {
                                   </c:when>
                                   <c:otherwise>
                                     <tr>
-                                      <td colspan=3>데이터가 없습니다.</td>
+                                      <td colspan=4>데이터가 없습니다.</td>
                                     </tr>
                                   </c:otherwise>
                                 </c:choose>
@@ -1613,7 +1616,7 @@ $(document).ready(function() {
                                   </c:when>
                                   <c:otherwise>
                                     <tr>
-                                      <td colspan=3>데이터가 없습니다.</td>
+                                      <td colspan=4>데이터가 없습니다.</td>
                                     </tr>
                                   </c:otherwise>
                                 </c:choose>
@@ -1687,7 +1690,7 @@ $(document).ready(function() {
                                     </c:when>
                                     <c:otherwise>
                                       <tr>
-                                        <td colspan=3>데이터가 없습니다.</td>
+                                        <td colspan=4>데이터가 없습니다.</td>
                                       </tr>
                                     </c:otherwise>
                                   </c:choose>