1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126 |
- <?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>업적평가2차평가</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <bizvaluscndpsn>
- <bizvaluscndpsnList/>
- </bizvaluscndpsn>
- <valubizscnd>
- <valubizscndlist/>
- <ckpilist/>
- </valubizscnd>
- <list>
- <scrfileinfo>
- <fileinfolist/>
- </scrfileinfo>
- </list>
- <smsdata>
- <bizabbr/>
- <replytelno/>
- <rsrvyn/>
- <rsrvdate/>
- <rsrvtime/>
- <msgcnts/>
- <closeflag/>
- <recvrlist>
- <chk/>
- <recvrnm/>
- <recvrtelno/>
- </recvrlist>
- </smsdata>
- <valuempllist/>
- </main>
- <send>
- <save>
- <bizvaluscndpsnList/>
- </save>
- <bizvaluscndpsn>
- <valuyy/>
- <emplno/>
- <emplnm/>
- <fstscndhfyyflag/>
- <valuclsdetlcd/>
- <valuclscd>01</valuclscd>
- <valumdlcd>001</valumdlcd>
- </bizvaluscndpsn>
- <valubizscnd>
- <valuyy/>
- <fstscndhfyyflag/>
- <valuclscd/>
- <valumdlcd/>
- <valuclsdetlcd/>
- <emplno/>
- <instcd/>
- <deptcd/>
- <inoutflag/>
- </valubizscnd>
- </send>
- <hidden/>
- <temp>
- <select/>
- <valupsncnts1/>
- <valupsncnts2/>
- <rtnresntemp/>
- </temp>
- <init>
- <bizvaluflag>
- <cdid>%</cdid>
- <cdnm>전체</cdnm>
- <cdid>002</cdid>
- <cdnm>공유지표(S-KPI)</cdnm>
- <cdid>004</cdid>
- <cdnm>기본업무지표(F-KPI)</cdnm>
- </bizvaluflag>
- <score>
- <indpscor/>
- <valuscor1/>
- <adjtscor/>
- </score>
- </init>
- <target/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- /* Grid 초기화 */
- misfGridInit(grd_bizvaluscndpsnList);
- misfGridInit(grd_bizvaluscndlist);
- misfGridInit(grd_ckpilist);
- /*
- Submit의 ref에 참조 될 Node들은 꼭 Instance에 생성 해야 함.
- Grid의 Mater, Detail관계 설정
- misfMsterDetailSet(관계설정할 Grid, Mater가 될 Grid, submit ID, 저장여부)
- */
- misfMsterDetailSet(grd_bizvaluscndpsnList, null, "TRRPV06401", "Y");
- misfMsterDetailSet(grd_bizvaluscndlist, grd_bizvaluscndpsnList, "TRRPV06402", "N");
- misfMsterDetailSet(grd_ckpilist, grd_bizvaluscndpsnList, "TRRPV06402", "N");
- if(instance1.selectNodes("/root/target/trgtemplno").length > 0)
- {
- model.setValue("/root/send/bizvaluscndpsn/valuyy", model.getValue("/root/target/valuyy"));
- model.setValue("/root/send/bizvaluscndpsn/emplno", model.getValue("/root/target/trgtemplno"));
- model.setValue("/root/send/bizvaluscndpsn/emplnm", model.getValue("/root/target/trgtemplnm"));
- }
- else
- {
- model.setValue("/root/send/bizvaluscndpsn/valuyy", getCurrentDate().substr(0, 4));
- model.setValue("/root/send/bizvaluscndpsn/emplno", getUserInfo("userid"));
- model.setValue("/root/send/bizvaluscndpsn/emplnm", getUserInfo("usernm"));
- }
- rpvfComboValuCdList(model.getValue(ipt_valuyy.attribute("ref")),"FSTSCNDHFYYFLAG,APRVFLAG","cmb_fstscndhfyyflag,grd_bizvaluscndpsnList.valupsncnfmflag");
- // 평가기간에 따른 권한 부여.
- // if(model.getValue("/root/temp/trgtflag") != "")
- // {
- // rpvfCheckDayFlag(getCurrentDate().toDate().getDateFormat("YYYY"), getUserInfo("userid"), model.getValue("/root/temp/trgtflag"), model.getValue("/root/temp/program"),"btn_resultprt,btn_valursltquery,btn_valuconfirm,btn_init,btn_save,btn_search,btn_return,btn_canclereturn,btn_confirm,btn_cancleconfirm");
- // }
- // else
- // {
- // rpvfCheckDayFlag(getCurrentDate().toDate().getDateFormat("YYYY"), getUserInfo("userid"), "02", "SMRPV06400", "btn_resultprt,btn_valursltquery,btn_valuconfirm,btn_init,btn_save,btn_search,btn_return,btn_canclereturn,btn_confirm,btn_cancleconfirm");
- // }
- model.setValue(cmb_valuclsdetlcd.attribute("ref"), "%");
-
- var instcd = getUserInfo("dutplceinstcd");
- var emplno = getUserInfo("userid");
- rpvfGetUserAuth(instcd, emplno);
- if(DUTY_VALU_YN =='Y')
- {
- ipt_valuemplno.disabled = false;
- ipt_valuemplnm.disabled = false;
- btn_emplno.disabled = false;
- btn_valuconfirmcancle.disabled = false;
- }
- else
- {
- ipt_valuemplno.disabled = true;
- ipt_valuemplnm.disabled = true;
- btn_emplno.disabled = true;
- btn_valuconfirmcancle.disabled = true;
- }
-
- model.toggle("case1");
- model.refresh();
- ]]>
- </script>
- <submission id="TRRPV06401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/bizvaluscndpsn" resultref="/root/main/bizvaluscndpsn"/>
- <submission id="TRRPV06402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/valubizscnd" resultref="/root/main/valubizscnd"/>
- <submission id="TXRPV06401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- <submission id="TRRPV99912" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/bizvaluscndpsn" resultref="/root/main/valuempllist"/>
- </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="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../mis/valuationmngtweb/js/RPV001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../com/shortmsgweb/js/ZMS001.js"/>
- <script type="javascript">
- <![CDATA[
- var gridrow = -1;
- var savekind = "A";
- // 문자메세지 전송.
- // * 수신자의 전화번호는 10자리를 넘어야만 전송이 가능하며, 발신자의 전화번호도 10자리를 넘어야만한다.
- //
- // fgrid_target : 수신자 리스트 데이터가 있는 그리드.
- // fphoneno : 발신자 전화번호 - "01010092456"
- // fmsg : 전송할 문자 내용 - "하고싶은말을 적으면 됩니다."
- // checkYN : 체크되었는 사용자만 전송할건지 전부 전송할건지 유무! - "Y" or "N" or ""
- function fSendMsg( fgrid_target,fphoneno, fmsg, checkYN)
- {
- /// 발신자 정보 설정.
- misfGridInit(grd_msg);
- var fPhone = '';
- var sPhone = '';
- var tPhone = '';
-
- tPhone = fphoneno.split("-");
- fphoneno = '';
-
- for(var r = 0; r < tPhone.length; r++ )
- {
- fphoneno += tPhone[r];
- }
-
- model.setValue("/root/main/smsdata/bizabbr", "mis"); // 그룹명, ex> mis, com, tis, his...등등...
- model.setValue("/root/main/smsdata/replytelno", fphoneno); // 발신자 전화번호
- model.setValue("/root/main/smsdata/rsrvyn", 0); // 예약전송 구분
- model.setValue("/root/main/smsdata/rsrvdate", getCurrentDate()); // 전송 날자
- model.setValue("/root/main/smsdata/rsrvtime", getCurrentTime().substr(0,4)); // 전송 시간
- model.setValue("/root/main/smsdata/msgcnts", fmsg); // 전송할 메세지
- model.setValue("/root/main/smsdata/closeflag", "Y"); // 메시지 전송 팝업화면을 바로 닫기위한 구분자.
-
-
-
- /// 수신자 정보설정.
- /// 아래에 있는 소스는 수신자의 리스트를 정리한다. 현제 DB에 전화번호가 010-2321-1231 이렇게 되어 있으므로 '-' 이것을 제외한 01023211231 로 변환.
- /// 그리드에 체크 유무에 따라 수신자 리스트에 추가를 하도록 되어있다.
- ///
- for(var i = fgrid_target.fixedRows; i < fgrid_target.rows; i++ )
- {
- // 체크된 사람만 보낼건지 전체를 보낼건지 구분.
- if(checkYN == "Y")
- {
- // 체크된사람 유무.
- if(fgrid_target.valueMatrix(i, fgrid_target.colRef("check")) == "Y")
- {
- if(fgrid_target.valueMatrix(i, fgrid_target.colRef("phone")) != '')
- {
- misfGridIUD(grd_msg, "A");
- fPhone = fgrid_target.valueMatrix(i, fgrid_target.colRef("phone")).split("-");
- sPhone = '';
- for(var p = 0; p < fPhone.length; p++ )
- {
- sPhone += fPhone[p];
- }
-
- grd_msg.valueMatrix(grd_msg.row, grd_msg.colRef("chk")) = 'Y'; // 여기서 Y의 의미는 문자메세지를 보낼때 팝업화면에서 전송받을 수신자의 선택유무다. 무조건 보내기 위해 Y 로 설정.
- grd_msg.valueMatrix(grd_msg.row, grd_msg.colRef("recvrnm")) = fgrid_target.valueMatrix(i, fgrid_target.colRef("emplnm")); // 수신자 이름 설정.
- grd_msg.valueMatrix(grd_msg.row, grd_msg.colRef("recvrtelno")) = sPhone; // 수신자 전화번호 설정.
- }
- }
- }else{
-
- if(fgrid_target.valueMatrix(i, fgrid_target.colRef("phone")) != '')
- {
- misfGridIUD(grd_msg, "A");
- fPhone = fgrid_target.valueMatrix(i, fgrid_target.colRef("phone")).split("-");
- sPhone = '';
- for(var p = 0; p < fPhone.length; p++ )
- {
- sPhone += fPhone[p];
- }
-
- grd_msg.valueMatrix(grd_msg.row, grd_msg.colRef("chk")) = 'Y'; // 여기서 Y의 의미는 문자메세지를 보낼때 팝업화면에서 전송받을 수신자의 선택유무다. 무조건 보내기 위해 Y 로 설정.
- grd_msg.valueMatrix(grd_msg.row, grd_msg.colRef("recvrnm")) = fgrid_target.valueMatrix(i, fgrid_target.colRef("emplnm")); // 수신자 이름 설정.
- grd_msg.valueMatrix(grd_msg.row, grd_msg.colRef("recvrtelno")) = sPhone; // 수신자 전화번호 설정.
- }
- }
- }
-
- // 메시지 전송창 화면 밖으로 이동(rpvfOpenSMS 사용하실때에는 꼭 closeflag 를 'Y' 로 설정 하시기 바랍니다. )
- rpvfOpenSMS("/root/main/smsdata");
-
- // 메시지 전송창 화면 중간으로 이동
- //zmsfOpenSMS("/root/main/smsdata");
- }
-
- function ftotalpoint()
- {
- ipt_indpscor.value = 0.0;
- ipt_valuscor1.value = 0.0;
- ipt_adjtscor.value = 0.0;
-
- var indpscor = 0.0;
- var valuscor1 = 0.0;
- var adjttot = 0.0;
- var minuspoint = 0.0;
- var totscor = 0.0;
- var wtnscor = 0.0;
- var totpoint = 0.0;
- var skpipoint = 0.0;
- var fkpipoint = 0.0;
- var ckpipoint = 0.0;
-
- for(var i = grd_bizvaluscndlist.fixedRows; i < grd_bizvaluscndlist.rows; i++)
- {
- indpscor += parseFloat(grd_bizvaluscndlist.valueMatrix(i, grd_bizvaluscndlist.colRef("ownvaluexchscor"))) *
- parseFloat(grd_bizvaluscndlist.valueMatrix(i, grd_bizvaluscndlist.colRef("wtnscornm"))) / 100.0;
- ;
- valuscor1 += parseFloat(grd_bizvaluscndlist.valueMatrix(i, grd_bizvaluscndlist.colRef("valupsnexchscor1"))) *
- parseFloat(grd_bizvaluscndlist.valueMatrix(i, grd_bizvaluscndlist.colRef("wtnscornm"))) / 100.0;
-
- // adjttot += parseFloat(grd_bizvaluscndlist.valueMatrix(i, grd_bizvaluscndlist.colRef("adjtscor"))) *
- // parseFloat(grd_bizvaluscndlist.valueMatrix(i, grd_bizvaluscndlist.colRef("wtnscornm"))) / 100.0;
-
- if (grd_bizvaluscndlist.valueMatrix(i, grd_bizvaluscndlist.colRef("valuclsdetlcd")) == "002" ) {
- skpipoint = parseFloat(grd_bizvaluscndlist.valueMatrix(i, grd_bizvaluscndlist.colRef("adjtscor"))) ;
- }
- else if (grd_bizvaluscndlist.valueMatrix(i, grd_bizvaluscndlist.colRef("valuclsdetlcd")) == "004" ) {
- fkpipoint = parseFloat(grd_bizvaluscndlist.valueMatrix(i, grd_bizvaluscndlist.colRef("adjtscor"))) ;
- }
-
- wtnscor += parseFloat(grd_bizvaluscndlist.valueMatrix(i, grd_bizvaluscndlist.colRef("wtnscornm")));
- }
-
- for (var k = grd_ckpilist.fixedRows; k < grd_ckpilist.rows; k++) {
- ckpipoint += parseFloat(grd_ckpilist.valueMatrix(k, grd_ckpilist.colRef("valuscornm"))) ;
- }
-
- var jobrespcd = grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("jobrespcd"));
- var inoutflag = grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("custinoutflag"));
- var orgimrsnappyn = grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("orgimrsnappyn"));
-
- // var jobrespcd = model.getValue( grd_bizvaluscndpsnList.attribute("nodeset") + "["+ (grd_bizvaluscndpsnList.row+1) +"]/jobrespcd");
- // var inoutflag = model.getValue(grd_bizvaluscndpsnList.attribute("nodeset") + "["+ (grd_bizvaluscndpsnList.row+1) +"]/custinoutflag");
- // var orgimrsnappyn = model.getValue(grd_bizvaluscndpsnList.attribute("nodeset") + "["+ (grd_bizvaluscndpsnList.row+1) +"]/orgimrsnappyn");
-
- if (jobrespcd == "1070" || jobrespcd == "1901" || jobrespcd == "2430"|| jobrespcd == "2010"|| jobrespcd == "1086") {
- if (inoutflag != "E" && orgimrsnappyn == "Y") {
- totpoint = 70.0;
- }
- else if (inoutflag != "E" && orgimrsnappyn != "Y") {
- totpoint = 80.0;
- }
- else if (inoutflag == "E" && orgimrsnappyn == "Y") {
- totpoint = 90.0;
- }
- else if (inoutflag == "E" && orgimrsnappyn != "Y") {
- totpoint = 100.0;
- }
- }
- else {
- if (inoutflag != "E" ) {
- totpoint = 90.0;
- }
- else if (inoutflag == "E" ) {
- totpoint = 100.0;
- }
- }
- indpscor = parseFloat(indpscor) * parseFloat(totpoint) / parseFloat(wtnscor);
- totscor = indpscor.toString();
- ipt_indpscor.value = totscor.getRound(-3, "DOWN");
-
- valuscor1 = parseFloat(valuscor1) * parseFloat(totpoint) / parseFloat(wtnscor);
- totscor = valuscor1.toString();
- ipt_valuscor1.value = totscor.getRound(-3, "DOWN");
-
- adjttot = parseFloat(skpipoint) + parseFloat(fkpipoint) + parseFloat(ckpipoint);;
- totscor = adjttot.toString();
- ipt_adjtscor.value = totscor.getRound(-3, "DOWN");
- }
- ]]>
- </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:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">업적평가2차평가</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0; top:10; width:1195; height:35px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !isRequiredControls("ipt_valuyy","ipt_valuemplno","cmb_fstscndhfyyflag") ) {
- return false;
- }
- submit("TRRPV99912");
- submit("TRRPV06401");
-
- //gridrow = -1;
- //misfMsterDetailRetrieve();
-
- model.setFocus("grd_bizvaluscndpsnList");
- if (gridrow == -1 || gridrow == grd_bizvaluscndpsnList.rows - grd_bizvaluscndpsnList.fixedRows + 1) {
- grd_bizvaluscndpsnList.row = grd_bizvaluscndpsnList.fixedRows;
- }
- else {
- grd_bizvaluscndpsnList.row = gridrow + 1;
-
- }
- grd_bizvaluscndpsnList.select(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("emplno")) = true;
- grd_bizvaluscndpsnList.dispatch("onclick");
-
- if (grd_bizvaluscndpsnList.rows - grd_bizvaluscndpsnList.fixedRows > 0 ) {
- if (grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.fixedRows, grd_bizvaluscndpsnList.colRef("lastcnfmyn")) == "Y" ) {
- btn_valuconfirm.disabled = true;
- }
- else {
- btn_valuconfirm.disabled = false;
- }
- }
-
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
- <datagrid id="grd_bizvaluscndpsnList" nodeset="/root/main/bizvaluscndpsn/bizvaluscndpsnList" autoresize="true" caption="선택^부서^직책^사원번호^성명^1차평가자^승인구분^상태^기관^평가년도^상하반기구분^평가자사원번호^부서코드^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8|^부서^직책^사원번호^성명^1차평가자^승인구분^상태^기관^평가년도^상하반기구분^평가자사원번호^부서코드^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8" colsep="^" colwidth="32, 74, 51, 61, 57, 66, 72, 64, 33, 35, 30, 36, 30, 26, 32, 27, 34, 31, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:75px; width:515px; height:470px; ">
- <col checkvalue="Y,N" ref="selyn" type="checkbox"/>
- <col ref="deptnm"/>
- <col ref="jobrespnm"/>
- <col ref="emplno"/>
- <col ref="emplnm"/>
- <col ref="valuemplnm"/>
- <col disabled="true" ref="valupsncnfmflag" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="preststat"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="valuyy" visibility="hidden"/>
- <col ref="fstscndhfyyflag" visibility="hidden"/>
- <col ref="valuemplno" visibility="hidden"/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="valuclscd" visibility="hidden"/>
- <col ref="valumdlcd" visibility="hidden"/>
- <col ref="valuclsdetlcd" visibility="hidden"/>
- <col ref="valupsncnts2" visibility="hidden"/>
- <col ref="inoutflag" visibility="hidden"/>
- <col ref="procstat" visibility="hidden"/>
- <col ref="valupsncnfmyn1" visibility="hidden"/>
- <col ref="phone" visibility="hidden"/>
- <col ref="email" visibility="hidden"/>
- <col ref="ownvalucnfmyn" visibility="hidden"/>
- <col ref="lastcnfmyn" visibility="hidden"/>
- <col ref="jobrespcd" visibility="hidden"/>
- <col ref="custinoutflag" visibility="hidden"/>
- <col ref="orgimrsnappyn" visibility="hidden"/>
- <col ref="valupsncnts1" visibility="hidden"/>
- <col ref="valuemplno2" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (grd_bizvaluscndpsnList.rows - grd_bizvaluscndpsnList.fixedRows <= 0) return;
-
- if (gridrow != grd_bizvaluscndpsnList.row) {
-
- model.setValue("/root/send/valubizscnd/valuyy", grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("valuyy")));
- model.setValue("/root/send/valubizscnd/fstscndhfyyflag", grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("fstscndhfyyflag")));
- model.setValue("/root/send/valubizscnd/valuclscd", grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("valuclscd")));
- model.setValue("/root/send/valubizscnd/valumdlcd", grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("valumdlcd")));
- model.setValue("/root/send/valubizscnd/valuclsdetlcd", grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("valuclsdetlcd")));
- model.setValue("/root/send/valubizscnd/emplno", grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("emplno")));
- model.setValue("/root/send/valubizscnd/instcd", grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("instcd")));
- model.setValue("/root/send/valubizscnd/deptcd", grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("deptcd")));
- model.setValue("/root/send/valubizscnd/inoutflag", grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("custinoutflag")));
- submit("TRRPV06402");
-
- //misfMsterDetailRetrieve();
-
-
-
- txt_valupsncnts1.value = grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("valupsncnts1"));
- txt_valupsncnts2.value = grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("valupsncnts2"));
- model.setValue("/root/temp/rtnresntemp", txt_valupsncnts2.value);
-
- //if (grd_bizvaluscndlist.rows - grd_bizvaluscndlist.fixedRows > 0) {
- // txt_valupsncnts1.value = grd_bizvaluscndlist.valueMatrix(grd_bizvaluscndlist.rows - grd_bizvaluscndlist.fixedRows, grd_bizvaluscndlist.colRef("valupsncnts1"));
- // txt_valupsncnts2.value = grd_bizvaluscndlist.valueMatrix(grd_bizvaluscndlist.rows - grd_bizvaluscndlist.fixedRows, grd_bizvaluscndlist.colRef("valupsncnts2"));
- // model.setValue("/root/temp/rtnresntemp", txt_valupsncnts2.value);
-
- // if (grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("valupsncnfmflag")) == "R") {
- // btn_valupsnrtnreqresn2.disabled = "false"
- // }
- // else {
- // btn_valupsnrtnreqresn2.disabled = "true"
- // }
-
-
- //}
-
- var valupsncnfmyn1 = grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("valupsncnfmyn1"));
- var ownvalucnfmyn = grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("ownvalucnfmyn"));
- var lastcnfmyn = grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("lastcnfmyn"));
-
- if ( ownvalucnfmyn == "Y") {
- grd_bizvaluscndlist.colhidden(grd_bizvaluscndlist.colRef("ownvaluscornm")) = false;
- }
- else {
- grd_bizvaluscndlist.colhidden(grd_bizvaluscndlist.colRef("ownvaluscornm")) = true;
- }
-
- if ( valupsncnfmyn1 == "Y") {
- grd_bizvaluscndlist.colhidden(grd_bizvaluscndlist.colRef("valupsnscor1nm")) = false;
- }
- else {
- grd_bizvaluscndlist.colhidden(grd_bizvaluscndlist.colRef("valupsnscor1nm")) = true;
- }
-
- if (lastcnfmyn == "Y") {
- btn_return.disabled = true;
- btn_canclereturn.disabled = true;
- btn_confirm.disabled = true;
- btn_cancleconfirm.disabled = true;
-
- }
- else {
- btn_return.disabled = false;
- btn_canclereturn.disabled = false;
- btn_confirm.disabled = false;
- btn_cancleconfirm.disabled = false;
- }
-
- for (var i = grd_bizvaluscndlist.fixedRows; i < grd_bizvaluscndlist.rows; i++ )
- {
- if ( grd_bizvaluscndlist.valueMatrix(i, grd_bizvaluscndlist.colRef("filecnt")) > 0 )
- {
- grd_bizvaluscndlist.cellstyle("background-color", i, grd_bizvaluscndlist.colRef("achvmntrslt")) = "#ffff99";
- }
- else
- {
- grd_bizvaluscndlist.cellstyle("background-color", i, grd_bizvaluscndlist.colRef("achvmntrslt")) = "transparent";
- }
- }
-
- ftotalpoint();
-
- model.refresh();
-
- gridrow = grd_bizvaluscndpsnList.row;
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption4" class="tit_2" style="left:5px; top:54px; width:206px; height:14px; vertical-align:middle; ">피평가자 List</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:69px; x2:515px; y2:69px; "/>
- <input id="ipt_valuyy" ref="/root/send/bizvaluscndpsn/valuyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:105px; top:17px; width:80px; height:19px; "/>
- <caption id="cap_ipt_valuyy" class="search_name" style="left:15px; top:18px; width:90px; height:17px; vertical-align:middle; ">평가년도 :</caption>
- <input id="ipt_valuemplno" ref="/root/send/bizvaluscndpsn/emplno" class="input_search" style="left:313px; top:17px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNO", "emplno,emplnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_emplno" class="icon_search" style="left:396px; top:17px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rpbfOpenPopUpList("SPRPB00101", ipt_valuemplno, "emplno,emplnm", "", "N", "N","emplno,emplnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_valuemplno" class="search_name" style="left:218px; top:18px; width:94px; height:17px; font-weight:bold; ">평가자사번:</caption>
- <input id="ipt_valuemplnm" ref="/root/send/bizvaluscndpsn/emplnm" class="input_search" style="left:415px; top:17px; width:135px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNM", "emplno,emplnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption3" class="tit_2" style="left:520px; top:155px; width:230px; height:13px; vertical-align:middle; ">업무지표 List</caption>
- <button id="btn_return" class="btn5_letter2" style="left:295px; top:49px; width:42px; height:19px; ">
- <caption>반려</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var i = grd_bizvaluscndpsnList.fixedRows; i <= grd_bizvaluscndpsnList.rows; i++) {
-
-
-
- if (grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("selyn")) == "Y" ) {
- var emplnm = grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("emplnm"));
- var valupsncnfmyn1 = grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("valupsncnfmyn1"));
-
- if (valupsncnfmyn1 != "Y") {
- messageBox("[" + emplnm + "]는 업적1차 평가가 완료가 되지 않아서 반려 할 수 없습니다. ", "I999");
- return;
- }
-
- grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("valupsncnfmyn1")) = "N";
- grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("procstat")) = "03";
- grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("valupsncnfmflag")) = "R";
- }
- }
-
- savekind = "B";
- btn_save.dispatch("DOMActivate");
- // if (grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("valupsncnfmflag")) == "R" ) {
- // btn_valupsnrtnreqresn2.disabled = "false"
- // }
- // else {
- // btn_valupsnrtnreqresn2.disabled = "true"
- // model.toggle("case1");
- //
- // btn_valupsnrtnreqresn2.selected = "false";
- // btn_valupsncnts1.selected = "true";
- // }
-
- //사용자 정보 조회.(조회자의 전화번호 가져오기.)
- //rpvfGetUserInfo( ipt_valuemplno.value, getUserInfo("dutplceinstcd") );
- // 수신자 리스트 그리드id ,발신자 폰번호, 발신할 문자메세지
- //fSendMsg( grd_bizvaluscndpsnList, model.getValue("/root/init/info/userinfo/phone"), "업적평가2차평가 반려 되었습니다.", "Y");
-
-
- // Email 그리고 Sms 전송
- // 보내는 사람의 Email 주소가 없을경우 Sms를 전송하도록...Email 주소, Sms 전화번호가 없을경우 경고 메세지 발생.
- // fGrid : Email 주소나 휴대전화번호가 있는 그리드 id.
- // fCmt : 전체적으로 보낼 전송메세지.
- // fEmailTitle : 이메일 전송시의 제목.
- // fCheckYN : 선택된 사람만 전송할지 유무.
- // fEmplno : 발신자의 정보 호출을 위한 발신자 사원번호.
- // fInstcd : 발신자의 정보 호출을 위한 발신자 기관코드.
-
-
- rpvfCheckEmailAndSms( grd_bizvaluscndpsnList, "[업적평가2차평] 반려 되었습니다.", "업적평가 2차 평가 통보",
- 'Y',ipt_valuemplno.value, '', 'selyn',"email","valuemplnm","phone");
- btn_search.dispatch("DOMActivate");
- savekind = "A";
- ]]>
- </script>
- </button>
- <line id="line3" class="line_1" style="x1:520px; y1:170px; x2:1190px; y2:170px; "/>
- <datagrid id="grd_bizvaluscndlist" nodeset="/root/main/valubizscnd/valubizscndlist" autoresize="true" caption="구분^업무구분^평가지표^가중치^목표수준^측정방법^달성성과^본인평가점수^1차평가자점수^평가년도^사원번호^상하반기구분^평가분류코드^평가중분류코드^공유기본구분^평가자의견1^2차평가자반려사유^2차평가자승인구분^1차평가자반려요청사유^평가분류세부코드^지표코드^caption1^caption2^caption3^평가자의견2|구분^업무구분^평가지표^가중치^목표수준^측정방법^달성성과^본인평가점수^1차평가자점수^평가년도^사원번호^상하반기구분^평가분류코드^평가중분류코드^공유기본구분^평가자의견1^2차평가자반려사유^2차평가자승인구분^1차평가자반려요청사유^평가분류세부코드^지표코드^caption1^caption2^caption3^평가자의견2" colsep="^" colwidth="54, 100, 101, 46, 80, 83, 81, 43, 47, 29, 35, 43, 48, 28, 27, 34, 35, 43, 35, 34, 33, 27, 25, 22, 100, 100, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:520px; top:175px; width:670px; height:370px; ">
- <col ref="valuclsdetlnm"/>
- <col ref="idxcdnm"/>
- <col ref="rsltidx"/>
- <col ref="wtnscornm" type="output">
- <![CDATA[//]]>
- </col>
- <col ref="goallevl"/>
- <col ref="inspmthd"/>
- <col ref="achvmntrslt" type="inputbutton"/>
- <col ref="ownvaluscornm" type="output"/>
- <col ref="valupsnscor1nm" type="output"/>
- <col ref="valuyy" visibility="hidden"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="fstscndhfyyflag" visibility="hidden"/>
- <col ref="valuclscd" visibility="hidden"/>
- <col ref="valumdlcd" visibility="hidden"/>
- <col ref="publbaseflag" visibility="hidden"/>
- <col ref="valupsncnts1" visibility="hidden"/>
- <col ref="valupsnrtnresn2" visibility="hidden"/>
- <col ref="valupsncnfmflag2" visibility="hidden"/>
- <col ref="valupsnrtnreqresn1" visibility="hidden"/>
- <col ref="valuclsdetlcd" visibility="hidden"/>
- <col ref="idxcd" visibility="hidden"/>
- <col ref="wtnscor" visibility="hidden"/>
- <col ref="ownvaluscor" visibility="hidden"/>
- <col ref="valupsnscor1" visibility="hidden"/>
- <col ref="valupsncnts2" visibility="hidden"/>
- <col ref="ownvaluexchscor" visibility="hidden" format="#,###.00"/>
- <col ref="valupsnexchscor1" visibility="hidden" format="#,###.00"/>
- <col ref="adjtscor" type="output" visibility="hidden" format="#,###.00" maxlength="5.2"/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="filecnt" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_bizvaluscndlist.col != grd_bizvaluscndlist.colRef("achvmntrslt")) return;
- var valuyy = grd_bizvaluscndlist.valueMatrix(grd_bizvaluscndlist.row, grd_bizvaluscndlist.colRef("valuyy"));
- var emplno = grd_bizvaluscndlist.valueMatrix(grd_bizvaluscndlist.row, grd_bizvaluscndlist.colRef("emplno"));
- var fstscndhfyyflag = grd_bizvaluscndlist.valueMatrix(grd_bizvaluscndlist.row,grd_bizvaluscndlist.colRef("fstscndhfyyflag"));
- var valuclscd = grd_bizvaluscndlist.valueMatrix(grd_bizvaluscndlist.row, grd_bizvaluscndlist.colRef("valuclscd"));
- var valumdlcd = grd_bizvaluscndlist.valueMatrix(grd_bizvaluscndlist.row, grd_bizvaluscndlist.colRef("valumdlcd"));
- var valuclsdetlcd = grd_bizvaluscndlist.valueMatrix(grd_bizvaluscndlist.row, grd_bizvaluscndlist.colRef("valuclsdetlcd"));
- var deptcd = grd_bizvaluscndlist.valueMatrix(grd_bizvaluscndlist.row, grd_bizvaluscndlist.colRef("deptcd"));
- var publbaseflag = grd_bizvaluscndlist.valueMatrix(grd_bizvaluscndlist.row, grd_bizvaluscndlist.colRef("publbaseflag"));
- var idxcd = grd_bizvaluscndlist.valueMatrix(grd_bizvaluscndlist.row, grd_bizvaluscndlist.colRef("idxcd"));
-
- misfGridInit(grd_fileinfo);
- misfGridIUD(grd_fileinfo, "A");
- model.setValue(grd_fileinfo.nodeset + "[" + (grd_fileinfo.fixedRows)+ "]/valuyy", valuyy);
- model.setValue(grd_fileinfo.nodeset + "[" + (grd_fileinfo.fixedRows)+ "]/emplno", emplno);
- model.setValue(grd_fileinfo.nodeset + "[" + (grd_fileinfo.fixedRows)+ "]/fstscndhfyyflag", fstscndhfyyflag);
- model.setValue(grd_fileinfo.nodeset + "[" + (grd_fileinfo.fixedRows)+ "]/valuclscd", valuclscd);
- model.setValue(grd_fileinfo.nodeset + "[" + (grd_fileinfo.fixedRows)+ "]/valumdlcd", valumdlcd);
- model.setValue(grd_fileinfo.nodeset + "[" + (grd_fileinfo.fixedRows)+ "]/valuclsdetlcd", valuclsdetlcd);
- model.setValue(grd_fileinfo.nodeset + "[" + (grd_fileinfo.fixedRows)+ "]/tableflag", "2");
- model.setValue(grd_fileinfo.nodeset + "[" + (grd_fileinfo.fixedRows)+ "]/deptcd", deptcd);
- model.setValue(grd_fileinfo.nodeset + "[" + (grd_fileinfo.fixedRows)+ "]/publbaseflag", publbaseflag);
- model.setValue(grd_fileinfo.nodeset + "[" + (grd_fileinfo.fixedRows)+ "]/idxcd", idxcd);
- grd_fileinfo.refresh();
-
- rpvfOpenPopUpList("28",grd_fileinfo,"","emplno","valuyy,emplno,fstscndhfyyflag,valuclscd,valumdlcd,valuclsdetlcd,tableflag,deptcd,publbaseflag,idxcd",
- "valuyy,emplno,fstscndhfyyflag,valuclscd,valumdlcd,valuclsdetlcd,tableflag,deptcd,publbaseflag,idxcd","");
-
- //rpvfOpenPopUpList("28",grd_fileinfo,"","emplno","valuyy,emplno,fstscndhfyyflag,valuclscd,valumdlcd,valuclsdetlcd,tableflag","valuyy,emplno,fstscndhfyyflag,valuclscd,valumdlcd,valuclsdetlcd,tableflag","");
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_fstscndhfyyflag" ref="/root/send/bizvaluscndpsn/fstscndhfyyflag" class="combo_s_essential" appearance="minimal" style="left:657px; top:17px; width:110px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_fstscndhfyyflag" class="search_name" style="left:575px; top:18px; width:81px; height:17px; vertical-align:middle; ">상하반기:</caption>
- <select1 id="cmb_valuclsdetlcd" ref="/root/send/bizvaluscndpsn/valuclsdetlcd" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:857px; top:17px; width:183px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/bizvaluflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_valuclsdetlcd" class="search_name" visibility="hidden" style="left:800px; top:18px; width:56px; height:17px; vertical-align:middle; ">구분:</caption>
- <button id="btn_confirm" class="btn5_letter2" style="left:405px; top:49px; width:42px; height:19px; ">
- <caption>승인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var i = grd_bizvaluscndpsnList.fixedRows; i <= grd_bizvaluscndpsnList.rows; i++) {
- if (grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("selyn")) == "Y" ) {
-
- var emplnm = grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("emplnm"));
- var valupsncnfmyn1 = grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("valupsncnfmyn1"));
-
- if (valupsncnfmyn1 != "Y") {
- messageBox("[" + emplnm + "]는 업적1차 평가 완료가 되지 않아서 승인 할 수 없습니다. ", "I999");
- return;
- }
-
- var valupsncnfmflag = grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("valupsncnfmflag"));
-
- if (valupsncnfmflag == "R") {
- messageBox("[" + emplnm + "]는 반려 상태이므로 승인 할 수 없습니다. ", "I999");
- return;
- }
-
- grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("valupsncnfmflag")) = "A";
- }
- }
-
- savekind = "B";
- btn_save.dispatch("DOMActivate");
- // if (grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("valupsncnfmflag")) == "R" ) {
- // btn_valupsnrtnreqresn2.disabled = "false"
- // }
- // else {
- // btn_valupsnrtnreqresn2.disabled = "true"
- // model.toggle("case1");
- //
- // btn_valupsnrtnreqresn2.selected = "false";
- // btn_valupsncnts1.selected = "true";
- // }
-
- //사용자 정보 조회.(조회자의 전화번호 가져오기.)
- //rpvfGetUserInfo( ipt_valuemplno.value, getUserInfo("dutplceinstcd") );
- // 수신자 리스트 그리드id ,발신자 폰번호, 발신할 문자메세지
- //fSendMsg( grd_bizvaluscndpsnList, model.getValue("/root/init/info/userinfo/phone"), "업적평가2차평가 승인 되었습니다.", "Y");
-
- // Email 그리고 Sms 전송
- // 보내는 사람의 Email 주소가 없을경우 Sms를 전송하도록...Email 주소, Sms 전화번호가 없을경우 경고 메세지 발생.
- // fGrid : Email 주소나 휴대전화번호가 있는 그리드 id.
- // fCmt : 전체적으로 보낼 전송메세지.
- // fEmailTitle : 이메일 전송시의 제목.
- // fCheckYN : 선택된 사람만 전송할지 유무.
- // fEmplno : 발신자의 정보 호출을 위한 발신자 사원번호.
- // fInstcd : 발신자의 정보 호출을 위한 발신자 기관코드.
-
- rpvfCheckEmailAndSms( grd_bizvaluscndpsnList, "[업적평가2차평] 승인 되었습니다.", "업적평가 2차 평가 통보",
- 'Y',ipt_valuemplno.value, '', 'selyn',"email","valuemplnm","phone");
- btn_search.dispatch("DOMActivate");
- savekind = "A";
-
- ]]>
- </script>
- </button>
- <bool id="bol_selyn" checkvalue="Y" ref="/root/temp/select" style="left:27px; top:100px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- for(var i = grd_bizvaluscndpsnList.fixedRows; i <= grd_bizvaluscndpsnList.rows; i++) {
- grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("selyn")) = "Y";
- grd_bizvaluscndpsnList.rowStatus(i) = 2;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- for(var i = grd_bizvaluscndpsnList.fixedRows; i <= grd_bizvaluscndpsnList.rows; i++) {
- grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("selyn")) = "N";
- grd_bizvaluscndpsnList.rowStatus(i) = 2;
- }
- ]]>
- </script>
- </bool>
- <button id="btn_cancleconfirm" class="btn5_letter4" style="left:449px; top:49px; width:64px; height:19px; ">
- <caption>승인취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var i = grd_bizvaluscndpsnList.fixedRows; i <= grd_bizvaluscndpsnList.rows; i++) {
- if (grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("selyn")) == "Y" ) {
-
- var emplnm = grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("emplnm"));
- var valupsncnfmyn1 = grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("valupsncnfmyn1"));
-
- var valupsncnfmflag = grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("valupsncnfmflag"));
-
- if (valupsncnfmflag != "A") {
- messageBox("[" + emplnm + "]는 승인상태가 아니므로 승인 취소 할 수 없습니다. ", "I999");
- return;
- }
-
-
- if (valupsncnfmyn1 != "Y") {
- messageBox("[" + emplnm + "]는 업적1차 평가 완료가 되지 않아서 승인 취소 할 수 없습니다. ", "I999");
- return;
- }
-
-
-
- grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("valupsncnfmflag")) = "B";
- }
- }
-
- savekind = "B";
- btn_save.dispatch("DOMActivate");
- // if (grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("valupsncnfmflag")) == "R" ) {
- // btn_valupsnrtnreqresn2.disabled = "false"
- // }
- // else {
- // btn_valupsnrtnreqresn2.disabled = "true"
- // model.toggle("case1");
- //
- // btn_valupsnrtnreqresn2.selected = "false";
- // btn_valupsncnts1.selected = "true";
- // }
-
-
- //사용자 정보 조회.(조회자의 전화번호 가져오기.)
- //rpvfGetUserInfo( ipt_valuemplno.value, getUserInfo("dutplceinstcd") );
- // 수신자 리스트 그리드id ,발신자 폰번호, 발신할 문자메세지
- //fSendMsg( grd_bizvaluscndpsnList, model.getValue("/root/init/info/userinfo/phone"), "업적평가2차평가 승인취소 되었습니다.", "Y");
-
- // Email 그리고 Sms 전송
- // 보내는 사람의 Email 주소가 없을경우 Sms를 전송하도록...Email 주소, Sms 전화번호가 없을경우 경고 메세지 발생.
- // fGrid : Email 주소나 휴대전화번호가 있는 그리드 id.
- // fCmt : 전체적으로 보낼 전송메세지.
- // fEmailTitle : 이메일 전송시의 제목.
- // fCheckYN : 선택된 사람만 전송할지 유무.
- // fEmplno : 발신자의 정보 호출을 위한 발신자 사원번호.
- // fInstcd : 발신자의 정보 호출을 위한 발신자 기관코드.
-
- rpvfCheckEmailAndSms( grd_bizvaluscndpsnList, "[업적평가2차평] 승인취소 되었습니다.", "업적평가 2차 평가 통보",
- 'Y',ipt_valuemplno.value, '', 'selyn',"email","valuemplnm","phone");
- btn_search.dispatch("DOMActivate");
- savekind = "A";
-
- ]]>
- </script>
- </button>
- <button id="btn_canclereturn" class="btn5_letter4" style="left:339px; top:49px; width:64px; height:19px; ">
- <caption>반려취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var i = grd_bizvaluscndpsnList.fixedRows; i <= grd_bizvaluscndpsnList.rows; i++) {
- if (grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("selyn")) == "Y" ) {
-
- var emplnm = grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("emplnm"));
- var valupsncnfmflag = grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("valupsncnfmflag"));
-
- if (valupsncnfmflag != "R") {
- messageBox("[" + emplnm + "]는 반려 되지않아서 반려 취소를 할 수 없습니다. ", "I999");
- return;
- }
-
- grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("valupsncnfmyn1")) = "Y";
- grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("procstat")) = "04";
- grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("valupsncnfmflag")) = "B";
- }
- }
-
- savekind = "B";
- btn_save.dispatch("DOMActivate");
-
- // if (grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("valupsncnfmflag")) == "R" ) {
- // btn_valupsnrtnreqresn2.disabled = "false"
- // }
- // else {
- // btn_valupsnrtnreqresn2.disabled = "true"
- // model.toggle("case1");
- //
- // btn_valupsnrtnreqresn2.selected = "false";
- // btn_valupsncnts1.selected = "true";
- // }
-
- //사용자 정보 조회.(조회자의 전화번호 가져오기.)
- //rpvfGetUserInfo( ipt_valuemplno.value, getUserInfo("dutplceinstcd") );
- // 수신자 리스트 그리드id ,발신자 폰번호, 발신할 문자메세지
- //fSendMsg( grd_bizvaluscndpsnList, model.getValue("/root/init/info/userinfo/phone"), "업적평가2차평가 반려취소 되었습니다.", "Y");
-
- // Email 그리고 Sms 전송
- // 보내는 사람의 Email 주소가 없을경우 Sms를 전송하도록...Email 주소, Sms 전화번호가 없을경우 경고 메세지 발생.
- // fGrid : Email 주소나 휴대전화번호가 있는 그리드 id.
- // fCmt : 전체적으로 보낼 전송메세지.
- // fEmailTitle : 이메일 전송시의 제목.
- // fCheckYN : 선택된 사람만 전송할지 유무.
- // fEmplno : 발신자의 정보 호출을 위한 발신자 사원번호.
- // fInstcd : 발신자의 정보 호출을 위한 발신자 기관코드.
-
- rpvfCheckEmailAndSms( grd_bizvaluscndpsnList, "[업적평가2차평] 반려취소 되었습니다.", "업적평가 2차 평가 통보",
- 'Y',ipt_valuemplno.value, '', 'selyn',"email","valuemplnm","phone");
- btn_search.dispatch("DOMActivate");
- savekind = "A";
-
- ]]>
- </script>
- </button>
- <button id="btn_valupsnrtnreqresn2" class="btn_sw" group="tab" style="left:127px; top:550px; width:123px; height:22px; ">
- <caption>2차평가의견</caption>
- <toggle case="case2" ev:event="onclick"/>
- </button>
- <button id="btn_valupsncnts1" class="btn_sw" group="tab" selected="true" style="left:0px; top:550px; width:123px; height:22px; ">
- <caption>1차평가의견</caption>
- <toggle case="case1" ev:event="onclick"/>
- </button>
- <switch id="switch1" style="left:2px; top:570px; width:1190px; height:170px; ">
- <case id="case1" selected="true" style="left:0px; top:0px; width:1188px; height:168px; ">
- <textarea id="txt_valupsncnts1" ref="/root/temp/valupsncnts1" editable="false" maxbyte="1800" style="left:0px; top:25px; width:1186px; height:140px; "/>
- <caption id="caption16" class="tit_2" style="left:0px; top:4px; width:230px; height:14px; vertical-align:middle; ">1차평가의견</caption>
- <line id="line5" class="line_1" style="x1:0px; y1:20px; x2:1186px; y2:20px; "/>
- </case>
- <case id="case2">
- <textarea id="txt_valupsncnts2" ref="/root/temp/valupsncnts2" maxbyte="1800" style="left:0px; top:25px; width:1186px; height:140px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
-
- if (model.getValue("/root/temp/rtnresntemp") != txt_valupsncnts2.value) {
- grd_bizvaluscndpsnList.valueMatrix(grd_bizvaluscndpsnList.row, grd_bizvaluscndpsnList.colRef("valupsncnts2")) = txt_valupsncnts2.value;
- grd_bizvaluscndpsnList.rowStatus(grd_bizvaluscndpsnList.row) = "2";
- }
-
- ]]>
- </script>
- </textarea>
- <caption id="caption18" class="tit_2" style="left:0px; top:4px; width:230px; height:14px; vertical-align:middle; ">2차평가의견</caption>
- <line id="line7" class="line_1" style="x1:0px; y1:20px; x2:1186px; y2:20px; "/>
- </case>
- </switch>
- <datagrid id="grd_fileinfo" nodeset="/root/main/list/scrfileinfo/fileinfolist" visibility="hidden" caption="valuyy^instcd^deptcd^emplno^goalflag" colsep="^" colwidth="195, 836, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:620px; top:275px; width:310px; height:155px; ">
- <col ref="valuyy"/>
- <col ref="emplno"/>
- <col ref="fstscndhfyyflag"/>
- <col ref="valuclscd"/>
- <col ref="valumdlcd"/>
- <col ref="valuclsdetlcd"/>
- <col ref="publbaseflag"/>
- <col ref="idxcd"/>
- <col ref="tableflag"/>
- <col ref="deptcd" visibility="hidden"/>
- </datagrid>
- <line id="line9" class="line_1" style="x1:520px; y1:69px; x2:1190px; y2:69px; "/>
- <datagrid id="grd_ckpilist" nodeset="/root/main/valubizscnd/ckpilist" caption="구분^가중치^평가점수" colsep="^" colwidth="55, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:520px; top:75px; width:670px; height:70px; ">
- <col ref="idxsfflagnm"/>
- <col ref="wtnscornm"/>
- <col ref="valuscornm"/>
- </datagrid>
- <caption id="caption2" class="tit_2" style="left:520px; top:54px; width:295px; height:13px; vertical-align:middle; ">전사지표 List</caption>
- <input id="ipt_indpscor" ref="/root/init/score/indpscor" class="input_essential" disabled="true" format="#,###.##" style="left:708px; top:548px; width:97px; height:19px; text-align:right; "/>
- <caption id="cap_total" class="cell_1" style="left:640px; top:546px; width:65px; height:23px; vertical-align:middle; ">본인평가</caption>
- <input id="ipt_adjtscor" ref="/root/init/score/adjtscor" class="input_essential" disabled="true" format="#,###.##" style="left:1088px; top:548px; width:97px; height:19px; text-align:right; "/>
- <caption id="caption14" class="cell_1" style="left:830px; top:546px; width:65px; height:23px; vertical-align:middle; ">1차평가</caption>
- <caption id="caption15" class="cell_1" style="left:1020px; top:546px; width:65px; height:23px; vertical-align:middle; ">조정점수</caption>
- <input id="ipt_valuscor1" ref="/root/init/score/valuscor1" class="input_essential" disabled="true" format="#,###.##" style="left:898px; top:548px; width:97px; height:19px; text-align:right; "/>
- <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; ">
- <col ref="chk"/>
- <col ref="recvrnm"/>
- <col ref="recvrtelno"/>
- </datagrid>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <line id="line6" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
- <button id="btn_init" class="btn4_letter3" style="left:1063px; 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:1134px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSave("TXRPV06401");
-
- if (savekind == "A") {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <button id="btn_valuconfirm" class="btn4_letter4" style="left:980px; top:3px; width:80px; height:22px; ">
- <caption>평가완료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- for(var i = grd_bizvaluscndpsnList.fixedRows; i < grd_bizvaluscndpsnList.rows; i++) {
- //if (grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("selyn")) == "Y" ) {
-
- var emplnm = grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("emplnm"));
- var valupsncnfmyn1 = grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("valupsncnfmyn1"));
-
- if (valupsncnfmyn1 != "Y") {
- messageBox("[" + emplnm + "]는 업적1차 평가 완료가 되지 않아서 2차 평가 완료를 할 수 없습니다. ", "I999");
- return;
- }
-
- var valupsncnfmflag = grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("valupsncnfmflag"));
-
- if (valupsncnfmflag != "A") {
- messageBox("[" + emplnm + "]는 승인 상태가 아니므로 2차 평가 완료를 할 수 없습니다. ", "I999");
- return;
- }
-
- grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("lastcnfmyn")) = "Y";
- grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("procstat")) = "05";
- grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("selyn")) = "Y";
- grd_bizvaluscndpsnList.addStatus(i, "update");
- //}
- }
-
- btn_save.dispatch("DOMActivate");
-
- // 수신자 리스트 그리드id ,발신자 폰번호, 발신할 문자메세지
- //fSendMsg( grd_bizvaluscndpsnList, model.getValue("/root/init/info/userinfo/phone"), "업적평가2차평가 평가완료 되었습니다.");
-
-
- // Email 그리고 Sms 전송
- // 보내는 사람의 Email 주소가 없을경우 Sms를 전송하도록...Email 주소, Sms 전화번호가 없을경우 경고 메세지 발생.
- // fGrid : Email 주소나 휴대전화번호가 있는 그리드 id.
- // fCmt : 전체적으로 보낼 전송메세지.
- // fEmailTitle : 이메일 전송시의 제목.
- // fCheckYN : 선택된 사람만 전송할지 유무.
- // fEmplno : 발신자의 정보 호출을 위한 발신자 사원번호..
- // fInstcd : 발신자의 정보 호출을 위한 발신자 기관코드..
- //rpvfCheckEmailAndSms( grd_bizvaluscndpsnList, "[업적평가2차평] 평가완료 되었습니다.", "업적평가 2차 평가 통보", 'N',ipt_valuemplno.value);
-
- ]]>
- </script>
- </button>
- <button id="btn_valursltquery" class="btn4_letter6" visibility="visible" style="left:752px; top:3px; width:104px; height:22px; ">
- <caption>평가결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/temp/source");
- model.makeNode("/root/temp/source");
- model.makeValue("/root/temp/source/valuyy", model.getValue("/root/send/bizvaluscndpsn/valuyy"));
- model.makeValue("/root/temp/source/trgtemplno", model.getValue("/root/send/bizvaluscndpsn/emplno"));
- model.makeValue("/root/temp/source/trgtemplnm", model.getValue("/root/send/bizvaluscndpsn/emplnm"));
- model.makeValue("/root/temp/source/fstscndhfyyflag", model.getValue("/root/send/bizvaluscndpsn/fstscndhfyyflag"));
-
- model.makeValue("/root/temp/source/instcd", model.getValue("/root/main/valuempllist/dutinst"));
- model.makeValue("/root/temp/source/deptcd", model.getValue("/root/main/valuempllist/dutunitcd"));
- model.makeValue("/root/temp/source/deptnm", model.getValue("/root/main/valuempllist/deptnm"));
- model.makeValue("/root/temp/source/fstscndflag", "2");
-
- modal("SMRPV07100","","","","","/root/temp/source", "/root/target" );
- ]]>
- </script>
- </button>
- <button id="btn_resultprt" class="btn4_letter6" visibility="visible" style="left:645px; top:2px; width:104px; height:22px; ">
- <caption>평가결과출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/temp/source");
- model.makeNode("/root/temp/source");
- model.makeValue("/root/temp/source/valuyy", model.getValue("/root/send/bizvaluscndpsn/valuyy"));
- model.makeValue("/root/temp/source/trgtemplno", model.getValue("/root/send/bizvaluscndpsn/emplno"));
- model.makeValue("/root/temp/source/trgtemplnm", model.getValue("/root/send/bizvaluscndpsn/emplnm"));
- model.makeValue("/root/temp/source/fstscndhfyyflag", model.getValue("/root/send/bizvaluscndpsn/fstscndhfyyflag"));
- model.makeValue("/root/temp/source/fstscndflag", "2");
-
- model.makeValue("/root/temp/source/instcd", model.getValue("/root/main/valuempllist/dutinst"));
- model.makeValue("/root/temp/source/deptcd", model.getValue("/root/main/valuempllist/dutunitcd"));
- model.makeValue("/root/temp/source/deptnm", model.getValue("/root/main/valuempllist/deptnm"));
- modal("SMRPV08000","","","","","/root/temp/source", "/root/target" );
- ]]>
- </script>
- </button>
- <button id="btn_valuconfirmcancle" class="btn4_letter6" disabled="true" style="left:872px; top:3px; width:104px; height:22px; ">
- <caption>평가완료취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- for(var i = grd_bizvaluscndpsnList.fixedRows; i < grd_bizvaluscndpsnList.rows; i++) {
- //if (grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("selyn")) == "Y" ) {
-
- // var emplnm = grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("emplnm"));
- // var valupsncnfmyn1 = grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("valupsncnfmyn1"));
-
- // if (valupsncnfmyn1 != "Y") {
- // messageBox("[" + emplnm + "]는 업적1차 평가 완료가 되지 않아서 2차 평가 완료를 할 수 없습니다. ", "I999");
- // return;
- // }
- //
- // var valupsncnfmflag = grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("valupsncnfmflag"));
- //
- // if (valupsncnfmflag != "A") {
- // messageBox("[" + emplnm + "]는 승인 상태가 아니므로 2차 평가 완료를 할 수 없습니다. ", "I999");
- // return;
- // }
-
- grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("lastcnfmyn")) = "N";
- grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("procstat")) = "04";
- grd_bizvaluscndpsnList.valueMatrix(i, grd_bizvaluscndpsnList.colRef("selyn")) = "Y";
- grd_bizvaluscndpsnList.addStatus(i, "update");
- //}
- }
-
- btn_save.dispatch("DOMActivate");
-
- // 수신자 리스트 그리드id ,발신자 폰번호, 발신할 문자메세지
- //fSendMsg( grd_bizvaluscndpsnList, model.getValue("/root/init/info/userinfo/phone"), "업적평가2차평가 평가완료 되었습니다.");
-
-
- // Email 그리고 Sms 전송
- // 보내는 사람의 Email 주소가 없을경우 Sms를 전송하도록...Email 주소, Sms 전화번호가 없을경우 경고 메세지 발생.
- // fGrid : Email 주소나 휴대전화번호가 있는 그리드 id.
- // fCmt : 전체적으로 보낼 전송메세지.
- // fEmailTitle : 이메일 전송시의 제목.
- // fCheckYN : 선택된 사람만 전송할지 유무.
- // fEmplno : 발신자의 정보 호출을 위한 발신자 사원번호..
- // fInstcd : 발신자의 정보 호출을 위한 발신자 기관코드..
- //rpvfCheckEmailAndSms( grd_bizvaluscndpsnList, "[업적평가2차평] 평가완료 되었습니다.", "업적평가 2차 평가 통보", 'N',ipt_valuemplno.value);
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|