SMLPD00600_대출반납현황.xrw 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPD00600_대출반납현황.xrw
  4. * 설 명 : 대출반납현황 화면
  5. * 설 계 자 : (주)에이씨케이 - 유동철
  6. * 작 성 자 : (주)에이씨케이 - 유동철
  7. * 작 성 일 : 2007.0.10
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>대출반납현황</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <lendrtn>
  20. <lendrtnlist>
  21. <instcd/>
  22. <ptno/>
  23. <dispptno/>
  24. <pid/>
  25. <patnm/>
  26. <spcseqno/>
  27. <csteno/>
  28. <slidno/>
  29. <slidcnts/>
  30. <rtnflagcd/>
  31. <appnm/>
  32. <lenddd/>
  33. <lendtm/>
  34. <lendchrgnm/>
  35. <rtnnm/>
  36. <rtndd/>
  37. <rtntm/>
  38. <rtnchrgnm/>
  39. </lendrtnlist>
  40. </lendrtn>
  41. </main>
  42. <send/>
  43. <init>
  44. <sysdt>
  45. <sysdtinfo>
  46. <sysdd/>
  47. <systm/>
  48. </sysdtinfo>
  49. </sysdt>
  50. <fromdd/>
  51. <todd/>
  52. <lendflagcd/>
  53. <pid/>
  54. </init>
  55. <hidden>
  56. </hidden>
  57. <message/>
  58. </root>
  59. </instance>
  60. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  63. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  64. <script type="javascript" ev:event="xforms-ready">
  65. <![CDATA[
  66. fExeInitialize();
  67. ]]>
  68. </script>
  69. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  70. <submission id="TRLPD00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/lendrtn/lendrtnlist"/>
  71. </model>
  72. <script type="javascript">
  73. <![CDATA[
  74. /* @group : 대출반납현황 화면
  75. * @ver : 2007.08.31 (CMCDEV-0001)
  76. * @by : 유동철(ACK)
  77. * @-----------------------------------
  78. * @type : function
  79. * @access : public
  80. * @desc : 화면초기화 함수
  81. */
  82. function fExeInitialize() {
  83. //----------------------------------------------------
  84. model.removeNodeset("/root/main/lendrtn/lendrtnlist");
  85. //--------------------------
  86. // 시스템일자 조회
  87. model.removeNodeset("/root/send");
  88. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  89. submit("TRLPZ00102");
  90. //------------
  91. // 초기값 설정
  92. model.makeValue("/root/init/fromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 시작일자(From)
  93. model.makeValue("/root/init/todd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 종료일자(To)
  94. model.makeValue("/root/init/lendflagcd", "2"); // 전체
  95. model.makeValue("/root/init/pid", ""); // 등록번호
  96. //-------------
  97. model.refresh();
  98. }
  99. /* @group : 대출반납현황 화면
  100. * @ver : 2007.08.2 (CMCDEV-0001)
  101. * @by : 유동철(ACK)
  102. * @-----------------------------------
  103. * @type : function
  104. * @access : public
  105. * @desc : 감사판독 소요시간 조회 처리 함수
  106. */
  107. function fGetLendRtnList() {
  108. //--------------------------------
  109. model.removeNodeset("/root/send");
  110. model.removeNodeset("/root/main/lendrtn/lendrtnlist");
  111. //----------------------------------------------------------------------
  112. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  113. model.makeValue("/root/send/fromdd", model.getValue("/root/init/fromdd"));
  114. model.makeValue("/root/send/todd", model.getValue("/root/init/todd"));
  115. model.makeValue("/root/send/lendflagcd", model.getValue("/root/init/lendflagcd"));
  116. model.makeValue("/root/send/pid", model.getValue("/root/init/pid"));
  117. //-------------------
  118. submit("TRLPD00601");
  119. }
  120. /* @group : 대출반납현황
  121. * @ver : 2007.08.24 (CMCDEV-0001)
  122. * @by : 유동철(ACK)
  123. * @-----------------------------------
  124. * @type : function
  125. * @access : public
  126. * @desc : 대출반납현황 Excel저장 처리 Function
  127. */
  128. function fExeSaveToExcel() {
  129. grd_lendrtnlist.saveExcel("C:\\SMLPD00600_대출반납현황.xls", "대출반납현황", false, false);
  130. messageBox("C:\\SMLPD00600_대출반납현황.xls 파일생성이 ", "I002");
  131. }
  132. ]]>
  133. </script>
  134. </xhtml:head>
  135. <xhtml:body>
  136. <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
  137. <line id="line10" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  138. <button id="button13" class="btn6_letter5" navindex="7" style="left:5px; top:3px; width:92px; height:22px; ">
  139. <caption>EXCEL저장</caption>
  140. <script type="javascript" ev:event="DOMActivate">
  141. <![CDATA[
  142. fExeSaveToExcel();
  143. ]]>
  144. </script>
  145. </button>
  146. </group>
  147. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  148. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:205px; height:13px; ">대출반납현황 환자조회</caption>
  149. </group>
  150. <group id="grp_biz" style="left:0; top:40; width:1195; height:744; ">
  151. <caption id="caption4" class="tit_2" style="left:5px; top:55px; width:185px; height:14px; ">대출반납목록</caption>
  152. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  153. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  154. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  155. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  156. <caption id="caption2" class="search_name" style="left:15; top:9px; width:86px; height:17px; ">대출일자 :</caption>
  157. <caption id="caption5" class="search_no_b" style="left:207; top:8px; width:12px; height:17px; ">~</caption>
  158. <button id="btn_sea" class="btn1_letter2" navindex="5" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  159. <caption>조회</caption>
  160. <script type="javascript" ev:event="DOMActivate">
  161. <![CDATA[
  162. fGetLendRtnList();
  163. ]]>
  164. </script>
  165. </button>
  166. <input id="ipt_cnclfromdd" ref="/root/init/fromdd" class="input_s_essential" navindex="1" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:104; top:8px; width:100px; height:19px; "/>
  167. <input id="ipt_cncltodd" ref="/root/init/todd" class="input_s_essential" navindex="2" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:223; top:8px; width:100px; height:19px; "/>
  168. <caption id="caption1" class="search_name" style="left:901px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  169. <input id="ipt_pid" ref="/root/init/pid" navindex="4" style="left:993; top:8px; width:100px; height:19px; "/>
  170. <select1 id="combo1" ref="/root/init/lendflagcd" navindex="3" appearance="minimal" style="left:635px; top:8px; width:85px; height:19px; ">
  171. <choices>
  172. <item>
  173. <label>대출</label>
  174. <value>0</value>
  175. </item>
  176. <item>
  177. <label>반납</label>
  178. <value>1</value>
  179. </item>
  180. <item>
  181. <label>전체</label>
  182. <value>2</value>
  183. </item>
  184. </choices>
  185. </select1>
  186. <caption id="caption3" class="search_name" style="left:545px; top:9px; width:86px; height:17px; ">대출구분 :</caption>
  187. </group>
  188. <datagrid id="grd_lendrtnlist" nodeset="/root/main/lendrtn/lendrtnlist" class="datagrid2" caption="기관코드^ptno^병리번호^등록번호^환자명^검체&#xA;일련번호^블럭&#xA;번호^Slide&#xA;번호^슬라이드 내용^반납구분^신청자^대출일자^대출시간^대출담당자^반납자^반납일자^반납시간^반납담당자" colsep="^" colwidth="0, 0, 80, 80, 70, 60, 50, 50, 165, 60, 70, 70, 60, 70, 70, 70, 60, 70" explorerbar="sortshow" rowheader="seq" rowsep="|" navindex="6" style="left:0; top:75px; width:1194px; height:653px; ">
  189. <col ref="instcd"/>
  190. <col ref="ptno"/>
  191. <col class="text_center" ref="dispptno"/>
  192. <col class="text_center" ref="pid"/>
  193. <col class="text_center" ref="patnm"/>
  194. <col class="text_center" ref="spcseqno"/>
  195. <col class="text_center" ref="csteno"/>
  196. <col class="text_center" ref="slidno"/>
  197. <col ref="slidcnts"/>
  198. <col ref="rtnflagcd" type="combo">
  199. <choices>
  200. <item>
  201. <label>미반납</label>
  202. <value>0</value>
  203. </item>
  204. <item>
  205. <label>반납</label>
  206. <value>1</value>
  207. </item>
  208. </choices>
  209. </col>
  210. <col class="text_center" ref="appnm"/>
  211. <col class="text_center" ref="lenddd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  212. <col class="text_center" ref="lendtm" format="hh:nn:ss" mask="exclude" showmask="true"/>
  213. <col class="text_center" ref="lendchrgnm"/>
  214. <col class="text_center" ref="rtnnm"/>
  215. <col class="text_center" ref="rtndd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  216. <col class="text_center" ref="rtntm" format="hh:nn:ss" mask="exclude" showmask="true"/>
  217. <col class="text_center" ref="rtnchrgnm"/>
  218. <script type="javascript" ev:event="onaftersort">
  219. <![CDATA[
  220. grd_lendrtnlist.gridToInstance();
  221. ]]>
  222. </script>
  223. </datagrid>
  224. </group>
  225. </xhtml:body>
  226. </xhtml:html>