SMRPB19100_평가대상자관리.xrw 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884
  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. <promotnflaglist>
  11. <limyn/>
  12. <emplno/>
  13. <emplnm/>
  14. <deptnm/>
  15. <entcodd/>
  16. <jobrespnm/>
  17. <jobposnm/>
  18. <jobkindnm/>
  19. <ojobgradnm/>
  20. <njobgradnm/>
  21. <payclscd/>
  22. <flag/>
  23. <gradeyn1/>
  24. <gradeyn2/>
  25. <assessor1/>
  26. <assessornm1/>
  27. <assessor2/>
  28. <assessornm2/>
  29. <assessor3/>
  30. <assessornm3/>
  31. <deptcd/>
  32. <year/>
  33. <ojobgradcd/>
  34. <njobgradcd/>
  35. <jobkindcd/>
  36. <jobposcd/>
  37. </promotnflaglist>
  38. </main>
  39. <send>
  40. <retrparams>
  41. <instcd/>
  42. <year/>
  43. <flag/>
  44. <dutunitcd/>
  45. <dutunitnm/>
  46. <deptgb/>
  47. <emplno/>
  48. <emplnm/>
  49. <emplno2/>
  50. <emplnm2/>
  51. <emplno3/>
  52. <emplnm3/>
  53. </retrparams>
  54. <execdata>
  55. <promotnflaglist/>
  56. </execdata>
  57. </send>
  58. <hidden/>
  59. </root>
  60. </instance>
  61. <script type="javascript" ev:event="xforms-ready">
  62. <![CDATA[
  63. misfGridInit(grd_promotnflaglist);
  64. misfGetAndSetUserInfo();
  65. model.setValue("/root/send/retrparams/deptgb", "2");
  66. model.setValue("/root/send/retrparams/year", getCurrentDate().substr(0, 4));
  67. model.setValue("/root/send/retrparams/dutunitcd", DUT_TEAM_CD);
  68. model.setValue("/root/send/retrparams/dutunitnm", DUT_TEAM_NM);
  69. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","Y");
  70. misfComboCopyItemSet(cmb_instcd, "", cmb_instcd_d, "");
  71. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  72. misfGetUserAuth();
  73. if (DUTY_VALU_YN == "Y" ) {
  74. ipt_dutdeptcd.disabled = false;
  75. btn_dutdept.disabled = false;
  76. }
  77. else {
  78. ipt_dutdeptcd.disabled = true;
  79. btn_dutdept.disabled = true;
  80. }
  81. model.refresh();
  82. ]]>
  83. </script>
  84. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  86. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  87. <script type="javascript" src="../../../mis/promotnmngtweb/js/RPH001.js"/>
  88. <script type="javascript" src="../../../mis/purccommonweb/js/PURC.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  91. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  92. <script type="javascript" src="../../../mis/valuationmngtweb/js/RPV001.js"/>
  93. <script type="javascript">
  94. <![CDATA[
  95. function fEnableUpdateButton() {
  96. btn_insert.disabled = true;
  97. btn_update.disabled = false;
  98. }
  99. function fEnableInsertButton(){
  100. btn_insert.disabled = false;
  101. btn_update.disabled = true;
  102. ipt_emplno_d.disabled=false;
  103. ipt_emplnm_d.disabled=false;
  104. btn_emplno.disabled=false;
  105. ipt_gradupym_d.disabled = false;
  106. }
  107. ]]>
  108. </script>
  109. <submission id="TRRPB19101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/main/promotnflaglist"/>
  110. <submission id="TXRPB19101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/execdata" resultref="/root/hidden"/>
  111. </model>
  112. </xhtml:head>
  113. <xhtml:body guideline="2,474;2,589;2,591;1,1434;" style="margin-left:8; margin-right:8; ">
  114. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  115. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">평가대상자관리</caption>
  116. </group>
  117. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:732px; ">
  118. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  119. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:27px; width:56px; height:22px; ">
  120. <caption>조회</caption>
  121. <script type="javascript" ev:event="DOMActivate">
  122. <![CDATA[
  123. submit("TRRPB19101");
  124. ]]>
  125. </script>
  126. </button>
  127. <line id="line13" class="line_4" style="x1:1110px; y1:17px; x2:1110px; y2:46px; "/>
  128. <caption id="caption278" class="tit_2" style="left:5px; top:59px; width:113px; height:14px; ">평가대상자 목록</caption>
  129. <line id="line207" class="line_1" style="x1:0px; y1:78px; x2:1195px; y2:78px; "/>
  130. <!--datagrid id="promotnflaglist" nodeset="/root/main/promotnflaglist" caption="기관^부서" colwidth="60, 65" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" colsep="^" style="left:0px; top:74px; width:1195px; height:433px; ">
  131. <col ref="instcd"/>
  132. <col ref="deptcd"/>
  133. </datagrid-->
  134. <line id="line205" class="line_2" style="x1:0px; y1:638px; x2:1193px; y2:638px; "/>
  135. <line id="line206" class="line_2" style="x1:0px; y1:663px; x2:1193px; y2:663px; "/>
  136. <line id="line204" class="line_2" style="x1:0px; y1:613px; x2:1193px; y2:613px; "/>
  137. <caption id="caption283" class="tit_2" style="left:5px; top:567px; width:118px; height:13px; ">등록 및 수정사항</caption>
  138. <line id="line203" class="line_1" style="x1:0px; y1:585px; x2:1193px; y2:585px; "/>
  139. <button id="btn_emplno" class="icon_search" style="left:154px; top:617px; width:16px; height:16px; ">
  140. <caption/>
  141. <script type="javascript" ev:event="DOMActivate">
  142. <![CDATA[
  143. var recv_list = "emplno,emplnm,dutplceinst,anual,dutunitcd,dutunitnm,teamcd,unitcd,jobkindcd,jobkindnm,jobposcd,jobposnm,jobrespcd,jobrespnm";
  144. recv_list = recv_list+",payclscd,entcodd,grupjoblncd,joblncd,preststatcd,brthdd,gndr,njobgradcd,njobgradnm,prfshipflag,gradupmm,ojobgradcd,ojobgradnm";
  145. payclsprfshipflag
  146. rpbfOpenPopUpList("SPRPB00101", ipt_emplno_d, recv_list,"","N");
  147. cmb_payclsprfshipflag_d.value=ipt_prfshipflag.value;
  148. var dutplceinst = model.getValue("/root/main/listdetail/dutplceinst");
  149. var dutnuitcd = model.getValue("/root/main/listdetail/dutunitcd");
  150. var dutnuitnm = model.getValue("/root/main/listdetail/dutunitnm");
  151. model.makeValue("/root/main/listdetail/instcd",dutplceinst);
  152. model.makeValue("/root/main/listdetail/deptcd",dutnuitcd);
  153. model.makeValue("/root/main/listdetail/deptnm",dutnuitnm);
  154. model.refresh();
  155. //misfOpenPopUpList("01", ipt_emplno,"", recv_list) ;
  156. ]]>
  157. </script>
  158. </button>
  159. <caption id="caption10" style="left:772px; top:616px; width:26px; height:20px; text-align:center; vertical-align:bottom; ">년차</caption>
  160. <line id="line6" class="line_3" style="x1:0px; y1:718px; x2:1193px; y2:718px; "/>
  161. <button id="button19" class="btn2_letter4" style="left:1125px; top:55px; width:64px; height:19px; ">
  162. <caption>엑셀저장</caption>
  163. <script type="javascript" ev:event="DOMActivate">
  164. <![CDATA[
  165. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  166. if (fileName != "")
  167. {
  168. grd_promotnflaglist.saveExcel(fileName, "SheetName", true, true, "", "");
  169. }
  170. ]]>
  171. </script>
  172. </button>
  173. <!--button id="button3" class="btn2_letter3" style="left:955px; top:48px; width:53px; height:19px; ">
  174. <caption>행추가</caption>
  175. <script type="javascript" ev:event="DOMActivate">
  176. <![CDATA[
  177. ]]>
  178. </script>
  179. </button>
  180. <button id="button4" class="btn2_letter3" style="left:1010px; top:48px; width:53px; height:19px; ">
  181. <caption>행삭제</caption>
  182. <script type="javascript" ev:event="DOMActivate">
  183. <![CDATA[
  184. ]]>
  185. </script>
  186. </button-->
  187. <input id="input7" ref="/root/main/listdetail/ojobgradnm" class="input_default" editable="false" style="left:658px; top:616px; width:104px; height:19px; "/>
  188. <input id="input8" ref="/root/main/listdetail/anual" class="input_default" editable="false" style="left:806px; top:616px; width:47px; height:19px; "/>
  189. <input id="input20" ref="/root/main/listdetail/limresn" class="input_default" style="left:658px; top:667px; width:481px; height:19px; "/>
  190. <caption id="caption11" class="cell_1" style="left:0px; top:665px; width:82px; height:23px; vertical-align:middle; ">부서</caption>
  191. <input id="ipt_emplno_d" ref="/root/main/listdetail/emplno" class="input_default" disabled="false" editable="false" style="left:85px; top:616px; width:65px; height:19px; "/>
  192. <caption id="cap_promotnflag_d" class="cell_1" style="left:857px; top:590px; width:82px; height:23px; vertical-align:middle; ">직위</caption>
  193. <caption id="caption4" class="cell_1" style="left:572px; top:615px; width:82px; height:23px; vertical-align:middle; ">직급</caption>
  194. <caption id="cap_ojobgradcd_d" class="cell_1" style="left:285px; top:615px; width:82px; height:23px; vertical-align:middle; ">신직급</caption>
  195. <select1 id="cmb_limcd_rsn" ref="/root/main/listdetail/limcd" class="combo_default" visibility="hidden" appearance="minimal" style="left:1155px; top:695px; width:35px; height:15px; ">
  196. <choices>
  197. <itemset>
  198. <label/>
  199. <value/>
  200. </itemset>
  201. </choices>
  202. </select1>
  203. <input id="input2" ref="/root/main/listdetail/jobkindnm" class="input_default" editable="false" style="left:658px; top:591px; width:195px; height:19px; "/>
  204. <input id="input3" ref="/root/main/listdetail/deptnm" class="input_default" editable="false" style="left:85px; top:667px; width:195px; height:19px; "/>
  205. <input id="ipt_emplnm_d" ref="/root/main/listdetail/emplnm" class="input_default" editable="false" style="left:175px; top:616px; width:105px; height:19px; "/>
  206. <caption id="cap_emplno_d" class="cell_1" style="left:0px; top:615px; width:82px; height:23px; vertical-align:middle; ">사번</caption>
  207. <caption id="caption9" class="cell_1" style="left:0px; top:640px; width:82px; height:23px; vertical-align:middle; ">기관</caption>
  208. <input id="input4" ref="/root/main/listdetail/jobposnm" class="input_default" editable="false" style="left:944px; top:591px; width:195px; height:19px; "/>
  209. <input id="input5" ref="/root/main/listdetail/jobrespnm" class="input_default" editable="false" style="left:944px; top:615px; width:195px; height:19px; "/>
  210. <caption id="caption20" class="cell_1" style="left:285px; top:590px; width:82px; height:23px; vertical-align:middle; ">직원분류</caption>
  211. <caption id="caption21" class="cell_1" style="left:572px; top:590px; width:82px; height:23px; vertical-align:middle; ">직종</caption>
  212. <caption id="cap_limyn" class="cell_1" style="left:857px; top:640px; width:82px; height:23px; vertical-align:middle; ">처리여부</caption>
  213. <select1 id="cmb_instcd_d" ref="/root/main/listdetail/instcd" class="combo_default" appearance="minimal" itemcount="10" style="left:85px; top:642px; width:195px; height:19px; ">
  214. <choices>
  215. <itemset>
  216. <label/>
  217. <value/>
  218. </itemset>
  219. </choices>
  220. </select1>
  221. <select1 id="rdo_limyn" ref="/root/main/listdetail/limyn" class="radio_search" overflow="visible" appearance="full" cols="2" style="left:944px; top:643px; width:180px; height:16px; text-align:center; border-style:none; ">
  222. <choices>
  223. <itemset nodeset="/root/init/promconf">
  224. <label ref="label"/>
  225. <value ref="value"/>
  226. </itemset>
  227. </choices>
  228. </select1>
  229. <button id="btn_update" class="btn2_letter2" navindex="13" style="left:1090px; top:563px; width:42px; height:19px; ">
  230. <caption>수정</caption>
  231. <script type="javascript" ev:event="DOMActivate">
  232. <![CDATA[
  233. if(!isRequiredControls("ipt_gradupym_d","ipt_emplno_d" ,"ipt_graduppaycls", "rdo_limyn"))return;
  234. if(rdo_limyn.value=='N' && cmb_limcd_rsn.value==""){
  235. messageBox("승급불가 사유는 ","I003");
  236. return;
  237. }
  238. var cur_row = grd_promotnflaglist.row; // 행 번호 가져오기
  239. if (cur_row > 0) {
  240. // 그리드에 추가
  241. model.copyNode("/root/main/promotnflaglist["+cur_row+"]","/root/main/listdetail");
  242. grd_promotnflaglist.valueMatrix(cur_row,grd_promotnflaglist.colRef("graduppayclsnm"))=cmb_graduppaycls.label;
  243. grd_promotnflaglist.valueMatrix(cur_row,grd_promotnflaglist.colRef("payclsnm"))=cmb_payclscd.label;
  244. grd_promotnflaglist.addStatus(cur_row,"update"); // 행을 업데이트 상태로 변경
  245. model.refresh();
  246. }
  247. ]]>
  248. </script>
  249. </button>
  250. <button id="button4" class="btn2_letter3" navindex="14" style="left:1135px; top:563px; width:53px; height:19px; ">
  251. <caption>지우기</caption>
  252. <script type="javascript" ev:event="DOMActivate">
  253. <![CDATA[
  254. fEnableInsertButton();
  255. model.resetInstanceNode("/root/main/listdetail");
  256. model.refresh();
  257. ]]>
  258. </script>
  259. </button>
  260. <button id="btn_insert" class="btn2_letter2" navindex="12" style="left:1045px; top:563px; width:42px; height:19px; ">
  261. <caption>추가</caption>
  262. <script type="javascript" ev:event="DOMActivate">
  263. <![CDATA[
  264. if(!isRequiredControls("ipt_gradupym_d","ipt_emplno_d" ,"ipt_graduppaycls","rdo_limyn"))return;
  265. if(rdo_limyn.value=='N' && cmb_limcd_rsn.value==""){
  266. messageBox("승급불가 사유는 ","I003");
  267. return;
  268. }
  269. ipt_promotngradupflag.value = "3";
  270. //if (!fnullCheck()) return;
  271. grd_promotnflaglist.addrow(); // 입력할 행 추가.
  272. var cur_row = grd_promotnflaglist.row; // 추가된 행 번호 가져오기
  273. // 그리드에 추가
  274. model.copyNode("/root/main/promotnflaglist["+(cur_row-1)+"]","/root/main/listdetail");
  275. grd_promotnflaglist.valueMatrix(cur_row,grd_promotnflaglist.colRef("graduppayclsnm"))=cmb_graduppaycls.label;
  276. grd_promotnflaglist.valueMatrix(cur_row,grd_promotnflaglist.colRef("payclsnm"))=cmb_payclscd.label;
  277. fEnableUpdateButton();
  278. model.refresh();
  279. ]]>
  280. </script>
  281. </button>
  282. <caption id="cap_prom_rsn" class="cell_1" style="left:572px; top:665px; width:82px; height:23px; vertical-align:middle; ">승급불가사유</caption>
  283. <input id="ipt_gradupym_d" ref="/root/main/listdetail/gradupym" inputtype="date" format="yyyy-mm" style="left:85px; top:591px; width:195px; height:19px; "/>
  284. <input id="input9" ref="/root/main/listdetail/deptcd" visibility="hidden" style="left:415px; top:560px; width:20; height:19px; "/>
  285. <input id="input12" ref="/root/main/listdetail/teamcd" visibility="hidden" style="left:445px; top:560px; width:20; height:19px; "/>
  286. <input id="input13" ref="/root/main/listdetail/unitcd" visibility="hidden" style="left:475px; top:560px; width:20; height:19px; "/>
  287. <input id="input14" ref="/root/main/listdetail/jobkindcd" visibility="hidden" style="left:505px; top:560px; width:20; height:19px; "/>
  288. <input id="input15" ref="/root/main/listdetail/jobposcd" visibility="hidden" style="left:535px; top:560px; width:20; height:19px; "/>
  289. <input id="input16" ref="/root/main/listdetail/jobrespcd" visibility="hidden" style="left:560px; top:560px; width:20; height:19px; "/>
  290. <input id="input17" ref="/root/main/listdetail/ojobgradcd" visibility="hidden" style="left:585px; top:560px; width:20; height:19px; "/>
  291. <input id="input18" ref="/root/main/listdetail/njobgradnm" style="left:372px; top:616px; width:193px; height:19px; "/>
  292. <input id="input21" ref="/root/main/listdetail/njobgradcd" visibility="hidden" style="left:670px; top:560px; width:20; height:19px; "/>
  293. <input id="input24" ref="/root/main/listdetail/gndr" visibility="hidden" style="left:850px; top:558px; width:20; height:19px; "/>
  294. <input id="input26" ref="/root/main/listdetail/entcodd" visibility="hidden" style="left:695px; top:558px; width:20; height:19px; "/>
  295. <input id="input27" ref="/root/main/listdetail/grupjoblncd" visibility="hidden" style="left:725px; top:558px; width:20; height:19px; "/>
  296. <input id="input28" ref="/root/main/listdetail/joblncd" visibility="hidden" style="left:755px; top:558px; width:20; height:19px; "/>
  297. <input id="input31" ref="/root/main/listdetail/preststatcd" visibility="hidden" style="left:780px; top:558px; width:20; height:19px; "/>
  298. <input id="input32" ref="/root/main/listdetail/brthdd" visibility="hidden" style="left:820px; top:558px; width:20; height:19px; "/>
  299. <line id="line1" class="line_2" style="x1:0px; y1:688px; x2:1193px; y2:688px; "/>
  300. <caption id="cap_gradupym_d" class="cell_1" style="left:0px; top:590px; width:82px; height:23px; vertical-align:middle; ">승급년월</caption>
  301. <input id="input33" ref="/root/main/listdetail/cmt" class="input_default" style="left:85px; top:693px; width:1054px; height:19px; "/>
  302. <caption id="caption7" class="cell_1" style="left:0px; top:690px; width:82px; height:23px; vertical-align:middle; ">비고</caption>
  303. <caption id="cap_graduppaycls" class="cell_1" style="left:285px; top:640px; width:82px; height:23px; vertical-align:middle; ">승급호봉</caption>
  304. <caption id="caption5" class="cell_1" style="left:572px; top:640px; width:82px; height:23px; vertical-align:middle; ">현호봉</caption>
  305. <select1 id="cmb_payclsprfshipflag_d" ref="/root/main/listdetail/payclsprfshipflag" class="combo_default" appearance="minimal" itemcount="10" style="left:372px; top:591px; width:193px; height:19px; ">
  306. <choices>
  307. <itemset>
  308. <label/>
  309. <value/>
  310. </itemset>
  311. </choices>
  312. </select1>
  313. <caption id="caption13" class="cell_1" style="left:857px; top:615px; width:82px; height:23px; vertical-align:middle; ">직책</caption>
  314. <caption id="caption14" class="cell_1" style="left:285px; top:665px; width:82px; height:23px; vertical-align:middle; ">승급월</caption>
  315. <input id="input10" ref="/root/main/listdetail/gradupmm" inputtype="date" format="mm" style="left:372px; top:667px; width:193px; height:19px; "/>
  316. <input id="input6" ref="/root/main/listdetail/gvnoffcordtretyn" visibility="hidden" style="left:880px; top:565px; width:20px; height:19px; "/>
  317. <input id="ipt_promotngradupflag" ref="/root/main/listdetail/promotngradupflag" visibility="hidden" style="left:910px; top:565px; width:20px; height:19px; "/>
  318. <input id="input19" ref="/root/main/listdetail/oldgvnoffcordtretyn" visibility="hidden" style="left:965px; top:565px; width:20px; height:19px; "/>
  319. <input id="input22" ref="/root/main/listdetail/oldlimyn" visibility="hidden" style="left:935px; top:565px; width:20px; height:19px; "/>
  320. <button id="button6" class="btn2_letter4" visibility="hidden" style="left:1052px; top:55px; width:64px; height:19px; ">
  321. <caption>전체취소</caption>
  322. <script type="javascript" ev:event="DOMActivate">
  323. <![CDATA[
  324. var updtdata = getGridUpdateData(grd_promotnflaglist);
  325. if (updtdata != "") {
  326. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 저장후","C002");
  327. return;
  328. }
  329. for (var i = grd_promotnflaglist.fixedRows; i < grd_promotnflaglist.rows; i++ ) {
  330. grd_promotnflaglist.valueMatrix(i, grd_promotnflaglist.colRef("limyn")) = 'N';
  331. var limyn = grd_promotnflaglist.valueMatrix(i, grd_promotnflaglist.colRef("limyn")) ;
  332. var oldlimyn = grd_promotnflaglist.valueMatrix(i, grd_promotnflaglist.colRef("oldlimyn"));
  333. if(oldlimyn!=limyn){
  334. grd_promotnflaglist.addStatus(i,"update");
  335. }else{
  336. grd_promotnflaglist.rowStatus(i) =0;
  337. }
  338. }
  339. ]]>
  340. </script>
  341. </button>
  342. <button id="button12" class="btn2_letter4" visibility="hidden" style="left:985px; top:55px; width:64px; height:19px; ">
  343. <caption>전체선택</caption>
  344. <script type="javascript" ev:event="DOMActivate">
  345. <![CDATA[
  346. var updtdata = getGridUpdateData(grd_promotnflaglist);
  347. if (updtdata != "") {
  348. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 저장후","C002");
  349. return;
  350. }
  351. for (var i = grd_promotnflaglist.fixedRows; i < grd_promotnflaglist.rows; i++ ) {
  352. grd_promotnflaglist.valueMatrix(i, grd_promotnflaglist.colRef("limyn")) = 'Y';
  353. var limyn = grd_promotnflaglist.valueMatrix(i, grd_promotnflaglist.colRef("limyn")) ;
  354. var oldlimyn = grd_promotnflaglist.valueMatrix(i, grd_promotnflaglist.colRef("oldlimyn"));
  355. if(oldlimyn!=limyn){
  356. grd_promotnflaglist.addStatus(i,"update");
  357. }else{
  358. grd_promotnflaglist.rowStatus(i) =0;
  359. // alert(limyn+"==="+oldlimyn);
  360. //grd_promotnflaglist.clearStatus(i);
  361. }
  362. }
  363. ]]>
  364. </script>
  365. </button>
  366. <input id="ipt_prfshipflag" ref="/root/main/listdetail/prfshipflag" visibility="hidden" style="left:390px; top:565px; width:20px; height:19px; "/>
  367. <input id="input1" ref="/root/main/listdetail/adjtyearno" visibility="hidden" style="left:360px; top:565px; width:20px; height:19px; "/>
  368. <input id="input11" ref="/root/main/listdetail/dutunitcd" visibility="hidden" style="left:255px; top:565px; width:20px; height:15px; "/>
  369. <input id="input25" ref="/root/main/listdetail/dutunitnm" visibility="hidden" style="left:285px; top:565px; width:20px; height:15px; "/>
  370. <input id="input29" ref="/root/main/listdetail/dutplceinst" visibility="hidden" style="left:230px; top:565px; width:20px; height:19px; "/>
  371. <select1 id="cmb_payclscd" ref="/root/main/listdetail/payclscd" class="combo_default" appearance="minimal" style="left:658px; top:642px; width:195px; height:19px; ">
  372. <choices>
  373. <itemset>
  374. <label/>
  375. <value/>
  376. </itemset>
  377. </choices>
  378. </select1>
  379. <select1 id="cmb_graduppaycls" ref="/root/main/listdetail/graduppaycls" class="combo_default" appearance="minimal" style="left:371px; top:642px; width:195px; height:19px; ">
  380. <choices>
  381. <itemset>
  382. <label/>
  383. <value/>
  384. </itemset>
  385. </choices>
  386. </select1>
  387. <datagrid id="grd_promotnflaglist" nodeset="/root/main/promotnflaglist" class="datagrid2" caption="선택^사원번호^성명^근무부서^입사일자^직책^직위^직종^직급^신직급^호봉^평가유형^1차&#xA;평가^2차&#xA;평가^1차평가자^1차&#xA;평가자명^2차평가자^2차&#xA;평가자명^3차평가자^3차&#xA;평가자명^caption1^caption2^caption3^caption4^caption5^caption6" colsep="^" colwidth="28, 65, 56, 103, 74, 71, 83, 82, 69, 85, 42, 131, 36, 38, 73, 59, 72, 61, 77, 57, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:83px; width:1190px; height:647px; ">
  388. <col checkvalue="Y,N" ref="limyn" type="checkbox" style="text-align:center; "/>
  389. <col ref="emplno" style="text-align:center; "/>
  390. <col ref="emplnm"/>
  391. <col ref="deptnm"/>
  392. <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
  393. <col ref="jobrespnm"/>
  394. <col ref="jobposnm" visibility="hidden"/>
  395. <col ref="jobkindnm"/>
  396. <col ref="ojobgradnm"/>
  397. <col ref="njobgradnm" visibility="hidden"/>
  398. <col ref="payclscd" visibility="hidden" style="text-align:center; "/>
  399. <col ref="flag" type="combo" style="left:0px; top:0px; width:0px; height:0px; ">
  400. <choices>
  401. <item>
  402. <label>팀장,과장,실장용</label>
  403. <value>A</value>
  404. </item>
  405. <item>
  406. <label>계장급용</label>
  407. <value>B</value>
  408. </item>
  409. <item>
  410. <label>간호직용</label>
  411. <value>C</value>
  412. </item>
  413. <item>
  414. <label>의료기사직,직원용</label>
  415. <value>D</value>
  416. </item>
  417. <item>
  418. <label>의사용</label>
  419. <value>E</value>
  420. </item>
  421. </choices>
  422. </col>
  423. <col checkvalue="Y,N" ref="gradeyn1" type="checkbox"/>
  424. <col checkvalue="Y,N" ref="gradeyn2" type="checkbox"/>
  425. <col ref="assessor1" type="inputbutton" style="text-align:right; vertical-align:middle; "/>
  426. <col ref="assessornm1"/>
  427. <col ref="assessor2" type="inputbutton" style="text-align:right; vertical-align:middle; "/>
  428. <col ref="assessornm2"/>
  429. <col ref="assessor3" type="inputbutton" style="text-align:right; vertical-align:middle; "/>
  430. <col ref="assessornm3"/>
  431. <col ref="deptcd" visibility="hidden"/>
  432. <col ref="year" visibility="hidden"/>
  433. <col ref="ojobgradcd" visibility="hidden"/>
  434. <col ref="njobgradcd" visibility="hidden"/>
  435. <col ref="jobkindcd" visibility="hidden"/>
  436. <col ref="jobposcd" visibility="hidden"/>
  437. <script type="javascript" ev:event="onbuttonclick">
  438. <![CDATA[
  439. var emplno = "";
  440. var emplnm = "";
  441. if (grd_promotnflaglist.colAttribute(grd_promotnflaglist.col,"ref") == "assessor1" ) { //계산기준코드
  442. emplno = model.getValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplno");
  443. emplnm = model.getValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplnm");
  444. var recv_list = "emplno,emplnm";
  445. rpbfOpenPopUpList("SPRPB00101", grd_promotnflaglist, recv_list,"","N");
  446. model.setValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/assessor1", model.getValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplno"));
  447. model.setValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/assessornm1", model.getValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplnm"));
  448. model.setValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplno", emplno);
  449. model.setValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplnm", emplnm);
  450. model.refresh();
  451. }else if (grd_promotnflaglist.colAttribute(grd_promotnflaglist.col,"ref") == "assessor2" ) { //계산기준코드
  452. emplno = model.getValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplno");
  453. emplnm = model.getValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplnm");
  454. var recv_list = "emplno,emplnm";
  455. rpbfOpenPopUpList("SPRPB00101", grd_promotnflaglist, recv_list,"","N");
  456. model.setValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/assessor2", model.getValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplno"));
  457. model.setValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/assessornm2", model.getValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplnm"));
  458. model.setValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplno", emplno);
  459. model.setValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplnm", emplnm);
  460. model.refresh();
  461. }else if (grd_promotnflaglist.colAttribute(grd_promotnflaglist.col,"ref") == "assessor3" ) { //계산기준코드
  462. emplno = model.getValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplno");
  463. emplnm = model.getValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplnm");
  464. var recv_list = "emplno,emplnm";
  465. rpbfOpenPopUpList("SPRPB00101", grd_promotnflaglist, recv_list,"","N");
  466. model.setValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/assessor3", model.getValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplno"));
  467. model.setValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/assessornm3", model.getValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplnm"));
  468. model.setValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplno", emplno);
  469. model.setValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplnm", emplnm);
  470. model.refresh();
  471. }
  472. ]]>
  473. </script>
  474. <script type="javascript" ev:event="onaftersort">
  475. <![CDATA[
  476. grd_promotnflaglist.gridToInstance();
  477. ]]>
  478. </script>
  479. <script type="javascript" ev:event="xforms-value-changed">
  480. <![CDATA[
  481. if (grd_promotnflaglist.colAttribute(grd_promotnflaglist.col,"ref") == "limyn" ) {
  482. if (model.getValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/limyn") == "Y"){
  483. model.setValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/year", model.getValue("/root/send/retrparams/year"));
  484. model.setValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/deptcd", model.getValue("/root/send/retrparams/dutunitcd"));
  485. model.refresh();
  486. }
  487. }
  488. if (grd_promotnflaglist.colAttribute(grd_promotnflaglist.col,"ref") == "assessor1" ) { //계산기준코드
  489. var recv_list = "assessor1,assessornm1";
  490. misfValidationCheck("01-1", "", recv_list);
  491. model.refresh();
  492. }else if (grd_promotnflaglist.colAttribute(grd_promotnflaglist.col,"ref") == "assessor2" ) { //계산기준코드
  493. var recv_list = "assessor2,assessornm2";
  494. misfValidationCheck("01-1", "", recv_list);
  495. model.refresh();
  496. }
  497. ]]>
  498. </script>
  499. </datagrid>
  500. <select1 id="cmb_instcd" ref="/root/send/retrparams/instcd" class="combo_search" navindex="1" appearance="minimal" style="left:100px; top:18px; width:110px; height:19px; ">
  501. <choices>
  502. <itemset>
  503. <label/>
  504. <value/>
  505. </itemset>
  506. </choices>
  507. </select1>
  508. <caption id="caption1" class="search_name" style="left:272px; top:19px; width:86px; height:17px; ">평가년도 :</caption>
  509. <input id="ipt_appfromdd" ref="/root/send/retrparams/year" class="input_s_essential" navindex="2" inputtype="date" format="yyyy" style="left:362px; top:18px; width:93px; height:19px; text-align:center; ">
  510. <script type="javascript" ev:event="xforms-value-changed">
  511. <![CDATA[
  512. btn_search.dispatch("DOMActivate");
  513. ]]>
  514. </script>
  515. </input>
  516. <caption id="caption2" class="search_name" style="left:10px; top:19px; width:86px; height:17px; ">소속기관 :</caption>
  517. <button id="btn_dutdept" class="icon_search" disabled="true" style="left:692px; top:20px; width:16px; height:16px; ">
  518. <caption/>
  519. <script type="javascript" ev:event="DOMActivate">
  520. <![CDATA[
  521. misfOpenPopUpList("02", ipt_dutdeptcd,"","dutunitcd,dutunitnm", cmb_instcd.value + "," + ipt_appfromdd.value+"31", "instcd,basedd");
  522. btn_search.dispatch("DOMActivate");
  523. ]]>
  524. </script>
  525. </button>
  526. <select1 id="combo1" ref="/root/send/retrparams/deptgb" visibility="hidden" appearance="minimal" style="left:805px; top:18px; width:100px; height:19px; ">
  527. <choices>
  528. <item>
  529. <label>근무지</label>
  530. <value>1</value>
  531. </item>
  532. <item>
  533. <label>소속부서</label>
  534. <value>2</value>
  535. </item>
  536. <item>
  537. <label>소속과(팀)</label>
  538. <value>3</value>
  539. </item>
  540. <item>
  541. <label>소속부(실)</label>
  542. <value>4</value>
  543. </item>
  544. </choices>
  545. <script type="javascript" ev:event="xforms-value-changed">
  546. <![CDATA[
  547. model.setValue("/root/send/retrparams2/deptgb", model.getValue("/root/send/retrparams/deptgb"));
  548. submit("TRRPD00105");
  549. ]]>
  550. </script>
  551. </select1>
  552. <caption id="caption8" class="search_name" style="left:524px; top:19px; width:99px; height:17px; ">관리부서 :</caption>
  553. <input id="ipt_dutdeptnm" ref="/root/send/retrparams/dutunitnm" class="input_search" disabled="true" style="left:715px; top:18px; width:85px; height:19px; ">
  554. <script type="javascript" ev:event="xforms-value-changed">
  555. <![CDATA[
  556. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd");
  557. model.setValue("/root/send/retrparams/appdd", model.getValue("/root/send/retrparams/dutym"));
  558. model.setValue("/root/send/retrparams/dutplcedeptcd", model.getValue("/root/send/retrparams/dutunitcd"));
  559. model.setValue("/root/send/retrparams/flag", "1");
  560. model.setValue("/root/send/retrparams2/instcd", model.getValue("/root/send/retrparams/instcd"));
  561. model.setValue("/root/send/retrparams2/dutunitcd", model.getValue("/root/send/retrparams/dutunitcd"));
  562. model.setValue("/root/send/retrparams2/dutym", model.getValue("/root/send/retrparams/dutym"));
  563. submit("TRRPD00105");
  564. model.refresh();
  565. ]]>
  566. </script>
  567. <script type="javascript" ev:event="onkeypress">
  568. <![CDATA[
  569. if(event.keyCode == 13)
  570. {
  571. ipt_dutdeptnm.value = ipt_dutdeptnm.currentText;
  572. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd");
  573. model.setValue("/root/send/retrparams/appdd", model.getValue("/root/send/retrparams/dutym"));
  574. model.setValue("/root/send/retrparams/dutplcedeptcd", model.getValue("/root/send/retrparams/dutunitcd"));
  575. model.setValue("/root/send/retrparams/flag", "1");
  576. model.setValue("/root/send/retrparams2/instcd", model.getValue("/root/send/retrparams/instcd"));
  577. model.setValue("/root/send/retrparams2/dutunitcd", model.getValue("/root/send/retrparams/dutunitcd"));
  578. model.setValue("/root/send/retrparams2/dutym", model.getValue("/root/send/retrparams/dutym"));
  579. submit("TRRPD00105");
  580. model.refresh();
  581. }
  582. ]]>
  583. </script>
  584. </input>
  585. <input id="ipt_dutdeptcd" ref="/root/send/retrparams/dutunitcd" class="input_search" disabled="true" maxlength="10" style="left:612px; top:18px; width:75px; height:19px; text-align:center; ">
  586. <script type="javascript" ev:event="xforms-value-changed">
  587. <![CDATA[
  588. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd");
  589. btn_search.dispatch("DOMActivate");
  590. ]]>
  591. </script>
  592. <script type="javascript" ev:event="onkeypress">
  593. <![CDATA[
  594. if(event.keyCode == 13)
  595. {
  596. ipt_dutdeptcd.value = ipt_dutdeptcd.currentText;
  597. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd");
  598. model.setValue("/root/send/retrparams/appdd", model.getValue("/root/send/retrparams/dutym"));
  599. model.setValue("/root/send/retrparams/dutplcedeptcd", model.getValue("/root/send/retrparams/dutunitcd"));
  600. model.setValue("/root/send/retrparams/flag", "1");
  601. model.setValue("/root/send/retrparams2/instcd", model.getValue("/root/send/retrparams/instcd"));
  602. model.setValue("/root/send/retrparams2/dutunitcd", model.getValue("/root/send/retrparams/dutunitcd"));
  603. model.setValue("/root/send/retrparams2/dutym", model.getValue("/root/send/retrparams/dutym"));
  604. submit("TRRPD00105");
  605. model.refresh();
  606. }
  607. ]]>
  608. </script>
  609. </input>
  610. <caption id="caption3" class="search_name" style="left:154px; top:56px; width:93px; height:17px; ">1차평가자 :</caption>
  611. <button id="button1" class="icon_search" navindex="8" style="left:317px; top:55px; width:16px; height:16px; ">
  612. <caption/>
  613. <script type="javascript" ev:event="DOMActivate">
  614. <![CDATA[
  615. var recv_list = "emplno,emplnm" ;
  616. rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"","N");
  617. model.refresh();
  618. ]]>
  619. </script>
  620. </button>
  621. <input id="ipt_emplnos" ref="/root/send/retrparams/emplno" class="input_default" navindex="7" style="left:250px; top:55px; width:62px; height:19px; ">
  622. <script type="javascript" ev:event="onkeyup">
  623. <![CDATA[
  624. if (ipt_emplnos.currentText != null && ipt_emplnos.currentText != "" ) {
  625. inputEnterKey("ipt_emplnos", "xforms-value-changed");
  626. }
  627. ]]>
  628. </script>
  629. <script type="javascript" ev:event="xforms-value-changed">
  630. <![CDATA[
  631. var recv_list = "emplno,emplnm" ;
  632. rpbfValidationCheck("EMPLNO", recv_list);
  633. model.refresh();
  634. ]]>
  635. </script>
  636. </input>
  637. <input id="ipt_emplnms" ref="/root/send/retrparams/emplnm" class="input_default" disabled="true" navindex="9" style="left:336px; top:55px; width:71px; height:19px; "/>
  638. <button id="button2" class="btn2_letter4" style="left:410px; top:55px; width:64px; height:19px; ">
  639. <caption>일괄적용</caption>
  640. <script type="javascript" ev:event="DOMActivate">
  641. <![CDATA[
  642. if (model.getValue("/root/send/retrparams/emplno") == ""){
  643. messageBox("1차 평가자를 선택한 후 처리하시기 바랍니다.", "E999", "");
  644. return;
  645. }
  646. for (var i = 1; i < grd_promotnflaglist.rows; i++){
  647. if (model.getValue("/root/main/promotnflaglist[" + i + "]/limyn")== "Y"){
  648. model.setValue("/root/main/promotnflaglist[" + i + "]/assessor1", model.getValue("/root/send/retrparams/emplno"));
  649. model.setValue("/root/main/promotnflaglist[" + i + "]/assessornm1", model.getValue("/root/send/retrparams/emplnm"));
  650. grd_promotnflaglist.rowStatus(i) = 2;
  651. }
  652. }
  653. model.refresh();
  654. ]]>
  655. </script>
  656. </button>
  657. <button id="button3" class="icon_search" navindex="8" style="left:637px; top:55px; width:16px; height:16px; ">
  658. <caption/>
  659. <script type="javascript" ev:event="DOMActivate">
  660. <![CDATA[
  661. var emplno = model.getValue("/root/send/retrparams/emplno");
  662. var emplnm = model.getValue("/root/send/retrparams/emplnm");
  663. var recv_list = "emplno,emplnm" ;
  664. rpbfOpenPopUpList("SPRPB00101", input23, recv_list,"","N");
  665. model.setValue("/root/send/retrparams/emplno2", model.getValue("/root/send/retrparams/emplno"));
  666. model.setValue("/root/send/retrparams/emplnm2", model.getValue("/root/send/retrparams/emplnm"));
  667. model.setValue("/root/send/retrparams/emplno", emplno);
  668. model.setValue("/root/send/retrparams/emplnm", emplnm);
  669. model.refresh();
  670. ]]>
  671. </script>
  672. </button>
  673. <button id="button7" class="btn2_letter4" style="left:730px; top:55px; width:64px; height:19px; ">
  674. <caption>일괄적용</caption>
  675. <script type="javascript" ev:event="DOMActivate">
  676. <![CDATA[
  677. if (model.getValue("/root/send/retrparams/emplno2") == ""){
  678. messageBox("2차 평가자를 선택한 후 처리하시기 바랍니다.", "E999", "");
  679. return;
  680. }
  681. for (var i = 1; i < grd_promotnflaglist.rows; i++){
  682. if (model.getValue("/root/main/promotnflaglist[" + i + "]/limyn")== "Y"){
  683. model.setValue("/root/main/promotnflaglist[" + i + "]/assessor2", model.getValue("/root/send/retrparams/emplno2"));
  684. model.setValue("/root/main/promotnflaglist[" + i + "]/assessornm2", model.getValue("/root/send/retrparams/emplnm2"));
  685. grd_promotnflaglist.rowStatus(i) = 2;
  686. }
  687. }
  688. model.refresh();
  689. ]]>
  690. </script>
  691. </button>
  692. <caption id="caption12" class="search_name" style="left:474px; top:56px; width:93px; height:17px; ">2차평가자 :</caption>
  693. <input id="input23" ref="/root/send/retrparams/emplno2" class="input_default" navindex="7" style="left:570px; top:55px; width:62px; height:19px; ">
  694. <script type="javascript" ev:event="onkeyup">
  695. <![CDATA[
  696. if (input23.currentText != null && input23.currentText != "" ) {
  697. inputEnterKey("input23", "xforms-value-changed");
  698. }
  699. ]]>
  700. </script>
  701. <script type="javascript" ev:event="xforms-value-changed">
  702. <![CDATA[
  703. var recv_list = "emplno2,emplnm2" ;
  704. rpbfValidationCheck("EMPLNO", recv_list);
  705. model.refresh();
  706. ]]>
  707. </script>
  708. </input>
  709. <input id="input30" ref="/root/send/retrparams/emplnm2" class="input_default" disabled="true" navindex="9" style="left:656px; top:55px; width:71px; height:19px; "/>
  710. <input id="input34" ref="/root/send/retrparams/emplnm3" class="input_default" disabled="true" navindex="9" style="left:981px; top:55px; width:71px; height:19px; "/>
  711. <button id="button5" class="icon_search" navindex="8" style="left:962px; top:55px; width:16px; height:16px; ">
  712. <caption/>
  713. <script type="javascript" ev:event="DOMActivate">
  714. <![CDATA[
  715. var emplno = model.getValue("/root/send/retrparams/emplno");
  716. var emplnm = model.getValue("/root/send/retrparams/emplnm");
  717. var recv_list = "emplno,emplnm" ;
  718. rpbfOpenPopUpList("SPRPB00101", input23, recv_list,"","N");
  719. model.setValue("/root/send/retrparams/emplno3", model.getValue("/root/send/retrparams/emplno"));
  720. model.setValue("/root/send/retrparams/emplnm3", model.getValue("/root/send/retrparams/emplnm"));
  721. model.setValue("/root/send/retrparams/emplno", emplno);
  722. model.setValue("/root/send/retrparams/emplnm", emplnm);
  723. model.refresh();
  724. ]]>
  725. </script>
  726. </button>
  727. <button id="button8" class="btn2_letter4" style="left:1055px; top:55px; width:64px; height:19px; ">
  728. <caption>일괄적용</caption>
  729. <script type="javascript" ev:event="DOMActivate">
  730. <![CDATA[
  731. if (model.getValue("/root/send/retrparams/emplno3") == ""){
  732. messageBox("3차 평가자를 선택한 후 처리하시기 바랍니다.", "E999", "");
  733. return;
  734. }
  735. for (var i = 1; i < grd_promotnflaglist.rows; i++){
  736. if (model.getValue("/root/main/promotnflaglist[" + i + "]/limyn")== "Y"){
  737. model.setValue("/root/main/promotnflaglist[" + i + "]/assessor3", model.getValue("/root/send/retrparams/emplno3"));
  738. model.setValue("/root/main/promotnflaglist[" + i + "]/assessornm3", model.getValue("/root/send/retrparams/emplnm3"));
  739. grd_promotnflaglist.rowStatus(i) = 2;
  740. }
  741. }
  742. model.refresh();
  743. ]]>
  744. </script>
  745. </button>
  746. <input id="input35" ref="/root/send/retrparams/emplno3" class="input_default" navindex="7" style="left:895px; top:55px; width:62px; height:19px; ">
  747. <script type="javascript" ev:event="onkeyup">
  748. <![CDATA[
  749. if (input23.currentText != null && input23.currentText != "" ) {
  750. inputEnterKey("input23", "xforms-value-changed");
  751. }
  752. ]]>
  753. </script>
  754. <script type="javascript" ev:event="xforms-value-changed">
  755. <![CDATA[
  756. var recv_list = "emplno2,emplnm2" ;
  757. rpbfValidationCheck("EMPLNO", recv_list);
  758. model.refresh();
  759. ]]>
  760. </script>
  761. </input>
  762. <caption id="caption15" class="search_name" style="left:799px; top:56px; width:93px; height:17px; ">3차평가자 :</caption>
  763. </group>
  764. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:28px; ">
  765. <line id="line4" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  766. <button id="btn_save" class="btn4_letter2" style="left:1130px; top:3px; width:56px; height:22px; ">
  767. <caption>저장</caption>
  768. <script type="javascript" ev:event="DOMActivate">
  769. <![CDATA[
  770. var updtdata = getGridUpdateData(grd_promotnflaglist);
  771. if (updtdata == "" ) {
  772. messageBox("변경된 데이터가","I004");
  773. return;
  774. }
  775. for (var i = 1; i < grd_promotnflaglist.rows; i ++){
  776. var limyn = model.getValue("/root/main/promotnflaglist[" + i + "]/limyn");
  777. var flag = model.getValue("/root/main/promotnflaglist[" + i + "]/flag");
  778. var gradeyn1 = model.getValue("/root/main/promotnflaglist[" + i + "]/gradeyn1");
  779. var gradeyn2 = model.getValue("/root/main/promotnflaglist[" + i + "]/gradeyn2");
  780. var assessor1 = model.getValue("/root/main/promotnflaglist[" + i + "]/assessor1");
  781. var assessor2 = model.getValue("/root/main/promotnflaglist[" + i + "]/assessor2");
  782. if (limyn == "Y"){
  783. if (flag == ""){
  784. messageBox(i + "번째 평가유형이 선택되지 않았습니다.", "E999", "");
  785. return;
  786. }
  787. if (gradeyn1 != "Y" && gradeyn2 != "Y" ){
  788. messageBox(i + "번째 평가차수가 선택되지 않았습니다.", "E999", "");
  789. return;
  790. }
  791. if (gradeyn1 == "Y" && assessor1 == ""){
  792. messageBox(i + "번째 1차 평가에 대한 평가자가 선택되지 않았습니다.", "E999", "");
  793. return;
  794. }
  795. if (gradeyn2 == "Y" && assessor2 == ""){
  796. messageBox(i + "번째 2차 평가에 대한 평가자가 선택되지 않았습니다.", "E999", "");
  797. return;
  798. }
  799. }
  800. }
  801. var ret = messageBox("저장합니다.","Q003");
  802. if (ret != 6) { // not OK
  803. return;
  804. } else {
  805. model.setValue("/root/send/execdata/promotnflaglist", updtdata);
  806. if (submit("TXRPB19101")){
  807. btn_search.dispatch("DOMActivate");
  808. }
  809. }
  810. ]]>
  811. </script>
  812. </button>
  813. </group>
  814. </xhtml:body>
  815. </xhtml:html>