SMDRA00100_보고서-내원체크현황조회.xrw 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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. <chosdd/>
  13. <chostm/>
  14. <stationnm/>
  15. <orddeptnm/>
  16. <ordmdldeptnm/>
  17. <pid/>
  18. <hngnm/>
  19. </msg>
  20. </list>
  21. </main>
  22. <send>
  23. <chosdds/>
  24. <chosdde/>
  25. <stationcds/>
  26. <offset/>
  27. <pagesize>200</pagesize>
  28. </send>
  29. <properties>
  30. <error>
  31. <msg/>
  32. </error>
  33. </properties>
  34. <init>
  35. <station>
  36. <msg>
  37. <stationcd/>
  38. <stationnm/>
  39. </msg>
  40. </station>
  41. </init>
  42. <temp/>
  43. </root>
  44. </instance>
  45. <script type="javascript" ev:event="xforms-ready">
  46. <![CDATA[
  47. // 당일날짜 세팅
  48. model.setValue("/root/send/chosdds", getCurrentDate());
  49. model.setValue("/root/send/chosdde", getCurrentDate());
  50. model.removeNodeset("/root/main/list/msg");
  51. submit("TRDRA00102");// 스테이션 명
  52. addComboItem("cmb_st");
  53. model.refresh();
  54. ]]>
  55. </script>
  56. <submission id="TRDRA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" add="bottom" resultref="/root/main/list"/>
  57. <submission id="TRDRA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" replace="instance" resultref="/root/init/station"/>
  58. </model>
  59. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  61. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  62. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  64. <script type="javascript" src="../../../crd/cardissueweb/js/crdcommon.js"/>
  65. </xhtml:head>
  66. <xhtml:body guideline="1,1193;1,1195;2,50;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  67. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  68. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">내원체크 현황 조회</caption>
  69. </group>
  70. <group id="group3" style="left:0px; top:13px; width:1195px; height:767px; ">
  71. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; ">
  72. <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; "/>
  73. <caption id="caption1" class="search_name" style="left:336px; top:9px; width:89px; height:17px; ">스테이션명</caption>
  74. <button id="button1" class="btn1_letter2" style="left:1129px; top:7px; width:56px; height:22px; ">
  75. <caption>조회</caption>
  76. <script type="javascript" ev:event="DOMActivate">
  77. <![CDATA[
  78. var chosddsDate = input11.value;
  79. var chosddeDate = input12.value;
  80. if(chosddsDate>chosddeDate){
  81. messageBox("조회하고자 하는 내원일자를 제대로", "C001");
  82. }else if(chosddsDate.length<8 | chosddeDate.length<8){
  83. messageBox("조회하고자 하는 내원일자를 제대로", "C001");
  84. }else{
  85. model.removeNodeset("/root/main/list/msg");
  86. model.setValue("/root/send/offset", 0);
  87. submit("TRDRA00101");
  88. var subMessage = model.getValue("/root/main/list/msg[1]/tot_cnt");
  89. subMessage = intComma(subMessage);
  90. setSystemMessage(subMessage+"건이 조회 되었습니다.");
  91. }
  92. ]]>
  93. </script>
  94. </button>
  95. <line id="line2" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
  96. <caption id="caption5" class="search_name" style="left:11px; top:9px; width:84px; height:17px; ">내원일자</caption>
  97. <input id="input11" ref="/root/send/chosdds" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:106px; top:8px; width:100px; height:19px; "/>
  98. <input id="input12" ref="/root/send/chosdde" class="input_s_essential" editable="true" inputtype="date" format="yyyy-mm-dd" style="left:221px; top:8px; width:100px; height:19px; "/>
  99. <select1 id="cmb_st" ref="/root/send/stationcds" class="combo_search" appearance="minimal" style="left:436px; top:8px; width:124px; height:19px; ">
  100. <choices>
  101. <itemset nodeset="/root/init/station/msg">
  102. <label ref="stationnm"/>
  103. <value ref="stationcd"/>
  104. </itemset>
  105. </choices>
  106. </select1>
  107. <caption id="caption3" class="search_no_b" style="left:207px; top:9px; width:15px; height:17px; ">~</caption>
  108. </group>
  109. <caption id="caption2" class="tit_2" style="left:5px; top:60px; width:300px; height:14px; font-family:돋움; vertical-align:middle; ">내원체크 조회</caption>
  110. <line id="line1" class="line_1" style="x1:0px; y1:75px; x2:1194px; y2:75px; "/>
  111. <datagrid id="grd_scrnlist" nodeset="/root/main/list/msg" caption="일자^시간^스테이션명^상위진료과^하위진료과^등록번호^환자성명" colsep="^" colwidth="110, 110, 220, 220, 230, 120, 130" dataheight="23" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" style="left:0px; top:80px; width:1194px; height:660px; ">
  112. <col explorerbar="sortshowmove" ref="chosdd" format="yyyy-mm-dd" style="text-align:center; "/>
  113. <col explorerbar="sortshowmove" ref="chostm" format="hh:nn:ss" style="text-align:center; "/>
  114. <col explorerbar="sortshowmove" ref="stationnm" style="text-align:center; "/>
  115. <col explorerbar="sortshowmove" ref="orddeptnm" style="text-align:center; "/>
  116. <col explorerbar="sortshowmove" ref="ordmdldeptnm" style="text-align:center; "/>
  117. <col explorerbar="sortshowmove" ref="pid" style="text-align:center; "/>
  118. <col explorerbar="sortshowmove" ref="hngnm" style="left:698px; top:23px; width:386px; height:23px; text-align:center; "/>
  119. <script type="javascript" ev:event="onscroll">
  120. <![CDATA[
  121. if(grd_scrnlist.vscroll.attribute("max")==grd_scrnlist.vscroll.attribute("pos")){
  122. model.setValue("/root/send/offset",grd_scrnlist.rows-grd_scrnlist.fixedRows);
  123. submit("TRDRA00101");
  124. var subMessage = model.getValue("/root/main/list/msg[1]/tot_cnt");
  125. subMessage = intComma(subMessage);
  126. setSystemMessage(subMessage+"건이 조회 되었습니다.");
  127. }
  128. ]]>
  129. </script>
  130. </datagrid>
  131. <button id="btn_cle" class="btn4_letter3" style="left:1125px; top:745px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
  132. <caption>초기화</caption>
  133. <script type="javascript" ev:event="DOMActivate">
  134. <![CDATA[
  135. model.reset();
  136. model.refresh();
  137. ]]>
  138. </script>
  139. </button>
  140. <button id="button3" class="btn2_letter4" style="left:1130px; top:55px; width:64px; height:19px; ">
  141. <caption>엑셀저장</caption>
  142. <script type="javascript" ev:event="DOMActivate">
  143. <![CDATA[
  144. var dataYn = model.getValue("/root/main/list/msg["+1+"]/pid");
  145. if(dataYn == ""){
  146. messageBox("조회된 ", "E013");
  147. return;
  148. }else{
  149. var fileName = window.fileDialog("save",",",false,"보고서-내원체크 현황조회","xls","All Files(*.*)|*.*|Excel Files(*.xls)|*.xls");
  150. }
  151. if(fileName !=""){
  152. grd_scrnlist.saveExcel(fileName);
  153. }
  154. ]]>
  155. </script>
  156. </button>
  157. </group>
  158. </xhtml:body>
  159. </xhtml:html>