123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <inlist>
- <iocustvaludept>
- <iocustvaludeptlist/>
- </iocustvaludept>
- <incustvaluscor>
- <incustvaluscorlist/>
- </incustvaluscor>
- </inlist>
- <outlist>
- <outcustvaludept>
- <outcustvaludeptlist/>
- </outcustvaludept>
- <outcustvaluscor>
- <outcustvaluscorlist/>
- </outcustvaluscor>
- </outlist>
- <incustcnts>
- <incustcntslist/>
- </incustcnts>
- <temp>
- <text/>
- </temp>
- </main>
- <send>
- <iocustvaludept>
- <valuyy/>
- <instcd/>
- <valuclscd>01</valuclscd>
- <valumdlcd>001</valumdlcd>
- <valuclsdetlcd>001</valuclsdetlcd>
- <fstscndhfyyflag/>
- <valupsnemplno/>
- <valupsnemplnm/>
- <emplno/>
- <emplnm/>
- </iocustvaludept>
- <iocustvalu>
- <valuyy/>
- <instcd/>
- <valuclscd/>
- <valumdlcd/>
- <valuclsdetlcd/>
- <fstscndhfyyflag/>
- <valupsnemplno/>
- <deptcd/>
- <valuinstcd/>
- <valudeptcd/>
- </iocustvalu>
- <save>
- <incustvaluscorlist/>
- <outcustvaluscorlist/>
- <dutvaluyn/>
- </save>
- </send>
- <init/>
- <target/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- /* Grid 초기화 */
- misfGridInit(grd_valudept);
- misfGridInit(grd_invaluscor);
- misfGridInit(grd_outvaluscor);
-
- /* Submit의 ref에 참조 될 Node들은 꼭 Instance에 생성 해야 함.*/
- /* Grid의 Mater, Detail관계 설정
- misfMsterDetailSet(관계설정할 Grid, Mater가 될 Grid, submit ID, 저장여부) */
- misfMsterDetailSet(grd_valudept,null, "TRRPV03601" ,"N");
- misfMsterDetailSet(grd_invaluscor,null, "TRRPV03602" ,"Y");
- misfMsterDetailSet(grd_outvaluscor,null, "TRRPV03603" ,"Y");
- rpvfComboInstCdList("cmb_instcd");
-
- rpvfComboValuCdList(model.getValue(ipt_valuyy.attribute("ref")),"VALUSCOR,FSTSCNDHFYYFLAG","grd_invaluscor.valuscor,cmb_fstscndhfyyflag");
- misfComboCopyItemSet(grd_invaluscor,"valuscor",grd_outvaluscor,"valuscor");
-
- model.setValue("/root/send/iocustvaludept/valupsnemplno", getUserInfo("userid"));
- model.setValue("/root/send/iocustvaludept/valupsnemplnm", getUserInfo("usernm"));
- cmb_fstscndhfyyflag.select(0);
-
- var curdate = getCurrentDate();
- model.setValue(ipt_valuyy.attribute("ref") , curdate.substr(0, 4));
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
-
-
- //현재화면이 팝업으로 Load 되었을 시.....
- if(instance1.selectNodes("/root/target/*").length > 0)
- {
- fPopupDataSet("valuyy,dutinst,trgtemplno,trgtemplnm","ipt_valuyy,cmb_instcd,ipt_emplnos,ipt_emplnms");
- }
- model.refresh();
-
- // 평가기간에 따른 권한 부여.
- // if(model.getValue("/root/temp/trgtflag") != ""){
- // rpvfCheckDayFlag(getCurrentDate().toDate().getDateFormat("YYYY"), getUserInfo("userid"), model.getValue("/root/temp/trgtflag"), model.getValue("/root/temp/program"), "btn_adjt,btn_complete,btn_init,btn_save,btn_search,btn_insert,btn_delete");
- // }else{
- // rpvfCheckDayFlag(getCurrentDate().toDate().getDateFormat("YYYY"), getUserInfo("userid"), "01", "SMRPV03600", "btn_adjt,btn_complete,btn_init,btn_save,btn_search,btn_insert,btn_delete");
- // }
- var instcd = getUserInfo("dutplceinstcd");
- var emplno = getUserInfo("userid");
-
- rpvfGetUserAuth(instcd,emplno);
- if(DUTY_VALU_YN =='Y'){
- if (instcd == "001") {
- ipt_emplnos.disabled = false;
- ipt_emplnms.disabled = false;
- }
- else {
- ipt_emplnos.disabled = true;
- ipt_emplnms.disabled = true;
- }
-
- btn_emplno.disabled = false;
- btn_completecan.visible = true;
- }else{
- ipt_emplnos.disabled = true;
- ipt_emplnms.disabled = true;
- btn_emplno.disabled = true;
-
- btn_completecan.visible = false;
- }
- ]]>
- </script>
- <submission id="TRRPV03601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/iocustvalu" resultref="/root/main/inlist/iocustvaludept"/>
- <submission id="TRRPV03602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/iocustvalu" resultref="/root/main/inlist/incustvaluscor"/>
- <submission id="TRRPV03603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/iocustvalu" resultref="/root/main/outlist/outcustvaluscor"/>
- <submission id="TRRPV03604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/iocustvalu" resultref="/root/main/outlist/outcustvaludept"/>
- <submission id="TXRPV03601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/inlist/incustvaluscor/incustvaluscorlist" resultref="/root/hidden/temp"/>
- <script type="javascript" ev:event="xforms-model-destruct">
- <![CDATA[
- if (getGridUpdateData(grd_invaluscor) != "" ) {
- var save_val = messageBox("변경된 자료가 존재 합니다. ", "Q002");
-
- if (save_val == "6") {
- btn_save.dispatch("DOMActivate");
- }
-
- }
- ]]>
- </script>
- <submission id="TXRPV03603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- </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[
-
- var gridrow = -1;
- //현재화면이 팝업화면으로 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 fSettingValuInfoList(pdatagrid, pnode, nodename){
- var codynode = instance1.selectNodes(pnode + "/*");
- var addRow = pdatagrid.rows - pdatagrid.fixedRows;
- var nocopy = false;
-
- if(model.getValue(pdatagrid.nodeset + "[" + addRow + "]/valuitemcnts").length > 0)addRow = addRow + 1;
- for (var j = 1; j <= codynode.length ; j++) {
- if(pdatagrid.findrow(model.getValue(pnode +"/" + nodename + "[" + j + "]/valuitemcnts"),pdatagrid.fixedRows,pdatagrid.colRef("valuitemcnts"),false,false) == -1)
- {
- if(addRow > pdatagrid.rows - pdatagrid.fixedRows)
- {
- misfGridIUD(pdatagrid,"A");
- addRow = pdatagrid.rows - pdatagrid.fixedRows;
- }
-
- model.setValue(pdatagrid.nodeset + "[" + addRow + "]/valuitemcnts" , model.getValue(pnode +"/" + nodename + "[" + j + "]/valuitemcnts"));
- model.setValue(pdatagrid.nodeset + "[" + addRow + "]/valuitemcd" , model.getValue(pnode +"/" + nodename + "[" + j + "]/valuitemcd"));
- addRow = addRow + 1;
- }
- }
-
- model.recalculate();
- model.refresh();
- }
-
- function fcheckyn()
- {
- var bool = false;
-
- if( grd_invaluscor.valueMatrix(grd_invaluscor.row, grd_invaluscor.colRef("procstat")) == "01" )
- {
- bool = true;
- }else if( grd_invaluscor.valueMatrix(grd_invaluscor.row, grd_invaluscor.colRef("procstat")) == "02" )
- {
- bool = true;
- }
-
- grd_invaluscor.isReadOnly(grd_invaluscor.row, grd_invaluscor.colRef("valuitemcnts")) = bool;
- grd_invaluscor.isReadOnly(grd_invaluscor.row, grd_invaluscor.colRef("valuscor")) = bool;
- grd_invaluscor.isReadOnly(grd_invaluscor.row, grd_invaluscor.colRef("c10")) = bool;
- grd_invaluscor.isReadOnly(grd_invaluscor.row, grd_invaluscor.colRef("c9")) = bool;
- grd_invaluscor.isReadOnly(grd_invaluscor.row, grd_invaluscor.colRef("c8")) = bool;
- grd_invaluscor.isReadOnly(grd_invaluscor.row, grd_invaluscor.colRef("c7")) = bool;
- grd_invaluscor.isReadOnly(grd_invaluscor.row, grd_invaluscor.colRef("c6")) = bool;
- grd_invaluscor.isReadOnly(grd_invaluscor.row, grd_invaluscor.colRef("c5")) = bool;
- grd_invaluscor.isReadOnly(grd_invaluscor.row, grd_invaluscor.colRef("c4")) = bool;
- grd_invaluscor.isReadOnly(grd_invaluscor.row, grd_invaluscor.colRef("c3")) = bool;
- grd_invaluscor.isReadOnly(grd_invaluscor.row, grd_invaluscor.colRef("c2")) = bool;
- grd_invaluscor.isReadOnly(grd_invaluscor.row, grd_invaluscor.colRef("c1")) = bool;
-
-
- //grd_invaluscor.isReadOnly(grd_invaluscor.row, grd_invaluscor.colRef("cmt")) = bool;
- }
-
- function fpointcheck(checkpoint)
- {
- for(var i = 1; i < 11; i++)
- {
- if( i != checkpoint)
- {
- grd_invaluscor.valueMatrix(grd_invaluscor.row, grd_invaluscor.colRef("c"+ i)) = 'N';
- }
- }
-
- if( grd_invaluscor.valueMatrix(grd_invaluscor.row, grd_invaluscor.col) == 'Y' )
- {
- grd_invaluscor.valueMatrix(grd_invaluscor.row, grd_invaluscor.colRef("valuscor")) = checkpoint;
- }else{
- grd_invaluscor.valueMatrix(grd_invaluscor.row, grd_invaluscor.colRef("valuscor")) = '';
- }
- model.refresh();
- }
-
- function fAllvaluecheck()
- {
- if(grd_invaluscor.fixedRows == grd_invaluscor.rows) return;
-
- for(var i = grd_invaluscor.fixedRows; i < grd_invaluscor.rows; i++)
- {
- // grd_invaluscor.valueMatrix(i, grd_invaluscor.colRef("t5")) = "매우그렇다";
- // grd_invaluscor.valueMatrix(i, grd_invaluscor.colRef("t4")) = "그렇다";
- // grd_invaluscor.valueMatrix(i, grd_invaluscor.colRef("t3")) = "보통";
- // grd_invaluscor.valueMatrix(i, grd_invaluscor.colRef("t2")) = "그렇지않다";
- // grd_invaluscor.valueMatrix(i, grd_invaluscor.colRef("t1")) = "전혀그렇지않다";
-
- if(grd_invaluscor.valueMatrix( i, grd_invaluscor.colRef("valuscor")) != '')
- {
- grd_invaluscor.valueMatrix( i, grd_invaluscor.colRef("c" +grd_invaluscor.valueMatrix( i, grd_invaluscor.colRef("valuscor")))) = 'Y';
- }
- }
- }
- ]]>
- </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; ">내부고객 만족도 설문 등록</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744; ">
- <switch id="sch_select" style="left:0px; top:45px; width:1193px; height:695px; ">
- <case id="case1" selected="true">
- <datagrid id="grd_valudept" nodeset="/root/main/inlist/iocustvaludept/iocustvaludeptlist" autoresize="true" caption="부서^기관^부서명^설문참여^평가자기관^평가자부서|부서^기관^부서명^설문참여^평가자기관^평가자부서" colsep="^" colwidth="79, 110, 110, 30, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:27px; width:275px; height:663px; ">
- <col ref="deptcd" visibility="hidden"/>
- <col ref="instnm" style="text-align:center; "/>
- <col ref="deptnm" style="text-align:center; "/>
- <col ref="useyn" style="text-align:center; "/>
- <col ref="valuinstnm"/>
- <col ref="valudeptnm"/>
- <col ref="valuyy" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="valuclscd" visibility="hidden"/>
- <col ref="valumdlcd" visibility="hidden"/>
- <col ref="valuclsdetlcd" visibility="hidden"/>
- <col ref="inoutflag" visibility="hidden"/>
- <col ref="fstscndhfyyflag" visibility="hidden"/>
- <col ref="valupsnemplno" visibility="hidden"/>
- <col ref="valuinstcd" visibility="hidden"/>
- <col ref="valudeptcd" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- grd_valudept.dispatch("onmouseup");
-
- if(grd_valudept.rows - grd_valudept.fixedRows == 0)return;
-
- if(grd_valudept.row == -1)grd_valudept.row = grd_valudept.fixedRows;
-
- model.removenode("/root/send/iocustvalu/deptcd");
- model.removenode("/root/send/iocustvalu/valuinstcd");
- model.removenode("/root/send/iocustvalu/valudeptcd");
-
- model.makeNode("/root/send/iocustvalu/deptcd");
- model.makeNode("/root/send/iocustvalu/valuinstcd");
- model.makeNode("/root/send/iocustvalu/valudeptcd");
-
- model.setValue("/root/send/iocustvalu/deptcd", grd_valudept.valueMatrix(grd_valudept.row, grd_valudept.colRef("deptcd")));
- model.setValue("/root/send/iocustvalu/instcd", grd_valudept.valueMatrix(grd_valudept.row, grd_valudept.colRef("instcd")));
- model.setValue("/root/send/iocustvalu/valuinstcd", grd_valudept.valueMatrix(grd_valudept.row, grd_valudept.colRef("valuinstcd")));
- model.setValue("/root/send/iocustvalu/valudeptcd", grd_valudept.valueMatrix(grd_valudept.row, grd_valudept.colRef("valudeptcd")));
- misfGridInit(grd_invaluscor);
-
- txt_cnts.value = "";
-
- var deptnm = grd_valudept.valueMatrix(grd_valudept.row, grd_valudept.colRef("deptnm"));
- ipt_text.value = "11. 그렇다면 팀장님께서는 " + deptnm + "의 개선해야할 점은 무엇이라고 생각하십니까? 생각나시는대로 모두 말씀해 주십시오.";
- submit("TRRPV03602");
-
- gridrow = grd_valudept.row;
- // 점수 컬럼에 있는 값을 체크박스에 설정.
- fAllvaluecheck();
-
- if (grd_invaluscor.rows - grd_invaluscor.fixedRows > 0) {
- txt_cnts.value = grd_invaluscor.valueMatrix(grd_invaluscor.fixedRows, grd_invaluscor.colRef("cmt"));
- }
-
- grd_invaluscor.rebuild();
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:280px; top:5px; width:230px; height:13px; vertical-align:middle; ">내부고객 만족도 설문 List</caption>
- <caption id="caption4" class="tit_2" style="left:5px; top:5px; width:230px; height:13px; vertical-align:middle; ">내부고객 만족도 부서 List</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:22px; x2:275px; y2:22px; "/>
- <line id="line2" class="line_1" style="x1:280px; y1:22px; x2:1190px; y2:22px; "/>
- <button id="btn_insert" class="btn2_letter3" style="left:1083px; top:2px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ((grd_valudept.rows - grd_valudept.fixedRows == 0) ||( !isRequiredControls("ipt_valuyy","cmb_instcd", "cmb_fstscndhfyyflag", "ipt_emplnos"))) {
- return false;
- }
- misfGridIUD(grd_invaluscor, "A");
- model.setValue(grd_invaluscor.attribute("nodeset")+"["+(grd_invaluscor.row - grd_invaluscor.fixedRows + 1)+"]/deptcd", grd_valudept.valueMatrix(grd_valudept.row, grd_valudept.colRef("valudeptcd")));
- ]]>
- </script>
- </button>
- <button id="btn_delete" class="btn2_letter3" style="left:1138px; top:2px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_invaluscor, "D");
- ]]>
- </script>
- </button>
- <datagrid id="grd_invaluscor" nodeset="/root/main/inlist/incustvaluscor/incustvaluscorlist" autoresize="true" caption="설문내용^매우 그렇다... 점수 ...전혀 그렇지 않다^매우 그렇다... 점수 ...전혀 그렇지 않다^매우 그렇다... 점수 ...전혀 그렇지 않다^매우 그렇다... 점수 ...전혀 그렇지 않다^매우 그렇다... 점수 ...전혀 그렇지 않다^매우 그렇다... 점수 ...전혀 그렇지 않다^매우 그렇다... 점수 ...전혀 그렇지 않다^매우 그렇다... 점수 ...전혀 그렇지 않다^매우 그렇다... 점수 ...전혀 그렇지 않다^매우 그렇다... 점수 ...전혀 그렇지 않다^사유^점수|설문내용^10^9^8^7^6^5^4^3^2^1^사유^점수" colsep="^" colwidth="539, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 242, 23, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:280px; top:27px; width:910px; height:433px; ">
- <col ref="valuitemcnts" type="inputbutton"/>
- <col checkvalue="Y,N" ref="c10" type="checkbox">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fpointcheck(10);
- ]]>
- </script>
- </col>
- <col checkvalue="Y,N" ref="c9" type="checkbox">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fpointcheck(9);
- ]]>
- </script>
- </col>
- <col checkvalue="Y,N" ref="c8" type="checkbox">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fpointcheck(8);
- ]]>
- </script>
- </col>
- <col checkvalue="Y,N" ref="c7" type="checkbox">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fpointcheck(7);
- ]]>
- </script>
- </col>
- <col checkvalue="Y,N" ref="c6" type="checkbox">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fpointcheck(6);
- ]]>
- </script>
- </col>
- <col checkvalue="Y,N" ref="c5" type="checkbox">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fpointcheck(5);
- ]]>
- </script>
- </col>
- <col checkvalue="Y,N" ref="c4" type="checkbox">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fpointcheck(4);
- ]]>
- </script>
- </col>
- <col checkvalue="Y,N" ref="c3" type="checkbox">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fpointcheck(3);
- ]]>
- </script>
- </col>
- <col checkvalue="Y,N" ref="c2" type="checkbox">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fpointcheck(2);
- ]]>
- </script>
- </col>
- <col checkvalue="Y,N" ref="c1" type="checkbox">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fpointcheck(1);
- ]]>
- </script>
- </col>
- <col ref="cmt" type="output" visibility="hidden"/>
- <col class="gridcombo" ref="valuscor" type="combo" visibility="hidden">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="valuyy" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="valuclscd" visibility="hidden"/>
- <col ref="valumdlcd" visibility="hidden"/>
- <col ref="valuclsdetlcd" visibility="hidden"/>
- <col ref="fstscndhfyyflag" visibility="hidden"/>
- <col ref="valupsnemplno" visibility="hidden"/>
- <col ref="valuitemcd" visibility="hidden"/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="procstat" visibility="hidden"/>
- <col ref="valuinstcd" visibility="hidden"/>
- <col ref="valudeptcd" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
-
- fcheckyn();
-
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_invaluscor.col = grd_invaluscor.colRef("valuitemcnts"))
- {
- model.removenode("/root/copynode");
- model.removenode(gvParamPath +"/SMRPV99900_/SMRPV99900_value");
- model.makeNode("/root/copynode");
-
- rpvfOpenPopUpList("22",grd_invaluscor,"","valuitemcnts,valuitemcd", "ipt_valuyy,ipt_valuclscd,ipt_valumdlcd,ipt_valuclsdetlcd");
-
- var cur_row = grd_invaluscor.row;
- var status = grd_invaluscor.valueMatrix(cur_row, grd_invaluscor.colRef("m"));
-
- var CSV = model.getValue(gvParamPath +"/SMRPV99900_/SMRPV99900_value");
- setCSVToNode("/root/copynode", CSV, "custvalulist");
-
- fSettingValuInfoList(grd_invaluscor,"/root/copynode", "custvalulist");
- }
- ]]>
- </script>
- </datagrid>
- <textarea id="txt_cnts" ref="/root/main/incustcnts/incustcntslist" maxbyte="900" style="left:280px; top:505px; width:910px; height:185px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- for (var i = grd_invaluscor.fixedRows; i < grd_invaluscor.rows; i++) {
- grd_invaluscor.valueMatrix(i, grd_invaluscor.colRef("cmt")) = txt_cnts.label;
-
-
- //alert(grd_invaluscor.rowStatus(i));
- if (grd_invaluscor.rowStatus(i) == "0") {
- grd_invaluscor.rowStatus(i) = "2";
- }
- }
- ]]>
- </script>
- </textarea>
- <line id="line4" class="line_1" style="x1:280px; y1:497px; x2:1190px; y2:497px; "/>
- <input id="ipt_text" ref="/root/main/temp/text" editable="false" style="left:280px; top:475px; width:910px; height:19px; "/>
- </case>
- <case id="case2">
- <caption id="caption5" class="tit_2" style="left:0px; top:9px; width:230px; height:13px; vertical-align:middle; ">외부고객 만족도 결과 List</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:24px; x2:1190px; y2:24px; "/>
- <button id="btn_outinsert" class="btn2_letter3" style="left:1080px; top:3px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !isRequiredControls("ipt_valuyy","cmb_instcd") ) {
- return false;
- }
- misfGridIUD(grd_outvaluscor, "A");
- model.setValue(grd_outvaluscor.attribute("nodeset")+"["+(grd_outvaluscor.row - grd_outvaluscor.fixedRows + 1)+"]/valuyy", model.getValue(ipt_valuyy.attribute("ref")));
- model.setValue(grd_outvaluscor.attribute("nodeset")+"["+(grd_outvaluscor.row - grd_outvaluscor.fixedRows + 1)+"]/instcd", model.getValue(cmb_instcd.attribute("ref")));
- model.setValue(grd_outvaluscor.attribute("nodeset")+"["+(grd_outvaluscor.row - grd_outvaluscor.fixedRows + 1)+"]/valuclscd", model.getValue(ipt_valuclscd.attribute("ref")));
- model.setValue(grd_outvaluscor.attribute("nodeset")+"["+(grd_outvaluscor.row - grd_outvaluscor.fixedRows + 1)+"]/valumdlcd", model.getValue(ipt_valumdlcd.attribute("ref")));
- model.setValue(grd_outvaluscor.attribute("nodeset")+"["+(grd_outvaluscor.row - grd_outvaluscor.fixedRows + 1)+"]/valuclsdetlcd", model.getValue(ipt_valuclsdetlcd.attribute("ref")));
- grd_outvaluscor.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_outdelete" class="btn2_letter3" style="left:1135px; top:3px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_outvaluscor, "D");
- ]]>
- </script>
- </button>
- <datagrid id="grd_outvaluscor" nodeset="/root/main/outlist/outcustvaluscor/outcustvaluscorlist" caption="피평가 부서^피평가 부서명^점수^조정점수^비고" colsep="^" colwidth="121, 323, 100, 100, 510" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:29px; width:1190px; height:621px; ">
- <col ref="deptcd" type="inputbutton"/>
- <col ref="deptnm"/>
- <col ref="valuscor" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="adjtscor" type="input" format="#,###.00" maxlength="5.2" style="text-align:right; "/>
- <col ref="cmt" type="input"/>
- <col ref="valuyy" visibility="hidden" style="left:141px; top:23px; width:323px; height:23px; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="valuclscd" visibility="hidden"/>
- <col ref="valumdlcd" visibility="hidden"/>
- <col ref="valuclsdetlcd" visibility="hidden"/>
- <col ref="valupsnemplno" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_outvaluscor.col == grd_outvaluscor.colRef("deptcd")){
- rpvfOpenDeptCdHelp(grd_outvaluscor,"deptcd,deptnm",model.getValue(cmb_instcd.attribute("ref")));
- model.refresh();
- }
-
- ]]>
- </script>
- </datagrid>
- <button id="btn_outcustdept" class="btn2_letter8" style="left:970px; top:3px; width:108px; height:19px; ">
- <caption>평가부서 가져오기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRRPV03604");
- var cur_row = grd_outvaluscor.row;
- var status = grd_outvaluscor.valueMatrix(cur_row, grd_outvaluscor.colRef("m"));
- var node = "/root/main/outlist/outcustvaludept";
- var nodename = "outcustvaludeptlist";
- var codynode = instance1.selectNodes(node + "/*");
- var addRow = grd_outvaluscor.rows - grd_outvaluscor.fixedRows;
-
- if(model.getValue(grd_outvaluscor.nodeset + "[" + addRow + "]/deptcd").length > 0)addRow = addRow + 1;
- for (var j = 1; j <= codynode.length ; j++) {
- if(grd_outvaluscor.findrow(model.getValue(node +"/" + nodename + "[" + j + "]/valudeptcd"),grd_outvaluscor.fixedRows,grd_outvaluscor.colRef("deptcd"),false,false) == -1)
- {
- if(addRow > grd_outvaluscor.rows - grd_outvaluscor.fixedRows)
- {
- misfGridIUD(grd_outvaluscor,"A");
- addRow = grd_outvaluscor.rows - grd_outvaluscor.fixedRows;
- }
-
- model.setValue(grd_outvaluscor.nodeset + "[" + addRow + "]/deptcd" , model.getValue(node +"/" + nodename + "[" + j + "]/valudeptcd"));
- model.setValue(grd_outvaluscor.nodeset + "[" + addRow + "]/deptnm" , model.getValue(node +"/" + nodename + "[" + j + "]/valudeptnm"));
- addRow = addRow + 1;
- }
- }
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0; top:10; width:1195; height:35px; "/>
- <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
- <button id="button3" class="btn_sw" visibility="hidden" group="tab" selected="true" style="left:104px; top:38px; width:100px; height:22px; ">
- <caption>외부고객만족도</caption>
- <toggle case="case2" ev:event="DOMActivate"/>
- </button>
- <button id="button4" class="btn_sw" visibility="hidden" group="tab" selected="true" style="left:2px; top:38px; width:100px; height:22px; ">
- <caption>내부고객만족도</caption>
- <toggle case="case1" ev:event="DOMActivate"/>
- </button>
- <caption id="cap_valuyy" class="search_name" style="left:5px; top:19px; width:100px; height:17px; vertical-align:middle; ">기준년도 :</caption>
- <input id="ipt_valuyy" ref="/root/send/iocustvaludept/valuyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:94px; top:18px; width:125px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = cmb_instcd.value;
- rpvfComboInstCdList("cmb_instcd",ipt_valuyy.value);
- cmb_instcd.value = instcd;
- ]]>
- </script>
- </input>
- <select1 id="cmb_instcd" ref="/root/send/iocustvaludept/instcd" class="combo_s_essential" appearance="minimal" style="left:288px; top:18px; width:219px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:225px; top:19px; width:61px; height:17px; vertical-align:middle; ">기관 :</caption>
- <select1 id="cmb_fstscndhfyyflag" ref="/root/send/iocustvaludept/fstscndhfyyflag" class="combo_s_essential" appearance="minimal" style="left:602px; top:18px; width:110px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/fstscndhfyyflag">
- <label ref="cdnm"/>
- <value ref="code"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_fstscndhfyyflag" class="search_name" style="left:518px; top:19px; width:81px; height:17px; vertical-align:middle; ">상하반기:</caption>
- <caption id="cap_emplnos" class="search_name" style="left:717px; top:19px; width:94px; height:17px; font-weight:bold; ">평가자사번:</caption>
- <button id="btn_emplno" class="icon_search" style="left:903px; top:20px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var recv_list = "valupsnemplno,valupsnemplnm" ;
- // rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"","","","emplno,emplnm");
- if (getUserInfo("dutplceinstcd") == "001") {
- rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, "emplno,emplnm","","","");
- }
- else {
- rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, "emplno,emplnm","","","");
- }
-
- model.setValue("/root/send/iocustvaludept/valupsnemplno", model.getValue("/root/send/iocustvaludept/emplno"));
- model.setValue("/root/send/iocustvaludept/valupsnemplnm", model.getValue("/root/send/iocustvaludept/emplnm"));
- model.refresh();
-
- ]]>
- </script>
- </button>
- <input id="ipt_emplnos" ref="/root/send/iocustvaludept/valupsnemplno" class="input_s_essential" style="left:814px; top:18px; width:87px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // var recv_list = "valupsnemplno,valupsnemplnm" ;
- rpbfValidationCheck("EMPLNO", "emplno,emplnm");
-
- model.setValue("/root/send/iocustvaludept/valupsnemplno", model.getValue("/root/send/iocustvaludept/emplno"));
- model.setValue("/root/send/iocustvaludept/valupsnemplnm", model.getValue("/root/send/iocustvaludept/emplnm"));
-
- model.refresh();
-
- ]]>
- </script>
- </input>
- <input id="ipt_emplnms" ref="/root/send/iocustvaludept/valupsnemplnm" class="input_default" style="left:920px; top:18px; width:146px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- // var recv_list = "valupsnemplno,valupsnemplnm" ;
- rpbfValidationCheck("EMPLNM", "emplno,emplnm");
-
- model.setValue("/root/send/iocustvaludept/valupsnemplno", model.getValue("/root/send/iocustvaludept/emplno"));
- model.setValue("/root/send/iocustvaludept/valupsnemplnm", model.getValue("/root/send/iocustvaludept/emplnm"));
-
- model.refresh();
- ]]>
- </script>
- </input>
- <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","cmb_instcd", "cmb_fstscndhfyyflag", "ipt_emplnos") ) {
- return false;
- }
- */
- if ( !isRequiredControls("ipt_valuyy","cmb_instcd","cmb_fstscndhfyyflag","ipt_emplnos") ) {
- return false;
- }
- misfGridInit(grd_valudept);
- misfGridInit(grd_invaluscor);
- misfGridInit(grd_outvaluscor);
- model.copyNode("/root/send/iocustvalu","/root/send/iocustvaludept");
- model.refresh();
-
- submit("TRRPV03601");
- model.setFocus("grd_valudept");
- if (gridrow == -1 || gridrow == grd_valudept.rows - grd_valudept.fixedRows + 1) {
- grd_valudept.row = grd_valudept.fixedRows;
- }
- else {
- grd_valudept.row = gridrow + 1;
-
- }
- grd_valudept.select(grd_valudept.row, grd_valudept.colRef("instnm")) = true;
- grd_valudept.dispatch("onrowchanged");
-
- //grd_valudept.dispatch("onrowchanged");
-
- if (grd_invaluscor.rows - grd_invaluscor.fixedRows == 0) {
- btn_complete.disabled = false;
- btn_save.disabled = false;
- btn_delete.disabled = false;
- btn_completecan.disabled = true;
- btn_insert.disabled = false;
- txt_cnts.disabled = false;
- }
- else {
- if (grd_invaluscor.valueMatrix(grd_invaluscor.fixedRows, grd_invaluscor.colRef("procstat")) == "01" ) {
- btn_complete.disabled = true;
- btn_save.disabled = true;
- btn_delete.disabled = true;
- btn_completecan.disabled = false;
- btn_insert.disabled = true;
- txt_cnts.disabled = true;
-
- }
- else {
- btn_complete.disabled = false;
- btn_save.disabled = false;
- btn_delete.disabled = false;
- btn_completecan.disabled = true;
- btn_insert.disabled = false;
- txt_cnts.disabled = false;
- }
- }
-
- //submit("TRRPV03603");
- ]]>
- </script>
- </button>
- <input id="ipt_valumdlcd" ref="/root/send/iocustvaludept/valumdlcd" visibility="hidden" style="left:320px; top:40px; width:65px; height:19px; "/>
- <input id="ipt_valuclscd" ref="/root/send/iocustvaludept/valuclscd" visibility="hidden" style="left:260px; top:40px; width:60px; height:19px; "/>
- <input id="ipt_valuclsdetlcd" ref="/root/send/iocustvaludept/valuclsdetlcd" visibility="hidden" style="left:385px; top:40px; width:65px; height:19px; "/>
- </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_complete" class="btn4_letter4" style="left:1031px; top:3px; width:80px; height:22px; ">
- <caption>평가완료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(DUTY_VALU_YN != "Y"){
- for(var i = grd_invaluscor.fixedRows; i < grd_invaluscor.rows; i++)
- {
- if(grd_invaluscor.valueMatrix(i, grd_invaluscor.colRef("valuscor")) == "")
- {
- messageBox("내부고객 만족도의 점수를 모두 입력하여 주세요.", "I999");
- return;
- }
- }
- }
-
-
- for(var i = grd_invaluscor.fixedRows; i < grd_invaluscor.rows; i++)
- {
- grd_invaluscor.valueMatrix(i, grd_invaluscor.colRef("procstat")) = "01";
- grd_invaluscor.addStatus(i, "update");
- }
-
- if (DUTY_VALU_YN == "Y") {
- model.setValue("/root/send/save/dutvaluyn", "Y");
- }
- else {
- model.setValue("/root/send/save/dutvaluyn", "N");
- }
-
- misfSave("TXRPV03603");
- btn_search.dispatch("DOMActivate");
-
- ]]>
- </script>
- </button>
- <button id="btn_adjt" class="btn4_letter4" visibility="hidden" style="left:762px; top:3px; width:80px; height:22px; ">
- <caption>편차조정</caption>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:864px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSave("TXRPV03601");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="btn_completecan" class="btn4_letter6" style="left:925px; top:3px; width:104px; height:22px; ">
- <caption>평가완료취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- for(var i = grd_invaluscor.fixedRows; i < grd_invaluscor.rows; i++)
- {
- grd_invaluscor.valueMatrix(i, grd_invaluscor.colRef("procstat")) = "";
- grd_invaluscor.addStatus(i, "update");
- }
-
- if (DUTY_VALU_YN == "Y") {
- model.setValue("/root/send/save/dutvaluyn", "Y");
- }
- else {
- model.setValue("/root/send/save/dutvaluyn", "N");
- }
-
- misfSave("TXRPV03603");
- btn_search.dispatch("DOMActivate");
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|