123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>자기계발계획서등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <jobrole>
- <mstgrthlist/>
- <jobrolelist/>
- <grthgoallist/>
- <mainafcrlist/>
- <empllist>
- <instcd/>
- <instnm/>
- <unitcd/>
- <deptnm/>
- <njobgradcd/>
- <njobgradnm/>
- <jobkindcd/>
- <jobkindnm/>
- <entcodd/>
- <fnlschl/>
- </empllist>
- <valutrglist>
- <valutrgtflag/>
- </valutrglist>
- </jobrole>
- </list>
- <jobrole>
- <mstgrthlist>
- <instcd/>
- <writeyy/>
- <plandocflag/>
- <emplno/>
- <genrdd/>
- <grthconcfild/>
- <concresn/>
- <planvaluhope/>
- <execrsltvalu/>
- <prestchrgbiz/>
- <bizsatsfct/>
- <bizexptns/>
- <bizdgrdifclt/>
- <bizqty/>
- <jobrolemoveneedyn/>
- <movepriod/>
- <jobrolemoveresn/>
- <jobrolemngtvalupsnopin/>
- <jobrolemngtvalupsn/>
- <jobrolemoveetcresn/>
- <cnfmyn/>
- <deptchfcnfmyn/>
- </mstgrthlist>
- </jobrole>
- </main>
- <send>
- <jobrole>
- <instcd/>
- <writeyy/>
- <emplno/>
- <emplnm/>
- <plandocflag>1</plandocflag>
- <cnfmyn/>
- <deptchfcnfmyn/>
- </jobrole>
- <save>
- <mstgrthlist/>
- <jobrolelist/>
- <grthgoallist/>
- <mainafcrlist/>
- </save>
- </send>
- <init>
- <cnfmyn>
- <code/>
- <cdnm>선택안함</cdnm>
- <code>Y</code>
- <cdnm>확정</cdnm>
- <code>N</code>
- <cdnm>미확정</cdnm>
- </cnfmyn>
- <cnfmynnm/>
- <deptchfcnfmynnm/>
- <cnfmynnm2/>
- <deptchcnfmynnm2/>
- </init>
- <target/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- /* Grid 초기화 */
- misfGridInit(grd_mstgrth);
- misfGridInit(grd_grthgoal);
- misfGridInit(grd_jobrole);
- misfGridInit(grd_mainafcrlist);
-
- /* Submit의 ref에 참조 될 Node들은 꼭 Instance에 생성 해야 함.*/
- /* Grid의 Mater, Detail관계 설정
- misfMsterDetailSet(관계설정할 Grid, Mater가 될 Grid, submit ID, 저장여부) */
- misfMsterDetailSet(grd_mstgrth,null, "TRRPV01801" ,"Y");
- misfMsterDetailSet(grd_grthgoal,null, "TRRPV01801" ,"Y");
- misfMsterDetailSet(grd_jobrole,null, "TRRPV01801" ,"Y");
- misfMsterDetailSet(grd_mainafcrlist,null, "TRRPV01801" ,"Y");
-
- var curdate = getCurrentDate();
- model.setValue(ipt_writeyy.attribute("ref") , curdate.substr(0, 4));
- model.setValue(ipt_emplnos.attribute("ref") , getUserInfo("userid"));
- model.setValue(ipt_emplnms.attribute("ref") , getUserInfo("usernm"));
- model.setValue("/root/send/jobrole/instcd", getUserInfo("dutplceinstcd"));
-
- //현재화면이 팝업으로 Load 되었을 시.....
- if(instance1.selectNodes("/root/target/*").length > 0)
- {
- fPopupDataSet("valuyy,trgtemplno,trgtemplnm","ipt_writeyy,ipt_emplnos,ipt_emplnms");
- model.setValue("/root/send/jobrole/instcd", model.getValue("/root/target/dutinst"));
- }
- finitialize();
- ]]>
- </script>
- <submission id="TRRPV01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/jobrole" resultref="/root/main/list/jobrole"/>
- <submission id="TXRPV01804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- <submission id="TXRPV01806" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/jobrole" resultref="/root/hidden/temp"/>
- <script type="javascript" ev:event="xforms-model-destruct">
- <![CDATA[
- if (btn_save.disabled = false) {
- if (getGridUpdateData(grd_mstgrth) != "" || getGridUpdateData(grd_grthgoal) != "" || getGridUpdateData(grd_jobrole) != "" || getGridUpdateData(grd_mainafcrlist) != "") {
- var save_val = messageBox("변경된 자료가 존재 합니다. ", "Q002");
-
- if (save_val == "6") {
- btn_save.dispatch("DOMActivate");
- }
-
- }
- }
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/valuationmngtweb/js/RPV001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript">
- <![CDATA[
- function finitialize() {
- model.setValue(rbo_cnfmYN.attribute("ref") , "");
- model.setValue(rbo_DeptChfCnfmYN.attribute("ref") , "");
-
- rpvfComboValuCdList(model.getValue(ipt_writeyy.attribute("ref")),"GRTHGOALFLAGCD,GRTHCONCFILD,BIZSATSFCT,BIZEXPTNS,BIZDGRDIFCLT,BIZQTY,JOBROLEMOVENEEDYN,JOBROLEMOVERESN,MOVEPRIOD,CHOIDG","grd_grthgoal.grthgoalflagcd,rbo_grthconcfild,rbo_Bizsatsfct,rbo_BizExptns,rbo_BizDgrdifclt,rbo_BizQty,rbo_JobRoleMoveNeedYN,rbo_JobRoleMoveResn,rbo_MovePriod,grd_jobrole.choidg");
- rpvfComboInstCdList("grd_jobrole.hopeinstcd");
- rpvfComboInstCdList("grd_mainafcrlist.postinstcd");
-
- // 평가기간에 따른 권한 부여.
- //당분간막음 2008-04-01
- // if(model.getValue("/root/temp/trgtflag") != ""){
- // rpvfCheckDayFlag(ipt_writeyy.value, getUserInfo("userid"), model.getValue("/root/temp/trgtflag"), model.getValue("/root/temp/program"),
- // "btn_cnfmyn,btn_noncnfmyn,btn_init,btn_save,btn_insert,btn_delete,btn_createafcr,btn_afinsert,btn_afdelete,btn_jobinsert,btn_jobdelete");
- // }else{
- // rpvfCheckDayFlag(ipt_writeyy.value, getUserInfo("userid"), "03", "SMRPV01800",
- // "btn_cnfmyn,btn_noncnfmyn,btn_init,btn_save,btn_insert,btn_delete,btn_createafcr,btn_afinsert,btn_afdelete,btn_jobinsert,btn_jobdelete");
- // }
-
- var instcd = getUserInfo("dutplceinstcd");
- var emplno = getUserInfo("userid");
-
- rpvfGetUserAuth(instcd,emplno);
- if(DUTY_VALU_YN =='Y'){
- ipt_emplnos.disabled = false;
- ipt_emplnms.disabled = false;
- btn_emplno.disabled = false;
- }else{
- ipt_emplnos.disabled = true;
- ipt_emplnms.disabled = true;
- btn_emplno.disabled = true;
- }
-
-
- model.refresh();
-
- btn_search.dispatch("DOMActivate");
-
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("deptchfcnfmyn")) == "Y"){
- messageBox("계획사항에 대한 부서장확정이 이루어진 상태입니다. 본인이 달성한 성과의 내용은 작성 후 직무관리부문 선택하여 저장 하십시요!.","I999");
- }
- }
-
- //현재화면이 팝업화면으로 Loadding 될때 넘겨받은값을 설정.
- function fPopupDataSet()
- {
- var fgetValueNode = "/root/target/";
- var fNodeName = arguments[0].split(",");
- var fSetControl = arguments[1].split(",");
-
- for(var i = 0; i < fSetControl.length; i++)
- {
- document.controls(fSetControl[i]).value = model.getValue(fgetValueNode + fNodeName[i]);
- }
- }
-
- function fControlDisableSet1(pBool) {
- rbo_grthconcfild.disabled = pBool;
- txt_concresn.disabled = pBool;
- grd_grthgoal.colDisabled(grd_grthgoal.colRef("grthgoalflagcd")) = pBool;
- grd_grthgoal.colDisabled(grd_grthgoal.colRef("elvttrgtitem")) = pBool;
- grd_grthgoal.colDisabled(grd_grthgoal.colRef("ownefforteducnm")) = pBool;
- grd_grthgoal.colDisabled(grd_grthgoal.colRef("goalfromdd")) = pBool;
- grd_grthgoal.colDisabled(grd_grthgoal.colRef("goaltodd")) = pBool;
- grd_grthgoal.colDisabled(grd_grthgoal.colRef("elvtgoal")) = pBool;
- btn_insert.disabled = pBool;
- btn_delete.disabled = pBool;
- }
-
- function fControlDisableSet2(pBool) {
- grd_grthgoal.colDisabled(grd_grthgoal.colRef("achvmntfact")) = pBool;
-
- for (var i = 1; i < grd_mainafcrlist.cols; i++) {
- grd_mainafcrlist.colDisabled(i) = pBool;
- }
- btn_createafcr.disabled = pBool;
- btn_afinsert.disabled = pBool;
- btn_afdelete.disabled = pBool;
- txt_PrestChrgBiz.disabled = pBool;
- rbo_Bizsatsfct.disabled = pBool;
- rbo_BizExptns.disabled = pBool;
- rbo_BizDgrdifclt.disabled = pBool;
- rbo_BizQty.disabled = pBool;
- rbo_JobRoleMoveNeedYN.disabled = pBool;
- rbo_MovePriod.disabled = pBool;
- rbo_JobRoleMoveResn.disabled = pBool;
- btn_jobinsert.disabled = pBool;
- btn_jobdelete.disabled = pBool;
- for (var k = 1; k < grd_jobrole.cols; k++) {
- grd_jobrole.colDisabled(k) = pBool;
- }
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:199px; height:14px; ">자기계발계획서 등록</caption>
- </group>
- <group id="group3" style="left:0px; top:38px; width:1195; height:744; ">
- <!--<datagrid id="datagrid1" nodeset="/root/example" class="datagrid2" caption="구분^확정^목표^시작일자^종료일자^가중치" colsep="^" colwidth="48, 16, 80, 40, 50, 20" dataheight="23" defaultrows="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:317px; top:110px; width:876px; height:481px; ">-->
- <group id="grdmain" style="left:0px; top:45px; width:1195px; height:699px; ">
- <caption id="caption8" class="tit_2" style="left:5px; top:10px; width:165px; height:13px; ">성장목표 등록</caption>
- <line id="line5" class="line_1" style="x1:0px; y1:25px; x2:1193px; y2:25px; "/>
- <group id="grpmain2" style="left:0px; top:29px; width:1195px; height:670px; ">
- <button id="button3" class="btn_sw" group="tab" selected="true" style="left:0px; top:5px; width:100px; height:22px; ">
- <caption>자기계발부문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case1");
-
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("cnfmyn")) == "Y"){
- model.setValue(opt_cnfmnm.attribute("ref"),"확정");
- fControlDisableSet1(true);
- }
- else{
- model.setValue(opt_cnfmnm.attribute("ref"),"미확정");
- fControlDisableSet1(false);
- }
-
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("deptchfcnfmyn")) == "Y"){
- model.setValue(opt_DeptChfCnfmnm.attribute("ref"),"확정");
- }
- else{
- model.setValue(opt_DeptChfCnfmnm.attribute("ref"),"미확정");
- }
-
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("deptchfcnfmyn")) == "Y"){
- btn_save.disabled = true;
- btn_cnfmyn.disabled = true;
- btn_noncnfmyn.disabled = true;
- }
- else {
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("cnfmyn")) == "Y"){
- btn_save.disabled = true;
- btn_cnfmyn.disabled = true;
- btn_noncnfmyn.disabled = false;
- }
- else {
- btn_save.disabled = false;
- btn_cnfmyn.disabled = false;
- btn_noncnfmyn.disabled = true;
- }
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn_sw" group="tab" style="left:99px; top:5px; width:100px; height:22px; ">
- <caption>직무관리부문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case2");
-
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("cnfmyn2")) == "Y"){
- model.setValue(opt_cnfmnm2.attribute("ref"),"확정");
- //alert("확정");
- fControlDisableSet2(true);
- }
- else{
- //alert("미확정");
- model.setValue(opt_cnfmnm2.attribute("ref"),"미확정");
- fControlDisableSet2(false);
- }
-
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("deptchfcnfmyn2")) == "Y"){
- model.setValue(opt_DeptChCnfmnm2.attribute("ref"),"확정");
- }
- else{
- model.setValue(opt_DeptChCnfmnm2.attribute("ref"),"미확정");
- }
-
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("deptchfcnfmyn2")) == "Y"){
- btn_save.disabled = true;
- btn_cnfmyn.disabled = true;
- btn_noncnfmyn.disabled = true;
- }
- else {
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("cnfmyn2")) == "Y"){
- btn_save.disabled = true;
- btn_cnfmyn.disabled = true;
- btn_noncnfmyn.disabled = false;
- }
- else {
- btn_save.disabled = false;
- btn_cnfmyn.disabled = false;
- btn_noncnfmyn.disabled = true;
- }
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <switch id="swt_select" style="left:0px; top:26px; width:1195px; height:634px; ">
- <case id="case1" selected="true">
- <line id="line3" class="line_3" style="x1:0px; y1:631px; x2:1193px; y2:631px; "/>
- <line id="line17" class="line_3" style="x1:0px; y1:117px; x2:1193px; y2:117px; "/>
- <line id="line1" class="line_2" style="x1:0px; y1:27px; x2:1193px; y2:27px; "/>
- <line id="line16" class="line_2" style="x1:0px; y1:51px; x2:1193px; y2:51px; "/>
- <caption id="caption26" class="cell_1" style="left:289px; top:5px; width:105px; height:23px; text-align:center; vertical-align:middle; ">부 서</caption>
- <caption id="caption3" class="cell_1" style="left:578px; top:5px; width:105px; height:23px; text-align:center; vertical-align:middle; ">직 급</caption>
- <output id="opt_deptnm" ref="/root/main/list/jobrole/empllist/deptnm" style="left:396px; top:7px; width:180px; height:19px; "/>
- <output id="opt_jobgradnm" ref="/root/main/list/jobrole/empllist/njobgradnm" style="left:685px; top:6px; width:180px; height:19px; "/>
- <caption id="caption4" class="cell_1" style="left:0px; top:29px; width:105px; height:23px; text-align:center; vertical-align:middle; ">직 종</caption>
- <output id="opt_jobkindnm" ref="/root/main/list/jobrole/empllist/jobkindnm" style="left:107px; top:31px; width:180px; height:19px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:5px; width:105px; height:23px; text-align:center; vertical-align:middle; ">기 관</caption>
- <output id="opt_instnm" ref="/root/main/list/jobrole/empllist/instnm" style="left:107px; top:7px; width:180; height:19px; "/>
- <output id="opt_entcodd" ref="/root/main/list/jobrole/empllist/entcodd" format="yyyy-mm-dd" style="left:396px; top:31px; width:180px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:289px; top:29px; width:105px; height:23px; text-align:center; vertical-align:middle; ">입 사 일</caption>
- <caption id="caption9" class="cell_1" style="left:578px; top:29px; width:105px; height:23px; text-align:center; vertical-align:middle; ">최종 출신교(전공)</caption>
- <output id="opt_schoolnm" ref="/root/main/list/jobrole/empllist/fnlschl" style="left:685px; top:32px; width:180px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:867px; top:29px; width:105px; height:23px; text-align:center; vertical-align:middle; ">성장관심분야</caption>
- <select1 id="rbo_grthconcfild" ref="/root/main/jobrole/mstgrthlist/grthconcfild" appearance="full" cols="100" overflow="visible" style="left:974px; top:32px; width:160px; height:19px; border-style:none; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <line id="line2" class="line_1" style="x1:0px; y1:142px; x2:1193px; y2:142px; "/>
- <caption id="caption11" class="tit_2" style="left:5px; top:127px; width:306px; height:13px; ">성장목표 달성을 위한 자기계발 계획 / 이행 결과</caption>
- <datagrid id="grd_grthgoal" nodeset="/root/main/list/jobrole/grthgoallist" autoresize="true" caption="목표구분^향상대상항목^자기노력 또는 교육명^기간(FROM)^기간(TO)^향상목표^달성결과/내용" colsep="^" colwidth="127, 213, 163, 100, 100, 185, 259, 214, 34, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:1px; top:147px; width:1192px; height:330px; ">
- <col class="gridcombo" ref="grthgoalflagcd" type="combo" _key="true">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="elvttrgtitem" type="input"/>
- <col ref="ownefforteducnm" type="input"/>
- <col ref="goalfromdd" type="inputdate" format="yyyy-mm-dd"/>
- <col ref="goaltodd" type="inputdate" format="yyyy-mm-dd"/>
- <col ref="elvtgoal" type="input"/>
- <col ref="achvmntfact" type="input" maxbyte="100"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="writeyy" visibility="hidden"/>
- <col ref="plandocflag" visibility="hidden"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="oldgrthgoalflagcd" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_grthgoal.rowStatus(grd_grthgoal.row) != "0" && grd_grthgoal.rowStatus(grd_grthgoal.row) != "2" && grd_grthgoal.col == grd_grthgoal.colRef("elvttrgtitemnm"))
- {
- model.removenode("/root/copynode");
- model.removenode(gvParamPath +"/SMRPV99100_/SMRPV99100_value");
- model.makeNode("/root/copynode");
-
- rpvfOpenPopUpList("24",grd_grthgoal,"ELVTTRGTITEMCD","grthgoalflagcd,grthgoalflagnm","","","valucd,valucdnm");
-
- var cur_row = grd_grthgoal.row;
- var status = grd_grthgoal.valueMatrix(cur_row, grd_grthgoal.colRef("m"));
-
- var CSV = model.getValue(gvParamPath +"/SMRPV99100_/SMRPV99100_value");
- setCSVToNode("/root/copynode", CSV, "valucodelist");
-
- var node = "/root/copynode";
- var nodename = "valucodelist";
- var codynode = instance1.selectNodes(node + "/*");
- var addRow = grd_grthgoal.rows - grd_grthgoal.fixedRows;
- var nocopy = false;
-
- if(model.getValue(grd_grthgoal.nodeset + "[" + addRow + "]/elvttrgtitemcd").length > 0)addRow = addRow + 1;
- for (var j = 1; j <= codynode.length ; j++) {
- nocopy = false;
- if(addRow > grd_grthgoal.rows - grd_grthgoal.fixedRows)
- {
- misfGridIUD(grd_grthgoal,"A");
- addRow = grd_grthgoal.rows - grd_grthgoal.fixedRows;
- }
-
- model.setValue(grd_grthgoal.nodeset + "[" + addRow + "]/elvttrgtitemcd" , model.getValue(node +"/" + nodename + "[" + j + "]/valucd"));
- model.setValue(grd_grthgoal.nodeset + "[" + addRow + "]/elvttrgtitemnm" , model.getValue(node +"/" + nodename + "[" + j + "]/valucdnm"));
- addRow = addRow + 1;
- }
-
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption12" class="tit_2" style="left:5px; top:487px; width:95px; height:13px; ">평가자 확인</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:502px; x2:1193px; y2:502px; "/>
- <button id="btn_insert" class="btn2_letter3" style="left:1085px; top:122px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !isRequiredControls("ipt_valuyy","ipt_emplnos") ) {
- return false;
- }
- misfGridIUD(grd_grthgoal, "A");
- ]]>
- </script>
- </button>
- <button id="btn_delete" class="btn2_letter3" style="left:1140px; top:122px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_grthgoal, "D");
- ]]>
- </script>
- </button>
- <caption id="caption13" class="cell_1" style="left:0px; top:507px; width:100px; height:125px; vertical-align:middle; ">1차평가자 확인</caption>
- <caption id="caption14" class="cell_2" style="left:101px; top:507px; width:86px; height:125px; vertical-align:middle; ">
- <![CDATA[ 기획에 대한
- 기대 의견]]>
- </caption>
- <textarea id="txt_PlanValuHope" ref="/root/main/jobrole/mstgrthlist/planvaluhope" editable="false" style="left:189px; top:509px; width:448px; height:121px; "/>
- <caption id="caption15" class="cell_2" style="left:639px; top:507px; width:108px; height:125px; vertical-align:middle; ">
- <![CDATA[이행결과에
- 대한 의견]]>
- </caption>
- <textarea id="txt_ExecRsltValu" ref="/root/main/jobrole/mstgrthlist/execrsltvalu" editable="false" style="left:749px; top:509px; width:441px; height:121px; "/>
- <caption id="caption30" class="cell_1" style="left:0px; top:53px; width:105px; height:65px; text-align:center; vertical-align:middle; ">관심사유</caption>
- <textarea id="txt_concresn" ref="/root/main/jobrole/mstgrthlist/concresn" style="left:107px; top:55px; width:1075px; height:61px; "/>
- <line id="line15" class="line_1" style="x1:0px; y1:0px; x2:1193px; y2:0px; "/>
- <caption id="opt_cnfmnm" ref="/root/init/cnfmynnm" style="left:1005px; top:6px; width:55px; height:20px; font-weight:bold; "/>
- <caption id="caption1" style="left:943px; top:7px; width:60px; height:17px; font-weight:bold; ">개인확정:</caption>
- <caption id="caption2" style="left:1062px; top:7px; width:72px; height:17px; font-weight:bold; ">부서장확정:</caption>
- <caption id="opt_DeptChfCnfmnm" ref="/root/init/deptchfcnfmynnm" style="left:1137px; top:6px; width:55px; height:20px; font-weight:bold; "/>
- </case>
- <case id="case2">
- <line id="line21" class="line_3" style="x1:0px; y1:292px; x2:1193px; y2:292px; "/>
- <line id="line12" class="line_3" style="x1:0px; y1:631px; x2:1193px; y2:631px; "/>
- <line id="line10" class="line_3" style="x1:0px; y1:365px; x2:1193px; y2:365px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:341px; x2:1193px; y2:341px; "/>
- <line id="line19" class="line_2" style="x1:0px; y1:242px; x2:1193px; y2:242px; "/>
- <line id="line18" class="line_2" style="x1:0px; y1:218px; x2:1193px; y2:218px; "/>
- <line id="line20" class="line_2" style="x1:0px; y1:266px; x2:1193px; y2:266px; "/>
- <caption id="caption16" class="tit_2" style="left:5px; top:10px; width:165px; height:13px; ">입사후 경력(최근기준)</caption>
- <line id="line6" class="line_1" style="x1:0px; y1:25px; x2:1193px; y2:25px; "/>
- <button id="btn_afinsert" class="btn2_letter3" style="left:835px; top:3px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !isRequiredControls("ipt_valuyy","ipt_emplnos") ) {
- return false;
- }
- misfGridIUD(grd_mainafcrlist, "A");
- ]]>
- </script>
- </button>
- <button id="btn_afdelete" class="btn2_letter3" style="left:890px; top:3px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_mainafcrlist, "D");
- ]]>
- </script>
- </button>
- <datagrid id="grd_mainafcrlist" nodeset="/root/main/list/jobrole/mainafcrlist" caption="시작일자^종료일자^소속기관코드^부서^직위^직책^담당업무^기관^작성년도^계획서구분^사원번호^소속부서코드^직위코드^직책코드" colsep="^" colwidth="106, 103, 152, 164, 85, 119, 418, 72, 67, 88, 48, 56, 88, 77" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:30px; width:1193px; height:140px; ">
- <col ref="fromdd" type="inputdate"/>
- <col ref="todd" type="inputdate"/>
- <col ref="postinstcd" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="deptnm" type="inputbutton"/>
- <col ref="jobposnm" type="inputbutton"/>
- <col ref="jobrespnm" type="inputbutton"/>
- <col ref="chrgjob" type="input"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="writeyy" visibility="hidden"/>
- <col ref="plandocflag" visibility="hidden"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="posdeptcd" visibility="hidden"/>
- <col ref="jobposcd" visibility="hidden"/>
- <col ref="jobrespcd" visibility="hidden"/>
- <col ref="oldfromdd" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_mainafcrlist.col == grd_mainafcrlist.colRef("deptnm")) {
- var recv_list = "posdeptcd,deptnm";
- var instcd = grd_mainafcrlist.valueMatrix(grd_mainafcrlist.row, grd_mainafcrlist.colRef("postinstcd"));
- rpbfOpenDeptCdHelp(grd_mainafcrlist,recv_list, instcd, "instcd");
- model.refresh();
- }
- else if (grd_mainafcrlist.col == grd_mainafcrlist.colRef("jobposnm")) {
- var recv_list = "jobposcd,jobposnm";
- rpbfOpenComCdHelp(grd_mainafcrlist,"R0062", recv_list);
- model.refresh();
- }
- else if (grd_mainafcrlist.col == grd_mainafcrlist.colRef("jobrespnm")) {
- var recv_list = "jobrespcd,jobrespnm";
- rpbfOpenComCdHelp(grd_mainafcrlist,"R0063", recv_list);
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption17" class="tit_2" style="left:5px; top:176px; width:165px; height:13px; ">현재 담당업무</caption>
- <line id="line7" class="line_1" style="x1:0px; y1:191px; x2:1193px; y2:191px; "/>
- <caption id="caption19" class="cell_1" style="left:0px; top:196px; width:67px; height:94px; text-align:center; vertical-align:middle; ">
- <![CDATA[현재
- 업무
- 내용]]>
- </caption>
- <textarea id="txt_PrestChrgBiz" ref="/root/main/jobrole/mstgrthlist/prestchrgbiz" style="left:69px; top:198px; width:685px; height:90px; "/>
- <caption id="caption20" class="cell_1" style="left:760px; top:196px; width:88px; height:23px; text-align:center; vertical-align:middle; ">업무의 만족도</caption>
- <select1 id="rbo_Bizsatsfct" ref="/root/main/jobrole/mstgrthlist/bizsatsfct" appearance="full" cols="100" overflow="visible" style="left:850px; top:199; width:330px; height:20px; border-style:none; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption21" class="cell_1" style="left:760px; top:220px; width:88px; height:23px; text-align:center; vertical-align:middle; ">업무의 숙련도</caption>
- <select1 id="rbo_BizExptns" ref="/root/main/jobrole/mstgrthlist/bizexptns" appearance="full" cols="100" overflow="visible" style="left:850px; top:223; width:330px; height:20px; border-style:none; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption22" class="cell_1" style="left:760px; top:244px; width:88px; height:23px; text-align:center; vertical-align:middle; ">업무의 난이도</caption>
- <select1 id="rbo_BizDgrdifclt" ref="/root/main/jobrole/mstgrthlist/bizdgrdifclt" appearance="full" cols="100" overflow="visible" style="left:850px; top:247px; width:330px; height:20px; border-style:none; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption23" class="cell_1" style="left:760px; top:268px; width:88px; height:23; text-align:center; vertical-align:middle; ">업무의 양</caption>
- <select1 id="rbo_BizQty" ref="/root/main/jobrole/mstgrthlist/bizqty" appearance="full" cols="100" overflow="visible" style="left:850px; top:271; width:330px; height:20px; border-style:none; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption24" class="tit_2" style="left:5px; top:299px; width:165px; height:13px; ">직무이동</caption>
- <line id="line8" class="line_1" style="x1:0px; y1:314px; x2:1193px; y2:314px; "/>
- <caption id="caption25" class="cell_1" style="left:0px; top:319px; width:67px; height:23px; text-align:center; vertical-align:middle; ">필요성</caption>
- <select1 id="rbo_JobRoleMoveNeedYN" ref="/root/main/jobrole/mstgrthlist/jobrolemoveneedyn" appearance="full" cols="100" overflow="visible" style="left:70px; top:320px; width:685px; height:23px; border-style:none; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- alert(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("cnfmyn2")));
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("cnfmyn2")) != "Y"){
- if(model.getValue(rbo_JobRoleMoveNeedYN.attribute("ref")) == "02"){
- rbo_JobRoleMoveResn.disabled = "true";
- model.setValue(rbo_JobRoleMoveResn.attribute("ref"),"");
- rbo_JobRoleMoveResn.refresh();
- }
- else{
- rbo_JobRoleMoveResn.disabled = "false";
- }
- }
- ]]>
- </script>
- </select1>
- <caption id="caption18" class="cell_1" style="left:760px; top:319px; width:88px; height:20px; text-align:center; vertical-align:middle; ">이동시기</caption>
- <select1 id="rbo_MovePriod" ref="/root/main/jobrole/mstgrthlist/movepriod" appearance="full" cols="100" overflow="visible" style="left:850px; top:320px; width:330px; height:20px; border-style:none; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption27" class="cell_1" style="left:0px; top:343px; width:67px; height:23px; text-align:center; vertical-align:middle; ">사유</caption>
- <select1 id="rbo_JobRoleMoveResn" ref="/root/main/jobrole/mstgrthlist/jobrolemoveresn" appearance="full" cols="100" overflow="visible" style="left:70px; top:345px; width:685px; height:23px; border-style:none; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <datagrid id="grd_jobrole" nodeset="/root/main/list/jobrole/jobrolelist" caption="지망^기관^부서^업무" colsep="^" colwidth="95, 178, 167, 711, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:367px; width:1193px; height:142px; ">
- <col ref="choidg" type="combo" _key="true">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="hopeinstcd" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="hopedeptnm" type="inputbutton"/>
- <col ref="hopebiz" type="input"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="apptodd" visibility="hidden"/>
- <col ref="writeyy" visibility="hidden"/>
- <col ref="plandocflag" visibility="hidden"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="hopedeptcd" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_jobrole.col == grd_jobrole.colRef("hopedeptnm")){
- var instcd = grd_jobrole.valueMatrix(grd_jobrole.row, grd_jobrole.colRef("hopeinstcd"));
-
- if(instcd.length>0){
- rpvfOpenDeptCdHelp(grd_jobrole,"hopedeptcd,hopedeptnm",instcd,"instcd","deptcd,deptnm");
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_jobinsert" class="btn2_letter3" style="left:1084px; top:293px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !isRequiredControls("ipt_valuyy","ipt_emplnos") ) {
- return false;
- }
-
- if (grd_jobrole.rows - grd_jobrole.fixedRows == 3) {
- messageBox("직무이동은 3지망 까지만 입력가능 합니다. 행 추가 할 수","I004");
- return;
- }
- misfGridIUD(grd_jobrole, "A");
-
- if (grd_jobrole.rows - grd_jobrole.fixedRows == 1) {
- grd_jobrole.valueMatrix(grd_jobrole.row, grd_jobrole.colRef("choidg")) = "01";
- }
- else if (grd_jobrole.rows - grd_jobrole.fixedRows == 2) {
- grd_jobrole.valueMatrix(grd_jobrole.row, grd_jobrole.colRef("choidg")) = "02";
- }
- else if (grd_jobrole.rows - grd_jobrole.fixedRows == 3) {
- grd_jobrole.valueMatrix(grd_jobrole.row, grd_jobrole.colRef("choidg")) = "03";
- }
- ]]>
- </script>
- </button>
- <button id="btn_jobdelete" class="btn2_letter3" style="left:1139px; top:293px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_jobrole, "D");
- ]]>
- </script>
- </button>
- <line id="line11" class="line_1" style="x1:0px; y1:535px; x2:1193px; y2:535px; "/>
- <caption id="caption28" class="tit_2" style="left:5px; top:519px; width:165px; height:13px; ">평가자 의견</caption>
- <caption id="caption29" class="cell_1" style="left:0px; top:540px; width:67px; height:92px; text-align:center; vertical-align:middle; ">
- <![CDATA[1차
- 평가자
- 의견]]>
- </caption>
- <textarea id="txt_JobRoleMngtValuPsnOpin" ref="/root/main/jobrole/mstgrthlist/jobrolemngtvalupsnopin" editable="false" style="left:70px; top:542px; width:1118px; height:88px; "/>
- <datagrid id="grd_mstgrth" nodeset="/root/main/list/jobrole/mstgrthlist" visibility="hidden" caption="기관코드^작성년도^계획서구분^사원번호^작성일자^성장관심분야^관심사유^계획에대한평가자기대의견^이행결과에대한평가자의견^현재담당업무^업무의만족도^업무의숙련도^업무의난이도^업무의양^직무이동필요성^이동시기^직무이동사유^직무관리평가자의견^직무관리평가자사원번호^직무이동기타사유^확정여부^부서장확정여부" colsep="^" colwidth="48, 56, 88, 77, 63, 96, 707, 960, 960, 357, 80, 72, 96, 48, 136, 72, 120, 960, 144, 707, 48, 104" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:105px; top:500px; width:839px; height:100px; ">
- <col ref="instcd"/>
- <col ref="writeyy"/>
- <col ref="plandocflag"/>
- <col ref="emplno"/>
- <col ref="genrdd"/>
- <col ref="grthconcfild"/>
- <col ref="concresn"/>
- <col ref="planvaluhope"/>
- <col ref="execrsltvalu"/>
- <col ref="prestchrgbiz"/>
- <col ref="bizsatsfct"/>
- <col ref="bizexptns"/>
- <col ref="bizdgrdifclt"/>
- <col ref="bizqty"/>
- <col ref="jobrolemoveneedyn"/>
- <col ref="movepriod"/>
- <col ref="jobrolemoveresn"/>
- <col ref="jobrolemngtvalupsnopin"/>
- <col ref="jobrolemngtvalupsn"/>
- <col ref="jobrolemoveetcresn"/>
- <col ref="cnfmyn"/>
- <col ref="deptchfcnfmyn"/>
- <col ref="cnfmyn2"/>
- <col ref="deptchcnfmyn2"/>
- </datagrid>
- <button id="btn_createafcr" class="btn5_letter4" visibility="visible" style="left:765px; top:3px; width:64px; height:19px; ">
- <caption>자료생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !isRequiredControls("ipt_valuyy","ipt_emplnos") ) {
- return false;
- }
- submit("TXRPV01806");
-
- btn_search.dispatch("DOMActivate");
-
- ]]>
- </script>
- </button>
- <caption id="opt_cnfmnm2" ref="/root/init/cnfmynnm2" style="left:1009px; top:3px; width:55px; height:20px; font-weight:bold; "/>
- <caption id="caption34" style="left:951px; top:4px; width:60px; height:17px; font-weight:bold; ">개인확정:</caption>
- <caption id="caption35" style="left:1063px; top:4px; width:72px; height:17px; font-weight:bold; ">부서장확정:</caption>
- <caption id="opt_DeptChCnfmnm2" ref="/root/init/deptchcnfmynnm2" style="left:1133px; top:3px; width:55px; height:20px; font-weight:bold; "/>
- </case>
- </switch>
- <input id="ipt_valutrgtflag" ref="/root/main/list/jobrole/valutrglist/valutrgtflag" visibility="hidden" style="left:1045px; top:5px; width:25px; height:19px; "/>
- </group>
- <caption id="caption31" visibility="hidden" style="left:115px; top:5px; width:112px; height:17px; font-weight:bold; ">개인확정여부 :</caption>
- <caption id="caption32" visibility="hidden" style="left:377px; top:5px; width:125px; height:17px; font-weight:bold; ">부서장확정여부 :</caption>
- <select1 id="rbo_cnfmYN" ref="/root/send/jobrole/cnfmyn" visibility="hidden" appearance="full" cols="3" overflow="visible" style="left:205px; top:5px; width:170px; height:16px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/cnfmyn">
- <label ref="cdnm"/>
- <value ref="code"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rbo_DeptChfCnfmYN" ref="/root/send/jobrole/deptchfcnfmyn" visibility="hidden" appearance="full" cols="3" overflow="visible" style="left:481px; top:5px; width:170px; height:16px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/cnfmyn">
- <label ref="cdnm"/>
- <value ref="code"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <group id="group6" style="left:0px; top:10px; width:1195px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:1195px; height:35px; "/>
- <line id="line14" class="line_4" style="x1:1109px; y1:6px; x2:1109px; y2:28px; "/>
- <caption id="cap_valuyy" class="search_name" style="left:15px; top:9px; width:100px; height:17px; vertical-align:middle; ">기준년도 :</caption>
- <input id="ipt_writeyy" ref="/root/send/jobrole/writeyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:100px; top:9px; width:125px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfGridInit(grd_mstgrth);
- misfGridInit(grd_grthgoal);
- misfGridInit(grd_jobrole);
- misfGridInit(grd_mainafcrlist);
-
- finitialize();
- ]]>
- </script>
- </input>
- <caption id="cap_emplnos" class="search_name" style="left:236px; top:10px; width:94px; height:17px; font-weight:bold; ">사번:</caption>
- <button id="btn_emplno" class="icon_search" disabled="true" style="left:380px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var recv_list = "emplno,emplnm" ;
- rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"","","","emplno,emplnm");
-
- model.refresh();
-
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <input id="ipt_emplnos" ref="/root/send/jobrole/emplno" class="input_default" style="left:291px; top:9px; width:87px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNO", recv_list,"","emplno,emplnm");
- model.refresh();
-
- ]]>
- </script>
- </input>
- <input id="ipt_emplnms" ref="/root/send/jobrole/emplnm" class="input_default" style="left:397px; top:9px; width:146px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNM", recv_list,"","emplno,emplnm");
-
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" style="left:1134px; top:6px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !isRequiredControls("ipt_valuyy" , "ipt_emplnos") ) {
- return false;
- }
-
- model.resetInstanceNode("/root/main/jobrole/mstgrthlist");
- misfGridInit(grd_mstgrth);
- misfGridInit(grd_grthgoal);
- misfGridInit(grd_jobrole);
- misfGridInit(grd_mainafcrlist);
-
-
- model.setValue(opt_cnfmnm.attribute("ref"),"");
- model.setValue(opt_DeptChfCnfmnm.attribute("ref"),"");
-
- submit("TRRPV01801");
-
- if(rpvfCheckManFlag(model.getValue(ipt_writeyy.attribute("ref")),model.getValue(ipt_emplnos.attribute("ref"))) != '01'){
- messageBox("해당 화면의 ","E002");
- rpvfSetControlBy("btn_cnfmyn,btn_noncnfmyn,btn_init,btn_save,btn_insert,btn_delete","Y");
- return;
- }
- var valutrgtflag = model.getValue("/root/main/list/jobrole/valutrglist/valutrgtflag");
-
- if (valutrgtflag == "4") {
- messageBox("평가 대상자가 아닙 니다. 사용 할 수","I004");
- rpvfSetControlBy("btn_cnfmyn,btn_noncnfmyn,btn_init,btn_save,btn_insert,btn_delete","Y");
- return;
- }
-
- if(grd_mstgrth.rows - grd_mstgrth.fixedRows== 0) misfGridIUD(grd_mstgrth, "A");
- grd_mstgrth.row = grd_mstgrth.fixedRows;
-
- if(swt_select.selectedIndex == 0) {
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("cnfmyn")) == "Y"){
- model.setValue(opt_cnfmnm.attribute("ref"),"확정");
- fControlDisableSet1(true);
- }
- else{
- model.setValue(opt_cnfmnm.attribute("ref"),"미확정");
- fControlDisableSet1(false);
- }
-
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("deptchfcnfmyn")) == "Y"){
- model.setValue(opt_DeptChfCnfmnm.attribute("ref"),"확정");
- }
- else{
- model.setValue(opt_DeptChfCnfmnm.attribute("ref"),"미확정");
- }
-
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("deptchfcnfmyn")) == "Y"){
- btn_save.disabled = true;
- btn_cnfmyn.disabled = true;
- btn_noncnfmyn.disabled = true;
- }
- else {
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("cnfmyn")) == "Y"){
- btn_save.disabled = true;
- btn_cnfmyn.disabled = true;
- btn_noncnfmyn.disabled = false;
- }
- else {
- btn_save.disabled = false;
- btn_cnfmyn.disabled = false;
- btn_noncnfmyn.disabled = true;
- }
- }
- }
- else {
-
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("cnfmyn2")) == "Y"){
- model.setValue(opt_cnfmnm2.attribute("ref"),"확정");
- fControlDisableSet2(true);
- }
- else{
- model.setValue(opt_cnfmnm2.attribute("ref"),"미확정");
- fControlDisableSet2(false);
- }
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("deptchfcnfmyn2")) == "Y"){
- model.setValue(opt_DeptChCnfmnm2.attribute("ref"),"확정");
- }
- else{
- model.setValue(opt_DeptChCnfmnm2.attribute("ref"),"미확정");
- }
-
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("deptchfcnfmyn2")) == "Y"){
- btn_save.disabled = true;
- btn_cnfmyn.disabled = true;
- btn_noncnfmyn.disabled = true;
- }
- else {
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("cnfmyn2")) == "Y"){
- btn_save.disabled = true;
- btn_cnfmyn.disabled = true;
- btn_noncnfmyn.disabled = false;
- }
- else {
- btn_save.disabled = false;
- btn_cnfmyn.disabled = false;
- btn_noncnfmyn.disabled = true;
- }
- }
- }
- model.copyNode("/root/main/jobrole/mstgrthlist","/root/main/list/jobrole/mstgrthlist");
- if(grd_mstgrth.valueMatrix(grd_mstgrth.row, grd_mstgrth.colRef("cnfmyn2")) != "Y"){
- if(model.getValue(rbo_JobRoleMoveNeedYN.attribute("ref")) == "02"){
- rbo_JobRoleMoveResn.disabled = "true";
- model.setValue(rbo_JobRoleMoveResn.attribute("ref"),"");
- rbo_JobRoleMoveResn.refresh();
- }
- else{
- rbo_JobRoleMoveResn.disabled = "false";
- }
- }
-
- model.refresh();
-
-
- var curdate = getCurrentDate();
-
- if (ipt_writeyy.value < curdate.substr(0, 4) ||
- (txt_PlanValuHope.value != "" && (curdate.substr(4, 2) == "11" || curdate.substr(4, 2) == "12" || curdate.substr(4, 2) == "01" || curdate.substr(4, 2) == "02" )) ) {
- for(var i = grd_grthgoal.fixedRows; i < grd_grthgoal.rows; i++)
- {
- grd_grthgoal.isReadOnly(i, grd_grthgoal.colRef("achvmntfact")) = false;
-
- }
- button4.disabled = false;
- }
- else {
- for(var i = grd_grthgoal.fixedRows; i < grd_grthgoal.rows; i++)
- {
- grd_grthgoal.isReadOnly(i, grd_grthgoal.colRef("achvmntfact")) = true;
-
- }
- button4.disabled = true;
- }
-
- // if (txt_PlanValuHope.value == "") {
- // for(var i = grd_grthgoal.fixedRows; i < grd_grthgoal.rows; i++)
- // {
- // grd_grthgoal.isReadOnly(i, grd_grthgoal.colRef("achvmntfact")) = true;
- //
- // }
- // button4.disabled = true;
- // }
- // else {
- // for(var i = grd_grthgoal.fixedRows; i < grd_grthgoal.rows; i++)
- // {
- // grd_grthgoal.isReadOnly(i, grd_grthgoal.colRef("achvmntfact")) = false;
- //
- // }
- // button4.disabled = false;
- // }
-
- grd_grthgoal.rebuild();
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- </group>
- <!--<line id="line3" class="line_1" style="x1:0px; y1:67px; x2:1195px; y2:67px; "/>-->
- <group id="group4" style="left:0px; top:12px; width:1195px; height:27px; ">
- <line id="line13" class="line_6" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
- <button id="btn_cnfmyn" class="btn4_letter2" style="left:984px; top:3px; width:56px; height:22px; ">
- <caption>확정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (swt_select.selectedIndex == 0 ) {
- if(model.getValue("/root/main/list/jobrole/mstgrthlist/deptchfcnfmyn") == "Y"){
- messageBox("부서장 확정이 되었으므로 확정을","E001");
- return;
- }
- if(model.getValue("/root/main/list/jobrole/mstgrthlist/cnfmyn") == "Y"){
- messageBox("이미 개인 확정이 되었으므로 확정을","E001");
- return;
- }
-
- for (var i = grd_grthgoal.fixedRows; i < grd_grthgoal.rows; i++) {
- if (grd_grthgoal.valueMatrix(i, grd_grthgoal.colRef("elvtgoal")) == "") {
- messageBox("향상목표가 미입력 되어서 확정을","E001");
- return;
- }
-
- if (grd_grthgoal.valueMatrix(i, grd_grthgoal.colRef("goaltodd")) == "") {
- messageBox("기간(TO)가 미입력 되어서 확정을","E001");
- return;
- }
-
- if (grd_grthgoal.valueMatrix(i, grd_grthgoal.colRef("goalfromdd")) == "") {
- messageBox("기간(FROM)이 미입력 되어서 확정을","E001");
- return;
- }
-
- if (grd_grthgoal.valueMatrix(i, grd_grthgoal.colRef("ownefforteducnm")) == "") {
- messageBox("자기 노력 또는 교육명이 미입력 되어서 확정을","E001");
- return;
- }
-
- if (grd_grthgoal.valueMatrix(i, grd_grthgoal.colRef("elvttrgtitem")) == "") {
- messageBox("향상 대상 항목이 미입력 되어서 확정을","E001");
- return;
- }
- }
-
- model.setValue("/root/main/jobrole/mstgrthlist/cnfmyn","Y");
- }
- else {
- if(model.getValue("/root/main/list/jobrole/mstgrthlist/cnfmyn") != "Y"){
- messageBox("자기 계발 부문 개인 미확정 상태 입니다. 직무 관리 확정을","E001");
- return;
- }
-
- if(model.getValue("/root/main/list/jobrole/mstgrthlist/deptchfcnfmyn") != "Y"){
- messageBox("자기 계발 부문 부서장 미확정 상태 입니다. 직무 관리 확정을","E001");
- return;
- }
-
-
- if(model.getValue("/root/main/list/jobrole/mstgrthlist/deptchcnfmyn2") == "Y"){
- messageBox("부서장 확정이 되었으므로 확정을","E001");
- return;
- }
- if(model.getValue("/root/main/list/jobrole/mstgrthlist/cnfmyn2") == "Y"){
- messageBox("이미 개인 확정이 되었으므로 확정을","E001");
- return;
- }
-
- for (var i = grd_grthgoal.fixedRows; i < grd_grthgoal.rows; i++) {
- if (grd_grthgoal.valueMatrix(i, grd_grthgoal.colRef("achvmntfact")) == "") {
- messageBox("달성결과/내용이 미입력 되어서 확정을","E001");
- return;
- }
- }
-
- model.setValue("/root/main/jobrole/mstgrthlist/cnfmyn2","Y");
- }
- model.removenode("/root/send/save");
- model.makeNode("/root/send/save/mstgrthlist");
- model.makeNode("/root/send/save/jobrolelist");
- model.makeNode("/root/send/save/grthgoallist");
- model.makeNode("/root/send/save/mainafcrlist");
- misfGridRowStatusChange(grd_mstgrth,"/root/main/list/jobrole" ,"/root/main/jobrole");
- grd_mstgrth.refresh();
-
- model.setValue("/root/send/save/mstgrthlist",grd_mstgrth.getUpdateData());
- model.setValue("/root/send/save/jobrolelist",grd_jobrole.getUpdateData());
- model.setValue("/root/send/save/grthgoallist",grd_grthgoal.getUpdateData());
- model.setValue("/root/send/save/mainafcrlist",grd_mainafcrlist.getUpdateData());
-
- submit("TXRPV01804");
- if (model.getValue(gvErrorMsgPath + "/type") != "error"){
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <button id="btn_noncnfmyn" class="btn4_letter4" style="left:1041px; top:3px; width:80px; height:22px; ">
- <caption>확정취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (swt_select.selectedIndex == 0 ) {
- if(model.getValue("/root/main/list/jobrole/mstgrthlist/deptchfcnfmyn") == "Y"){
- messageBox("부서장 확정이 되었으므로 확정취소","E001");
- return;
- }
- if(model.getValue("/root/main/list/jobrole/mstgrthlist/cnfmyn") != "Y"){
- messageBox("개인확정이 되지 않았으므로 확정취소","E001");
- return;
- }
- model.setValue("/root/main/jobrole/mstgrthlist/cnfmyn","N");
- }
- else {
- if(model.getValue("/root/main/list/jobrole/mstgrthlist/deptchcnfmyn2") == "Y"){
- messageBox("부서장 확정이 되었으므로 확정취소","E001");
- return;
- }
- if(model.getValue("/root/main/list/jobrole/mstgrthlist/cnfmyn2") != "Y"){
- messageBox("개인확정이 되지 않았으므로 확정취소","E001");
- return;
- }
- model.setValue("/root/main/jobrole/mstgrthlist/cnfmyn2","N");
- }
-
- if(!checkKeyColumn("grd_mstgrth","grd_grthgoal","grd_jobrole")) return;
-
- model.removenode("/root/send/save");
- model.makeNode("/root/send/save/mstgrthlist");
- model.makeNode("/root/send/save/jobrolelist");
- model.makeNode("/root/send/save/grthgoallist");
- model.makeNode("/root/send/save/mainafcrlist");
- misfGridRowStatusChange(grd_mstgrth,"/root/main/list/jobrole" ,"/root/main/jobrole");
- grd_mstgrth.refresh();
-
- model.setValue("/root/send/save/mstgrthlist",grd_mstgrth.getUpdateData());
- model.setValue("/root/send/save/jobrolelist",grd_jobrole.getUpdateData());
- model.setValue("/root/send/save/grthgoallist",grd_grthgoal.getUpdateData());
- model.setValue("/root/send/save/mainafcrlist",grd_mainafcrlist.getUpdateData());
-
- submit("TXRPV01804");
- if (model.getValue(gvErrorMsgPath + "/type") != "error"){
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:1122px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.reload() ;
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:926px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (swt_select.selectedIndex == 0 ) {
- // if(model.getValue("/root/main/list/jobrole/mstgrthlist/cnfmyn") == "Y"){
- // messageBox("개인 확정이 되었으므로 수정","E001");
- // return;
- // }
- // if(model.getValue("/root/main/list/jobrole/mstgrthlist/deptchfcnfmyn") == "Y"){
- // messageBox("부서장 확정되었으므로 수정","E001");
- // return;
- // }
- }
- else {
- if(model.getValue("/root/main/list/jobrole/mstgrthlist/cnfmyn2") == "Y"){
- messageBox("개인 확정이 되었으므로 수정","E001");
- return;
- }
- if(model.getValue("/root/main/list/jobrole/mstgrthlist/deptchcnfmyn2") == "Y"){
- messageBox("부서장 확정되었으므로 수정","E001");
- return;
- }
- }
- if(!checkKeyColumn("grd_mstgrth","grd_grthgoal","grd_jobrole")) return;
-
- model.removenode("/root/send/save");
- model.makeNode("/root/send/save/mstgrthlist");
- model.makeNode("/root/send/save/jobrolelist");
- model.makeNode("/root/send/save/grthgoallist");
- model.makeNode("/root/send/save/emplafcrlist");
- model.makeNode("/root/send/save/mainafcrlist");
- misfGridRowStatusChange(grd_mstgrth,"/root/main/list/jobrole" ,"/root/main/jobrole");
- grd_mstgrth.refresh();
-
- model.setValue("/root/send/save/mstgrthlist",grd_mstgrth.getUpdateData());
- model.setValue("/root/send/save/jobrolelist",grd_jobrole.getUpdateData());
- model.setValue("/root/send/save/grthgoallist",grd_grthgoal.getUpdateData());
- model.setValue("/root/send/save/mainafcrlist",grd_mainafcrlist.getUpdateData());
-
- submit("TXRPV01804");
- if (model.getValue(gvErrorMsgPath + "/type") != "error"){
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn4_letter2" style="left:867px; top:2px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //model.setValue("/root/send/bizgoalskpi/workgbn","P");
- //submit("TRRPV05804");
-
- if(swt_select.selectedIndex=='0'){
- exeReportPreview("RPRPV01801", "XMLSTR", "/root/send/report");
- }else if(swt_select.selectedIndex=='1'){
- exeReportPreview("RPRPV01803", "XMLSTR", "/root/send/report");
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|