SPMMO33500_OnCall조회.xrw 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>On Call 관리 (응급실, 수술실)</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <init>
  10. <orddept/>
  11. <userlist/>
  12. </init>
  13. <main>
  14. <cond>
  15. <condflag/>
  16. <condkind/>
  17. <fromdd/>
  18. <todd/>
  19. <condacpt>E</condacpt>
  20. <sortkind/>
  21. <patflagcd>E</patflagcd>
  22. </cond>
  23. <oncalllist/>
  24. </main>
  25. <send>
  26. <reqdata/>
  27. <savedata/>
  28. </send>
  29. <hidden/>
  30. <temp/>
  31. </root>
  32. </instance>
  33. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  34. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  35. <submission id="TRMMO33501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/main/oncalllist"/>
  36. <submission id="TXMMO33201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/oncalllist"/>
  37. <script type="javascript" ev:event="xforms-model-construct-done">
  38. <![CDATA[
  39. fInitOnCall("P");
  40. ]]>
  41. </script>
  42. </model>
  43. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  47. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  48. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO33200.js"/>
  49. </xhtml:head>
  50. <xhtml:body pagewidth="1100" pageheight="700">
  51. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:695px; height:14px; ">On Call 내역</caption>
  52. <group id="group1" style="left:0px; top:15px; width:1075px; height:665px; ">
  53. <button id="btn_save" class="btn5_letter2" disabled="true" style="left:943px; top:50px; width:42px; height:19px; ">
  54. <caption>저장</caption>
  55. <script type="javascript" ev:event="DOMActivate">
  56. <![CDATA[
  57. fSaveOnCallInfo("P");
  58. ]]>
  59. </script>
  60. </button>
  61. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1075px; height:45px; background-color:#fffbf2; border-color:#ffd799; "/>
  62. <input id="input3" ref="/root/main/cond/fromdd" inputtype="date" style="left:95px; top:15px; width:90px; height:19px; "/>
  63. <input id="input6" ref="/root/main/cond/todd" inputtype="date" style="left:195px; top:15px; width:90px; height:19px; "/>
  64. <caption id="caption1" style="left:185px; top:16px; width:11px; height:20px; ">~</caption>
  65. <button id="button1" class="btn1_letter2" style="left:1005px; top:12px; width:56px; height:22px; ">
  66. <caption>조회</caption>
  67. <script type="javascript" ev:event="DOMActivate">
  68. <![CDATA[
  69. fGetAfterOnCallList();
  70. ]]>
  71. </script>
  72. </button>
  73. <line id="line2" style="x1:993px; y1:12px; x2:993px; y2:34px; border-color:#ffe4bb; border-left-style:solid; "/>
  74. <line id="line9" class="line_1" style="x1:0px; y1:71px; x2:1075px; y2:71px; "/>
  75. <caption id="caption15" class="tit_2" style="left:0px; top:54px; width:188px; height:13px; text-align:left; ">On Call 내역</caption>
  76. <caption id="caption2" class="search_name" style="left:315px; top:13px; width:61px; height:17px; ">결재 :</caption>
  77. <select1 id="radio2" ref="/root/main/cond/condacpt" appearance="full" cols="3" overflow="visible" style="left:375px; top:13px; width:145px; height:20px; border-style:none; ">
  78. <choices>
  79. <item>
  80. <label>전체</label>
  81. <value>-</value>
  82. </item>
  83. <item>
  84. <label>결재</label>
  85. <value>Y</value>
  86. </item>
  87. <item>
  88. <label>미결재</label>
  89. <value>N</value>
  90. </item>
  91. </choices>
  92. </select1>
  93. <line id="line3" class="line_3" style="x1:0px; y1:661px; x2:1075px; y2:661px; "/>
  94. <datagrid id="grd_oncalllist" nodeset="/root/main/oncalllist/info" caption="saveflag^calldeptcd^환자구분^진료과^사번^성명^등록번호^환자명^신청일시^시작시간^종료시간^접수^등록일자^상태^신청내용^작업내용" colsep="^" colwidth="0, 0, 65, 110, 75, 70, 75, 70, 0, 115, 115, 40, 75, 30, 200, 200" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:76px; width:1075px; height:583px; text-align:center; ">
  95. <col ref="saveflag"/>
  96. <col ref="calldeptcd"/>
  97. <col ref="patflagcd" type="combo">
  98. <choices>
  99. <item>
  100. <label>응급</label>
  101. <value>E</value>
  102. </item>
  103. <item>
  104. <label>일반</label>
  105. <value>S</value>
  106. </item>
  107. <item>
  108. <label>외상</label>
  109. <value>T</value>
  110. </item>
  111. </choices>
  112. </col>
  113. <col ref="calldeptnm"/>
  114. <col ref="calldrid"/>
  115. <col ref="calldrnm"/>
  116. <col ref="pid"/>
  117. <col ref="hngnm"/>
  118. <col ref="appdt" format="yyyy-mm-dd hh:nn"/>
  119. <col ref="arvdt" format="yyyy-mm-dd hh:nn"/>
  120. <col ref="enddt" format="yyyy-mm-dd hh:nn"/>
  121. <col checkvalue="Y,N" ref="acptyn" type="checkbox"/>
  122. <col ref="rgstdd" format="yyyy-mm-dd"/>
  123. <col disabled="true" ref="statcd" type="combo">
  124. <choices>
  125. <item>
  126. <label>신청</label>
  127. <value>A</value>
  128. </item>
  129. <item>
  130. <label>도착</label>
  131. <value>R</value>
  132. </item>
  133. <item>
  134. <label>완료</label>
  135. <value>E</value>
  136. </item>
  137. <item>
  138. <label>삭제</label>
  139. <value>X</value>
  140. </item>
  141. </choices>
  142. </col>
  143. <col ref="appcnts" style="text-align:left; "/>
  144. <col ref="workcnts" style="text-align:left; "/>
  145. <script type="javascript" ev:event="xforms-value-changed">
  146. <![CDATA[
  147. var iRow = grd_oncalllist.row;
  148. if( iRow > 0 ){
  149. if( model.getValue("/root/main/oncalllist/info["+iRow+"]/statcd") != "E" ){
  150. alert("완료 상태가 아닙니다.");
  151. model.setValue("/root/main/oncalllist/info["+iRow+"]/acptyn", "N");
  152. return;
  153. }
  154. model.setValue("/root/main/oncalllist/info["+iRow+"]/saveflag", "U");
  155. }
  156. ]]>
  157. </script>
  158. </datagrid>
  159. <select1 id="radio1" ref="/root/main/cond/condkind" appearance="full" cellspacing="5" overflow="visible" style="left:30px; top:6px; width:60px; height:32px; border-style:none; ">
  160. <choices>
  161. <item>
  162. <label>등록일</label>
  163. <value>A</value>
  164. </item>
  165. <item>
  166. <label>시작일</label>
  167. <value>R</value>
  168. </item>
  169. </choices>
  170. </select1>
  171. <caption id="caption3" class="search_name" style="left:10px; top:13px; width:26px; height:17px; "/>
  172. <caption id="caption4" class="search_name" style="left:810px; top:13px; width:61px; height:17px; ">정렬 :</caption>
  173. <select1 id="radio3" ref="/root/main/cond/sortkind" appearance="full" cols="2" overflow="visible" style="left:870px; top:13px; width:115px; height:20px; border-style:none; ">
  174. <choices>
  175. <item>
  176. <label>의사별</label>
  177. <value>D</value>
  178. </item>
  179. <item>
  180. <label>환자별</label>
  181. <value>P</value>
  182. </item>
  183. </choices>
  184. </select1>
  185. <button id="button2" class="btn2_letter2" style="left:987px; top:50px; width:42px; height:19px; ">
  186. <caption>출력</caption>
  187. <script type="javascript" ev:event="DOMActivate">
  188. <![CDATA[
  189. exeReportPreview("RPMMO33500", "XMLSTR");
  190. ]]>
  191. </script>
  192. </button>
  193. <button id="button4" class="btn2_letter2" style="left:1031px; top:50px; width:42px; height:19px; ">
  194. <caption>엑셀</caption>
  195. <script type="javascript" ev:event="DOMActivate">
  196. <![CDATA[
  197. var fileName = window.fileDialog("save", ",", false, "On Call 내역", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  198. if (fileName != ""){
  199. grd_oncalllist.saveExcel(fileName, "On Call 내역", false, false, "", "", false);
  200. }
  201. ]]>
  202. </script>
  203. </button>
  204. <caption id="caption5" class="search_name" style="left:545px; top:13px; width:61px; height:17px; ">구분 :</caption>
  205. <select1 id="radio4" ref="/root/main/cond/patflagcd" appearance="full" cols="4" overflow="visible" style="left:605px; top:13px; width:180px; height:20px; border-style:none; ">
  206. <choices>
  207. <item>
  208. <label>전체</label>
  209. <value>-</value>
  210. </item>
  211. <item>
  212. <label>응급</label>
  213. <value>E</value>
  214. </item>
  215. <item>
  216. <label>일반</label>
  217. <value>S</value>
  218. </item>
  219. <item>
  220. <label>외상</label>
  221. <value>T</value>
  222. </item>
  223. </choices>
  224. </select1>
  225. </group>
  226. </xhtml:body>
  227. </xhtml:html>