SMPMC02403_응급대불관리내용팝업.xrw 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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>관리내용</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <h_ihdc>
  11. <ihdc/>
  12. </h_ihdc>
  13. </main>
  14. <send>
  15. <pid/>
  16. <indd/>
  17. <cretno/>
  18. <cnstflag/>
  19. <workdd/>
  20. <cnstspec/>
  21. <cnstdetlseqno/>
  22. </send>
  23. </root>
  24. </instance>
  25. <submission id="TRPMC02409" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  26. <submission id="TXPMC02406" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  27. </model>
  28. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  29. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  30. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  31. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  32. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  33. <script type="javascript">
  34. <![CDATA[
  35. //화면 초기화
  36. function fInitialize(){
  37. model.setValue("/root/send/pid" , opener.window.javascript.model.getValue("/root/send/data3/pid"));
  38. model.setValue("/root/send/indd" , opener.window.javascript.model.getValue("/root/send/data3/indd"));
  39. model.setValue("/root/send/cretno" , opener.window.javascript.model.getValue("/root/send/data3/cretno"));
  40. model.setValue("/root/send/workdd" , getCurrentDate());
  41. model.setValue("/root/send/cnstflag" , 0);
  42. model.refresh();
  43. }
  44. function fSearch(){
  45. submit("TRPMC02409");
  46. }
  47. function fSave(){
  48. if(submit("TXPMC02406")) fSearch();
  49. }
  50. ]]>
  51. </script>
  52. <script type="javascript" ev:event="xforms-ready">
  53. <![CDATA[
  54. fInitialize();
  55. fSearch();
  56. ]]>
  57. </script>
  58. </xhtml:head>
  59. <xhtml:body pagewidth="530" pageheight="385" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  60. <caption id="caption1" class="tit_2" style="left:0px; top:2px; width:170px; height:13px; ">관리내용작성</caption>
  61. <line id="line3" class="line_1" style="x1:0px; y1:16px; x2:510; y2:16px; "/>
  62. <caption id="caption3" class="cell_1" style="left:0px; top:21px; width:110px; height:23px; vertical-align:middle; ">작성일자</caption>
  63. <caption id="caption48" class="cell_1" style="left:0px; top:45px; width:110px; height:23px; vertical-align:middle; ">관리내용분류</caption>
  64. <caption id="caption49" class="cell_1" style="left:0px; top:69px; width:110px; height:83px; vertical-align:middle; ">내용</caption>
  65. <input id="ipt_wrtedd" ref="/root/send/workdd" class="input_default" inputtype="date" style="left:113px; top:22px; width:122px; height:19px; ">
  66. <script type="javascript" ev:event="xforms-value-changed">
  67. <![CDATA[
  68. ]]>
  69. </script>
  70. </input>
  71. <select1 id="cmb_mngtcntscls" ref="/root/send/cnstflag" class="combo_default" appearance="minimal" style="left:113px; top:46px; width:122px; height:19px; ">
  72. <choices>
  73. <item>
  74. <label>전체</label>
  75. <value>0</value>
  76. </item>
  77. <item>
  78. <label>재원환자</label>
  79. <value>1</value>
  80. </item>
  81. <item>
  82. <label>재원미수</label>
  83. <value>2</value>
  84. </item>
  85. <item>
  86. <label>퇴원미수</label>
  87. <value>3</value>
  88. </item>
  89. <item>
  90. <label>응급대불</label>
  91. <value>4</value>
  92. </item>
  93. </choices>
  94. <script type="javascript" ev:event="xforms-value-changed">
  95. <![CDATA[
  96. ]]>
  97. </script>
  98. </select1>
  99. <textarea id="tar_cnts" ref="/root/send/cnstspec" maxlength="999" style="left:113px; top:71px; width:396; height:77px; "/>
  100. <line id="line4" class="line_3" style="x1:0px; y1:151px; x2:510; y2:151px; "/>
  101. <caption id="caption4" class="tit_2" style="left:0px; top:155px; width:170px; height:13px; ">관리내용조회</caption>
  102. <line id="line11" class="line_1" style="x1:0px; y1:170px; x2:510; y2:170px; "/>
  103. <line id="line9" class="line_2" style="x1:0px; y1:43px; x2:235; y2:43px; "/>
  104. <line id="line1" class="line_2" style="x1:0px; y1:67px; x2:235; y2:67px; "/>
  105. <button id="btn_search" class="btn4_letter2" style="left:454px; top:358px; width:56px; height:22px; ">
  106. <caption>조회</caption>
  107. <script type="javascript" ev:event="DOMActivate">
  108. <![CDATA[
  109. fSearch();
  110. ]]>
  111. </script>
  112. </button>
  113. <button id="btn_save" class="btn4_letter2" style="left:397px; top:358px; width:56px; height:22px; ">
  114. <caption>저장</caption>
  115. <script type="javascript" ev:event="DOMActivate">
  116. <![CDATA[
  117. fSave();
  118. ]]>
  119. </script>
  120. </button>
  121. <datagrid id="grd_ihdc" nodeset="/root/main/h_ihdc/ihdc" caption="등록번호^입원일자^생성번호^상담상세일련번호^기관코드^작성일자^분류^관리내용^작성자" colsep="^" colwidth="0, 0, 0, 0, 0, 70, 60, 307, 70" dataheight="23" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" style="left:0px; top:175px; width:510; height:179px; ">
  122. <col ref="pid" style="left:20px; top:23px; width:100px; height:23px; "/>
  123. <col ref="indd"/>
  124. <col ref="cretno"/>
  125. <col ref="cnstdetlseqno"/>
  126. <col ref="instcd"/>
  127. <col ref="workdd" format="yyyy-mm-dd"/>
  128. <col disabled="true" ref="cnstflag" type="combo">
  129. <choices>
  130. <item>
  131. <label>-</label>
  132. <value>0</value>
  133. </item>
  134. <item>
  135. <label>재원환자</label>
  136. <value>1</value>
  137. </item>
  138. <item>
  139. <label>재원미수</label>
  140. <value>2</value>
  141. </item>
  142. <item>
  143. <label>퇴원미수</label>
  144. <value>3</value>
  145. </item>
  146. <item>
  147. <label>응급대불</label>
  148. <value>4</value>
  149. </item>
  150. </choices>
  151. </col>
  152. <col ref="cnstspec"/>
  153. <col ref="lastupdtrnm"/>
  154. <script type="javascript" ev:event="onclick">
  155. <![CDATA[
  156. model.setValue("/root/send/pid" , model.getValue("/root/main/h_ihdc/ihdc["+ grd_ihdc.row +"]/pid"));
  157. model.setValue("/root/send/indd" , model.getValue("/root/main/h_ihdc/ihdc["+ grd_ihdc.row +"]/indd"));
  158. model.setValue("/root/send/cretno" , model.getValue("/root/main/h_ihdc/ihdc["+ grd_ihdc.row +"]/cretno"));
  159. model.setValue("/root/send/cnstflag" , model.getValue("/root/main/h_ihdc/ihdc["+ grd_ihdc.row +"]/cnstflag"));
  160. model.setValue("/root/send/workdd" , model.getValue("/root/main/h_ihdc/ihdc["+ grd_ihdc.row +"]/workdd" ));
  161. model.setValue("/root/send/cnstspec" , model.getValue("/root/main/h_ihdc/ihdc["+ grd_ihdc.row +"]/cnstspec"));
  162. model.setValue("/root/send/cnstdetlseqno" , model.getValue("/root/main/h_ihdc/ihdc["+ grd_ihdc.row +"]/cnstdetlseqno"));
  163. model.refresh();
  164. ]]>
  165. </script>
  166. </datagrid>
  167. <button id="btn_new" class="btn4_letter4" style="left:316px; top:358px; width:80px; height:22px; ">
  168. <caption>신규저장</caption>
  169. <script type="javascript" ev:event="DOMActivate">
  170. <![CDATA[
  171. model.setValue("/root/send/cnstdetlseqno" , "");
  172. fSave();
  173. ]]>
  174. </script>
  175. </button>
  176. </xhtml:body>
  177. </xhtml:html>