SMAHA03100_예약자현황.xrw 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <init>
  10. <cdlist>
  11. <A0068list/>
  12. <A0107list/>
  13. <A0116list/>
  14. </cdlist>
  15. </init>
  16. <main>
  17. <healexamrsrvlist>
  18. <item>
  19. <pid/>
  20. <hngnm/>
  21. <orddd/>
  22. <rsrvtm/>
  23. <healexamflag/>
  24. <srchflag/>
  25. <statflag/>
  26. <choiflag/>
  27. <pkgcd/>
  28. <pkgnm/>
  29. <exrsrvdt/>
  30. <testcd/>
  31. <testnm/>
  32. <testcd2/>
  33. <testnm2/>
  34. <rsrvdd/>
  35. </item>
  36. </healexamrsrvlist>
  37. </main>
  38. <send>
  39. <fromdd/>
  40. <todd/>
  41. <srchflag>T</srchflag>
  42. <healexamflag>C','G</healexamflag>
  43. <statflag>A','C</statflag>
  44. <detlflag/>
  45. </send>
  46. </root>
  47. </instance>
  48. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  51. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  52. <script type="javascript" ev:event="xforms-ready">
  53. <![CDATA[
  54. fGetScreenInit();
  55. ]]>
  56. </script>
  57. <submission id="TRAVB00001"/>
  58. <submission id="TRAVT02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/benflist"/>
  59. <submission id="TRAHA02900" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/healexamrsrvlist"/>
  60. </model>
  61. <script type="javascript">
  62. <![CDATA[
  63. // 화면 초기화
  64. function fGetScreenInit(){
  65. model.setValue("/root/send/fromdd", getCurrentDate());
  66. model.setValue("/root/send/todd", getCurrentDate());
  67. zbcfGetCodeList(new Array("A0068", "A0107", "A0116")
  68. , new Array("/root/init/cdlist/A0068list" // 건진구분
  69. , "/root/init/cdlist/A0107list" // 상태구분
  70. , "/root/init/cdlist/A0116list")); // 선택구분
  71. addComboItem("cmb_healexamflag", "전체", "C','G", "above");
  72. model.refresh();
  73. }
  74. // 예약자현황 조회
  75. function fGetRsrvList() {
  76. submit("TRAHA02900", false);
  77. if (model.getValue("/root/send/detlflag") == "Y") {
  78. grd_rsrv.mergeCells = "";
  79. } else {
  80. grd_rsrv.mergeCells = "byrestriccol";
  81. }
  82. grd_rsrv.refresh();
  83. }
  84. ]]>
  85. </script>
  86. </xhtml:head>
  87. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  88. <caption id="caption6" class="tit_1" style="left:0px; top:5px; width:210px; height:13px; ">건강 검진 예약 현황</caption>
  89. <caption id="caption1" class="tit_2" style="left:0px; top:60px; width:80px; height:14px; ">예약 현황</caption>
  90. <line id="line1" class="line_1" style="x1:0px; y1:75px; x2:1195px; y2:75px; "/>
  91. <datagrid id="grd_rsrv" nodeset="/root/main/healexamrsrvlist/item" caption="등록번호^이름^검사일시^검사일시^건진구분^검사구분^상태^선택^패키지코드^패키지명^외부검사일시^검사코드^검사명^검사코드2^검사명^등록일" colsep="^" colwidth="60, 80, 80, 40, 70, 70, 60, 80, 90, 260, 110, 90, 260, 90, 260, 80" frozencols="6" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:80px; width:1195px; height:680px; text-align:center; ">
  92. <col ref="pid"/>
  93. <col ref="hngnm"/>
  94. <col ref="orddd" format="yyyy-mm-dd"/>
  95. <col ref="rsrvtm" format="hh:nn"/>
  96. <col disabled="true" ref="healexamflag" type="combo">
  97. <choices>
  98. <itemset nodeset="/root/init/cdlist/A0068list/A0068">
  99. <label ref="cdnm"/>
  100. <value ref="cdid"/>
  101. </itemset>
  102. </choices>
  103. </col>
  104. <col ref="srchflag"/>
  105. <col disabled="true" ref="statflag" type="combo">
  106. <choices>
  107. <itemset nodeset="/root/init/cdlist/A0107list/A0107">
  108. <label ref="cdnm"/>
  109. <value ref="cdid"/>
  110. </itemset>
  111. </choices>
  112. </col>
  113. <col disabled="true" ref="choiflag" type="combo">
  114. <choices>
  115. <itemset nodeset="/root/init/cdlist/A0116list/A0116">
  116. <label ref="cdnm"/>
  117. <value ref="cdid"/>
  118. </itemset>
  119. </choices>
  120. </col>
  121. <col ref="pkgcd"/>
  122. <col ref="pkgnm" style="text-align:left; padding-left:2; "/>
  123. <col ref="exrsrvdt" format="yyyy-mm-dd hh:nn"/>
  124. <col ref="testcd"/>
  125. <col ref="testnm" style="text-align:left; padding-left:2; "/>
  126. <col ref="testcd2"/>
  127. <col ref="testnm2" style="text-align:left; padding-left:2; "/>
  128. <col ref="rsrvdd" format="yyyy-mm-dd"/>
  129. </datagrid>
  130. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:15px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  131. <caption id="caption2" class="search_name" style="left:15px; top:24px; width:79px; height:17px; ">건진일 :</caption>
  132. <line id="line13" class="line_4" style="x1:1125px; y1:22px; x2:1125px; y2:44px; "/>
  133. <input id="ipt_fromdd" ref="/root/send/fromdd" inputtype="date" style="left:95px; top:23px; width:94px; height:19px; "/>
  134. <button id="btn_sea" class="btn1_letter2" style="left:1133px; top:22px; width:56px; height:22px; ">
  135. <caption>조회</caption>
  136. <script type="javascript" ev:event="DOMActivate">
  137. <![CDATA[
  138. if (model.getValue("/root/send/fromdd") == "") {
  139. messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
  140. return;
  141. }
  142. fGetRsrvList();
  143. ]]>
  144. </script>
  145. </button>
  146. <select1 id="cmb_flag" ref="/root/send/srchflag" appearance="minimal" style="left:315px; top:23px; width:100px; height:19px; ">
  147. <choices>
  148. <item>
  149. <label>전체</label>
  150. <value>T</value>
  151. </item>
  152. <item>
  153. <label>기본 검사</label>
  154. <value>B</value>
  155. </item>
  156. <item>
  157. <label>추가 검사</label>
  158. <value>A</value>
  159. </item>
  160. </choices>
  161. </select1>
  162. <caption id="caption3" class="search_name" style="left:220px; top:25px; width:94px; height:17px; ">검사 구분 :</caption>
  163. <button id="btn_excsave" class="btn2_letter4" style="left:1131px; top:55px; width:64px; height:19px; ">
  164. <caption>엑셀저장</caption>
  165. <script type="javascript" ev:event="DOMActivate">
  166. <![CDATA[
  167. var filename = window.fileDialog("save", ",", false, "excel", "xls", "All File(*.*)|*.*|Excel File(*.xls)|*.xls");
  168. if (filename != "") {
  169. grd_rsrv.saveExcel(filename);
  170. }
  171. ]]>
  172. </script>
  173. </button>
  174. <caption id="caption4" class="search_name" style="left:445px; top:25px; width:94px; height:17px; ">건진 구분 :</caption>
  175. <select1 id="cmb_healexamflag" ref="/root/send/healexamflag" appearance="minimal" style="left:540px; top:23px; width:100px; height:19px; ">
  176. <choices>
  177. <itemset nodeset="/root/init/cdlist/A0068list/A0068">
  178. <label ref="cdnm"/>
  179. <value ref="cdid"/>
  180. </itemset>
  181. </choices>
  182. </select1>
  183. <select id="chk_detlflag" ref="/root/send/detlflag" overflow="visible" appearance="full" style="left:670px; top:25px; width:100px; height:17px; border-style:none; ">
  184. <choices>
  185. <item>
  186. <label>세부 내역 조회</label>
  187. <value>Y</value>
  188. </item>
  189. </choices>
  190. </select>
  191. </xhtml:body>
  192. </xhtml:html>