123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544 |
- <?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>TFT활동 본인 평가</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <rpvmtfttlist/>
- <list>
- <tftvalu>
- <tftvalulist/>
- </tftvalu>
- </list>
- </main>
- <send>
- <tftvalu/>
- <save>
- <tftvalulist/>
- </save>
- <tftqry>
- <valuyy/>
- <emplno/>
- <emplnm/>
- </tftqry>
- </send>
- <init>
- <stotwtnscor>50</stotwtnscor>
- <swtnscor/>
- </init>
- <temp>
- </temp>
- <target/>
- </root>
- </instance>
- <submission id="TRRPV04101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/tftqry" resultref="/root/main/rpvmtfttlist"/>
- <submission id="TRRPV04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/tftvalu" resultref="/root/main/list/tftvalu"/>
- <submission id="TXRPV04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- <script type="javascript" ev:event="xforms-model-destruct">
- <![CDATA[
- if (getGridUpdateData(grd_tftvalu) != "" ) {
- var save_val = messageBox("변경된 자료가 존재 합니다. ", "Q002");
-
- if (save_val == "6") {
- btn_save.dispatch("DOMActivate");
- }
-
- }
- ]]>
- </script>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- // 그리드 초기화
- misfGridInit(grd_rpvmtfttlist);
- misfGridInit(grd_tftvalu);
-
- /* Submit의 ref에 참조 될 Node들은 꼭 Instance에 생성 해야 함.*/
- /* Grid의 Mater, Detail관계 설정
- misfMsterDetailSet(관계설정할 Grid, Mater가 될 Grid, submit ID, 저장여부) */
- misfMsterDetailSet(grd_tftvalu,null, "TRRPV04201" ,"Y");
- misfMsterDetailSet(grd_rpvmtfttlist,null, "TRRPV04101" ,"N");
-
- // 기본 조회 정보 입력.
- model.setValue(ipt_valuyy.attribute("ref") , getCurrentDate().toDate().getDateFormat("YYYY"));
- model.setValue(ipt_emplno.attribute("ref") , getUserInfo("userid"));
- model.setValue(ipt_emplnm.attribute("ref") , getUserInfo("usernm"));
-
-
- fInitialize();
- model.refresh();
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.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()
- {
-
-
- //현재화면이 팝업으로 Load 되었을 시.....
- if(instance1.selectNodes("/root/target/*").length > 0)
- {
- fPopupDataSet("valuyy,trgtemplno,trgtemplnm","ipt_valuyy,ipt_emplno,ipt_emplnm");
- }
-
- rpvfComboValuCdList(ipt_valuyy.value ,"VALUSCORBIZ,WTNSCOR","grd_tftvalu.ownvaluscor,grd_tftvalu.wtnscor");
-
- // btn_savedetl.disabled = true;
- // btn_insert.disabled = true;
- // btn_delete.disabled = true;
-
- var instcd = getUserInfo("dutplceinstcd");
- var emplno = getUserInfo("userid");
-
-
- rpvfGetUserAuth(instcd,emplno);
- if(DUTY_VALU_YN =='Y'){
- ipt_emplno.disabled = false;
- ipt_emplnm.disabled = false;
- btn_emplno.disabled = false;
-
- btn_savedetlcan.visible = true;
- }else{
- ipt_emplno.disabled = true;
- ipt_emplnm.disabled = true;
- btn_emplno.disabled = true;
-
- btn_savedetlcan.visible = false;
- }
-
- if (DUTY_VALU_YN !="Y") {
- if(rpvfCheckManFlag(model.getValue(ipt_valuyy.attribute("ref")),getUserInfo("userid")) != '01'){
- messageBox("해당 화면의 ","E002");
- rpvfSetControlBy("btn_savedetl,btn_init,btn_save,btn_search,btn_insert,btn_delete","Y");
- }else{
- // 평가기간에 따른 권한 부여.
- if(model.getValue("/root/temp/trgtflag") != ""){
- rpvfCheckDayFlag(ipt_valuyy.value, getUserInfo("userid"), model.getValue("/root/temp/trgtflag"), model.getValue("/root/temp/program"),"btn_save,btn_savedetl,btn_insert,btn_delete,btn_init,btn_search");
- }else{
- rpvfCheckDayFlag(ipt_valuyy.value, getUserInfo("userid"), "03", "SMRPV04200", "btn_save,btn_savedetl,btn_insert,btn_delete,btn_init,btn_search");
- }
- }
- }
-
- model.refresh();
- }
-
-
- //현재화면이 팝업화면으로 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 ftotalarea(){
- var result = false;
- var total = 0;
-
- for(var i = grd_tftvalu.fixedRows; i < grd_tftvalu.rows; i++)
- {
- total += parseInt(grd_tftvalu.labelMatrix(i, grd_tftvalu.colRef("wtnscor")));
- }
-
- if(total == 50) result = true;
-
- return result;
- }
-
- function fSumWtnScor(pdatagrid)
- {
- var wtnscor = 0;
-
- for(var row = pdatagrid.fixedRows; row < pdatagrid.rows; row++)
- {
- if(pdatagrid.rowStatus(row) != "4"){
- if(pdatagrid.labelMatrix(row, pdatagrid.colRef("wtnscor")).length > 0){
- wtnscor = wtnscor + parseInt(pdatagrid.labelMatrix(row, pdatagrid.colRef("wtnscor")));
- }
- }
- }
- return wtnscor;
- }
- ]]>
- </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; ">TFT활동 활동 본인 평가</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")) return;
-
- misfGridInit(grd_rpvmtfttlist);
- misfGridInit(grd_tftvalu);
-
- submit("TRRPV04101");
-
- if( grd_rpvmtfttlist.rows == grd_rpvmtfttlist.fixedRows){
- return;
- }
-
- grd_rpvmtfttlist.row = grd_rpvmtfttlist.fixedRows;
- grd_rpvmtfttlist.dispatch("onrowchanged");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
- <input id="ipt_valuyy" ref="/root/send/tftqry/valuyy" class="input_s_essential" inputtype="date" maxlength="4" format="yyyy" style="left:80px; top:17px; width:80px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(!isRequiredControls("ipt_valuyy")) return;
-
- fInitialize();
- //btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="cap_valuyy" class="search_name" style="left:15px; top:18px; width:60px; height:17px; vertical-align:middle; ">년도 :</caption>
- <datagrid id="grd_rpvmtfttlist" nodeset="/root/main/rpvmtfttlist" autoresize="true" caption="일련번호^사원번호^성명^활동내용^시작일^종료일^평가자사번^평가자성명^평가상태^평가년도" colsep="^" colwidth="32, 100, 100, 720, 106, 94, 100, 88, 69, 72" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1195px; height:325px; ">
- <col ref="seqno" visibility="hidden" maxlength="5" style="text-align:center; "/>
- <col disabled="true" ref="emplno" type="input" maxlength="10" _key="true" style="text-align:center; "/>
- <col disabled="true" ref="emplnm" type="input" style="text-align:center; "/>
- <col disabled="true" ref="tftactcnts" type="input" maxlength="1000" style="text-align:left; "/>
- <col disabled="true" ref="fromdd" type="inputdate" format="yyyy-mm-dd" maxlength="8" style="text-align:center; "/>
- <col disabled="true" ref="todd" type="inputdate" format="yyyy-mm-dd" maxlength="8" style="text-align:center; "/>
- <col ref="valupsnemplno" type="inputbutton" visibility="hidden" format="9999999999" maxlength="10" style="text-align:center; "/>
- <col ref="valupsnemplnm" type="input" visibility="hidden" style="text-align:center; "/>
- <col ref="valustat" type="input" visibility="hidden" maxlength="2" style="text-align:center; "/>
- <col ref="valuyy" visibility="hidden" format="yyyy" maxlength="4" _key="true"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- model.copyNode("/root/send/tftvalu", grd_rpvmtfttlist.attribute("nodeset") + "[" + grd_rpvmtfttlist.row + "]" );
- model.refresh();
- submit("TRRPV04201");
-
-
- if (grd_tftvalu.rows - grd_tftvalu.fixedRows > 0) {
- if (grd_tftvalu.valueMatrix(grd_tftvalu.fixedRows, grd_tftvalu.colRef("valustat")) == "01") {
- btn_savedetl.disabled = true;
- btn_insert.disabled = true;
- btn_delete.disabled = true;
- btn_save.disabled = true;
- }
- else {
- btn_savedetl.disabled = false;;
- btn_insert.disabled = false;;
- btn_delete.disabled = false;;
- btn_save.disabled = false;;
- }
- }
-
- if(grd_tftvalu.rows - grd_tftvalu.fixedRows > 0){
- model.setValue(opt_swtnscor.attribute("ref"),fSumWtnScor(grd_tftvalu));
- opt_swtnscor.refresh();
- }
- else {
- model.setValue(opt_swtnscor.attribute("ref"),"0");
- opt_swtnscor.refresh();
- }
-
- // if(grd_tftvalu.rows == grd_tftvalu.fixedRows)
- // {
- // btn_savedetl.disabled = true;
- // btn_insert.disabled = true;
- // btn_delete.disabled = true;
- //
- // return;
- // }else{
- // btn_savedetl.disabled = false;
- // btn_insert.disabled = false;
- // btn_delete.disabled = false;
- // }
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:0px; top:54px; width:230px; height:14px; vertical-align:middle; ">TFT활동 대상자 List</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
- <button id="btn_emplno" class="icon_search" disabled="true" style="left:390px; top:17px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm","","N","N");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_emplno" class="search_name" style="left:200px; top:18px; width:87px; height:17px; font-weight:bold; vertical-align:middle; ">사원번호:</caption>
- <input id="ipt_emplno" ref="/root/send/tftqry/emplno" class="input_search" disabled="true" maxlength="10" style="left:287px; top:17px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNO", "emplno,emplnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_emplnm" ref="/root/send/tftqry/emplnm" class="input_search" disabled="true" style="left:411px; top:17px; width:156px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNM", "emplno,emplnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <datagrid id="grd_tftvalu" nodeset="/root/main/list/tftvalu/tftvalulist" caption="순번^성과지표^측정방법^달성결과^가중치^평가점수" colsep="^" colwidth="28, 355, 338, 347, 62, 65, 100, 100, 100, 100, 100, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:435px; width:1195px; height:305px; ">
- <col ref="seqno" type="output" visibility="hidden" style="text-align:center; "/>
- <col ref="rsltidx" type="input"/>
- <col ref="inspmthd" type="input"/>
- <col ref="achvmntrslt" type="input"/>
- <col class="gridcombo" ref="wtnscor" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="ownvaluscor" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="valupsnscor1" type="output" visibility="hidden"/>
- <col ref="valustat" type="output" visibility="hidden"/>
- <col ref="lastcnfmyn" type="output" visibility="hidden"/>
- <col ref="valuyy" type="output" visibility="hidden"/>
- <col ref="emplno" type="output" visibility="hidden"/>
- <col ref="actseqno" type="output" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_tftvalu.col == grd_tftvalu.colRef("wtnscor")){
- model.setValue(opt_swtnscor.attribute("ref"),fSumWtnScor(grd_tftvalu));
- opt_swtnscor.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption2" class="tit_2" style="left:0px; top:414px; width:230px; height:13px; vertical-align:middle; ">TFT활동 본인 평가 List</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:429px; x2:1195px; y2:429px; "/>
- <button id="btn_delete" class="btn2_letter3" style="left:1140px; top:409px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_tftvalu, "D");
- ]]>
- </script>
- </button>
- <button id="btn_insert" class="btn2_letter3" style="left:1085px; top:409px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_rpvmtfttlist.rows == grd_rpvmtfttlist.fixedRows) {
- return false;
- }
- var rowCnt = 0;
-
- for (var i = grd_tftvalu.fixedRows; i < grd_tftvalu.rows; i++ ) {
-
- if (grd_tftvalu.rowStatus(i) != "4" && grd_tftvalu.rowStatus(i) != "5" && grd_tftvalu.rowStatus(i) != "6") {
- rowCnt += 1;
- }
- }
-
- if(3 <= rowCnt)
- {
- messageBox(" 입력 가능한 항목 개수는 3개 입니다. 추가 할 수","I004");
- return;
- }
-
- misfGridIUD(grd_tftvalu, "A");
-
- model.setValue(grd_tftvalu.attribute("nodeset")+"["+(grd_tftvalu.row - grd_tftvalu.fixedRows + 1)+"]/seqno", model.getValue("root/main/list/tftvalu/tftmstvalulist/seqno"));
- model.setValue(grd_tftvalu.attribute("nodeset")+"["+(grd_tftvalu.row - grd_tftvalu.fixedRows + 1)+"]/valuyy", model.getValue(grd_rpvmtfttlist.attribute("nodeset")+"["+(grd_rpvmtfttlist.row - grd_rpvmtfttlist.fixedRows + 1)+"]/valuyy" ));
- model.setValue(grd_tftvalu.attribute("nodeset")+"["+(grd_tftvalu.row - grd_tftvalu.fixedRows + 1)+"]/emplno", model.getValue(grd_rpvmtfttlist.attribute("nodeset")+"["+(grd_rpvmtfttlist.row - grd_rpvmtfttlist.fixedRows + 1)+"]/emplno" ));
- //model.setValue(grd_tftvalu.attribute("nodeset")+"["+(grd_tftvalu.row - grd_tftvalu.fixedRows + 1)+"]/seqno", model.getValue("root/main/list/tftvalu/tftmstvalulist/seqno"));
- //model.setValue(grd_tftvalu.attribute("nodeset")+"["+(grd_tftvalu.row - grd_tftvalu.fixedRows + 1)+"]/valuyy", model.getValue(ipt_valuyy.attribute("ref")));
- //model.setValue(grd_tftvalu.attribute("nodeset")+"["+(grd_tftvalu.row - grd_tftvalu.fixedRows + 1)+"]/emplno", model.getValue(ipt_emplnos.attribute("ref")));
- ]]>
- </script>
- </button>
- <caption id="caption12" style="left:982px; top:405px; width:30px; height:19px; ">점중</caption>
- <output id="opt_swtnscor" ref="/root/init/swtnscor" style="left:1015px; top:405px; width:30px; height:19px; text-align:right; "/>
- <output id="opt_stotwtnscor" ref="/root/init/stotwtnscor" style="left:947px; top:405px; width:30px; height:19px; text-align:right; "/>
- <caption id="caption7" style="left:853px; top:405px; width:94px; height:20px; ">TFT 가중치 합계</caption>
- <caption id="caption8" style="left:1046px; top:405px; width:30px; height:20px; ">점</caption>
- </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:1119px; 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:891px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!checkKeyColumn("grd_tftvalu")) return;
- misfSave("TXRPV04201");
- if (model.getValue(gvErrorMsgPath + "/type") != "error")
- {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <button id="btn_savedetl" class="btn4_letter4" style="left:1035px; top:3px; width:80px; height:22px; ">
- <caption>평가완료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(ftotalarea() == false){
- messageBox("TFT활동 본인평가 가중치의 총합계가 50 이 되어야 합니다.", "I999");
- return;
- }
-
- if (grd_tftvalu.rows - grd_tftvalu.fixedRows != 3 ) {
- messageBox("TFT활동 본인평가 항목의 갯수는 3 이 되어야 합니다.", "I999");
- return;
- }
-
- var chkownvaluscor = true;
- var rsltidx = true;
- var inspmthd = true;
- var achvmntrslt = true;
- for(var row = grd_tftvalu.fixedRows ; row < grd_tftvalu.rows ; row++)
- {
-
- if(grd_tftvalu.valueMatrix(row , grd_tftvalu.colRef("ownvaluscor")).length == 0)
- {
- chkownvaluscor = false;
- break;
- }
-
- if(grd_tftvalu.valueMatrix(row , grd_tftvalu.colRef("rsltidx")).length == 0)
- {
- rsltidx = false;
- break;
- }
-
- if(grd_tftvalu.valueMatrix(row , grd_tftvalu.colRef("inspmthd")).length == 0)
- {
- inspmthd = false;
- break;
- }
- if(grd_tftvalu.valueMatrix(row , grd_tftvalu.colRef("achvmntrslt")).length == 0)
- {
- achvmntrslt = false;
- break;
- }
- }
-
- if(!chkownvaluscor)
- {
- messageBox("입력되지 않은 점수가 존재합니다." + "평가 완료 할 수","I004");
- return;
- }
-
- if(!rsltidx)
- {
- messageBox("입력되지 않은 성과지표가 존재합니다." + "평가 완료 할 수","I004");
- return;
- }
-
- if(!inspmthd)
- {
- messageBox("입력되지 않은 측정방법이 존재합니다." + "평가 완료 할 수","I004");
- return;
- }
-
- if(!achvmntrslt)
- {
- messageBox("입력되지 않은 달성결과가 존재합니다." + "평가 완료 할 수","I004");
- return;
- }
-
- for(var row = grd_tftvalu.fixedRows ; row < grd_tftvalu.rows ; row++)
- {
- model.setValue(grd_tftvalu.attribute("nodeset")+"["+ (row - grd_tftvalu.fixedRows + 1) +"]/valustat","01");
- grd_tftvalu.rowStatus(row) = "2";
- }
- btn_save.dispatch("DOMActivate");
-
-
- /*
- 상하반기 1차평가자에게 Email 이나 Sms를 전송.
- */
- var fsendemplno = '';
- var fsendemplnm = '';
- var frecemplno = '';
-
- fsendemplno = grd_rpvmtfttlist.valueMatrix(grd_rpvmtfttlist.row, grd_rpvmtfttlist.colRef("emplno"));
- fsendemplnm = grd_rpvmtfttlist.valueMatrix(grd_rpvmtfttlist.row, grd_rpvmtfttlist.colRef("emplnm"));
- frecemplno = model.getValue("/root/main/rpvmtfttlist/valupsnemplno");
-
- rpvfOneAndOneCheckEmailAndSms( fsendemplnm + "님의 [TFT활동 본인평가] 평가완료 되었습니다.", "TFT활동 본인평가 통보", fsendemplno, '', frecemplno, '');
-
- ]]>
- </script>
- </button>
- <button id="btn_savedetlcan" class="btn4_letter4" style="left:950px; top:3px; width:80px; height:22px; ">
- <caption>평가취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- for(var row = grd_tftvalu.fixedRows ; row < grd_tftvalu.rows ; row++)
- {
- model.setValue(grd_tftvalu.attribute("nodeset")+"["+ (row - grd_tftvalu.fixedRows + 1) +"]/valustat","");
- grd_tftvalu.rowStatus(row) = "2";
- }
- btn_save.dispatch("DOMActivate");
-
-
- /*
- 상하반기 1차평가자에게 Email 이나 Sms를 전송.
- */
- var fsendemplno = '';
- var fsendemplnm = '';
- var frecemplno = '';
-
- fsendemplno = grd_rpvmtfttlist.valueMatrix(grd_rpvmtfttlist.row, grd_rpvmtfttlist.colRef("emplno"));
- fsendemplnm = grd_rpvmtfttlist.valueMatrix(grd_rpvmtfttlist.row, grd_rpvmtfttlist.colRef("emplnm"));
- frecemplno = model.getValue("/root/main/rpvmtfttlist/valupsnemplno");
-
- rpvfOneAndOneCheckEmailAndSms( fsendemplnm + "님의 [TFT활동 본인평가] 평가 완료 취소 되었습니다.", "TFT활동 본인평가 통보", fsendemplno, '', frecemplno, '');
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|