SMDRP00100_보고서-진료카드 발급 이력조회.xrw 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <msg>
  12. <pid/>
  13. <hngnm/>
  14. <issdg/>
  15. <eqmpos/>
  16. <issdd/>
  17. <issrid/>
  18. <remfact/>
  19. </msg>
  20. </list>
  21. </main>
  22. <send>
  23. <issdds/>
  24. <issdde/>
  25. <eqmpos/>
  26. <pid/>
  27. <hngnm/>
  28. <offset/>
  29. <pagesize>200</pagesize>
  30. </send>
  31. <temp/>
  32. <init>
  33. <eqmset>
  34. <itemlist>
  35. <eqmpos/>
  36. <issno/>
  37. </itemlist>
  38. </eqmset>
  39. </init>
  40. <properties>
  41. <error>
  42. <msg/>
  43. </error>
  44. </properties>
  45. </root>
  46. </instance>
  47. <submission id="TRDRP00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" add="bottom" resultref="/root/main/list"/>
  48. <script type="javascript" ev:event="xforms-ready">
  49. <![CDATA[
  50. // 당일날짜 세팅
  51. model.setValue("/root/send/issdds", getCurrentDate());
  52. model.setValue("/root/send/issdde", getCurrentDate());
  53. model.removeNodeset("/root/main/list/msg");
  54. submit("TRDRP00102");
  55. addComboItem( "cmb_search");
  56. model.refresh();
  57. ]]>
  58. </script>
  59. <submission id="TRDRP00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" replace="instance" resultref="/root/init/eqmset"/>
  60. </model>
  61. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  63. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  64. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  65. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  66. <script type="javascript" src="../../../crd/cardissueweb/js/crdcommon.js"/>
  67. </xhtml:head>
  68. <xhtml:body guideline="1,1193;1,1195;2,35;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  69. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  70. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">진료카드 발급 이력조회</caption>
  71. </group>
  72. <group id="group3" style="left:0px; top:13px; width:1195px; height:767px; ">
  73. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; ">
  74. <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; "/>
  75. <caption id="caption1" class="search_name" style="left:545px; top:10px; width:80px; height:17px; ">등록번호</caption>
  76. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  77. <caption>조회</caption>
  78. <script type="javascript" ev:event="DOMActivate">
  79. <![CDATA[
  80. var issddsDate = input11.value;
  81. var issddeDate = input12.value;
  82. if(issddsDate>issddeDate){
  83. messageBox("조회 하고자 하는 발급일자를 제대로", "C001");
  84. }else if(issddsDate.length<8 | issddeDate.length<8){
  85. messageBox("조회하고자 하는 발급 일자를 제대로", "C001");
  86. }else{
  87. model.removeNodeset("/root/main/list/msg");
  88. model.setValue("/root/send/offset", 0);
  89. submit("TRDRP00101");
  90. var subMessage = model.getValue("/root/main/list/msg[1]/tot_cnt");
  91. subMessage = intComma(subMessage);
  92. setSystemMessage(subMessage+"건이 조회 되었습니다.");
  93. }
  94. ]]>
  95. </script>
  96. </button>
  97. <caption id="caption5" class="search_name" style="left:5px; top:11px; width:84px; height:17px; ">발급일자</caption>
  98. <select1 id="cmb_search" ref="/root/send/eqmpos" class="combo_search" appearance="minimal" style="left:415px; top:10px; width:115px; height:19px; ">
  99. <choices>
  100. <itemset nodeset="/root/init/eqmset/itemlist">
  101. <label ref="eqmpos"/>
  102. <value ref="issno"/>
  103. </itemset>
  104. </choices>
  105. </select1>
  106. <caption id="caption4" class="search_name" style="left:320px; top:11px; width:100px; height:17px; vertical-align:middle; ">발급장비명</caption>
  107. <caption id="caption8" class="search_name" style="left:740px; top:10px; width:76px; height:17px; ">환자성명</caption>
  108. <input id="input2" ref="/root/send/hngnm" class="input_search" maxlength="15" style="left:820px; top:10px; width:100px; height:19px; ">
  109. <script type="javascript" ev:event="onkeypress">
  110. <![CDATA[
  111. inputEnterKey("btn_search", "DOMActivate");
  112. ]]>
  113. </script>
  114. </input>
  115. <input id="input11" ref="/root/send/issdds" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:85px; top:10px; width:100px; height:19px; "/>
  116. <input id="input12" ref="/root/send/issdde" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:205px; top:10px; width:100px; height:19px; "/>
  117. <input id="cmb_d" ref="/root/send/pid" class="input_search" maxlength="10" format="9999999999" style="left:625px; top:10px; width:100px; height:19px; ">
  118. <script type="javascript" ev:event="onkeypress">
  119. <![CDATA[
  120. inputEnterKey("btn_search", "DOMActivate");
  121. ]]>
  122. </script>
  123. </input>
  124. <line id="line2" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
  125. </group>
  126. <caption id="caption2" class="tit_2" style="left:5px; top:60px; width:300px; height:13px; font-family:돋움; vertical-align:middle; ">발급 정보 리스트</caption>
  127. <line id="line1" class="line_1" style="x1:0px; y1:75px; x2:1194px; y2:75px; "/>
  128. <datagrid id="grd_scrnlist" nodeset="/root/main/list/msg" caption="등록번호^환자명^발급차수^발급장비명^발급일^발급자^참고사항" colsep="^" colwidth="106, 139, 64, 184, 100, 100, 386" dataheight="23" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" style="left:0px; top:80px; width:1194px; height:660px; ">
  129. <col explorerbar="sortshowmove" ref="pid" style="text-align:center; "/>
  130. <col explorerbar="sortshowmove" ref="hngnm" style="text-align:center; "/>
  131. <col explorerbar="sortshowmove" ref="issdg" style="text-align:center; "/>
  132. <col explorerbar="sortshowmove" ref="eqmpos" style="text-align:center; "/>
  133. <col explorerbar="sortshowmove" ref="issdd" format="yyyy-mm-dd" style="text-align:center; "/>
  134. <col explorerbar="sortshowmove" ref="issrid" style="text-align:center; "/>
  135. <col explorerbar="sortshowmove" ref="remfact" style="left:698px; top:23px; width:386px; height:23px; text-align:left; "/>
  136. <script type="javascript" ev:event="onscroll">
  137. <![CDATA[
  138. if(grd_scrnlist.vscroll.attribute("max") == grd_scrnlist.vscroll.attribute("pos")) {
  139. // end of scroll
  140. model.setValue("/root/send/offset", grd_scrnlist.rows-grd_scrnlist.fixedRows); // grid의 header row는 제외
  141. submit("TRDRP00101");
  142. var subMessage = model.getValue("/root/main/list/msg[1]/tot_cnt");
  143. subMessage = intComma(subMessage);
  144. setSystemMessage(subMessage+"건이 조회 되었습니다.");
  145. }
  146. ]]>
  147. </script>
  148. </datagrid>
  149. <button id="btn_cle" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:1125px; top:745px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
  150. <caption>초기화</caption>
  151. <script type="javascript" ev:event="DOMActivate">
  152. <![CDATA[
  153. model.reset();
  154. ]]>
  155. </script>
  156. </button>
  157. <button id="button3" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:1130px; top:55px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  158. <caption>엑셀저장</caption>
  159. <script type="javascript" ev:event="DOMActivate">
  160. <![CDATA[
  161. var dataYn = model.getValue("/root/main/list/msg["+1+"]/pid");
  162. if(dataYn == ""){
  163. messageBox("조회된 ", "E013");
  164. return;
  165. }else{
  166. var fileName = window.fileDialog("save",",",false,"보고서-진료카드 발급 이력","xls","All Files(*.*)|*.*|Excel Files(*.xls)|*.xls");
  167. }
  168. if(fileName !=""){
  169. grd_scrnlist.saveExcel(fileName);
  170. }
  171. ]]>
  172. </script>
  173. </button>
  174. <caption id="caption3" class="search_no_b" style="left:190px; top:20px; width:15px; height:17px; ">~</caption>
  175. </group>
  176. </xhtml:body>
  177. </xhtml:html>