SMLPS01100_FrozenSectionReview.xrw 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPS01100_FrozenSectionReview.xrw
  4. * 설 명 : FrozenSectionReview
  5. * 설 계 자 : 평화IS - 한음미
  6. * 작 성 자 : 평화IS - 한음미
  7. * 작 성 일 : 2008.04.15
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>FrozenSectionReview</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <repttm>
  20. <repttmlist>
  21. <reptnm/>
  22. <totcnt/>
  23. <avgtm/>
  24. <bfcnt/>
  25. <aftcnt/>
  26. </repttmlist>
  27. </repttm>
  28. </main>
  29. <send/>
  30. <init>
  31. <sysdt>
  32. <sysdtinfo>
  33. <sysdd/>
  34. <systm/>
  35. </sysdtinfo>
  36. </sysdt>
  37. </init>
  38. <hidden>
  39. <acptfromdd/>
  40. <acpttodd/>
  41. <seaval/>
  42. </hidden>
  43. </root>
  44. </instance>
  45. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  48. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  49. <script type="javascript" ev:event="xforms-ready">
  50. <![CDATA[
  51. fExeInitialize();
  52. ]]>
  53. </script>
  54. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  55. <submission id="TRLPS01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/repttm/repttmlist"/>
  56. </model>
  57. <script type="javascript">
  58. <![CDATA[
  59. /* @group : FrozenSectionReview 화면
  60. * @ver : 2008.04.15 (CMCDEV-0001)
  61. * @by : 한음미(평화IS)
  62. * @-----------------------------------
  63. * @type : function
  64. * @access : public
  65. * @desc : 화면초기화 함수
  66. */
  67. function fExeInitialize() {
  68. //---------------------------------------------------------
  69. model.removeNodeset("/root/main/repttm/repttmlist/reptnm");
  70. //----------------
  71. // 시스템일자 조회
  72. model.removeNodeset("/root/send");
  73. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  74. submit("TRLPZ00102");
  75. //------------
  76. // 초기값 설정
  77. model.makeValue("/root/hidden/seaval", 0); // 검색값
  78. model.makeValue("/root/hidden/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 접수시작일자
  79. model.makeValue("/root/hidden/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 접수종료일자
  80. model.refresh();
  81. }
  82. /* @group : FrozenSectionReview 화면
  83. * @ver : 2008.04.15 (CMCDEV-0001)
  84. * @by : 한음미(평화IS)
  85. * @-----------------------------------
  86. * @type : function
  87. * @access : public
  88. * @desc : 보고시간 조회
  89. */
  90. function fGetfrozenSectionReview() {
  91. if(model.getValue("/root/hidden/seaval") == "" || model.getValue("/root/hidden/seaval") == 0){
  92. messageBox("시간(분)이 입력되지 않았습니다..","I");
  93. return false;
  94. }
  95. //---------------
  96. // 조회
  97. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관코드
  98. model.makeValue("/root/send/acptfromdd", model.getValue("/root/hidden/acptfromdd")); // 접수시작일자
  99. model.makeValue("/root/send/acpttodd", model.getValue("/root/hidden/acpttodd")); // 접수종료일자
  100. model.makeValue("/root/send/seaval", model.getValue("/root/hidden/seaval")); // 접수시간
  101. submit("TRLPS01101");
  102. }
  103. /* @group : FrozenSectionReview 화면
  104. * @ver : 2008.04.15 (CMCDEV-0001)
  105. * @by : 한음미(평화IS)
  106. * @-----------------------------------
  107. * @type : function
  108. * @access : public
  109. * @desc : 엑셀 저장
  110. */
  111. function fExeSaveToExcel(){
  112. lpzfExeSaveToExcel(grd_repttmlist, "보고시간");
  113. }
  114. ]]>
  115. </script>
  116. </xhtml:head>
  117. <xhtml:body>
  118. <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
  119. <line id="line10" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  120. <button id="btn_excel" class="btn6_letter5" navindex="12" style="left:5px; top:3px; width:92px; height:22px; ">
  121. <caption>EXCEL저장</caption>
  122. <script type="javascript" ev:event="DOMActivate">
  123. <![CDATA[
  124. fExeSaveToExcel();
  125. ]]>
  126. </script>
  127. </button>
  128. </group>
  129. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  130. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:180px; height:14px; ">FrozenSectionReview</caption>
  131. </group>
  132. <group id="grp_biz" style="left:0; top:40; width:1195; height:744; ">
  133. <caption id="caption4" class="tit_2" style="left:5px; top:55px; width:90px; height:13px; ">보고시간</caption>
  134. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  135. <datagrid id="grd_repttmlist" nodeset="/root/main/repttm/repttmlist" class="datagrid2" autoresize="true" caption="명칭^총건수^평균시간^이내건수^이상건수" colsep="^" colwidth="370, 200, 200, 200, 200" explorerbar="sortshow" rowheader="seq" rowsep="|" navindex="8" style="left:0; top:75px; width:1194px; height:653px; ">
  136. <col ref="reptnm"/>
  137. <col ref="totcnt"/>
  138. <col class="avgtm" ref="avgtm"/>
  139. <col class="bfcnt" ref="bfcnt"/>
  140. <col class="aftcnt" ref="aftcnt"/>
  141. </datagrid>
  142. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  143. <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; "/>
  144. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  145. <caption id="caption2" class="search_name" style="left:25px; top:9px; width:86px; height:17px; ">접수일자 :</caption>
  146. <caption id="caption5" class="search_no_b" style="left:217px; top:8px; width:12px; height:17px; ">~</caption>
  147. <button id="btn_sea" class="btn1_letter2" navindex="7" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  148. <caption>조회</caption>
  149. <script type="javascript" ev:event="DOMActivate">
  150. <![CDATA[
  151. fGetfrozenSectionReview();
  152. ]]>
  153. </script>
  154. </button>
  155. <input id="ipt_cnclfromdd" ref="/root/hidden/acptfromdd" class="input_s_essential" navindex="1" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:114px; top:8px; width:100px; height:19px; "/>
  156. <input id="ipt_cncltodd" ref="/root/hidden/acpttodd" class="input_s_essential" navindex="2" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:233px; top:8px; width:100px; height:19px; "/>
  157. <caption id="caption8" class="search_name" style="left:904; top:8px; width:85px; height:17px; ">시간(분) :</caption>
  158. <input id="input1" ref="/root/hidden/seaval" appearance="input" style="left:993; top:8px; width:100px; height:19px; "/>
  159. </group>
  160. </group>
  161. </xhtml:body>
  162. </xhtml:html>