medicaledit.jsp 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  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. $( "#editForm" ).validate({
  10. rules: {
  11. staff1: {
  12. number:true,
  13. digits:true
  14. },
  15. staff2: {
  16. number:true,
  17. digits:true
  18. },
  19. staff3: {
  20. number:true,
  21. digits:true
  22. },
  23. staff4: {
  24. number:true,
  25. digits:true
  26. },
  27. staff5: {
  28. number:true,
  29. digits:true
  30. },
  31. staff6: {
  32. number:true,
  33. digits:true
  34. },
  35. staff7: {
  36. number:true,
  37. digits:true
  38. },
  39. staff8: {
  40. number:true,
  41. digits:true
  42. },
  43. staff9: {
  44. number:true,
  45. digits:true
  46. },
  47. staff10: {
  48. number:true,
  49. digits:true
  50. },
  51. staff11: {
  52. number:true,
  53. digits:true
  54. },
  55. staff12: {
  56. number:true,
  57. digits:true
  58. },
  59. staff13: {
  60. number:true,
  61. digits:true
  62. },
  63. staff14: {
  64. number:true,
  65. digits:true
  66. },
  67. staff15: {
  68. number:true,
  69. digits:true
  70. }
  71. },
  72. onkeyup: function( element, event ) {
  73. $( element ).valid();
  74. },
  75. onfocusout: function (element) {
  76. $( element ).val( $.trim( $( element ).val() ) );
  77. $( element ).valid();
  78. },
  79. submitHandler: function(form) {
  80. form.submit();
  81. }
  82. });
  83. })
  84. </script>
  85. </head>
  86. <body>
  87. <div class="wrapper">
  88. <jsp:include page="${data._INCLUDE}/sidebar.jsp"></jsp:include>
  89. <div class="main">
  90. <jsp:include page="${data._INCLUDE}/top.jsp"></jsp:include>
  91. <form id="editForm" action="./medicalupdate" method="post">
  92. <input type="hidden" name="status" value="<c:out value="${list.status}" />">
  93. <main class="content">
  94. <div class="container-fluid p-0">
  95. <div class="row">
  96. <div class="col-12 col-lg-6">
  97. <h1 class="h3 mb-3">생활치료센터 의료인력 관리</h1>
  98. </div>
  99. <div class="col-12 col-lg-6 text-right">
  100. <nav aria-label="breadcrumb">
  101. <ol class="breadcrumb">
  102. <li class="breadcrumb-item"><a href="javscript:;">Home</a></li>
  103. <li class="breadcrumb-item">의료인력 관리</li>
  104. </ol>
  105. </nav>
  106. </div>
  107. </div>
  108. <div class="row">
  109. <div class="col-12">
  110. <div class="card">
  111. <div class="card-body">
  112. <h5 class="text-info mb-3">협력병원 인력 현황</h5>
  113. <div class="table-responsive">
  114. <table class="table table-striped text-center">
  115. <colgroup>
  116. <col style=" width: 14%; ">
  117. <col style=" width: 14%; ">
  118. <col style=" width: 14%; ">
  119. <col style=" width: 14%; ">
  120. <col style=" width: 14%; ">
  121. <col style=" width: 14%; ">
  122. <col style=" width: 14%; ">
  123. </colgroup>
  124. <thead>
  125. <tr>
  126. <th>구분</th>
  127. <th>의사</th>
  128. <th>간호사</th>
  129. <th>간호조무사</th>
  130. <th>임상병리사</th>
  131. <th>방사선사</th>
  132. <th>행정인력</th>
  133. </tr>
  134. </thead>
  135. <tbody>
  136. <tr>
  137. <td>인원</td>
  138. <td><input type="text" name="staff1" class="form-control text-center" value="<c:out value="${list.staff1}" />"></td>
  139. <td><input type="text" name="staff2" class="form-control text-center" value="<c:out value="${list.staff2}" />"></td>
  140. <td><input type="text" name="staff3" class="form-control text-center" value="<c:out value="${list.staff3}" />"></td>
  141. <td><input type="text" name="staff4" class="form-control text-center" value="<c:out value="${list.staff4}" />"></td>
  142. <td><input type="text" name="staff5" class="form-control text-center" value="<c:out value="${list.staff5}" />"></td>
  143. <td><input type="text" name="staff6" class="form-control text-center" value="<c:out value="${list.staff6}" />"></td>
  144. </tr>
  145. </tbody>
  146. </table>
  147. </div>
  148. </div>
  149. </div>
  150. </div>
  151. </div>
  152. <div class="row">
  153. <div class="col-12">
  154. <div class="card">
  155. <div class="card-body">
  156. <h5 class="text-info mb-3">공공 인력 현황</h5>
  157. <div class="table-responsive">
  158. <table class="table table-striped text-center">
  159. <colgroup>
  160. <col style=" width: 25%; ">
  161. <col style=" width: 25%; ">
  162. <col style=" width: 25%; ">
  163. <col style=" width: 25%; ">
  164. </colgroup>
  165. <thead>
  166. <tr>
  167. <th>구분</th>
  168. <th>공보의</th>
  169. <th>군의관</th>
  170. <th>간호사관생도</th>
  171. </tr>
  172. </thead>
  173. <tbody>
  174. <tr>
  175. <td>인원</td>
  176. <td><input type="text" name="staff7" class="form-control text-center" value="<c:out value="${list.staff7}" />"></td>
  177. <td><input type="text" name="staff8" class="form-control text-center" value="<c:out value="${list.staff8}" />"></td>
  178. <td><input type="text" name="staff9" class="form-control text-center" value="<c:out value="${list.staff9}" />"></td>
  179. </tr>
  180. </tbody>
  181. </table>
  182. </div>
  183. </div>
  184. </div>
  185. </div>
  186. </div>
  187. <div class="row">
  188. <div class="col-12">
  189. <div class="card">
  190. <div class="card-body">
  191. <h5 class="text-info mb-3">민간 인력 현황</h5>
  192. <div class="table-responsive">
  193. <table class="table table-striped text-center">
  194. <colgroup>
  195. <col style=" width: 14%; ">
  196. <col style=" width: 14%; ">
  197. <col style=" width: 14%; ">
  198. <col style=" width: 14%; ">
  199. <col style=" width: 14%; ">
  200. <col style=" width: 14%; ">
  201. <col style=" width: 14%; ">
  202. </colgroup>
  203. <thead>
  204. <tr>
  205. <th>구분</th>
  206. <th>민간모집의사</th>
  207. <th>민간모집간호사</th>
  208. <th>민간모집간호조무사</th>
  209. <th>민간모집임상병리사</th>
  210. <th>민간모집방사선사</th>
  211. <th>민간모집기타인력</th>
  212. </tr>
  213. </thead>
  214. <tbody>
  215. <tr>
  216. <td>인원</td>
  217. <td><input type="text" name="staff10" class="form-control text-center" value="<c:out value="${list.staff10}" />"></td>
  218. <td><input type="text" name="staff11" class="form-control text-center" value="<c:out value="${list.staff11}" />"></td>
  219. <td><input type="text" name="staff12" class="form-control text-center" value="<c:out value="${list.staff12}" />"></td>
  220. <td><input type="text" name="staff13" class="form-control text-center" value="<c:out value="${list.staff13}" />"></td>
  221. <td><input type="text" name="staff14" class="form-control text-center" value="<c:out value="${list.staff14}" />"></td>
  222. <td><input type="text" name="staff15" class="form-control text-center" value="<c:out value="${list.staff15}" />"></td>
  223. </tr>
  224. </tbody>
  225. </table>
  226. </div>
  227. </div>
  228. </div>
  229. </div>
  230. </div>
  231. <div class="row mt-3">
  232. <div class="col-12">
  233. <div class="text-right">
  234. <button type="submit" class="btn btn-primary w100">저장</button>
  235. </div>
  236. </div>
  237. </div>
  238. </div>
  239. </main>
  240. </form>
  241. <jsp:include page="${data._INCLUDE}/footer.jsp"></jsp:include>
  242. </div>
  243. </div>
  244. </body>
  245. </html>