SPMNE04900_응급센터의사소통Pg(사원).xrw 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. <?xml version="1.0" encoding="EUC-KR"?>
  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>응급 센터의사소통Pg(사원)</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cmpginfo>
  11. <cmpglist>
  12. <pid/>
  13. <hngnm/>
  14. <bedposcnts/>
  15. <nursnm/>
  16. <rgstdt/>
  17. <empnm/>
  18. <enddt/>
  19. <nursid/>
  20. <empid/>
  21. <ugcyyn/>
  22. <trscnts/>
  23. </cmpglist>
  24. </cmpginfo>
  25. <cond>
  26. <patinfo>
  27. <selpatinfo/>
  28. <pid/>
  29. <bedposcnts/>
  30. <patinfo/>
  31. <histno/>
  32. <status>T</status>
  33. <srchtype/>
  34. <fromdd/>
  35. <todd/>
  36. </patinfo>
  37. <patlist>
  38. <endyn>N</endyn>
  39. <ugcyyn/>
  40. </patlist>
  41. </cond>
  42. <patcmpginfo>
  43. <selmsginfo/>
  44. <ugcyyn/>
  45. <trscnts/>
  46. </patcmpginfo>
  47. <erpatinfo>
  48. </erpatinfo>
  49. </main>
  50. <send/>
  51. <init/>
  52. <code>
  53. <codeinfo>
  54. <codelist>
  55. <cdid/>
  56. <cdnm/>
  57. </codelist>
  58. </codeinfo>
  59. </code>
  60. </root>
  61. </instance>
  62. <script type="javascript" ev:event="xforms-ready">
  63. <![CDATA[
  64. fInit();
  65. ]]>
  66. </script>
  67. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/code/codelist"/>
  68. <submission id="TRMNE04801" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/main/erpatlist"/>
  69. <submission id="TRMNE04802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" replace="instance" resultref="/root/main/cmpginfo"/>
  70. <submission id="TXMNE04801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cmpginfo"/>
  71. </model>
  72. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  73. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  74. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  75. <script type="javascript" src="../../../emr/ercareweb/js/SPMNE04800.js"/>
  76. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  77. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  78. </xhtml:head>
  79. <xhtml:body guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  80. <group id="group1" style="left:0px; top:0px; width:1005px; height:13px; ">
  81. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:185px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">응급센터 의사소통 Pg(사원)</caption>
  82. </group>
  83. <group id="group5" class="datagrid2" scroll="auto" style="left:0px; top:13px; width:1195px; height:770px; ">
  84. <line id="line8" class="line_3" style="x1:0px; y1:103px; x2:1195px; y2:103px; "/>
  85. <group id="group2" style="left:0px; top:5px; width:1195px; height:765px; ">
  86. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1193px; height:55px; "/>
  87. <line id="line9" class="line_1" style="x1:0px; y1:75px; x2:1193px; y2:75px; "/>
  88. <datagrid id="grd_userlist" nodeset="/root/main/cmpginfo/cmpglist" class="datagrid1" allowselection="false" autoresize="true" caption="등록번호^환자명^BedNo^간호사^등록시간^사원^완료시간^^^^전달한 내용^histno^status" colwidth="85, 85, 80, 75, 115, 75, 115, 0, 0, 0, 456, 0, 0" dataheight="25" ellipsis="true" explorerbar="sortmove" extendlastcol="scroll" rowheader="select" rowheight="32" style="left:0px; top:80px; width:1194px; height:685px; ">
  89. <col allowuserresize="true" ref="pid" type="output" style="text-align:center; "/>
  90. <col allowuserresize="true" ref="hngnm" type="output" style="text-align:center; "/>
  91. <col allowuserresize="true" ref="bedposcnts" style="text-align:center; "/>
  92. <col allowuserresize="true" ref="nursnm" style="text-align:center; "/>
  93. <col allowuserresize="true" ref="rgstdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  94. <col allowuserresize="true" ref="empnm" style="text-align:center; "/>
  95. <col allowuserresize="true" ref="enddt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  96. <col ref="nursid" visible="hidden"/>
  97. <col ref="empid" visible="hidden"/>
  98. <col ref="ugcyyn" visible="hidden"/>
  99. <col ref="trscnts" type="output"/>
  100. <col ref="histno" visibility="hidden"/>
  101. <col ref="status" visibility="hidden"/>
  102. <script type="javascript" ev:event="ondblclick">
  103. <![CDATA[
  104. var iRow = grd_userlist.row;
  105. fDblclick("T", iRow);
  106. ]]>
  107. </script>
  108. </datagrid>
  109. <select1 id="rdo_endyn" ref="/root/main/cond/patlist/endyn" class="radio_search" appearance="full" cols="2" style="left:312px; top:18px; width:114px; height:20px; border-style:none; ">
  110. <choices>
  111. <item>
  112. <label>미해결</label>
  113. <value>N</value>
  114. </item>
  115. <item>
  116. <label>해결</label>
  117. <value>Y</value>
  118. </item>
  119. </choices>
  120. <script type="javascript" ev:event="xforms-select">
  121. <![CDATA[
  122. btn_srchindxcd.dispatch("DOMActivate");
  123. //fSrchCMPGList("A");
  124. if( model.getValue("/root/main/cond/patlist/endyn") == "Y" ){
  125. btn_send.disabled = true;
  126. }else{
  127. btn_send.disabled = false;
  128. }
  129. ]]>
  130. </script>
  131. </select1>
  132. <input id="ipt_pid" ref="/root/main/cond/patinfo/pid" class="input_search" style="left:115px; top:17px; width:92px; height:19px; font-weight:bold; ">
  133. <script type="javascript" ev:event="onkeyup">
  134. <![CDATA[
  135. if(event.keyCode == "13") {
  136. inputEnterKey("btn_srchindxcd", "DOMActivate");
  137. }
  138. ]]>
  139. </script>
  140. </input>
  141. <caption id="caption1" class="search_name" style="left:245px; top:18px; width:65px; height:17px; vertical-align:middle; ">구분 :</caption>
  142. <caption id="caption12" class="search_name" style="left:25px; top:18px; width:86px; height:17px; vertical-align:middle; ">등록번호 :</caption>
  143. <line id="line27" class="line_4" style="x1:960px; y1:17px; x2:960px; y2:39px; "/>
  144. <caption id="caption16" class="tit_2" style="left:5px; top:60px; width:113px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자 조회</caption>
  145. <caption id="caption7" class="search_name" style="left:480px; top:18px; width:86px; height:17px; vertical-align:middle; ">긴급여부 :</caption>
  146. <bool id="chk_ugcyyn" checkvalue="Y,N" ref="/root/main/cond/patlist/ugcyyn" style="left:571px; top:17px; width:25px; height:20px; ">
  147. <script type="javascript" ev:event="xforms-value-changed">
  148. <![CDATA[
  149. btn_srchindxcd.dispatch("DOMActivate");
  150. ]]>
  151. </script>
  152. </bool>
  153. <caption id="caption2" class="search_name" style="left:635px; top:29px; width:91px; height:17px; vertical-align:middle; ">조회일자 :</caption>
  154. <select1 id="rdo_srchtype" ref="/root/main/cond/patinfo/srchtype" appearance="full" cols="3" overflow="visible" style="left:725px; top:5px; width:180px; height:20px; border-style:none; ">
  155. <choices>
  156. <item>
  157. <label>미지정</label>
  158. <value>X</value>
  159. </item>
  160. <item>
  161. <label>등록일</label>
  162. <value>I</value>
  163. </item>
  164. <item>
  165. <label>완료일</label>
  166. <value>O</value>
  167. </item>
  168. </choices>
  169. <script type="javascript" ev:event="xforms-value-changed">
  170. <![CDATA[
  171. if(rdo_srchtype.value == "I"){
  172. ipt_fromdd.disabled = false;
  173. ipt_todd.disabled = false;
  174. }else if(rdo_srchtype.value == "O"){
  175. ipt_fromdd.disabled = false;
  176. ipt_todd.disabled = false;
  177. }else if(rdo_srchtype.value == "X"){
  178. ipt_fromdd.disabled = true;
  179. ipt_todd.disabled = true;
  180. }
  181. fSrchCMPGList("A");
  182. ]]>
  183. </script>
  184. </select1>
  185. <input id="ipt_fromdd" ref="/root/main/cond/patinfo/fromdd" disabled="true" inputtype="date" appearance="input" style="left:725px; top:28px; width:95px; height:19px; "/>
  186. <input id="ipt_todd" ref="/root/main/cond/patinfo/todd" disabled="true" inputtype="date" appearance="input" style="left:845px; top:28px; width:95px; height:19px; "/>
  187. <caption id="caption3" style="left:826px; top:29px; width:15px; height:20px; ">~</caption>
  188. <button id="btn_srchindxcd" class="btn4_letter2" navindex="5" style="left:972px; top:17px; width:56px; height:22px; ">
  189. <caption>조회</caption>
  190. <script type="javascript" ev:event="DOMActivate">
  191. <![CDATA[
  192. fSrchCMPGList("A");
  193. ]]>
  194. </script>
  195. </button>
  196. <button id="btn_send" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:1031px; top:17px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
  197. <caption>저장</caption>
  198. <script type="javascript" ev:event="DOMActivate">
  199. <![CDATA[
  200. fSave("T");
  201. ]]>
  202. </script>
  203. </button>
  204. <button id="button2" class="btn4_letter5" style="left:1090px; top:17px; width:92px; height:22px; ">
  205. <caption>Excel 저장</caption>
  206. <script type="javascript" ev:event="DOMActivate">
  207. <![CDATA[
  208. var file = "응급센터의사소통조회("+ipt_fromdd.value+"-"+ipt_todd.value+")";
  209. var fileName = window.fileDialog("save", ",", false, file, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  210. if(fileName != ""){
  211. grd_userlist.saveExcel(fileName, "SheetName", true, true, "", "", false);
  212. }
  213. ]]>
  214. </script>
  215. </button>
  216. <caption id="caption4" class="search_name" style="left:635px; top:5px; width:91px; height:17px; vertical-align:middle; ">조회기준 :</caption>
  217. </group>
  218. </group>
  219. </xhtml:body>
  220. </xhtml:html>