KUCPB00060_인사기준정보.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>인사기준정보 ( w_won0e060 )</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <masterinfo>
  11. <masterlist/>
  12. </masterinfo>
  13. <detailinfo>
  14. <detaillist/>
  15. </detailinfo>
  16. </main>
  17. <init>
  18. </init>
  19. <send>
  20. <reqdata/>
  21. <savedata/>
  22. </send>
  23. <hidden>
  24. <commoninfo>
  25. <perchgrlist1>
  26. <cmb_data/>
  27. </perchgrlist1>
  28. <perchgrlist2>
  29. <cmb_data/>
  30. </perchgrlist2>
  31. <perchgrlist3>
  32. <cmb_data/>
  33. </perchgrlist3>
  34. <perchgrlist4>
  35. <cmb_data/>
  36. </perchgrlist4>
  37. <perchgrlist5>
  38. <cmb_data/>
  39. </perchgrlist5>
  40. <acntlist/>
  41. <perchgrlist6>
  42. <cmb_data/>
  43. </perchgrlist6>
  44. <perchgrlist7>
  45. <cmb_data/>
  46. </perchgrlist7>
  47. <perchgrlist8>
  48. <cmb_data/>
  49. </perchgrlist8>
  50. </commoninfo>
  51. </hidden>
  52. </root>
  53. </instance>
  54. <script type="javascript" ev:event="xforms-ready">
  55. <![CDATA[
  56. model.removeNodeset("/root/main/acntperchgrinfo/acntperchgrlist");
  57. //misfComboComCdList("030M0006" ,cmb_sanctflag);
  58. model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
  59. model.makeValue("/root/send/reqdata/SQLid", "d_won0e50_header_mis");
  60. model.makeValue("/root/send/reqdata/table_id", "masterlist");
  61. if(submit("TRRPB00052")){
  62. }
  63. model.refresh();
  64. ]]>
  65. </script>
  66. <submission id="TXRPB00051" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/detailinfo"/>
  67. <submission id="TRRPB00052" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/masterinfo"/>
  68. <submission id="TRRPB00053" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/detailinfo"/>
  69. <submission id="TRRPB01052" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/commoninfo/perchgrlist1"/>
  70. </model>
  71. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  72. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  73. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  74. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  75. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  76. </xhtml:head>
  77. <xhtml:body pagewidth="1200" pageheight="750" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  78. <group id="group3" scroll="auto" style="left:8px; top:0px; width:1197px; height:730px; ">
  79. <line id="line1" class="line_1" style="x1:0px; y1:41px; x2:1180px; y2:41px; "/>
  80. <datagrid id="grd_masterlist" nodeset="/root/main/masterinfo/masterlist" caption="순번^부문코드^구분^사번^이름^부서코드^급여직종^Y/N^집계방법^건수^비율^상태^겸무^최종발령일^퇴사일^과명^기관코드^T1^T2" colsep="^" colwidth="42, 75, 121, 73, 71, 192, 100, 37, 76, 53, 52, 60, 62, 100, 100, 100, 100, 100, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:40px; width:1180px; height:465px; ">
  81. <col ref="baebu_code" type="input" style="text-align:center; "/>
  82. <col editmode="inputsearch" itemcount="20" ref="baebu_name" type="input" showmask="true" style="text-align:left; "/>
  83. <col ref="bigo" type="input"/>
  84. <col ref="instcd" type="input"/>
  85. <col/>
  86. <col/>
  87. <col/>
  88. <col/>
  89. <col/>
  90. <col/>
  91. <col/>
  92. <col/>
  93. <col/>
  94. <col/>
  95. <col/>
  96. <col/>
  97. <col/>
  98. <col/>
  99. <col/>
  100. <script type="javascript" ev:event="onrowchanged">
  101. <![CDATA[
  102. if (getGridUpdateData(grd_detaillist) != "") {
  103. var save_val = messageBox("변경된 자료가 존재 합니다. ", "Q002");
  104. if (save_val == "6") {
  105. btn_save.dispatch("DOMActivate");
  106. }
  107. }
  108. var cur_row = grd_masterlist.row;
  109. var bbcd = grd_masterlist.valueMatrix(cur_row, grd_masterlist.colRef("baebu_code"));
  110. model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
  111. model.makeValue("/root/send/reqdata/baebu_code", bbcd);
  112. model.makeValue("/root/send/reqdata/SQLid", "d_won0110_mis");
  113. model.makeValue("/root/send/reqdata/table_id", "detaillist");
  114. if(submit("TRRPB00053")){
  115. grd_detaillist.subtotal("sum", 1, 5, "#,##0.0", "background-color:#99ff99", 4, "기준값 합계");
  116. }
  117. model.refresh();
  118. if(grd_detaillist.rows>1) {
  119. grd_detaillist.row=1;
  120. }
  121. grd_detaillist.dispatch("onrowchanged");
  122. model.setFocus("grd_detaillist");
  123. //grd_masterlist.dispatch("onmouseup");
  124. ]]>
  125. </script>
  126. </datagrid>
  127. <group id="group2" style="left:0px; top:0px; width:465px; height:13px; ">
  128. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:255px; height:14px; color:#000000; ">인사기준정보 ( w_won0e060 )</caption>
  129. </group>
  130. <button id="btn_chrtdeptdel" class="btn2_letter3" style="left:999px; top:16px; width:53px; height:19px; ">
  131. <caption>행삭제</caption>
  132. <script type="javascript" ev:event="DOMActivate">
  133. <![CDATA[
  134. if((grd_detaillist.rowStatus(grd_detaillist.row)=="1")||(grd_detaillist.rowStatus(grd_detaillist.row)=="3")){
  135. grd_detaillist.deleteRow(grd_detaillist.row);
  136. }else{
  137. grd_detaillist.rowStatus(grd_detaillist.row) ="4";
  138. }
  139. ]]>
  140. </script>
  141. </button>
  142. <button id="btn_chrtdeptadd" class="btn2_letter3" style="left:942px; top:16px; width:53px; height:19px; ">
  143. <caption>행추가</caption>
  144. <script type="javascript" ev:event="DOMActivate">
  145. <![CDATA[
  146. if ( grd_detaillist.rows > 0 ) grd_detaillist.removeRow();
  147. grd_detaillist.addRow();
  148. model.setValue("/root/main/detailinfo/detaillist["+grd_detaillist.row+"]/instcd",getUserInfo("dutplceinstcd"));
  149. var cur_row = grd_masterlist.row;
  150. var bbcd = grd_masterlist.valueMatrix(cur_row, grd_masterlist.colRef("baebu_code"));
  151. model.setValue("/root/main/detailinfo/detaillist["+grd_detaillist.row+"]/baebu_code",bbcd);
  152. model.setValue("/root/main/detailinfo/detaillist["+grd_detaillist.row+"]/dist_value",0);
  153. model.setValue("/root/main/detailinfo/detaillist["+grd_detaillist.row+"]/dist_value_tot",0);
  154. grd_detaillist.subtotal("sum", 1, 5, "#,##0.0", "background-color:#99ff99", 4, "기준값 합계");
  155. model.setFocus("grd_detaillist");
  156. grd_detaillist.col = grd_detaillist.colRef("bumon_code");
  157. grd_detaillist.editCell();
  158. ]]>
  159. </script>
  160. </button>
  161. <button id="btn_save" class="btn4_letter2" style="left:1120px; top:15px; width:56px; height:22px; ">
  162. <caption>저장</caption>
  163. <script type="javascript" ev:event="DOMActivate">
  164. <![CDATA[
  165. var ll_dist_value_tot = 0 , i ;
  166. for ( i = 1 ; i < grd_detaillist.rows-1; i++ )
  167. {
  168. if(grd_detaillist.rowStatus(i) != 4)
  169. {
  170. ll_dist_value_tot = ll_dist_value_tot + parseFloat( grd_detaillist.valueMatrix(i, grd_detaillist.colRef("dist_value") ) ) ;
  171. }
  172. }
  173. for ( i = 1 ; i < grd_detaillist.rows-1; i++ )
  174. {
  175. model.setValue("/root/main/detailinfo/detaillist["+ i +"]/dist_value_tot ", ll_dist_value_tot );
  176. if ( grd_detaillist.rowStatus(i) == 0) grd_detaillist.rowStatus(i) = 2 ;
  177. }
  178. model.refresh();
  179. model.makeValue("/root/send/savedata/DataGridList",grd_detaillist.getUpdateData());
  180. if(submit("TXRPB00051")){
  181. grd_masterlist.dispatch("onrowchanged");
  182. }
  183. ]]>
  184. </script>
  185. </button>
  186. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1060px; top:15px; width:56px; height:22px; text-align:left; ">
  187. <caption>조회</caption>
  188. <script type="javascript" ev:event="DOMActivate">
  189. <![CDATA[
  190. model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
  191. model.makeValue("/root/send/reqdata/SQLid", "d_won0e50_header_mis");
  192. model.makeValue("/root/send/reqdata/table_id", "masterlist");
  193. if(submit("TRRPB00052")){
  194. model.removeNodeset("/root/send/reqdata");
  195. }
  196. model.refresh();
  197. ]]>
  198. </script>
  199. </button>
  200. <select1 id="cmb_sanctflag" ref="/root/cond/sanctflag" class="combo_s_fix" visibility="hidden" appearance="minimal" style="left:325px; top:20px; width:135px; height:19px; text-align:center; ">
  201. <choices>
  202. <itemset nodeset="/root/init/sanctflag">
  203. <label ref="cdnm"/>
  204. <value ref="cdid"/>
  205. </itemset>
  206. </choices>
  207. </select1>
  208. <datagrid id="grd_detaillist" nodeset="/root/main/detailinfo/detaillist" caption="순번^부문코드^구분^사번^이름^부서코드^급여직종^Y/N^집계방법^건수^비율^상태^겸무^최종발령일^퇴사일^과명^기관코드^T1^T2" colsep="^" colwidth="42, 75, 121, 73, 71, 192, 100, 37, 76, 53, 52, 60, 62, 100, 100, 100, 100, 100, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:535px; width:1180px; height:165px; ">
  209. <col ref="baebu_code" type="input" style="text-align:center; "/>
  210. <col editmode="inputsearch" itemcount="20" ref="baebu_name" type="input" showmask="true" style="text-align:left; "/>
  211. <col ref="bigo" type="input"/>
  212. <col ref="instcd" type="input"/>
  213. <col/>
  214. <col/>
  215. <col/>
  216. <col/>
  217. <col/>
  218. <col/>
  219. <col/>
  220. <col/>
  221. <col/>
  222. <col/>
  223. <col/>
  224. <col/>
  225. <col/>
  226. <col/>
  227. <col/>
  228. <script type="javascript" ev:event="onrowchanged">
  229. <![CDATA[
  230. ]]>
  231. </script>
  232. </datagrid>
  233. </group>
  234. </xhtml:body>
  235. </xhtml:html>