SMMNW13600_병동해피콜통계.xrw 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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. <cond>
  11. <quitflag/>
  12. <frstdd/>
  13. <lastdd/>
  14. <orddd/>
  15. <wardcd/>
  16. <exestat/>
  17. <orddeptcd/>
  18. <medispclid/>
  19. <atdoctid/>
  20. </cond>
  21. <wardpatinfo>
  22. <wardpatratelist>
  23. <wardnm/>
  24. <totpatcount/>
  25. <sucscount/>
  26. <failcount/>
  27. <undocount/>
  28. <sucsrate/>
  29. <failrate/>
  30. <undorate/>
  31. </wardpatratelist>
  32. </wardpatinfo>
  33. </main>
  34. <send/>
  35. <init/>
  36. <hidden/>
  37. <temp/>
  38. </root>
  39. </instance>
  40. <script type="javascript" ev:event="xforms-ready">
  41. <![CDATA[
  42. //날짜 세팅
  43. var currentDate=getCurrentDate();
  44. model.setValue("/root/main/cond/orddd", currentDate);
  45. var lastdd=currentDate;
  46. var date = currentDate.toDate("YYYYMMDD");
  47. date.getAddDate(-1, "D");
  48. var frstdd=date.getDateFormat();
  49. model.setValue("/root/main/cond/frstdd", frstdd);
  50. model.setValue("/root/main/cond/lastdd", lastdd);
  51. //초기화
  52. model.removenode("/root/send");
  53. // model.removenode("/root/main/wardpatinfo");
  54. model.makeValue("/root/send/quitflag", model.getValue("/root/main/cond/quitflag"));
  55. model.makeValue("/root/send/frstdd", model.getValue("/root/main/cond/frstdd"));
  56. model.makeValue("/root/send/lastdd", model.getValue("/root/main/cond/lastdd"));
  57. submit("TRMNW13601");
  58. ]]>
  59. </script>
  60. <submission id="TRMNW13601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/wardpatinfo"/>
  61. </model>
  62. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  64. </xhtml:head>
  65. <xhtml:body guideline="1,1421;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  66. <group id="group1" style="left:0px; top:0px; width:1195px; height:752px; ">
  67. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:257px; height:14px; ">병동 해피콜 통계</caption>
  68. </group>
  69. <group id="group2" class="datagrid2" scroll="auto" style="left:0px; top:13px; width:1195px; height:752px; ">
  70. <group id="group3" style="left:0px; top:5px; width:1195px; height:60px; vertical-align:top; ">
  71. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1192px; height:35; "/>
  72. <caption id="caption8" class="search_name" style="left:15px; top:10px; width:90px; height:17px; text-align:center; ">조회기간 :</caption>
  73. <input id="ipt_frstdd" ref="/root/main/cond/frstdd" class="input_s_essential" inputtype="date" style="left:103px; top:10px; width:95px; height:19px; ">
  74. <script type="javascript" ev:event="xforms-value-changed">
  75. <![CDATA[
  76. model.removenode("/root/send");
  77. // model.removenode("/root/main/wardpatinfo");
  78. model.makeValue("/root/send/quitflag", model.getValue("/root/main/cond/quitflag"));
  79. model.makeValue("/root/send/frstdd", model.getValue("/root/main/cond/frstdd"));
  80. model.makeValue("/root/send/lastdd", model.getValue("/root/main/cond/lastdd"));
  81. // submit("TRMNW13601");
  82. ]]>
  83. </script>
  84. </input>
  85. <caption id="caption2" style="left:201px; top:11px; width:20px; height:20px; font-weight:bold; ">~</caption>
  86. <input id="ipt_lastdd" ref="/root/main/cond/lastdd" class="input_search" inputtype="date" style="left:215px; top:10px; width:95px; height:19px; ">
  87. <script type="javascript" ev:event="xforms-value-changed">
  88. <![CDATA[
  89. model.removenode("/root/send");
  90. // model.removenode("/root/main/wardpatinfo");
  91. model.makeValue("/root/send/quitflag", model.getValue("/root/main/cond/quitflag"));
  92. model.makeValue("/root/send/frstdd", model.getValue("/root/main/cond/frstdd"));
  93. model.makeValue("/root/send/lastdd", model.getValue("/root/main/cond/lastdd"));
  94. // submit("TRMNW13601");
  95. ]]>
  96. </script>
  97. </input>
  98. <line id="line5" class="line_4" style="x1:1052px; y1:7px; x2:1052px; y2:29px; "/>
  99. <button id="btn_search" class="btn1_letter2" disable.background-image="../../../com/commonweb/images/dis_btn5_letter4.gif" style="left:1063px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  100. <caption>조회</caption>
  101. <script type="javascript" ev:event="DOMActivate">
  102. <![CDATA[
  103. model.removenode("/root/send");
  104. // model.removenode("/root/main/wardpatinfo");
  105. model.makeValue("/root/send/quitflag", model.getValue("/root/main/cond/quitflag"));
  106. model.makeValue("/root/send/frstdd", model.getValue("/root/main/cond/frstdd"));
  107. model.makeValue("/root/send/lastdd", model.getValue("/root/main/cond/lastdd"));
  108. submit("TRMNW13601");
  109. ]]>
  110. </script>
  111. </button>
  112. <button id="btn_output" class="btn1_letter2" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn5_letter4.gif" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  113. <caption>출력</caption>
  114. <script type="javascript" ev:event="DOMActivate">
  115. <![CDATA[
  116. exeReportPreview("RPMNW13500", "XMLSTR");
  117. ]]>
  118. </script>
  119. </button>
  120. <button id="btn_exel" class="btn1_letter2" disable.background-image="../../../com/commonweb/images/dis_btn5_letter4.gif" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  121. <caption>엑셀</caption>
  122. <script type="javascript" ev:event="DOMActivate">
  123. <![CDATA[
  124. var fileName = window.fileDialog("save", ",", false, "병동해피콜통계", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  125. if (fileName != "") {
  126. grd_wardpatlist.saveExcel(fileName, "SheetName", false, false, "", "", true);
  127. }
  128. ]]>
  129. </script>
  130. </button>
  131. </group>
  132. <group id="group4" style="left:0px; top:50px; width:1195px; height:700px; vertical-align:top; ">
  133. <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:1195px; y2:20px; "/>
  134. <datagrid id="grd_wardpatlist" nodeset="/root/main/wardpatinfo/wardpatratelist" class="datagrid2" scroll="autovscroll" allowuserresize="false" caption="병동^총대상환자수^성공건수^실패건수^미실시건수^성공률^실패율^미실시율^seqno^indd^cretno^instcd" colsep="^" colwidth="192, 140, 140, 140, 140, 140, 140, 140" ellipsis="true" extendlastcol="scroll" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:5px; width:1195px; height:695px; text-align:center; vertical-align:middle; ">
  135. <col ref="wardnm" style="left:20px; top:32px; width:100px; height:23px; text-align:left; "/>
  136. <col ref="totpatcount" format="999,999" style="left:170px; top:32px; width:100px; height:23px; text-align:right; "/>
  137. <col ref="sucscount" format="999,999" style="left:270px; top:32px; width:100px; height:23px; text-align:right; "/>
  138. <col ref="failcount" format="999,999" style="left:370px; top:32px; width:100px; height:23px; text-align:right; "/>
  139. <col ref="undocount" style="left:470px; top:32px; width:100px; height:23px; text-align:right; "/>
  140. <col ref="sucsrate" style="left:570px; top:32px; width:100px; height:23px; text-align:right; "/>
  141. <col ref="failrate" style="text-align:right; "/>
  142. <col ref="undorate" style="left:770px; top:32px; width:100px; height:23px; text-align:right; "/>
  143. </datagrid>
  144. <line id="line2" class="line_1" style="x1:0px; y1:0px; x2:1195px; y2:0px; "/>
  145. </group>
  146. </group>
  147. </xhtml:body>
  148. </xhtml:html>