medicine.jsp 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  3. <%@ taglib prefix="s" uri="http://www.springframework.org/tags"%>
  4. <%-- <jsp:include page="../../../template/header.jsp" flush="false" /> --%>
  5. <div id="wrapper">
  6. <div class="bg"></div>
  7. <header id="header" class="fixed-top">
  8. <div class="page-header">
  9. <div class="pull-left back_btn"><a href="#" id="all_menu"><span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span></a></div>
  10. <h2 class="text-center">투약정보</h2>
  11. </div>
  12. </header>
  13. <div class="container">
  14. <div class="s_box" style="width: 97% !important">
  15. <div class="panel info_box">
  16. <div class="panel-heading">
  17. <div class="row">
  18. <div class="col-xs-4 w-30">
  19. <input class="form-control" type="number" id="txtPatientId" max="9999999" placeholder="환자번호">
  20. </div>
  21. <div class="col-xs-8 pl-0 pr-0">
  22. <span class="name" id="patientName">
  23. 환자명
  24. </span>
  25. <!-- <button type="button" class="btn btn-blood">B+</button> -->
  26. </div>
  27. </div>
  28. </div>
  29. <div class="panel-body">
  30. <p id="patient-gender-age" style="font-size: 14px !important;" class="align-middle">환자번호</p>
  31. <div class="in_date"><strong style="font-size: 14px !important;">적용일자</strong>
  32. <button id="dateMinus" class="btn"><span class="glyphicon glyphicon-menu-left" aria-hidden="true"></span></button>
  33. <span id="spanDate" style="font-size: 14px !important;">2020-01-08 </span>
  34. <button id="datePlus" class="btn"><span class="glyphicon glyphicon-menu-right" aria-hidden="true"></span></button>
  35. <!-- <span class="text-muted" style="font-size: 14px !important;">|</span> -->
  36. <!-- <strong style="font-size: 13px !important;">시간변경</strong> -->
  37. <!-- <div class="float-right in_time">
  38. <select id="actionHour" class="form-control2 ">
  39. <option>8시</option>
  40. <option>9시</option>
  41. </select>
  42. <select id="actionMinute" class="form-control2 ">
  43. <option>8시</option>
  44. <option>9시</option>
  45. </select>
  46. </div> -->
  47. </div>
  48. <div class="in_date"><strong style="font-size: 14px !important;">투약일시</strong>
  49. <span id="todayDate" style="font-size: 14px !important;">2020-01-08 </span>
  50. <span class="text-muted" style="font-size: 14px !important;">|</span>
  51. <div class="in_time">
  52. <select id="actionHour" class="form-control2 ">
  53. <option>8시</option>
  54. <option>9시</option>
  55. </select>
  56. <select id="actionMinute" class="form-control2 ">
  57. <option>8시</option>
  58. <option>9시</option>
  59. </select>
  60. </div>
  61. </div>
  62. <p>
  63. <strong style="font-size: 14px !important;">실시부서 : </strong>
  64. <span id="spanWard" style="font-size: 14px !important;">실시부서</span>
  65. <span class="text-muted px-1" style="font-size: 14px !important;">|</span>
  66. <span id="spanAcrionUserName" style="font-size: 14px !important;">실시자명(사번)</span>
  67. </p>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. <div class="line row" style="margin-top: 3.5em !important;">
  73. <div class="col-xs-6 px-1">
  74. <button id="medicineSearchBtn" type="button" class="btn btn-primary btn-block btn-lg">조회</button>
  75. </div>
  76. <div class="col-xs-6 px-1">
  77. <button id="medicineActionBtn" type="button" class="btn btn-councel btn-block btn-lg">실시</button>
  78. </div>
  79. </div>
  80. <div id="con">
  81. <div id="divScanMsg" class="default text-center mt-5">
  82. <button type="button" class="btn btn-default btn-lg" data-toggle="modal" data-target="#Modal01" >
  83. <h3>
  84. <span class="glyphicon glyphicon-barcode" aria-hidden="true">
  85. </span>
  86. </h3>
  87. </button>
  88. <p><h4>환자 바코드를 스캔해주세요.</h4></p>
  89. </div>
  90. </div>
  91. </div>
  92. <!--모달창--->
  93. <div class="modal basic" tabindex="-1" role="dialog" id="Modal01">
  94. <div class="modal-dialog" role="document">
  95. <div class="modal-content">
  96. <div class="modal-body text-center align-middle">
  97. <h4>투약실시 바코드가 아닙니다.</h4>
  98. <p>바코드를 다시 확인해주세요.</p>
  99. <!-- 환자번호에 대한 환자정보가 없음
  100. <h4>환자정보가 존재하지 않습니다.</h4>
  101. <p>환자정보를 다시 확인해주세요.</p>
  102. -->
  103. <!-- 환자정보 조회 전 검체코드 스캔
  104. <h4>환자정보가 조회되지 않았습니다.</h4>
  105. <p>환자번호를 조회하여 주세요.</p>
  106. -->
  107. </div>
  108. <div class="modal-footer text-center">
  109. <button type="button" class="btn btn-ok btn-block btn-lg" data-dismiss="modal" aria-label="Close">확인</button>
  110. </div>
  111. </div>
  112. </div>
  113. </div>
  114. <script type="text/javascript" src="<c:url value="/resources/js/mobile_poc/medicine.js?version=" /><s:message code="mp.version"/>"></script>
  115. <script type="text/javascript">
  116. $(document).ready(function () {
  117. //==== 페이지 기본 설정 { ====
  118. //==== 페이지 기본 설정 } ====
  119. //==== 서비스 객체 { ====
  120. var mplusMedicine = new mplus_medicine();
  121. mplusMedicine.setGlobal(mplusMedicine);
  122. mplusMedicine.init();
  123. //==== 서비스 객체 } ====
  124. curPage = mplusMedicine;
  125. });
  126. this.barcodeCallback = function(data){
  127. curPage.barcodeCallback(data);
  128. };
  129. var curPage;
  130. </script>
  131. <%-- <jsp:include page="../../../template/tail.jsp" flush="false" /> --%>