SMAES02100_핵의학체내요일별 통계(주간).xrw 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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. <list>
  11. <item>
  12. <week/>
  13. <nm/>
  14. <day01/>
  15. <day02/>
  16. <day03/>
  17. <day04/>
  18. <day05/>
  19. <day06/>
  20. <day07/>
  21. <sumday/>
  22. </item>
  23. </list>
  24. </main>
  25. <send>
  26. <srchdate/>
  27. <globalinstance>
  28. <instance1/>
  29. </globalinstance>
  30. <suppdeptcd/>
  31. <flag/>
  32. </send>
  33. <inti>
  34. <cmb_info/>
  35. </inti>
  36. <hidden/>
  37. <inti_com>
  38. <srchdate/>
  39. </inti_com>
  40. </root>
  41. </instance>
  42. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  46. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  47. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  48. <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
  49. <script type="javascript" ev:event="xforms-ready">
  50. <![CDATA[
  51. aezfSetSuppDeptcd();
  52. // 진료과/진료의 조회
  53. // submit("TRPMOCOM01", false);
  54. model.setValue("/root/send/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  55. //구분콤보
  56. submit("TRAES09001", false);
  57. //mkDate();
  58. var fromdd = getCurrentDate().substr(0,6);
  59. model.setValue("/root/send/srchdate",fromdd);
  60. model.removenode("/root/main/list");
  61. model.refresh();
  62. ]]>
  63. </script>
  64. <submission id="TRAES09001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
  65. <submission id="TRAES02100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  66. </model>
  67. <script type="javascript">
  68. <![CDATA[
  69. function mkDate(){
  70. var yy = getCurrentDate().substr(0,4);
  71. for(i=1; i<=12; i++) {
  72. if(i<10) {
  73. i = "0"+i;
  74. }
  75. model.makeNode("/root/inti/srchdate/item");
  76. model.makeValue("/root/inti/srchdate/item/label", yy+"년"+i+"월");
  77. model.makeValue("/root/inti/srchdate/item/value", yy+i);
  78. model.duplicate("/root/inti_com/srchdate", "/root/inti/srchdate/item");
  79. }
  80. }
  81. ]]>
  82. </script>
  83. </xhtml:head>
  84. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  85. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  86. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:206px; height:14px; ">핵의학체내 요일별 통계(주간)</caption>
  87. </group>
  88. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  89. <caption id="caption1" class="tit_2" style="left:5px; top:58px; width:208px; height:14px; ">핵의학체내 요일별 통계(주간)</caption>
  90. <button id="btn_excsave" class="btn2_letter4" visibility="visible" style="left:1130px; top:53px; width:64px; height:19px; ">
  91. <caption>엑셀저장</caption>
  92. <script type="javascript" ev:event="DOMActivate">
  93. <![CDATA[
  94. var fileName = window.fileDialog("save", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  95. if (fileName != "")
  96. {
  97. grd_list.saveExcel(fileName);
  98. }
  99. ]]>
  100. </script>
  101. </button>
  102. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:40px; vertical-align:top; ">
  103. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:37px; background-color:#fffbf2; border-color:#ffd799; "/>
  104. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">구분 :</caption>
  105. <line id="line13" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:31px; "/>
  106. <button id="btn_sea" class="btn1_letter2" navindex="4" style="left:1120px; top:8px; width:56px; height:22px; ">
  107. <caption>조회</caption>
  108. <script type="javascript" ev:event="DOMActivate">
  109. <![CDATA[
  110. submit("TRAES02100");
  111. // datagrid1.subtotal("sum", -1, 1, "#,###", "background-color:#99ff99", 0, "합계");
  112. // for(i=2; i<11; i++) {
  113. // datagrid1.subtotal("sum", -1, i, "#,###");
  114. // }
  115. ]]>
  116. </script>
  117. </button>
  118. <caption id="caption3" class="search_name" style="left:260px; top:9px; width:86px; height:17px; ">일자 :</caption>
  119. <select1 id="cmb_excuroomgrp" ref="/root/send/flag" class="combo_default" appearance="minimal" style="left:84px; top:9px; width:118px; height:19px; ">
  120. <choices>
  121. <itemset nodeset="/root/init/initexcuroomgrp">
  122. <label ref="nm"/>
  123. <value ref="cd"/>
  124. </itemset>
  125. </choices>
  126. </select1>
  127. <input id="input4" ref="/root/send/srchdate" class="input_default" inputtype="date" format="yyyy-mm" style="left:325px; top:9px; width:90px; height:19px; "/>
  128. </group>
  129. <line id="line1" class="line_1" style="x1:0px; y1:73px; x2:1195px; y2:73px; "/>
  130. <datagrid id="grd_list" nodeset="/root/main/list/item" caption="구분^구분^월^화^수^목^금^토^일^합계" colsep="^" colwidth="172, 65, 60, 60, 60, 60, 60, 60, 60, 60" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" style="left:0px; top:78px; width:1195px; height:663px; ">
  131. <col ref="week" style="text-align:center; "/>
  132. <col ref="nm" style="text-align:center; "/>
  133. <col ref="day01" format="#,###.#" style="text-align:right; "/>
  134. <col ref="day02" format="#,###.#" style="text-align:right; "/>
  135. <col ref="day03" format="#,###.#" style="text-align:right; "/>
  136. <col ref="day04" format="#,###.#" style="text-align:right; "/>
  137. <col ref="day05" format="#,###.#" style="text-align:right; "/>
  138. <col ref="day06" format="#,###.#" style="text-align:right; "/>
  139. <col ref="day07" format="#,###.#" style="text-align:right; "/>
  140. <col ref="sumday" format="#,###.#" style="text-align:right; "/>
  141. </datagrid>
  142. </group>
  143. </xhtml:body>
  144. </xhtml:html>