info.jsp 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  2. <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
  3. <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
  4. <%@ page language="java" contentType="text/html; charset=UTF-8"
  5. pageEncoding="UTF-8"%>
  6. <jsp:include page="${data._INCLUDE}/header.jsp"></jsp:include>
  7. <script>
  8. $( function(){
  9. $( "#newForm" ).validate({
  10. rules: {
  11. phoneNumber : {
  12. phoneValid : true
  13. },
  14. passwordConfirm : {
  15. equalTo: "#passwordNew"
  16. },
  17. passwordNew :{
  18. passwordValid : true
  19. }
  20. },
  21. messages : {
  22. passwordConfirm : {
  23. equalTo: "신규 비밀번호가 일치하지 않습니다."
  24. }
  25. },
  26. onkeyup: function( element, event ) {
  27. $( element ).valid();
  28. },
  29. onfocusout: function (element) {
  30. $( element ).val( $.trim( $( element ).val() ) );
  31. $( element ).valid();
  32. },
  33. submitHandler: function(form) {
  34. $("#mainAddr").removeAttr("disabled");
  35. form.submit();
  36. }
  37. });
  38. })
  39. </script>
  40. </head>
  41. <body>
  42. <div class="wrapper">
  43. <jsp:include page="${data._INCLUDE}/sidebar.jsp"></jsp:include>
  44. <div class="main">
  45. <jsp:include page="${data._INCLUDE}/top.jsp"></jsp:include>
  46. <main class="content">
  47. <div class="container-fluid p-0">
  48. <!-- 환자관리 : 신규환자 등록 START -->
  49. <div class="row">
  50. <div class="col-12 col-lg-6">
  51. <h1 class="h3 mb-3">생활치료센터 비대면진료시스템 API 서비스</h1>
  52. </div>
  53. <div class="col-12 col-lg-6 text-right">
  54. <nav aria-label="breadcrumb">
  55. <ol class="breadcrumb">
  56. <li class="breadcrumb-item"><a href="javscript:;">Home</a></li>
  57. <li class="breadcrumb-item active">API 서비스 신청</li>
  58. </ol>
  59. </nav>
  60. </div>
  61. </div>
  62. <div class="row">
  63. <div class="col-12">
  64. <div class="card">
  65. <form action="./accept" id="newForm" method="post">
  66. <c:if test="${info.useYn ne 'D'}"><input type="hidden" value="${info.idx}" name="idx">
  67. <input type="hidden" value="<c:if test="${info.useYn eq 'W'}">C</c:if><c:if test="${info.useYn eq 'C'}">D</c:if>" name="useYn"></c:if>
  68. <div class="card-body">
  69. <table class="table mobile-table">
  70. <colgroup>
  71. <col style="width:15%">
  72. <col style="width:35%">
  73. <col style="width:15%">
  74. <col style="width:35%">
  75. </colgroup>
  76. <tr>
  77. <th>신청자 명</th>
  78. <td colspan="3">
  79. <c:out value="${info.managerName}" />
  80. </td>
  81. </tr>
  82. <tr>
  83. <th>병원 명</th>
  84. <td colspan="3">
  85. <c:out value="${info.cooperativeName}" />
  86. </td>
  87. </tr>
  88. <tr>
  89. <th>부서 명</th>
  90. <td colspan="3">
  91. <c:out value="${info.departmentName}" />
  92. </td>
  93. </tr>
  94. <tr>
  95. <th>이메일 주소</th>
  96. <td colspan="3">
  97. <c:out value="${info.managerEmail}" />
  98. </td>
  99. </tr>
  100. <tr>
  101. <th>전화번호</th>
  102. <td colspan="3">
  103. <c:out value="${info.managerPhone}" />
  104. </td>
  105. </tr>
  106. <c:if test="${info.useYn eq 'C'}">
  107. <tr>
  108. <th>api key</th>
  109. <td colspan="3">
  110. <c:out value="${info.apiKey}" />
  111. </td>
  112. </tr>
  113. </c:if>
  114. <tr>
  115. <th>센터코드</th>
  116. <td colspan="3">
  117. <c:out value="${info.centerCode}" />
  118. </td>
  119. </tr>
  120. <tr>
  121. <th>신청일</th>
  122. <td colspan="3">
  123. <c:out value="${info.requestDate}" />
  124. </td>
  125. </tr>
  126. <c:if test="${info.useYn eq 'C'}">
  127. <tr>
  128. <th>승인일</th>
  129. <td colspan="3">
  130. <c:out value="${info.acceptDate}" />
  131. </td>
  132. </tr>
  133. </c:if>
  134. <c:if test="${info.useYn eq 'D'}">
  135. <tr>
  136. <th>해제일</th>
  137. <td colspan="3">
  138. <c:out value="${info.expireDate}" />
  139. </td>
  140. </tr>
  141. </c:if>
  142. <tr>
  143. <th>생성일</th>
  144. <td colspan="3">
  145. <c:out value="${info.createDate}" />
  146. </td>
  147. </tr>
  148. <tr>
  149. <th>사용 목적</th>
  150. <td colspan="3">
  151. <c:out value="${info.usePurpose}" />
  152. </td>
  153. </tr>
  154. </table>
  155. <div class="row mt-3">
  156. <div class="col-12">
  157. <div class="text-right">
  158. <c:if test="${info.useYn ne 'D'}"><button type="submit" class="btn btn-primary w100"><c:if test="${info.useYn eq 'W'}">승인</c:if><c:if test="${info.useYn eq 'C'}">해제</c:if></button></c:if>
  159. <button type="button" class="btn btn-primary w100" onclick="location.href='./list';">목록</button>
  160. </div>
  161. </div>
  162. </div>
  163. </div>
  164. </form>
  165. </div>
  166. </div>
  167. </div>
  168. <!-- 환자관리 : 신규환자 등록 END -->
  169. </div>
  170. </main>
  171. <jsp:include page="${data._INCLUDE}/footer.jsp"></jsp:include>
  172. </div>
  173. </div>
  174. </body>
  175. </html>