SMAES06300_재활의학팀실인원환자수.xrw 7.2 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>재활의학팀치료건수</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <item>
  12. <curerm/>
  13. <intestexeccnt/>
  14. <outtestexeccnt/>
  15. <sumcnt/>
  16. </item>
  17. </list>
  18. </main>
  19. <send>
  20. <srchdate/>
  21. <globalinstance>
  22. <instance1/>
  23. </globalinstance>
  24. <suppdeptcd/>
  25. <execfromdd/>
  26. <exectodd/>
  27. <comparefromdd/>
  28. <comparetodd/>
  29. <orddeptcd/>
  30. <fstpatyn/>
  31. <curerm/>
  32. <curedr/>
  33. <prcpcd/>
  34. <execdrid/>
  35. <srchflag>T</srchflag>
  36. <srchtab/>
  37. </send>
  38. <inti/>
  39. <hidden/>
  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/numericHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  47. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  48. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  49. <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
  50. <script type="javascript" ev:event="xforms-ready">
  51. <![CDATA[
  52. aezfSetSuppDeptcd();
  53. // 진료과/진료의 조회
  54. // submit("TRPMOCOM01", false);
  55. submit("TRAES09000", false);
  56. model.setValue("/root/send/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  57. var fromdd = getCurrentDate().substr(0,4) + "0101"
  58. var todd = getCurrentDate().substr(0,6) + fromdd.toDate().getMonthDay();
  59. var comparefromdd = getCurrentDate().substr(0,6).toDate().getAddDate(0,"Y").getDateFormat("YYYY") + "0101";
  60. var comparetodd = comparefromdd.substr(0,4) + todd.substr(4,4);
  61. model.removenode("/root/main/list");
  62. model.setValue("/root/send/fstpatyn","");
  63. model.setValue("/root/send/srchflag","P");
  64. model.setValue("/root/send/execfromdd", fromdd);
  65. model.setValue("/root/send/exectodd", todd);
  66. model.refresh();
  67. ]]>
  68. </script>
  69. <submission id="TRAES06301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  70. <submission id="TRAES09000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/inti"/>
  71. </model>
  72. </xhtml:head>
  73. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  74. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  75. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">재활의학팀실인원환자건수</caption>
  76. </group>
  77. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  78. <caption id="caption1" class="tit_2" style="left:5px; top:60px; width:200px; height:13px; ">재활의학팀실인원환자수</caption>
  79. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:45px; vertical-align:top; ">
  80. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  81. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">조회기간 :</caption>
  82. <line id="line13" class="line_4" style="x1:1110px; y1:0px; x2:1110px; y2:40px; "/>
  83. <button id="btn_sea" class="btn1_letter2" navindex="4" style="left:1120px; top:10px; width:56px; height:22px; ">
  84. <caption>조회</caption>
  85. <script type="javascript" ev:event="DOMActivate">
  86. <![CDATA[
  87. model.removenode("/root/main/list");
  88. //"/root/send/srchtab" R:치료실,C:치료코드,D:처방과,E:치료사
  89. model.setValue("/root/send/srchtab","R");
  90. submit("TRAES06301");
  91. ]]>
  92. </script>
  93. </button>
  94. <input id="ipt_todd" ref="/root/send/exectodd" class="input_default" navindex="2" inputtype="date" style="left:227px; top:9px; width:100px; height:19px; text-align:center; ">
  95. <script type="javascript" ev:event="xforms-value-changed">
  96. <![CDATA[
  97. var exectodd = model.getValue("/root/send/exectodd");
  98. var execfromdd = model.getValue("/root/send/execfromdd");
  99. if (execfromdd > exectodd) {
  100. messageBox("조회기간 종료일자가 조회기간 시작일자 이전 일자입니다.", "I");
  101. model.setValue("/root/send/exectodd",execfromdd);
  102. exectodd = execfromdd;
  103. }
  104. // var comparetodd = exectodd.toDate().getAddDate(-1,"Y").getDateFormat("YYYYMMDD");
  105. // model.setValue("/root/send/comparetodd",comparetodd);
  106. model.refresh();
  107. ]]>
  108. </script>
  109. </input>
  110. <caption id="caption5" class="search_no_b" style="left:212px; top:10px; width:12px; height:17px; ">~</caption>
  111. <input id="ipt_fromdd" ref="/root/send/execfromdd" class="input_default" navindex="1" inputtype="date" style="left:109px; top:9px; width:100px; height:19px; text-align:center; ">
  112. <script type="javascript" ev:event="xforms-value-changed">
  113. <![CDATA[
  114. var execfromdd = model.getValue("/root/send/execfromdd");
  115. var exectodd = model.getValue("/root/send/exectodd");
  116. if (execfromdd > exectodd) {
  117. messageBox("조회기간 시작일자가 조회기간 종료일자 이후 일자입니다.", "I");
  118. model.setValue("/root/send/execfromdd",exectodd);
  119. execfromdd = exectodd;
  120. }
  121. // var comparefromdd = execfromdd.toDate().getAddDate(-1,"Y").getDateFormat("YYYYMMDD");
  122. // model.setValue("/root/send/comparefromdd",comparefromdd);
  123. model.refresh();
  124. ]]>
  125. </script>
  126. </input>
  127. </group>
  128. <line id="line1" class="line_1" style="x1:0px; y1:75px; x2:1195px; y2:75px; "/>
  129. <datagrid id="datagrid1" nodeset="/root/main/list/item" caption="치료실^실인원^실인원^실인원|치료실^입원^외래^합계" colsep="^" colwidth="166, 84,84,84,84" mergecellsfixedrows="bycolrec" rowsep="|" subtotalposition="below" style="left:0px; top:80px; width:1195px; height:660px; ">
  130. <col ref="curerm"/>
  131. <col ref="intestexeccnt" format="#,###" style="text-align:right; "/>
  132. <col ref="outtestexeccnt" format="#,###" style="text-align:right; "/>
  133. <col ref="sumcnt" format="#,###" style="text-align:right; "/>
  134. </datagrid>
  135. <button id="button1" class="btn2_letter4" style="left:1110px; top:55px; width:64px; height:19px; ">
  136. <caption>엑셀저장</caption>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. var fileName = window.fileDialog("save", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  140. if (fileName != "") {
  141. datagrid1.saveExcel(fileName);
  142. }
  143. ]]>
  144. </script>
  145. </button>
  146. </group>
  147. </xhtml:body>
  148. </xhtml:html>