SMRPS06400_부서트레이닝통계.xrw 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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>SMRPS06400_부서트레이닝통계</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <grid>
  11. <depttraining/>
  12. <deptadmin/>
  13. <totaltraining/>
  14. </grid>
  15. </main>
  16. <send>
  17. <search>
  18. <adminyn>N</adminyn>
  19. <trainingfrom/>
  20. <trainingto/>
  21. <instcd/>
  22. <gubun>A</gubun>
  23. </search>
  24. </send>
  25. <init>
  26. <trinerlist>
  27. <dutteamcd/>
  28. <emplno/>
  29. <adminyn/>
  30. </trinerlist>
  31. </init>
  32. <temp>
  33. </temp>
  34. <deptadmin>
  35. <emplno/>
  36. <emplnm/>
  37. </deptadmin>
  38. <trainerlist>
  39. <tremplno/>
  40. <tremplnm/>
  41. </trainerlist>
  42. <traininglist>
  43. <emplno/>
  44. <trainingfrom/>
  45. <trainingto/>
  46. <instcd/>
  47. </traininglist>
  48. </root>
  49. </instance>
  50. <script type="javascript" ev:event="xforms-ready">
  51. <![CDATA[
  52. model.setValue("/root/send/search/instcd", getUserInfo("dutplceinstcd"));
  53. submit("TRRPS06001");
  54. misfGridInit(grd_depttraining);
  55. misfGridInit(grd_totaltraining);
  56. misfMsterDetailSet(grd_depttraining,null, "TRRPS06401" ,"Y");
  57. misfMsterDetailSet(grd_totaltraining,null, "TRRPS06402" ,"Y");
  58. grd_trainerlist.selectionMode = "byrow";
  59. grd_depttraining.selectionMode = "byrow";
  60. grd_totaltraining.selectionMode = "byrow";
  61. model.refresh();
  62. ]]>
  63. </script>
  64. <submission id="TRRPS06001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/grid/deptadmin"/>
  65. <submission id="TRRPS06401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/traininglist" resultref="/root/main/grid/depttraining"/>
  66. <submission id="TRRPS06402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/traininglist" resultref="/root/main/grid/totaltraining"/>
  67. </model>
  68. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  69. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  70. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  71. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  72. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  73. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  74. <script type="javascript" src="../../../mis/educationmngtweb/js/RPS001.js"/>
  75. </xhtml:head>
  76. <xhtml:body style="margin-left:8; margin-right:8; ">
  77. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  78. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">부서트레이닝통계</caption>
  79. </group>
  80. <group id="group2" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  81. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  82. <button id="btn_search" class="btn1_letter2" style="left:1115px; top:17px; width:56px; height:22px; ">
  83. <caption>조회</caption>
  84. <script type="javascript" ev:event="DOMActivate">
  85. <![CDATA[
  86. grd_trainerlist.dispatch("onrowchanged");
  87. ]]>
  88. </script>
  89. </button>
  90. <line id="line13" class="line_4" style="x1:1100px; y1:15px; x2:1100px; y2:42px; "/>
  91. <line id="line8" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
  92. <caption id="caption20" class="tit_2" style="left:5px; top:56px; width:169px; height:14px; ">트레이너</caption>
  93. <datagrid id="grd_depttraining" nodeset="/root/main/grid/depttraining" caption="트레이너^사번^이름^소속팀^근무부서^직종^총훈련시간^훈련시간평균^훈련횟수^최근GAP^GAP(일)최고값^GAP(일)평균" colsep="^" colwidth="90, 100, 70, 150, 150, 100, 75, 85, 80, 80, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" style="left:0px; top:295px; width:1194px; height:425px; ">
  94. <col ref="tremplnm" _key="true" style="text-align:center; "/>
  95. <col ref="tnemplno" _key="true" style="text-align:center; "/>
  96. <col ref="tnemplnm" _key="true" style="text-align:center; "/>
  97. <col ref="teamnm" style="text-align:center; "/>
  98. <col ref="dutunitnm" style="text-align:center; "/>
  99. <col ref="jobkindnm" style="text-align:center; "/>
  100. <col ref="totaltrintm" style="text-align:center; "/>
  101. <col ref="trintmavg" style="text-align:center; "/>
  102. <col ref="trincnt" style="text-align:center; "/>
  103. <col ref="lastgap" style="text-align:center; "/>
  104. <col ref="maxgap" style="text-align:center; "/>
  105. <col ref="gapavg" style="text-align:center; "/>
  106. </datagrid>
  107. <datagrid id="grd_trainerlist" nodeset="/root/main/grid/deptadmin" caption="사번^이름^소속팀^근무부서^fromdd^todd^기관" colsep="^" colwidth="90, 70, 150, 150, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" style="left:0px; top:75px; width:500px; height:195px; ">
  108. <col ref="emplno" style="text-align:center; "/>
  109. <col ref="emplnm" style="text-align:center; "/>
  110. <col ref="teamnm" style="text-align:center; "/>
  111. <col ref="dutunitnm" style="text-align:center; "/>
  112. <col ref="trainingfrom" visibility="hidden"/>
  113. <col ref="trainingto" visibility="hidden"/>
  114. <col ref="instcd" visibility="hidden"/>
  115. <script type="javascript" ev:event="onrowchanged">
  116. <![CDATA[
  117. model.setValue("/root/traininglist/emplno",grd_trainerlist.valueMatrix(grd_trainerlist.row, grd_trainerlist.colRef("emplno")));
  118. model.setValue("/root/traininglist/trainingfrom",grd_trainerlist.valueMatrix(grd_trainerlist.row, grd_trainerlist.colRef("trainingfrom")));
  119. model.setValue("/root/traininglist/trainingto",grd_trainerlist.valueMatrix(grd_trainerlist.row, grd_trainerlist.colRef("trainingto")));
  120. model.setValue("/root/traininglist/instcd",grd_trainerlist.valueMatrix(grd_trainerlist.row, grd_trainerlist.colRef("instcd")));
  121. submit("TRRPS06401");
  122. submit("TRRPS06402");
  123. model.refresh();
  124. ]]>
  125. </script>
  126. </datagrid>
  127. <datagrid id="grd_totaltraining" nodeset="/root/main/grid/totaltraining" caption="총인원^총훈련시간^개인별훈련시간평균^개인별훈련횟수평균^GAP(일)평균^GAP(일)표준편차" colsep="^" colwidth="100, 100, 130, 119, 100, 106" mergecellsfixedrows="bycolrec" rowsep="|" style="left:501px; top:75px; width:692px; height:195px; ">
  128. <col ref="totalpsn" style="text-align:center; "/>
  129. <col ref="totaltrintm" style="text-align:center; "/>
  130. <col ref="psntrintm" style="text-align:center; "/>
  131. <col ref="psntrincntavg" style="text-align:center; "/>
  132. <col ref="gapavg" style="text-align:center; "/>
  133. <col ref="gapsd" style="text-align:center; "/>
  134. </datagrid>
  135. <input id="ipt_trainingfrom" ref="/root/send/search/trainingfrom" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:143px; top:18px; width:105px; height:19px; text-align:center; ">
  136. <script type="javascript" ev:event="xforms-value-changed">
  137. <![CDATA[
  138. for(var idx = grd_trainerlist.fixedRows; idx < grd_trainerlist.rows; idx++) {
  139. grd_trainerlist.valueMatrix(idx,grd_trainerlist.colRef("trainingfrom")) = ipt_trainingfrom.value;
  140. }
  141. ]]>
  142. </script>
  143. </input>
  144. <input id="ipt_trainingto" ref="/root/send/search/trainingto" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:269px; top:18px; width:105px; height:19px; text-align:center; ">
  145. <script type="javascript" ev:event="xforms-value-changed">
  146. <![CDATA[
  147. for(var idx = grd_trainerlist.fixedRows; idx < grd_trainerlist.rows; idx++) {
  148. grd_trainerlist.valueMatrix(idx,grd_trainerlist.colRef("trainingto")) = ipt_trainingto.value;
  149. }
  150. ]]>
  151. </script>
  152. </input>
  153. <caption id="caption3" style="left:250px; top:18px; width:18px; height:20px; text-align:center; ">~</caption>
  154. <caption id="caption2" class="search_name" style="left:25px; top:18px; width:146px; height:17px; ">훈 련 기 간 :</caption>
  155. <line id="line1" class="line_1" style="x1:0px; y1:290px; x2:1195px; y2:290px; "/>
  156. <caption id="caption1" class="tit_2" style="left:5px; top:276px; width:169px; height:14px; ">트레이니</caption>
  157. <input id="input1" ref="/root/send/search/instcd" visibility="hidden" style="left:480px; top:20px; width:175px; height:20px; "/>
  158. <line id="line2" class="line_2" style="x1:0px; y1:271px; x2:1195px; y2:271px; "/>
  159. <button id="btn_saveexcel" class="btn2_letter4" style="left:1128px; top:50px; width:64px; height:19px; ">
  160. <caption>엑셀저장</caption>
  161. <script type="javascript" ev:event="DOMActivate">
  162. <![CDATA[
  163. misfSaveExcel(grd_depttraining);
  164. ]]>
  165. </script>
  166. </button>
  167. </group>
  168. </xhtml:body>
  169. </xhtml:html>