SMRPV07500_지원직군업적2차평가.xrw 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856
  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>지원직군업적2차평가</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <psngrupbfst>
  11. <psngrupbfstlist/>
  12. </psngrupbfst>
  13. <grupbvalubiz>
  14. <grupbvalubizlist/>
  15. </grupbvalubiz>
  16. <smsdata>
  17. <bizabbr/>
  18. <replytelno/>
  19. <rsrvyn/>
  20. <rsrvdate/>
  21. <rsrvtime/>
  22. <msgcnts/>
  23. <closeflag/>
  24. <recvrlist>
  25. <chk/>
  26. <recvrnm/>
  27. <recvrtelno/>
  28. </recvrlist>
  29. </smsdata>
  30. </main>
  31. <send>
  32. <psngrupbfst>
  33. <valuclscd>02</valuclscd>
  34. <valumdlcd>001</valumdlcd>
  35. <valuclsdetlcd>005</valuclsdetlcd>
  36. <valuyy/>
  37. <emplno/>
  38. <emplnm/>
  39. <fstscndhfyyflag/>
  40. <valuflag>2</valuflag>
  41. </psngrupbfst>
  42. <save>
  43. <grupbvalubizlist/>
  44. <psngrupbfstlist/>
  45. </save>
  46. <grupbvalubiz>
  47. <valuyy/>
  48. <emplno/>
  49. <fstscndhfyyflag/>
  50. </grupbvalubiz>
  51. </send>
  52. <init>
  53. <score>
  54. <indpscor/>
  55. <valuscor1/>
  56. </score>
  57. </init>
  58. <temp>
  59. <select/>
  60. </temp>
  61. <hidden>
  62. <valupsncnts1/>
  63. <valupsncnts2/>
  64. <instnm/>
  65. <deptnm/>
  66. <jobrespnm/>
  67. <jobgradnm/>
  68. <emplno/>
  69. <emplnm/>
  70. <valupsntemp/>
  71. </hidden>
  72. <target/>
  73. </root>
  74. </instance>
  75. <submission id="TRRPV07401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/psngrupbfst" resultref="/root/main/psngrupbfst"/>
  76. <submission id="TRRPV07301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/grupbvalubiz" resultref="/root/main/grupbvalubiz"/>
  77. <submission id="TXRPV07501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/grupbvalubizlist" resultref="/root/temp"/>
  78. <submission id="TXRPV07502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/psngrupbfstlist" resultref="/root/temp"/>
  79. <script type="javascript" ev:event="xforms-model-destruct">
  80. <![CDATA[
  81. if ( getGridUpdateData(grd_grupbvalubizlist) != "") {
  82. var save_val = messageBox("변경된 자료가 존재 합니다. ", "Q002");
  83. if (save_val == "6") {
  84. btn_save.dispatch("DOMActivate");
  85. }
  86. }
  87. ]]>
  88. </script>
  89. </model>
  90. <script type="javascript" ev:event="xforms-ready">
  91. <![CDATA[
  92. //화면 Control을 초기화한다
  93. fInitialize();
  94. model.refresh();
  95. ]]>
  96. </script>
  97. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  98. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  99. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  100. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  101. <script type="javascript" src="../../../mis/valuationmngtweb/js/RPV001.js"/>
  102. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  103. <script type="javascript">
  104. <![CDATA[
  105. var gridrow = -1;
  106. //현재화면이 팝업화면으로 Loadding 될때 넘겨받은값을 설정.
  107. function fPopupDataSet()
  108. {
  109. var fgetValueNode = "/root/target/";
  110. var fNodeName = arguments[0].split(",");
  111. var fSetControl = arguments[1].split(",");
  112. for(var i = 0; i < fSetControl.length; i++)
  113. {
  114. document.controls(fSetControl[i]).value = model.getValue(fgetValueNode + fNodeName[i]);
  115. }
  116. }
  117. function fInitialize()
  118. {
  119. // 그리드 초기화
  120. misfGridInit(grd_psngrupbfstlist);
  121. misfGridInit(grd_grupbvalubizlist);
  122. misfMsterDetailSet(grd_psngrupbfstlist,null, "TRRPV07401" ,"Y");
  123. misfMsterDetailSet(grd_grupbvalubizlist,grd_psngrupbfstlist, "TRRPV07301" ,"Y");
  124. // 기본 조회 정보 입력.
  125. model.setValue(ipt_valuyy.attribute("ref") , getCurrentDate().toDate().getDateFormat("YYYY"));
  126. model.setValue(ipt_emplno.attribute("ref"), getUserInfo("userid")) //사용자 번호
  127. model.setValue(ipt_emplnm.attribute("ref"), getUserInfo("usernm")) //사용자 이름
  128. //현재화면이 팝업으로 Load 되었을 시.....
  129. if(instance1.selectNodes("/root/target/*").length > 0)
  130. {
  131. fPopupDataSet("valuyy,trgtemplno,trgtemplnm","ipt_valuyy,ipt_emplno,ipt_emplnm");
  132. }
  133. // 컨포넌트 기본설정.
  134. //btn_complete.disabled = true;
  135. //btn_save.disabled = true;
  136. // btn_cnfmcancle.disabled = true;
  137. // btn_complete.disabled = true;
  138. // 콤보 설정.
  139. rpvfComboValuCdList(model.getValue(ipt_valuyy.attribute("ref")),"FSTSCNDHFYYFLAG,VALUSCORBIZ,VALUSCORBIZ,APRVFLAG","cmb_fstscndhfyyflag,grd_grupbvalubizlist.ownvaluscor,grd_grupbvalubizlist.valupsnscor1,grd_psngrupbfstlist.valupsncnfmflag2");
  140. var instcd = getUserInfo("dutplceinstcd");
  141. var emplno = getUserInfo("userid");
  142. rpvfGetUserAuth(instcd,emplno);
  143. if(DUTY_VALU_YN =='Y'){
  144. ipt_emplno.disabled = false;
  145. ipt_emplnm.disabled = false;
  146. btn_emplno.disabled = false;
  147. btn_cnfmcancle.disabled = false;
  148. }else{
  149. ipt_emplno.disabled = true;
  150. ipt_emplnm.disabled = true;
  151. btn_emplno.disabled = true;
  152. btn_cnfmcancle.disabled = true;
  153. }
  154. // 평가기간에 따른 권한 부여.
  155. // if(DUTY_VALU_YN !="Y"){
  156. // if(model.getValue("/root/temp/trgtflag") != ""){
  157. // rpvfCheckDayFlag(getCurrentDate().toDate().getDateFormat("YYYY"), getUserInfo("userid"), model.getValue("/root/temp/trgtflag"), model.getValue("/root/temp/program"),"btn_complete,btn_save,btn_init,btn_search,btn_c,btn_r,btn_a,btn_b");
  158. // }else{
  159. // rpvfCheckDayFlag(getCurrentDate().toDate().getDateFormat("YYYY"), getUserInfo("userid"), "02", "SMRPV07500", "btn_complete,btn_save,btn_init,btn_search,btn_c,btn_r,btn_a,btn_b");
  160. // }
  161. // }
  162. model.toggle("case2");
  163. }
  164. ]]>
  165. </script>
  166. </xhtml:head>
  167. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  168. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  169. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">지원직군 업적 2차평가 등록</caption>
  170. </group>
  171. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744; ">
  172. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0; top:10; width:1195; height:35px; "/>
  173. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  174. <caption>조회</caption>
  175. <script type="javascript" ev:event="DOMActivate">
  176. <![CDATA[
  177. if ( !isRequiredControls("ipt_valuyy","ipt_emplno","cmb_fstscndhfyyflag") ) {
  178. return false;
  179. }
  180. //misfMsterDetailRetrieve();
  181. submit("TRRPV07401");
  182. model.setFocus("grd_psngrupbfstlist");
  183. if (gridrow == -1 || gridrow == grd_psngrupbfstlist.rows - grd_psngrupbfstlist.fixedRows + 1) {
  184. grd_psngrupbfstlist.row = grd_psngrupbfstlist.fixedRows;
  185. }
  186. else {
  187. grd_psngrupbfstlist.row = gridrow + 1;
  188. }
  189. grd_psngrupbfstlist.select(grd_psngrupbfstlist.row, grd_psngrupbfstlist.colRef("emplno")) = true;
  190. grd_psngrupbfstlist.dispatch("onclick");
  191. if (grd_psngrupbfstlist.rows - grd_psngrupbfstlist.fixedRows > 0 ) {
  192. if (grd_psngrupbfstlist.valueMatrix(grd_psngrupbfstlist.fixedRows, grd_psngrupbfstlist.colRef("lastcnfmyn")) == "Y" ) {
  193. btn_complete.disabled = true;
  194. }
  195. else {
  196. btn_complete.disabled = false;
  197. }
  198. }
  199. ]]>
  200. </script>
  201. </button>
  202. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  203. <datagrid id="grd_psngrupbfstlist" nodeset="/root/main/psngrupbfst/psngrupbfstlist" autoresize="true" caption="선택^부서^직책^사원번호^성명^1차평가자^승인구분^상태^기관^직책^직급^상하반기^평가분류코드^중분류^세부분류^평가년도^1차승인구분|^부서^직책^사원번호^성명^1차평가자^승인구분^상태^기관^직책^직급^상하반기^평가분류코드^중분류^세부분류^평가년도^1차승인구분" colsep="^" colwidth="35, 73, 52, 59, 53, 51, 58, 73, 49, 53, 58, 72, 33, 34, 29, 32, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:120px; width:490px; height:395px; ">
  204. <col checkvalue="Y,N" ref="selyn" type="checkbox"/>
  205. <col ref="deptnm"/>
  206. <col ref="jobrespnm"/>
  207. <col ref="emplno"/>
  208. <col ref="emplnm"/>
  209. <col ref="valupsnemplnm"/>
  210. <col disabled="true" ref="valupsncnfmflag2" type="combo">
  211. <choices>
  212. <itemset>
  213. <label/>
  214. <value/>
  215. </itemset>
  216. </choices>
  217. </col>
  218. <col ref="preststat"/>
  219. <col ref="instnm" visibility="hidden"/>
  220. <col ref="jobgradnm" visibility="hidden"/>
  221. <col ref="fstscndhfyyflag" visibility="hidden"/>
  222. <col ref="valuclscd" visibility="hidden"/>
  223. <col ref="valumdlcd" visibility="hidden"/>
  224. <col ref="valuclsdetlcd" visibility="hidden"/>
  225. <col ref="valuyy" visibility="hidden"/>
  226. <col ref="valupsncnfmflag1" visibility="hidden"/>
  227. <col ref="valupsncnfmyn1" visibility="hidden"/>
  228. <col ref="procstat" visibility="hidden"/>
  229. <col ref="valupsncnts2" visibility="hidden"/>
  230. <col ref="phone" visibility="hidden"/>
  231. <col ref="email" visibility="hidden"/>
  232. <col ref="lastcnfmyn" visibility="hidden"/>
  233. <col ref="valuemplno2" visibility="hidden"/>
  234. <script type="javascript" ev:event="onclick">
  235. <![CDATA[
  236. if (grd_psngrupbfstlist.rows - grd_psngrupbfstlist.fixedRows <= 0) return;
  237. if (gridrow != grd_psngrupbfstlist.row) {
  238. model.setValue("/root/hidden/instnm",grd_psngrupbfstlist.valueMatrix(grd_psngrupbfstlist.row, grd_psngrupbfstlist.colRef("instnm")));
  239. model.setValue("/root/hidden/deptnm",grd_psngrupbfstlist.valueMatrix(grd_psngrupbfstlist.row, grd_psngrupbfstlist.colRef("deptnm")));
  240. model.setValue("/root/hidden/jobrespnm",grd_psngrupbfstlist.valueMatrix(grd_psngrupbfstlist.row, grd_psngrupbfstlist.colRef("jobrespnm")));
  241. model.setValue("/root/hidden/jobgradnm",grd_psngrupbfstlist.valueMatrix(grd_psngrupbfstlist.row, grd_psngrupbfstlist.colRef("jobgradnm")));
  242. model.setValue("/root/hidden/emplno",grd_psngrupbfstlist.valueMatrix(grd_psngrupbfstlist.row, grd_psngrupbfstlist.colRef("emplno")));
  243. model.setValue("/root/hidden/emplnm",grd_psngrupbfstlist.valueMatrix(grd_psngrupbfstlist.row, grd_psngrupbfstlist.colRef("emplnm")));
  244. //misfMsterDetailRetrieve();
  245. model.setValue("/root/send/grupbvalubiz/valuyy", grd_psngrupbfstlist.valueMatrix(grd_psngrupbfstlist.row, grd_psngrupbfstlist.colRef("valuyy")));
  246. model.setValue("/root/send/grupbvalubiz/emplno", grd_psngrupbfstlist.valueMatrix(grd_psngrupbfstlist.row, grd_psngrupbfstlist.colRef("emplno")));
  247. model.setValue("/root/send/grupbvalubiz/fstscndhfyyflag", grd_psngrupbfstlist.valueMatrix(grd_psngrupbfstlist.row, grd_psngrupbfstlist.colRef("fstscndhfyyflag")));
  248. submit("TRRPV07301");
  249. if (grd_grupbvalubizlist.rows - grd_grupbvalubizlist.fixedRows > 0) {
  250. model.setValue("/root/hidden/valupsntemp", grd_grupbvalubizlist.valueMatrix(grd_grupbvalubizlist.fixedRows, grd_grupbvalubizlist.colRef("valupsncnts2")));
  251. model.setValue("/root/hidden/valupsncnts1", grd_grupbvalubizlist.valueMatrix(grd_grupbvalubizlist.fixedRows, grd_grupbvalubizlist.colRef("valupsncnts1")));
  252. model.setValue("/root/hidden/valupsncnts2", grd_grupbvalubizlist.valueMatrix(grd_grupbvalubizlist.fixedRows, grd_grupbvalubizlist.colRef("valupsncnts2")));
  253. }
  254. else {
  255. model.setValue("/root/hidden/valupsntemp","");
  256. model.setValue("/root/hidden/valupsncnts1", "");
  257. model.setValue("/root/hidden/valupsncnts2", "");
  258. }
  259. var lastcnfmyn = grd_psngrupbfstlist.valueMatrix(grd_psngrupbfstlist.row, grd_psngrupbfstlist.colRef("lastcnfmyn"));
  260. if (lastcnfmyn == "Y") {
  261. btn_c.disabled = true;
  262. btn_r.disabled = true;
  263. btn_a.disabled = true;
  264. btn_b.disabled = true;
  265. }
  266. else {
  267. btn_c.disabled = false;
  268. btn_r.disabled = false;
  269. btn_a.disabled = false;
  270. btn_b.disabled = false;
  271. }
  272. ipt_indpscor.value = 0;
  273. ipt_valuscor1.value = 0;
  274. var indpscor = 0;
  275. var valuscor1 = 0;
  276. for(var i = grd_grupbvalubizlist.fixedRows; i < grd_grupbvalubizlist.rows; i++)
  277. {
  278. indpscor += parseInt(grd_grupbvalubizlist.valueMatrix(i, grd_grupbvalubizlist.colRef("ownvaluexchscor")));
  279. valuscor1 += parseInt(grd_grupbvalubizlist.valueMatrix(i, grd_grupbvalubizlist.colRef("valupsnexchscor1")));
  280. }
  281. ipt_indpscor.value = indpscor / (grd_grupbvalubizlist.rows - grd_grupbvalubizlist.fixedRows);
  282. ipt_valuscor1.value = valuscor1/(grd_grupbvalubizlist.rows - grd_grupbvalubizlist.fixedRows);
  283. model.refresh();
  284. gridrow = grd_psngrupbfstlist.row;
  285. }
  286. ]]>
  287. </script>
  288. </datagrid>
  289. <datagrid id="grd_grupbvalubizlist" nodeset="/root/main/grupbvalubiz/grupbvalubizlist" autoresize="true" caption="평가항목명^평가기준 및 착안 포인트^본인평가점수^1차평가점수^본인평가환산점수^본인평가확정여부^평가자의견1^평가자의견2^평가년도^사원번호^상하반기구분^평가분류코드^평가중분류코드^평가분류세부코드^항목코드^1차평가환산점수^1차평가자승인구분^2차평가자승인구분^조정점수^진행상태^aprvflag^최종확정여부|평가항목명^평가기준 및 착안 포인트^본인평가점수^1차평가점수^본인평가환산점수^본인평가확정여부^평가자의견1^평가자의견2^평가년도^사원번호^상하반기구분^평가분류코드^평가중분류코드^평가분류세부코드^항목코드^1차평가환산점수^1차평가자승인구분^2차평가자승인구분^조정점수^진행상태^aprvflag^최종확정여부" colsep="^" colwidth="142, 431, 60, 51, 47, 44, 43, 48, 21, 27, 26, 33, 30, 31, 37, 38, 37, 36, 35, 38, 37, 36" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:495px; top:120px; width:695px; height:395px; ">
  290. <col ref="valuitemnm"/>
  291. <col ref="valubase"/>
  292. <col disabled="true" ref="ownvaluscor" type="combo">
  293. <choices>
  294. <itemset>
  295. <label/>
  296. <value/>
  297. </itemset>
  298. </choices>
  299. </col>
  300. <col disabled="true" ref="valupsnscor1" type="combo">
  301. <choices>
  302. <itemset>
  303. <label/>
  304. <value/>
  305. </itemset>
  306. </choices>
  307. </col>
  308. <col ref="ownvaluexchscor" type="output" visibility="hidden"/>
  309. <col ref="ownvalucnfmyn" visibility="hidden"/>
  310. <col ref="valupsncnts1" visibility="hidden"/>
  311. <col ref="valupsncnts2" visibility="hidden"/>
  312. <col ref="valuyy" visibility="hidden"/>
  313. <col ref="emplno" visibility="hidden"/>
  314. <col ref="fstscndhfyyflag" visibility="hidden"/>
  315. <col ref="valuclscd" visibility="hidden"/>
  316. <col ref="valumdlcd" visibility="hidden"/>
  317. <col ref="valuclsdetlcd" visibility="hidden"/>
  318. <col ref="valuitemcd" visibility="hidden"/>
  319. <col ref="valupsnexchscor1" visibility="hidden"/>
  320. <col ref="valupsncnfmflag1" visibility="hidden"/>
  321. <col ref="valupsncnfmflag2" visibility="hidden"/>
  322. <col ref="adjtscor" visibility="hidden"/>
  323. <col ref="procstat" visibility="hidden"/>
  324. <col ref="aprvflag" visibility="hidden"/>
  325. <col ref="lastcnfmyn" visibility="hidden"/>
  326. </datagrid>
  327. <caption id="caption4" class="tit_2" style="left:495px; top:100px; width:230px; height:13px; vertical-align:middle; ">지원직군 업적 평가 List</caption>
  328. <line id="line1" class="line_1" style="x1:495px; y1:115px; x2:1190px; y2:115px; "/>
  329. <input id="ipt_valuyy" ref="/root/send/psngrupbfst/valuyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:105px; top:17px; width:80px; height:19px; text-align:center; ">
  330. <script type="javascript" ev:event="xforms-value-changed">
  331. <![CDATA[
  332. if(!isRequiredControls("ipt_valuyy")) return;
  333. model.removeNodeset(grd_psngrupbfstlist.nodeset);
  334. model.removeNodeset(grd_grupbvalubizlist.nodeset);
  335. model.refresh();
  336. ]]>
  337. </script>
  338. </input>
  339. <caption id="cap_valuyy" class="search_name" style="left:15px; top:18px; width:90px; height:17px; vertical-align:middle; ">평가년도 :</caption>
  340. <input id="ipt_emplno" ref="/root/send/psngrupbfst/emplno" class="input_search" maxlength="10" style="left:273px; top:17px; width:80px; height:19px; text-align:center; ">
  341. <script type="javascript" ev:event="xforms-value-changed">
  342. <![CDATA[
  343. rpbfValidationCheck("EMPLNO", "emplno,emplnm");
  344. model.refresh();
  345. ]]>
  346. </script>
  347. </input>
  348. <button id="btn_emplno" class="icon_search" style="left:356px; top:17px; width:16px; height:16px; ">
  349. <caption/>
  350. <script type="javascript" ev:event="DOMActivate">
  351. <![CDATA[
  352. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm","","N","N");
  353. model.refresh();
  354. ]]>
  355. </script>
  356. </button>
  357. <caption id="cap_emplno" class="search_name" style="left:218px; top:18px; width:57px; height:17px; font-weight:bold; ">사번:</caption>
  358. <input id="ipt_emplnm" ref="/root/send/psngrupbfst/emplnm" class="input_search" style="left:375px; top:17px; width:135px; height:19px; text-align:center; ">
  359. <script type="javascript" ev:event="xforms-value-changed">
  360. <![CDATA[
  361. rpbfValidationCheck("EMPLNM", "emplno,emplnm");
  362. model.refresh();
  363. ]]>
  364. </script>
  365. </input>
  366. <select1 id="cmb_fstscndhfyyflag" ref="/root/send/psngrupbfst/fstscndhfyyflag" class="combo_s_essential" appearance="minimal" style="left:627px; top:17px; width:110px; height:19px; ">
  367. <choices>
  368. <itemset>
  369. <label/>
  370. <value/>
  371. </itemset>
  372. </choices>
  373. </select1>
  374. <caption id="cap_fstscndhfyyflag" class="search_name" style="left:545px; top:18px; width:81px; height:17px; vertical-align:middle; ">상하반기:</caption>
  375. <button id="button5" class="btn_sw" group="tab" selected="true" style="left:0px; top:522px; width:123px; height:22px; ">
  376. <caption>1차평가의견</caption>
  377. <toggle case="case2" ev:event="onclick"/>
  378. </button>
  379. <button id="button6" class="btn_sw" group="tab" style="left:127px; top:522px; width:123px; height:22px; ">
  380. <caption>2차평가의견</caption>
  381. <toggle case="case3" ev:event="onclick"/>
  382. </button>
  383. <switch id="switch1" style="left:0px; top:545px; width:1190px; height:195px; ">
  384. <case id="case2" selected="true">
  385. <textarea id="txt_valupsncnts1" ref="/root/hidden/valupsncnts1" editable="false" maxbyte="900" style="left:0px; top:25px; width:1186px; height:165px; "/>
  386. <caption id="caption16" class="tit_2" style="left:0px; top:4px; width:230px; height:14px; vertical-align:middle; ">1차평가의견</caption>
  387. <line id="line5" class="line_1" style="x1:0px; y1:20px; x2:1186px; y2:20px; "/>
  388. </case>
  389. <case id="case3">
  390. <caption id="caption18" class="tit_2" style="left:0px; top:4px; width:230px; height:14px; vertical-align:middle; ">2차평가의견</caption>
  391. <textarea id="txt_valupsncnts2" ref="/root/hidden/valupsncnts2" maxbyte="900" style="left:0px; top:25px; width:1186px; height:165px; ">
  392. <script type="javascript" ev:event="DOMFocusOut">
  393. <![CDATA[
  394. if (model.getValue("/root/hidden/valupsncnts2") != model.getValue("/root/hidden/valupsntemp")) {
  395. for (var i = grd_grupbvalubizlist.fixedRows; i < grd_grupbvalubizlist.rows; i++) {
  396. grd_grupbvalubizlist.valueMatrix(i, grd_grupbvalubizlist.colRef("valupsncnts2")) = txt_valupsncnts2.value;
  397. grd_grupbvalubizlist.rowStatus(i) = "2";
  398. }
  399. }
  400. grd_psngrupbfstlist.valueMatrix(grd_psngrupbfstlist.row, grd_psngrupbfstlist.colRef("valupsncnts2")) = txt_valupsncnts2.value;
  401. grd_psngrupbfstlist.addStatus(grd_psngrupbfstlist.row, "update");
  402. ]]>
  403. </script>
  404. </textarea>
  405. <line id="line7" class="line_1" style="x1:0px; y1:20px; x2:1186px; y2:20px; "/>
  406. </case>
  407. </switch>
  408. <line id="line8" class="line_3" style="x1:0px; y1:93px; x2:1190px; y2:93px; "/>
  409. <output id="opt_jobrespnm" ref="/root/hidden/jobrespnm" style="left:485px; top:70px; width:130px; height:19px; "/>
  410. <output id="opt_emplnm" ref="/root/hidden/emplnm" style="left:1090px; top:70px; width:100px; height:19px; "/>
  411. <caption id="caption10" class="cell_1" style="left:412px; top:70px; width:71px; height:20px; text-align:center; vertical-align:middle; ">직책</caption>
  412. <output id="opt_emplno" ref="/root/hidden/emplno" style="left:915px; top:70px; width:100px; height:19px; "/>
  413. <caption id="caption11" class="cell_1" style="left:617px; top:70px; width:71px; height:20px; text-align:center; vertical-align:middle; ">직급</caption>
  414. <output id="opt_instnm" ref="/root/hidden/instnm" style="left:75px; top:70px; width:130px; height:19px; "/>
  415. <caption id="caption22" class="cell_1" style="left:2px; top:70px; width:71px; height:20px; text-align:center; vertical-align:middle; ">기관</caption>
  416. <caption id="caption12" class="cell_1" style="left:842px; top:70px; width:71px; height:20px; text-align:center; vertical-align:middle; ">사번</caption>
  417. <caption id="caption13" class="cell_1" style="left:1017px; top:70px; width:71px; height:20px; text-align:center; vertical-align:middle; ">성명</caption>
  418. <output id="opt_dutplcedeptnm" ref="/root/hidden/deptnm" style="left:280px; top:70px; width:130px; height:19px; "/>
  419. <caption id="caption7" class="tit_2" style="left:5px; top:48px; width:170px; height:14px; vertical-align:middle; ">피평가자 인적 정보</caption>
  420. <line id="line4" class="line_1" style="x1:0px; y1:63px; x2:1190px; y2:63px; "/>
  421. <caption id="caption9" class="cell_1" style="left:207px; top:70px; width:71px; height:20px; text-align:center; vertical-align:middle; ">부서</caption>
  422. <output id="opt_jobgradnm" ref="/root/hidden/jobgradnm" style="left:690px; top:70px; width:150px; height:19px; "/>
  423. <caption id="caption1" class="tit_2" style="left:5px; top:100px; width:230px; height:14px; vertical-align:middle; ">피평가자 List</caption>
  424. <line id="line2" class="line_1" style="x1:0px; y1:115px; x2:490px; y2:115px; "/>
  425. <button id="btn_a" class="btn5_letter2" style="left:390px; top:95px; width:42px; height:19px; ">
  426. <caption>승인</caption>
  427. <script type="javascript" ev:event="DOMActivate">
  428. <![CDATA[
  429. for (var i = grd_psngrupbfstlist.fixedRows; i < grd_psngrupbfstlist.rows; i++) {
  430. if (grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("selyn")) == "Y") {
  431. var emplnm = grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("emplnm"));
  432. var valupsncnfmyn1 = grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("valupsncnfmyn1"));
  433. if (valupsncnfmyn1 != "Y") {
  434. messageBox("[" + emplnm + "]는 1차 평가 완료가 되지 않아서 승인 할 수 없습니다. ", "I999");
  435. return;
  436. }
  437. var valupsncnfmflag2 = grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("valupsncnfmflag2"));
  438. if (valupsncnfmflag2 == "R") {
  439. messageBox("[" + emplnm + "]는 반려 상태이므로 승인 할 수 없습니다. ", "I999");
  440. return;
  441. }
  442. grd_psngrupbfstlist.valueMatrix( i, grd_psngrupbfstlist.colRef("valupsncnfmflag2")) = "A";
  443. grd_psngrupbfstlist.addStatus(i, "update");
  444. }
  445. }
  446. misfSave("TXRPV07502");
  447. // Email 그리고 Sms 전송
  448. // 보내는 사람의 Email 주소가 없을경우 Sms를 전송하도록...Email 주소, Sms 전화번호가 없을경우 경고 메세지 발생.
  449. // fGrid : Email 주소나 휴대전화번호가 있는 그리드 id.
  450. // fCmt : 전체적으로 보낼 전송메세지.
  451. // fEmailTitle : 이메일 전송시의 제목.
  452. // fCheckYN : 선택된 사람만 전송할지 유무.
  453. // fEmplno : 발신자의 정보 호출을 위한 발신자 사원번호..
  454. // fInstcd : 발신자의 정보 호출을 위한 발신자 기관코드..
  455. rpvfCheckEmailAndSms( grd_psngrupbfstlist, "[지원직군 업적 2차평가] 승인 되었습니다.", "지원직군 업적 2차평가 통보",
  456. 'Y',ipt_emplno.value, '', 'selyn',"email","valupsnemplnm","phone");
  457. btn_search.dispatch("DOMActivate");
  458. ]]>
  459. </script>
  460. </button>
  461. <button id="btn_b" class="btn5_letter3" style="left:435px; top:95px; width:53px; height:19px; ">
  462. <caption>미승인</caption>
  463. <script type="javascript" ev:event="DOMActivate">
  464. <![CDATA[
  465. for (var i = grd_psngrupbfstlist.fixedRows; i < grd_psngrupbfstlist.rows; i++) {
  466. if (grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("selyn")) == "Y") {
  467. var emplnm = grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("emplnm"));
  468. var valupsncnfmyn1 = grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("valupsncnfmyn1"));
  469. var valupsncnfmflag2 = grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("valupsncnfmflag2"));
  470. if (valupsncnfmflag2 != "A") {
  471. messageBox("[" + emplnm + "]는 승인상태가 아니므로 승인 취소 할 수 없습니다. ", "I999");
  472. return;
  473. }
  474. if (valupsncnfmyn1 != "Y") {
  475. messageBox("[" + emplnm + "]는 1차 평가 완료가 되지 않아서 승인 취소 할 수 없습니다. ", "I999");
  476. return;
  477. }
  478. grd_psngrupbfstlist.valueMatrix( i, grd_psngrupbfstlist.colRef("valupsncnfmflag2")) = "B";
  479. grd_psngrupbfstlist.addStatus(i, "update");
  480. }
  481. }
  482. misfSave("TXRPV07502");
  483. // Email 그리고 Sms 전송
  484. // 보내는 사람의 Email 주소가 없을경우 Sms를 전송하도록...Email 주소, Sms 전화번호가 없을경우 경고 메세지 발생.
  485. // fGrid : Email 주소나 휴대전화번호가 있는 그리드 id.
  486. // fCmt : 전체적으로 보낼 전송메세지.
  487. // fEmailTitle : 이메일 전송시의 제목.
  488. // fCheckYN : 선택된 사람만 전송할지 유무.
  489. // fEmplno : 발신자의 정보 호출을 위한 발신자 사원번호..
  490. // fInstcd : 발신자의 정보 호출을 위한 발신자 기관코드..
  491. rpvfCheckEmailAndSms( grd_psngrupbfstlist, "[지원직군 업적 2차평가] 미승인 되었습니다.", "지원직군 업적 2차평가 통보",
  492. 'Y',ipt_emplno.value, '', 'selyn',"email","valupsnemplnm","phone");
  493. btn_search.dispatch("DOMActivate");
  494. ]]>
  495. </script>
  496. </button>
  497. <button id="btn_r" class="btn5_letter4" style="left:324px; top:95px; width:64px; height:19px; ">
  498. <caption>반려취소</caption>
  499. <script type="javascript" ev:event="DOMActivate">
  500. <![CDATA[
  501. for (var i = grd_psngrupbfstlist.fixedRows; i < grd_psngrupbfstlist.rows; i++) {
  502. if (grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("selyn")) == "Y") {
  503. var emplnm = grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("emplnm"));
  504. var valupsncnfmflag2 = grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("valupsncnfmflag2"));
  505. if (valupsncnfmflag2 != "R") {
  506. messageBox("[" + emplnm + "]는 반려 되지않아서 반려 취소를 할 수 없습니다. ", "I999");
  507. return;
  508. }
  509. grd_psngrupbfstlist.valueMatrix( i, grd_psngrupbfstlist.colRef("valupsncnfmflag2")) = "B";
  510. grd_psngrupbfstlist.valueMatrix( i, grd_psngrupbfstlist.colRef("valupsncnfmyn1")) = "Y";
  511. grd_psngrupbfstlist.valueMatrix( i, grd_psngrupbfstlist.colRef("valupsncnfmflag1")) = "03";
  512. grd_psngrupbfstlist.valueMatrix( i, grd_psngrupbfstlist.colRef("procstat")) = "02";
  513. grd_psngrupbfstlist.addStatus(i, "update");
  514. }
  515. }
  516. misfSave("TXRPV07502");
  517. // Email 그리고 Sms 전송
  518. // 보내는 사람의 Email 주소가 없을경우 Sms를 전송하도록...Email 주소, Sms 전화번호가 없을경우 경고 메세지 발생.
  519. // fGrid : Email 주소나 휴대전화번호가 있는 그리드 id.
  520. // fCmt : 전체적으로 보낼 전송메세지.
  521. // fEmailTitle : 이메일 전송시의 제목.
  522. // fCheckYN : 선택된 사람만 전송할지 유무.
  523. // fEmplno : 발신자의 정보 호출을 위한 발신자 사원번호..
  524. // fInstcd : 발신자의 정보 호출을 위한 발신자 기관코드..
  525. rpvfCheckEmailAndSms( grd_psngrupbfstlist, "[지원직군 업적 2차평가] 반려취소 되었습니다.", "지원직군 업적 2차평가 통보",
  526. 'Y',ipt_emplno.value, '', 'selyn',"email","valupsnemplnm","phone");
  527. btn_search.dispatch("DOMActivate");
  528. ]]>
  529. </script>
  530. </button>
  531. <button id="btn_c" class="btn5_letter2" style="left:280px; top:95px; width:42px; height:19px; ">
  532. <caption>반려</caption>
  533. <script type="javascript" ev:event="DOMActivate">
  534. <![CDATA[
  535. for (var i = grd_psngrupbfstlist.fixedRows; i < grd_psngrupbfstlist.rows; i++) {
  536. if (grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("selyn")) == "Y") {
  537. var emplnm = grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("emplnm"));
  538. var valupsncnfmyn1 = grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("valupsncnfmyn1"));
  539. if (valupsncnfmyn1 != "Y") {
  540. messageBox("[" + emplnm + "]는 1차 평가가 완료가 되지 않아서 반려 할 수 없습니다. ", "I999");
  541. return;
  542. }
  543. grd_psngrupbfstlist.valueMatrix( i, grd_psngrupbfstlist.colRef("valupsncnfmflag2")) = "R";
  544. grd_psngrupbfstlist.valueMatrix( i, grd_psngrupbfstlist.colRef("valupsncnfmyn1")) = "N";
  545. grd_psngrupbfstlist.valueMatrix( i, grd_psngrupbfstlist.colRef("valupsncnfmflag1")) = "01";
  546. grd_psngrupbfstlist.valueMatrix( i, grd_psngrupbfstlist.colRef("procstat")) = "01";
  547. grd_psngrupbfstlist.addStatus(i, "update");
  548. }
  549. }
  550. misfSave("TXRPV07502");
  551. // Email 그리고 Sms 전송
  552. // 보내는 사람의 Email 주소가 없을경우 Sms를 전송하도록...Email 주소, Sms 전화번호가 없을경우 경고 메세지 발생.
  553. // fGrid : Email 주소나 휴대전화번호가 있는 그리드 id.
  554. // fCmt : 전체적으로 보낼 전송메세지.
  555. // fEmailTitle : 이메일 전송시의 제목.
  556. // fCheckYN : 선택된 사람만 전송할지 유무.
  557. // fEmplno : 발신자의 정보 호출을 위한 발신자 사원번호..
  558. // fInstcd : 발신자의 정보 호출을 위한 발신자 기관코드..
  559. rpvfCheckEmailAndSms( grd_psngrupbfstlist, "[지원직군 업적 2차평가] 반려 되었습니다.", "지원직군 업적 2차평가 통보",
  560. 'Y',ipt_emplno.value, '', 'selyn',"email","valupsnemplnm","phone");
  561. btn_search.dispatch("DOMActivate");
  562. ]]>
  563. </script>
  564. </button>
  565. <input id="ipt_indpscor" ref="/root/init/score/indpscor" class="input_essential" disabled="true" format="#,###.##" style="left:901px; top:523px; width:97px; height:19px; text-align:right; "/>
  566. <caption id="cap_total" class="cell_1" style="left:833px; top:521px; width:65px; height:23px; vertical-align:middle; ">본인평가</caption>
  567. <caption id="caption2" class="cell_1" style="left:1023px; top:521px; width:65px; height:23px; vertical-align:middle; ">1차평가</caption>
  568. <input id="ipt_valuscor1" ref="/root/init/score/valuscor1" class="input_essential" disabled="true" format="#,###.##" style="left:1091px; top:523px; width:97px; height:19px; text-align:right; "/>
  569. <datagrid id="grd_msg" nodeset="/root/main/smsdata/recvrlist" visibility="hidden" caption="체크여부^이름^전화번호" colsep="^" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:85px; top:265px; width:310px; height:125px; ">
  570. <col ref="chk"/>
  571. <col ref="recvrnm"/>
  572. <col ref="recvrtelno"/>
  573. </datagrid>
  574. <bool id="bol_selyn" checkvalue="Y" ref="/root/temp/select" style="left:28px; top:145px; width:20px; height:20px; ">
  575. <script type="javascript" ev:event="xforms-select">
  576. <![CDATA[
  577. for(var i = grd_psngrupbfstlist.fixedRows; i <= grd_psngrupbfstlist.rows; i++) {
  578. grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("selyn")) = "Y";
  579. grd_psngrupbfstlist.rowStatus(i) = 2;
  580. }
  581. ]]>
  582. </script>
  583. <script type="javascript" ev:event="xforms-deselect">
  584. <![CDATA[
  585. for(var i = grd_psngrupbfstlist.fixedRows; i <= grd_psngrupbfstlist.rows; i++) {
  586. grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("selyn")) = "N";
  587. grd_psngrupbfstlist.rowStatus(i) = 2;
  588. }
  589. ]]>
  590. </script>
  591. </bool>
  592. </group>
  593. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  594. <line id="line6" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  595. <button id="btn_init" class="btn4_letter3" style="left:1124px; top:3px; width:68px; height:22px; ">
  596. <caption>초기화</caption>
  597. <script type="javascript" ev:event="DOMActivate">
  598. <![CDATA[
  599. window.reload() ;
  600. ]]>
  601. </script>
  602. </button>
  603. <button id="btn_save" class="btn4_letter2" style="left:880px; top:3px; width:56px; height:22px; ">
  604. <caption>저장</caption>
  605. <script type="javascript" ev:event="DOMActivate">
  606. <![CDATA[
  607. misfSave("TXRPV07501");
  608. btn_search.dispatch("DOMActivate");
  609. ]]>
  610. </script>
  611. </button>
  612. <button id="btn_complete" class="btn4_letter4" style="left:1042px; top:3px; width:80px; height:22px; ">
  613. <caption>평가완료</caption>
  614. <script type="javascript" ev:event="DOMActivate">
  615. <![CDATA[
  616. // for (var i = grd_psngrupbfstlist.fixedRows; i < grd_psngrupbfstlist.rows; i++) {
  617. // if (grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("selyn")) == "Y") {
  618. // if (grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("valupsncnfmflag1")) != "A") {
  619. // var emplno = grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("emplno"));
  620. // var emplnm = grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("emplnm"));
  621. //
  622. // messageBox(emplnm + "[" + emplno + "]은(는) 1차평가 미승인 상태입니다.", "I999");
  623. // return;
  624. // }
  625. // else {
  626. // grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("valupsncnfmflag2")) = "A";
  627. // }
  628. // }
  629. // }
  630. //model.setValue("/root/send/save/psngrupbfstlist",grd_mdlvalu.getUpdateData());
  631. if(grd_psngrupbfstlist.fixedRows == grd_psngrupbfstlist.rows)
  632. {
  633. messageBox("수정할 Data가 없습니다.", "I999");
  634. return;
  635. }
  636. for(var i = grd_psngrupbfstlist.fixedRows; i < grd_psngrupbfstlist.rows; i++)
  637. {
  638. //if(grd_psngrupbfstlist.valueMatrix( i, grd_psngrupbfstlist.colRef("selyn")) == "Y" ) {
  639. if(grd_psngrupbfstlist.valueMatrix( i, grd_psngrupbfstlist.colRef("valupsncnfmyn1")) != 'Y' )
  640. {
  641. messageBox("[" + grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("emplnm")) +" ]는 1차평가 최종확정이 되지 않아 평가 완료를 할 수 없습니다.", "I999");
  642. return;
  643. }
  644. if(grd_psngrupbfstlist.valueMatrix( i, grd_psngrupbfstlist.colRef("valupsncnfmflag2")) != 'A' )
  645. {
  646. messageBox("[" + grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("emplnm")) +" ]는 승인 상태가 아니므로 평가 완료를 할 수 없습니다.", "I999");
  647. return;
  648. }
  649. grd_psngrupbfstlist.valueMatrix( i, grd_psngrupbfstlist.colRef("lastcnfmyn")) = "Y";
  650. grd_psngrupbfstlist.valueMatrix( i, grd_psngrupbfstlist.colRef("procstat")) = "03";
  651. grd_psngrupbfstlist.valueMatrix( i, grd_psngrupbfstlist.colRef("selyn")) = "Y";
  652. grd_psngrupbfstlist.addStatus(i, "update");
  653. //}
  654. //else {
  655. // grd_psngrupbfstlist.removeStatus(i, "update");
  656. //}
  657. }
  658. // for(var s = grd_psngrupbfstlist.fixedRows; s < grd_psngrupbfstlist.rows; s++ )
  659. // {
  660. // grd_psngrupbfstlist.valueMatrix(s, grd_psngrupbfstlist.colRef("lastcnfmyn")) = 'Y';
  661. // grd_psngrupbfstlist.addStatus(s, "update");
  662. // }
  663. misfSave("TXRPV07502");
  664. // Email 그리고 Sms 전송
  665. // 보내는 사람의 Email 주소가 없을경우 Sms를 전송하도록...Email 주소, Sms 전화번호가 없을경우 경고 메세지 발생.
  666. // fGrid : Email 주소나 휴대전화번호가 있는 그리드 id.
  667. // fCmt : 전체적으로 보낼 전송메세지.
  668. // fEmailTitle : 이메일 전송시의 제목.
  669. // fCheckYN : 선택된 사람만 전송할지 유무.
  670. // fEmplno : 발신자의 정보 호출을 위한 발신자 사원번호..
  671. // fInstcd : 발신자의 정보 호출을 위한 발신자 기관코드..
  672. //rpvfCheckEmailAndSms( grd_psngrupbfstlist, "[지원직군 업적 2차평가] 평가완료 되었습니다.", "지원직군 업적 2차평가 통보", 'N',ipt_emplno.value);
  673. btn_search.dispatch("DOMActivate");
  674. ]]>
  675. </script>
  676. </button>
  677. <button id="btn_cnfmcancle" class="btn4_letter6" disabled="true" style="left:937px; top:3px; width:104px; height:22px; ">
  678. <caption>평가완료취소</caption>
  679. <script type="javascript" ev:event="DOMActivate">
  680. <![CDATA[
  681. // for (var i = grd_psngrupbfstlist.fixedRows; i < grd_psngrupbfstlist.rows; i++) {
  682. // if (grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("selyn")) == "Y") {
  683. // grd_psngrupbfstlist.valueMatrix(i, grd_psngrupbfstlist.colRef("valupsncnfmflag2")) = "B";
  684. // }
  685. // }
  686. if( messageBox("모든 평가를 취소하시겠습니까?", "Q999") != 6 ) return;
  687. for(var s = grd_psngrupbfstlist.fixedRows; s < grd_psngrupbfstlist.rows; s++ )
  688. {
  689. //if(grd_psngrupbfstlist.valueMatrix( s, grd_psngrupbfstlist.colRef("selyn")) == "Y" ) {
  690. grd_psngrupbfstlist.valueMatrix( s, grd_psngrupbfstlist.colRef("lastcnfmyn")) = "N";
  691. grd_psngrupbfstlist.valueMatrix( s, grd_psngrupbfstlist.colRef("procstat")) = "02";
  692. grd_psngrupbfstlist.valueMatrix( s, grd_psngrupbfstlist.colRef("selyn")) = "Y";
  693. grd_psngrupbfstlist.addStatus(s, "update");
  694. //}
  695. //else {
  696. // grd_psngrupbfstlist.removeStatus(s, "update");
  697. //}
  698. }
  699. misfSave("TXRPV07502");
  700. // Email 그리고 Sms 전송
  701. // 보내는 사람의 Email 주소가 없을경우 Sms를 전송하도록...Email 주소, Sms 전화번호가 없을경우 경고 메세지 발생.
  702. // fGrid : Email 주소나 휴대전화번호가 있는 그리드 id.
  703. // fCmt : 전체적으로 보낼 전송메세지.
  704. // fEmailTitle : 이메일 전송시의 제목.
  705. // fCheckYN : 선택된 사람만 전송할지 유무.
  706. // fEmplno : 발신자의 정보 호출을 위한 발신자 사원번호..
  707. // fInstcd : 발신자의 정보 호출을 위한 발신자 기관코드..
  708. //rpvfCheckEmailAndSms( grd_psngrupbfstlist, "[지원직군 업적 2차평가] 평가완료취소 되었습니다.", "지원직군 업적 2차평가 통보", 'N',ipt_emplno.value);
  709. btn_search.dispatch("DOMActivate");
  710. ]]>
  711. </script>
  712. </button>
  713. <button id="btn_resultprt" class="btn4_letter6" visibility="visible" style="left:755px; top:2px; width:104px; height:22px; ">
  714. <caption>평가결과출력</caption>
  715. <script type="javascript" ev:event="DOMActivate">
  716. <![CDATA[
  717. model.removenode("/root/temp/source");
  718. model.makeNode("/root/temp/source");
  719. model.makeValue("/root/temp/source/valuyy", model.getValue("/root/send/psngrupbfst/valuyy"));
  720. model.makeValue("/root/temp/source/trgtemplno", model.getValue("/root/send/psngrupbfst/emplno"));
  721. model.makeValue("/root/temp/source/trgtemplnm", model.getValue("/root/send/psngrupbfst/emplnm"));
  722. model.makeValue("/root/temp/source/fstscndhfyyflag", model.getValue("/root/send/psngrupbfst/fstscndhfyyflag"));
  723. model.makeValue("/root/temp/source/fstscndflag", "2");
  724. // model.makeValue("/root/temp/source/instcd", model.getValue("/root/main/valuempllist/dutinst"));
  725. // model.makeValue("/root/temp/source/deptcd", model.getValue("/root/main/valuempllist/dutunitcd"));
  726. // model.makeValue("/root/temp/source/deptnm", model.getValue("/root/main/valuempllist/deptnm"));
  727. modal("SMRPV08300","","","","","/root/temp/source", "/root/target" );
  728. ]]>
  729. </script>
  730. </button>
  731. <button id="btn_valursltquery" class="btn4_letter6" visibility="visible" style="left:650px; top:2px; width:104px; height:22px; ">
  732. <caption>평가결과조회</caption>
  733. <script type="javascript" ev:event="DOMActivate">
  734. <![CDATA[
  735. model.removenode("/root/temp/source");
  736. model.makeNode("/root/temp/source");
  737. model.makeValue("/root/temp/source/valuyy", model.getValue("/root/send/psngrupbfst/valuyy"));
  738. model.makeValue("/root/temp/source/trgtemplno", model.getValue("/root/send/psngrupbfst/emplno"));
  739. model.makeValue("/root/temp/source/trgtemplnm", model.getValue("/root/send/psngrupbfst/emplnm"));
  740. model.makeValue("/root/temp/source/fstscndhfyyflag", model.getValue("/root/send/psngrupbfst/fstscndhfyyflag"));
  741. model.makeValue("/root/temp/source/fstscndflag", "2");
  742. // model.makeValue("/root/temp/source/instcd", model.getValue("/root/main/valuempllist/dutinst"));
  743. // model.makeValue("/root/temp/source/deptcd", model.getValue("/root/main/valuempllist/dutunitcd"));
  744. // model.makeValue("/root/temp/source/deptnm", model.getValue("/root/main/valuempllist/deptnm"));
  745. modal("SMRPV07800","","","","","/root/temp/source", "/root/target" );
  746. ]]>
  747. </script>
  748. </button>
  749. </group>
  750. </xhtml:body>
  751. </xhtml:html>