SPAEA03202_예약승인(사이버나이프).xrw 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>Cyber Knife 예약승인</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <formdata/>
  10. <send>
  11. <globalinstance>
  12. <instance1/>
  13. </globalinstance>
  14. <data>
  15. <prcpdd/>
  16. <instcd/>
  17. <rsrvdd/>
  18. <rsrvtm/>
  19. <rsrvhour/>
  20. <rsrvgubun/>
  21. <rsrvsecond/>
  22. <pid/>
  23. <pname/>
  24. <act/>
  25. <prcpno/>
  26. <prcphistno/>
  27. <ioflag/>
  28. <execprcpno/>
  29. <deptcd/>
  30. </data>
  31. </send>
  32. <hidden>
  33. <count/>
  34. </hidden>
  35. </root>
  36. </instance>
  37. <!--예약등록 -->
  38. <submission id="TXAEA01117" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/hidden"/>
  39. </model>
  40. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  43. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  44. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  47. <script type="javascript" ev:event="xforms-ready">
  48. <![CDATA[
  49. //예약부서
  50. model.setValue("root/send/data/deptcd","2360500000");
  51. //처방번호
  52. model.setValue("root/send/data/prcpno",model.getValue("root/formdata/prcpno"));
  53. //병원코드
  54. model.setValue("root/send/data/instcd",model.getValue("root/formdata/instcd"));
  55. //처방이력번호
  56. model.setValue("root/send/data/prcphistno",model.getValue("root/formdata/prcphistno"));
  57. //실시처방일련번호
  58. model.setValue("root/send/data/execprcpno",model.getValue("root/formdata/execprcpno"));
  59. //처방일
  60. model.setValue("root/send/data/prcpdd",model.getValue("root/formdata/prcpdd"));
  61. optPid.value =model.getValue("root/formdata/pid");
  62. optPname.value =model.getValue("root/formdata/hngnm");
  63. ]]>
  64. </script>
  65. <script type="javascript">
  66. <![CDATA[
  67. // 날짜 및 시간 포맷 확인
  68. function fncSetFormate(arg)
  69. {
  70. var rtnValue ='';
  71. if(arg <10)
  72. {
  73. rtnValue = '0'+arg;
  74. }
  75. else
  76. {
  77. rtnValue = arg;
  78. }
  79. return rtnValue;
  80. }
  81. ]]>
  82. </script>
  83. </xhtml:head>
  84. <xhtml:body pagewidth="390" pageheight="250" guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  85. <group id="group1" style="left:0px; top:0px; width:365px; height:13px; "/>
  86. <group id="grp_biz" scroll="auto" style="left:0px; top:20px; width:365px; height:190px; ">
  87. <group id="group2" style="left:0px; top:0px; width:365px; height:190px; vertical-align:top; ">
  88. <caption id="caption29" class="cell_1" style="left:5px; top:30px; width:105px; height:23px; ">환자번호</caption>
  89. <line id="line15" class="line_1" style="x1:3px; y1:22px; x2:346px; y2:22px; "/>
  90. <line id="line16" class="line_3" style="x1:0px; y1:147px; x2:346px; y2:147px; "/>
  91. <line id="line17" class="line_2" style="x1:6px; y1:52px; x2:346px; y2:52px; "/>
  92. <output id="optPid" ref="/root/send/data/pid" class="output_fix" style="left:115px; top:31px; width:135px; height:19px; "/>
  93. <caption id="caption35" class="cell_1" style="left:5px; top:60px; width:105px; height:23px; ">환자이름</caption>
  94. <caption id="caption3" class="cell_1" style="left:5px; top:91px; width:105px; height:23px; ">예약일자</caption>
  95. <caption id="caption4" class="cell_1" style="left:5px; top:121px; width:105px; height:23px; ">예약시간</caption>
  96. <caption id="caption20" style="left:163px; top:123px; width:25px; height:20px; ">시</caption>
  97. <caption id="caption21" style="left:239px; top:123px; width:25px; height:20px; ">분</caption>
  98. <select1 id="cmbHour" ref="/root/send/data/rsrvhour" appearance="minimal" style="left:115px; top:122px; width:45px; height:19px; ">
  99. <choices>
  100. <item>
  101. <label>00</label>
  102. <value>00</value>
  103. </item>
  104. <item>
  105. <label>01</label>
  106. <value>01</value>
  107. </item>
  108. <item>
  109. <label>02</label>
  110. <value>02</value>
  111. </item>
  112. <item>
  113. <label>03</label>
  114. <value>03</value>
  115. </item>
  116. <item>
  117. <label>04</label>
  118. <value>04</value>
  119. </item>
  120. <item>
  121. <label>05</label>
  122. <value>05</value>
  123. </item>
  124. <item>
  125. <label>06</label>
  126. <value>06</value>
  127. </item>
  128. <item>
  129. <label>07</label>
  130. <value>07</value>
  131. </item>
  132. <item>
  133. <label>08</label>
  134. <value>08</value>
  135. </item>
  136. <item>
  137. <label>09</label>
  138. <value>09</value>
  139. </item>
  140. <item>
  141. <label>10</label>
  142. <value>10</value>
  143. </item>
  144. <item>
  145. <label>11</label>
  146. <value>11</value>
  147. </item>
  148. <item>
  149. <label>12</label>
  150. <value>12</value>
  151. </item>
  152. </choices>
  153. </select1>
  154. <select1 id="cmbSecond" ref="/root/send/data/rsrvsecond" appearance="minimal" style="left:185px; top:122px; width:45px; height:19px; ">
  155. <choices>
  156. <item>
  157. <label>00</label>
  158. <value>00</value>
  159. </item>
  160. <item>
  161. <label>10</label>
  162. <value>10</value>
  163. </item>
  164. <item>
  165. <label>20</label>
  166. <value>20</value>
  167. </item>
  168. <item>
  169. <label>30</label>
  170. <value>30</value>
  171. </item>
  172. <item>
  173. <label>40</label>
  174. <value>40</value>
  175. </item>
  176. <item>
  177. <label>50</label>
  178. <value>50</value>
  179. </item>
  180. </choices>
  181. </select1>
  182. <line id="line3" class="line_2" style="x1:6px; y1:143px; x2:346px; y2:143px; "/>
  183. <select1 id="cmbGubun" ref="/root/send/data/rsrvgubun" appearance="minimal" style="left:259px; top:122px; width:45px; height:19px; ">
  184. <choices>
  185. <item>
  186. <label>AM</label>
  187. <value>0</value>
  188. </item>
  189. <item>
  190. <label>PM</label>
  191. <value>12</value>
  192. </item>
  193. </choices>
  194. </select1>
  195. <button id="btn_acpt" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:233px; top:155px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  196. <caption>저장</caption>
  197. <script type="javascript" ev:event="DOMActivate">
  198. <![CDATA[
  199. //예약시간
  200. var _hour = eval(model.getValue("root/send/data/rsrvhour"))+ eval(model.getValue("root/send/data/rsrvgubun"))
  201. var ddtt = fncSetFormate(_hour)+model.getValue("root/send/data/rsrvsecond")
  202. model.setValue("root/send/data/rsrvtm",ddtt);
  203. var rtnValue = messageBox("예약을","Q006");
  204. if(rtnValue == 6)
  205. {
  206. submit("TXAEA01117");
  207. }
  208. ]]>
  209. </script>
  210. </button>
  211. <button id="button1" class="btn4_letter2" disable.ba간ckground-image="../../../com/commonweb/images/dis_btn4_letter2.gif" d="button13" style="left:290px; top:155px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  212. <caption>종료</caption>
  213. <script type="javascript" ev:event="DOMActivate">
  214. <![CDATA[
  215. window.close();
  216. ]]>
  217. </script>
  218. </button>
  219. <input id="ipt_date1" ref="/root/send/data/rsrvdd" class="input_default" inputtype="date" style="left:115px; top:92px; width:90px; height:19px; "/>
  220. <line id="line1" class="line_2" style="x1:6px; y1:83px; x2:346px; y2:83px; "/>
  221. <output id="optPname" ref="/root/send/data/pname" class="output_fix" style="left:115px; top:60px; width:135px; height:19px; "/>
  222. <line id="line2" class="line_2" style="x1:6px; y1:114px; x2:346px; y2:114px; "/>
  223. <caption id="caption6" class="tit_1" style="left:10px; top:5px; width:119px; height:13px; ">예약승인</caption>
  224. </group>
  225. </group>
  226. </xhtml:body>
  227. </xhtml:html>