12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>평가메인화면</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <valujobsche>
- <valujobschelist/>
- </valujobsche>
- <rpvdqana>
- <rpvdqanalist/>
- </rpvdqana>
- <rpvdalet>
- <rpvdaletlist/>
- </rpvdalet>
- <list>
- <scrfileinfo>
- <fileinfolist/>
- </scrfileinfo>
- </list>
- <smsdata>
- <bizabbr/>
- <replytelno/>
- <rsrvyn/>
- <rsrvdate/>
- <rsrvtime/>
- <msgcnts/>
- <recvrlist>
- <chk/>
- <recvrnm/>
- <recvrtelno/>
- </recvrlist>
- </smsdata>
- <maildata>
- <fromaddress/>
- <fromname/>
- <toaddress/>
- <ccaddress/>
- <subject/>
- <msg/>
- <attach>
- <file/>
- <filename/>
- <filesize/>
- </attach>
- </maildata>
- <rpvdaletitem>
- <detlcnts/>
- <cnts/>
- </rpvdaletitem>
- <fileinfo>
- <fileinfolist/>
- </fileinfo>
- </main>
- <send>
- <emplno/>
- <seqno/>
- <wrtedd/>
- <fileflag/>
- <save>
- <rpvdqanalist/>
- <rpvdaletlist/>
- </save>
- <valujobsche>
- <emplno/>
- <appdd/>
- <tretyn/>
- <valuyy/>
- </valujobsche>
- <fileupload>
- <file/>
- </fileupload>
- <updqrycnt>
- <emplno/>
- <seqno/>
- <wrtedd/>
- <qrycnt/>
- </updqrycnt>
- <fileinfo>
- <valuyy/>
- <instcd/>
- <deptcd/>
- <emplno/>
- <goalflag/>
- <fstscndhfyyflag/>
- <valuclscd/>
- <valumdlcd/>
- <valuclsdetlcd/>
- <publbaseflag/>
- <idxcd/>
- <seqno/>
- <tableflag/>
- <wrtedd/>
- <fileflag/>
- </fileinfo>
- <save2>
- <fileinfolist/>
- </save2>
- </send>
- <init>
- </init>
- <hidden/>
- <temp>
- <trgtemplno/>
- </temp>
- <source>
- <emplnodata/>
- </source>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRRPV07701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/valujobsche" resultref="/root/main/valujobsche"/>
- <submission id="TXRPV07701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/valujobsche" resultref="/root/hidden/temp"/>
- <submission id="TRRPV07702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/main/rpvdqana/rpvdqanalist"/>
- <submission id="TXRPV07702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
- <submission id="TRRPV07703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/valujobsche" resultref="/root/main/rpvdalet/rpvdaletlist"/>
- <submission id="TXRPV07704" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/temp"/>
- <script type="javascript" ev:event="xforms-model-destruct">
- <![CDATA[
- if (getGridUpdateData(grd_rpvdqanalist) != "" || getGridUpdateData(grd_rpvdaletlist) != "") {
- var save_val = messageBox("변경된 자료가 존재 합니다. ", "Q002");
-
- if (save_val == "6") {
- btn_save.dispatch("DOMActivate");
- }
-
- }
- ]]>
- </script>
- <submission id="TXRPV07703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/rpvdaletlist" resultref="/root/temp"/>
- <submission id="TXRPV07705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updqrycnt" resultref="/root/temp"/>
- <submission id="TRRPV05705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fileinfo" resultref="/root/main/fileinfo"/>
- <submission id="TXRPV05704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save2" resultref="/root/hidden/temp"/>
- <submission id="TRRPV05704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TRRPV05801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/source/emplnodata"/>
- </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/stringHelper.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="../../../com/shortmsgweb/js/ZMS001.js"/>
- <script type="javascript" src="../../../com/emailsenderweb/js/ZME001.js"/>
- <script type="javascript">
- <![CDATA[
-
-
- function fCheckProgram()
- {
- var fProgramID = grd_valujobschelist.valueMatrix(grd_valujobschelist.row, grd_valujobschelist.colRef("program"));
- var fEmplno = "";
- var fEmplnm = "";
-
- if( "SMRPV05900" == fProgramID || "SMRPV06300" == fProgramID || "SMRPV06400" == fProgramID ||
- "SMRPV06500" == fProgramID || "SMRPV07200" == fProgramID || "SMRPV04300" == fProgramID || "SMRPV03600" == fProgramID ||
- "SMRPV07400" == fProgramID || "SMRPV07500" == fProgramID || "SMRPV01900" == fProgramID)
- {
- fEmplno = grd_valujobschelist.valueMatrix(grd_valujobschelist.row, grd_valujobschelist.colRef("deliveemplno"))
- fEmplnm = grd_valujobschelist.valueMatrix(grd_valujobschelist.row, grd_valujobschelist.colRef("deliveemplnm"))
- }else
- {
- fEmplno = grd_valujobschelist.valueMatrix(grd_valujobschelist.row, grd_valujobschelist.colRef("trgtemplno"));
- fEmplnm = grd_valujobschelist.valueMatrix(grd_valujobschelist.row, grd_valujobschelist.colRef("trgtemplnm"));
- }
-
- model.makeValue("/root/source/valuyy", grd_valujobschelist.valueMatrix(grd_valujobschelist.row, grd_valujobschelist.colRef("valuyy")));
- model.makeValue("/root/source/emplno", fEmplno);
-
- submit("TRRPV05801");
-
- model.makeValue("/root/source/bizgoalkpi/valuempllist/trgtemplno", fEmplno);
- model.makeValue("/root/source/bizgoalkpi/valuempllist/trgtemplnm", fEmplnm);
- model.makeValue("/root/source/bizgoalkpi/valuempllist/fromdd", grd_valujobschelist.valueMatrix(grd_valujobschelist.row, grd_valujobschelist.colRef("fromdd")));
-
- modal(grd_valujobschelist.valueMatrix(grd_valujobschelist.row, grd_valujobschelist.colRef("program")), "", "", "", "", "/root/source/bizgoalkpi/valuempllist" , "/root/target");
- }
-
-
- function fInitialize()
- {
- /* Grid 초기화 */
- misfGridInit(grd_valujobschelist);
- misfGridInit(grd_rpvdqanalist);
- misfGridInit(grd_rpvdaletlist);
- misfGridInit(grd_filelist);
-
-
- grd_rpvdqanalist.fixedcellcheckbox(0, 1) = true;
- grd_valujobschelist.fixedcellcheckbox(0, 1) = true;
- grd_rpvdaletlist.fixedcellcheckbox(0, 1) = true;
- /* Submit의 ref에 참조 될 Node들은 꼭 Instance에 생성 해야 함.*/
- /* Grid의 Mater, Detail관계 설정
- misfMsterDetailSet(관계설정할 Grid, Mater가 될 Grid, submit ID, 저장여부) */
- misfMsterDetailSet(grd_valujobschelist,null, "TRRPV07701" ,"N");
- misfMsterDetailSet(grd_rpvdqanalist, null, "TRRPV07702" ,"Y");
- misfMsterDetailSet(grd_rpvdaletlist, null, "TRRPV07703" ,"Y");
-
- var curdate = getCurrentDate();
- model.setValue(ipt_appdd.attribute("ref") , curdate);
- model.setValue(ipt_valuyy.attribute("ref") , curdate.substr(0, 4));
-
- rpvfComboValuCdList(curdate.substr(0,4) , "TRETFLAG,PROGRAM", "cmb_tretflag,grd_valujobschelist.program");
- addComboItem( "cmb_tretflag", "[-- 전체 --]", "%", "above");
-
- model.setValue("/root/send/valujobsche/emplno", getUserInfo("userid"));
- submit("TXRPV07701");
-
- btn_search.dispatch("DOMActivate");
-
- }
-
- function fExeBizPlnFileUpload(pGrid)
- {
- var maxsize = upd_uploadfile.attribute("filesize");
-
- files = window.fileDialog("open", "|", false);
-
- if (files.length <= 0 ) return;
-
- model.setValue(ipt_uploadfile.attribute("ref"),files);
- // if (!checkFileSize(upd_uploadfile))
- // {
- // model.setValue(ipt_uploadfile.attribute("ref"),"");
- // messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
- // }
- ipt_uploadfile.refresh();
-
- model.setValue("/root/send/emplno", pGrid.valueMatrix(pGrid.row, pGrid.colRef("emplno")));
- model.setValue("/root/send/seqno", pGrid.valueMatrix(pGrid.row, pGrid.colRef("seqno")));
- model.setValue("/root/send/wrtedd", pGrid.valueMatrix(pGrid.row, pGrid.colRef("wrtedd")));
-
- if(btn_qna.selected == true) {
- model.setValue("/root/send/fileflag", "2");
- }
- else if (btn_cmt.selected == true ) {
- model.setValue("/root/send/fileflag", "1");
- }
-
- submit("TXRPV07704");
- }
-
- function fGetBizFileDownload(pGrid)
- {
- misfGridInit(grd_fileinfo);
- misfGridIUD(grd_fileinfo, "A");
- grd_fileinfo.refresh();
-
- model.setValue(grd_fileinfo.nodeset + "[" + (grd_fileinfo.fixedRows)+ "]/valuyy", getCurrentDate());
- model.setValue(grd_fileinfo.nodeset + "[" + (grd_fileinfo.fixedRows)+ "]/emplno", pGrid.valueMatrix(pGrid.row, pGrid.colRef("emplno")));
- model.setValue(grd_fileinfo.nodeset + "[" + (grd_fileinfo.fixedRows)+ "]/seqno", pGrid.valueMatrix(pGrid.row, pGrid.colRef("seqno")));
- model.setValue(grd_fileinfo.nodeset + "[" + (grd_fileinfo.fixedRows)+ "]/wrtedd", pGrid.valueMatrix(pGrid.row, pGrid.colRef("wrtedd")));
- model.setValue(grd_fileinfo.nodeset + "[" + (grd_fileinfo.fixedRows)+ "]/tableflag", "3"); // 인사평가 첨부화일을 읽어들일 테이블 설정.임의적으로 3로 설정하면 인사평가첨보화일내역 테이블을 조회.
-
- if(btn_qna.selected == true) {
- model.setValue(grd_fileinfo.nodeset + "[" + (grd_fileinfo.fixedRows)+ "]/fileflag", "2");
- }
- else if (btn_cmt.selected == true ) {
- model.setValue(grd_fileinfo.nodeset + "[" + (grd_fileinfo.fixedRows)+ "]/fileflag", "1");
- }
-
- //alert( grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.row, grd_rpvdaletlist.colRef("seqno")) );
- rpvfOpenPopUpList("28",grd_fileinfo,"","emplno","valuyy,emplno,seqno,wrtedd,tableflag,fileflag","valuyy,emplno,seqno,wrtedd,tableflag,fileflag","");
- }
-
- function fSendMsg()
- {
- misfGridInit(grd_msg);
- var fPhone = '';
- var sPhone = '';
- model.setValue("/root/main/smsdata/bizabbr", "mis");
- model.setValue("/root/main/smsdata/replytelno", "112");
- 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", "");
-
- if (btn_sche.selected == true) {
- if (grd_valujobschelist.rows - grd_valujobschelist.fixedRows > 0) {
- model.setValue("/root/main/smsdata/replytelno", grd_valujobschelist.valueMatrix(grd_valujobschelist.fixedRows, grd_valujobschelist.colRef("phone")));
- }
-
- for(var i = grd_valujobschelist.fixedRows; i < grd_valujobschelist.rows; i++ )
- {
- if(grd_valujobschelist.valueMatrix(i, grd_valujobschelist.colRef("chk")) == "true")
- {
- if(grd_valujobschelist.valueMatrix(i, grd_valujobschelist.colRef("trgtphone")) != '')
- {
- misfGridIUD(grd_msg, "A");
- fPhone = grd_valujobschelist.valueMatrix(i, grd_valujobschelist.colRef("trgtphone")).split("-");
- sPhone = '';
- for(var p = 0; p < fPhone.length; p++ )
- {
- sPhone += fPhone[p];
- }
-
- grd_msg.valueMatrix(grd_msg.row, grd_msg.colRef("chk")) = 'Y';
- grd_msg.valueMatrix(grd_msg.row, grd_msg.colRef("recvrnm")) = grd_valujobschelist.valueMatrix(i, grd_valujobschelist.colRef("trgtemplnm"));
- grd_msg.valueMatrix(grd_msg.row, grd_msg.colRef("recvrtelno")) = sPhone;
- }
- }
- }
- }
- else if (btn_qna.selected == true ) {
- if (grd_rpvdqanalist.rows - grd_rpvdqanalist.fixedRows > 0) {
- model.setValue("/root/main/smsdata/replytelno", grd_rpvdqanalist.valueMatrix(grd_rpvdqanalist.fixedRows, grd_rpvdqanalist.colRef("trgtphone")));
- }
-
- for(var i = grd_rpvdqanalist.fixedRows; i < grd_rpvdqanalist.rows; i++ )
- {
- if(grd_rpvdqanalist.valueMatrix(i, grd_rpvdqanalist.colRef("chk")) == "true")
- {
- if(grd_rpvdqanalist.valueMatrix(i, grd_rpvdqanalist.colRef("phone")) != '')
- {
- misfGridIUD(grd_msg, "A");
- fPhone = grd_rpvdqanalist.valueMatrix(i, grd_rpvdqanalist.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';
- grd_msg.valueMatrix(grd_msg.row, grd_msg.colRef("recvrnm")) = grd_rpvdqanalist.valueMatrix(i, grd_rpvdqanalist.colRef("emplnm"));
- grd_msg.valueMatrix(grd_msg.row, grd_msg.colRef("recvrtelno")) = sPhone;
- }
- }
- }
- }
- else if (btn_cmt.selected == true ) {
-
- if (grd_rpvdaletlist.rows - grd_rpvdaletlist.fixedRows > 0) {
- model.setValue("/root/main/smsdata/replytelno", grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.fixedRows, grd_rpvdaletlist.colRef("trgtphone")));
- }
-
- for(var i = grd_rpvdaletlist.fixedRows; i < grd_rpvdaletlist.rows; i++ )
- {
- if(grd_rpvdaletlist.valueMatrix(i, grd_rpvdaletlist.colRef("chk")) == "true")
- {
- if(grd_rpvdaletlist.valueMatrix(i, grd_rpvdaletlist.colRef("phone")) != '')
- {
- misfGridIUD(grd_msg, "A");
- fPhone = grd_rpvdaletlist.valueMatrix(i, grd_rpvdaletlist.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';
- grd_msg.valueMatrix(grd_msg.row, grd_msg.colRef("recvrnm")) = grd_rpvdaletlist.valueMatrix(i, grd_rpvdaletlist.colRef("emplnm"));
- grd_msg.valueMatrix(grd_msg.row, grd_msg.colRef("recvrtelno")) = sPhone;
- }
- }
- }
- }
-
- zmsfOpenSMS("/root/main/smsdata");
- }
-
- function fSendEmail()
- {
- var fEmail = '';
- if(btn_sche.selected == true)
- {
- //model.setValue("/root/main/maildata/fromaddress", grd_valujobschelist.valueMatrix(grd_valujobschelist.fixedRows, grd_valujobschelist.colRef("trgtemail")));
- model.setValue("/root/main/maildata/fromaddress", grd_valujobschelist.valueMatrix(grd_valujobschelist.fixedRows, grd_valujobschelist.colRef("email")).getTrim()); // 보내는 사람의 E-mail 주소
- }else if(btn_qna.selected == true)
- {
- model.setValue("/root/main/maildata/fromaddress", grd_rpvdqanalist.valueMatrix(grd_rpvdqanalist.fixedRows, grd_rpvdqanalist.colRef("tretemail")).getTrim()) ; // 보내는 사람의 E-mail 주소
- }else if(btn_cmt.selected == true )
- {
- model.setValue("/root/main/maildata/fromaddress",grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.fixedRows, grd_rpvdaletlist.colRef("trgtemail")).getTrim()); // 보내는 사람의 E-mail 주소
- }
-
-
- model.setValue("/root/main/maildata/fromname", getUserInfo("usernm")); // 보내는 사람명
-
- if (btn_sche.selected == true) {
- for(var i = grd_valujobschelist.fixedRows; i < grd_valujobschelist.rows; i++ )
- {
- if(grd_valujobschelist.valueMatrix(i, grd_valujobschelist.colRef("chk")) == "true")
- {
- if(grd_valujobschelist.valueMatrix(i, grd_valujobschelist.colRef("trgtemail")).getTrim() != '')
- {
- if(fEmail.length >0)
- {
- fEmail += ';';
- }
- fEmail += grd_valujobschelist.valueMatrix(i, grd_valujobschelist.colRef("trgtemail")).getTrim();
-
-
-
- }
- }
- }
- }
- else if (btn_qna.selected == true ) {
- for(var i = grd_rpvdqanalist.fixedRows; i < grd_rpvdqanalist.rows; i++ )
- {
- if(grd_rpvdqanalist.valueMatrix(i, grd_rpvdqanalist.colRef("chk")) == "true")
- {
- if(grd_rpvdqanalist.valueMatrix(i, grd_rpvdqanalist.colRef("email")).getTrim() != '')
- {
- if(fEmail.length >0)
- {
- fEmail += ';';
- }
- fEmail += grd_rpvdqanalist.valueMatrix(i, grd_rpvdqanalist.colRef("email")).getTrim();
- }
- }
- }
- }
- else if (btn_cmt.selected == true ) {
- for(var i = grd_rpvdaletlist.fixedRows; i < grd_rpvdaletlist.rows; i++ )
- {
- if(grd_rpvdaletlist.valueMatrix(i, grd_rpvdaletlist.colRef("chk")) == "true")
- {
- if(grd_rpvdaletlist.valueMatrix(i, grd_rpvdaletlist.colRef("email")).getTrim() != '')
- {
- if(fEmail.length >0)
- {
- fEmail += ';';
- }
- fEmail += grd_rpvdaletlist.valueMatrix(i, grd_rpvdaletlist.colRef("email")).getTrim();
- }
- }
- }
- }
-
- model.setValue("/root/main/maildata/toaddress", fEmail); // 받는이 이메일 주소 여러명일때 구분자 ';'
- model.setValue("/root/main/maildata/ccaddress", ''); // 참조인 이메일 주소
- model.setValue("/root/main/maildata/subject", ''); // 제목
- model.setValue("/root/main/maildata/msg", ''); // 전송메세지
-
- //zmefOpenMail("/root/main/maildata");
- rpvfOpenMail(10, 10, "/root/main/maildata");
- }
- ]]>
- </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; ">
- <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="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_appdd" ) ) {
- return false;
- }
- model.setValue("/root/main/rpvdaletitem/detlcnts","");
- model.setValue("/root/main/rpvdaletitem/cnts","");
-
- misfMsterDetailRetrieve();
-
- var instcd = getUserInfo("dutplceinstcd");
- var emplno = getUserInfo("userid");
-
-
- rpvfGetUserAuth(instcd,emplno);
- if(DUTY_VALU_YN =='Y'){
- for(var i = grd_rpvdqanalist.fixedRows; i < grd_rpvdqanalist.rows; i++)
- {
- grd_rpvdqanalist.isReadOnly(i, grd_rpvdqanalist.colRef("tretcnts")) = false;
- grd_rpvdqanalist.isReadOnly(i, grd_rpvdqanalist.colRef("up")) = false;
- }
-
- for(var i = grd_rpvdaletlist.fixedRows; i < grd_rpvdaletlist.rows; i++)
- {
- grd_rpvdaletlist.isReadOnly(i, grd_rpvdaletlist.colRef("up")) = false;
- grd_rpvdaletlist.isReadOnly(i, grd_rpvdaletlist.colRef("cnts")) = false;
- ipt_cnts.disabled = false;
- txt_detlcnts.disabled = false;
-
- // var detlcnts=grd_rpvdaletlist.valueMatrix(i,grd_rpvdaletlist.colRef("detlcnts"));
- // model.setValue("/root/main/rpvdaletitem/detlcnts",detlcnts);
- }
- }else{
- for(var i = grd_rpvdqanalist.fixedRows; i < grd_rpvdqanalist.rows; i++)
- {
- grd_rpvdqanalist.isReadOnly(i, grd_rpvdqanalist.colRef("tretcnts")) = true;
- grd_rpvdqanalist.isReadOnly(i, grd_rpvdqanalist.colRef("up")) = true;
- }
-
- for(var i = grd_rpvdaletlist.fixedRows; i < grd_rpvdaletlist.rows; i++)
- {
- grd_rpvdaletlist.isReadOnly(i, grd_rpvdaletlist.colRef("up")) = true;
- grd_rpvdaletlist.isReadOnly(i, grd_rpvdaletlist.colRef("cnts")) = true;
-
- ipt_cnts.disabled = true;
- txt_detlcnts.disabled = true;
-
- // var detlcnts=grd_rpvdaletlist.valueMatrix(i,grd_rpvdaletlist.colRef("detlcnts"));
- // model.setValue("/root/main/rpvdaletitem/detlcnts",detlcnts);
- }
- }
-
-
- // 인사팀이 아니면 답변을 할 수 없도록 설정.
- // if(getUserInfo("posdeptcd") != '4020500000'){
- // for(var i = grd_rpvdqanalist.fixedRows; i < grd_rpvdqanalist.rows; i++)
- // {
- // grd_rpvdqanalist.isReadOnly(i, grd_rpvdqanalist.colRef("tretcnts")) = true;
- // grd_rpvdqanalist.isReadOnly(i, grd_rpvdqanalist.colRef("up")) = true;
- //
- //
- // }
- //
- // for(var i = grd_rpvdaletlist.fixedRows; i < grd_rpvdaletlist.rows; i++)
- // {
- // grd_rpvdaletlist.isReadOnly(i, grd_rpvdaletlist.colRef("up")) = true;
- // grd_rpvdaletlist.isReadOnly(i, grd_rpvdaletlist.colRef("cnts")) = true;
- // var detlcnts=grd_rpvdaletlist.valueMatrix(i,grd_rpvdaletlist.colRef("detlcnts"));
- // model.setValue("/root/main/rpvdaletitem/detlcnts",detlcnts);
- // }
- // }
- ]]>
- </script>
- </button>
- <caption id="cap_appdd" class="search_name" style="left:260px; top:19px; width:100px; height:17px; vertical-align:middle; ">기준일자 :</caption>
- <input id="ipt_appdd" ref="/root/send/valujobsche/appdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:348px; top:18px; width:125px; height:19px; "/>
- <switch id="switch1" style="left:0px; top:73px; width:1194px; height:667px; ">
- <case id="case1" selected="true">
- <datagrid id="grd_valujobschelist" nodeset="/root/main/valujobsche/valujobschelist" caption="^기간^기간^대상자^내용^전달자^프로그램^프로그램^처리여부^사원번호^적용일자^일련번호^대상자사원번호^전달자사원번호^처리자핸드폰|^시작일^종료일^대상자^내용^전달자^프로그램^프로그램^처리여부^사원번호^적용일자^일련번호^대상자사원번호^전달자사원번호^처리자핸드폰" colsep="^" colwidth="24, 95, 100, 121, 458, 92, 207, 17, 35, 77, 63, 42, 80, 96, 48, 100, 100, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:0px; width:1190px; height:660px; ">
- <col ref="chk" type="checkbox"/>
- <col disabled="true" ref="fromdd" type="inputdate"/>
- <col disabled="true" ref="todd" type="inputdate"/>
- <col ref="trgtemplnm"/>
- <col ref="cnts"/>
- <col ref="deliveemplnm"/>
- <col disabled="true" ref="program" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="start" type="inputbutton"/>
- <col checkvalue="Y,N" disabled="true" ref="tretyn" type="checkbox"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="appdd" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="trgtemplno" visibility="hidden"/>
- <col ref="deliveemplno" visibility="hidden"/>
- <col ref="trgtphone" visibility="hidden"/>
- <col ref="phone" visibility="hidden"/>
- <col ref="email" visibility="hidden"/>
- <col ref="trgtemail" visibility="hidden"/>
- <col ref="valuyy" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- //프로그램 팝업.
- if( grd_valujobschelist.col == grd_valujobschelist.colRef("start") )
- {
- if(grd_valujobschelist.valueMatrix(grd_valujobschelist.row, grd_valujobschelist.colRef("program")) != "")
- {
- //프로그램 ID 선별 하여 넘겨질 사용자 구분(대상자인지 전달자인지...구분.)
- fCheckProgram();
- }
- }
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="grd_rpvdqanalist" nodeset="/root/main/rpvdqana/rpvdqanalist" autoresize="true" caption="^작성일자^의뢰자^의뢰자^의뢰자^의뢰자^의뢰자^질문^답변^등록^조회수정^답변자^답변자^답변자^답변일자^처리자핸드폰|^작성일자^기관^부서^직책^사번^성명^질문^답변^등록^조회수정^기관^부서^성명^답변일자^처리자핸드폰" colsep="^" colwidth="20, 71, 78, 69, 67, 59, 57, 253, 237, 33, 35, 73, 71, 66, 84, 50, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:0px; width:1190px; height:660px; ">
- <col ref="chk" type="checkbox"/>
- <col ref="wrtedd" format="yyyy-mm-dd" _key="true" style="text-align:center; "/>
- <col ref="instnm"/>
- <col ref="deptnm"/>
- <col ref="jobrespnm" visibility="hidden"/>
- <col ref="emplno" visibility="hidden" _key="true" style="text-align:center; "/>
- <col ref="emplnm" style="text-align:center; "/>
- <col ref="cnts" type="input" _key="true" style="text-align:left; "/>
- <col ref="tretcnts" type="input" style="text-align:left; "/>
- <col ref="up" type="inputbutton"/>
- <col ref="down" type="inputbutton"/>
- <col ref="tretinstnm" style="text-align:center; "/>
- <col ref="tretdeptnm"/>
- <col ref="tretemplnm" style="text-align:center; "/>
- <col disabled="true" ref="answerdd" type="inputdate"/>
- <col ref="trgtphone" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="tretyn" visibility="hidden"/>
- <col ref="tretflag" visibility="hidden"/>
- <col ref="phone" visibility="hidden"/>
- <col ref="email" visibility="hidden"/>
- <col ref="tretemail" visibility="hidden"/>
- <col ref="tretemplno" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_rpvdqanalist.colRef("tretcnts") == grd_rpvdqanalist.col)
- {
- grd_rpvdqanalist.valueMatrix(grd_rpvdqanalist.row, grd_rpvdqanalist.colRef("tretemplno")) = getUserInfo("userid");
- grd_rpvdqanalist.valueMatrix(grd_rpvdqanalist.row, grd_rpvdqanalist.colRef("tretemplnm")) = getUserInfo("usernm");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if( grd_rpvdqanalist.colRef("up") == grd_rpvdqanalist.col)
- {
- fExeBizPlnFileUpload(grd_rpvdqanalist);
- }else if( grd_rpvdqanalist.colRef("down") == grd_rpvdqanalist.col)
- {
- fGetBizFileDownload(grd_rpvdqanalist);
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_msg" nodeset="/root/main/smsdata/recvrlist" visibility="hidden" caption="체크여부^이름^전화번호" colsep="^" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:230px; top:125px; width:310px; height:125px; ">
- <col ref="chk"/>
- <col ref="recvrnm"/>
- <col ref="recvrtelno"/>
- </datagrid>
- </case>
- <case id="case3">
- <datagrid id="grd_rpvdaletlist" nodeset="/root/main/rpvdalet/rpvdaletlist" caption="^작성일자^작성자^작성자^작성자^제목^상세내용^등록^조회
수정^조회수^처리자핸드폰|^작성일자^기관^부서^성명^제목^상세내용^등록^조회
수정^조회수^처리자핸드폰" colsep="^" colwidth="25, 68, 114, 95, 62, 204, 82, 102, 44, 57, 48, 100, 100, 100, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:0px; width:830px; height:660px; ">
- <col ref="chk" type="checkbox"/>
- <col ref="wrtedd" format="yyyy-mm-dd" _key="true"/>
- <col ref="instnm"/>
- <col ref="deptnm"/>
- <col ref="emplnm"/>
- <col ref="cnts" type="input"/>
- <col ref="detlcnts"/>
- <col ref="up" type="inputbutton"/>
- <col ref="down" type="inputbutton"/>
- <col ref="qrycnt" format="#,###" style="text-align:right; vertical-align:middle; "/>
- <col ref="trgtphone" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="phone" visibility="hidden"/>
- <col ref="email" visibility="hidden"/>
- <col ref="trgtemail" visibility="hidden"/>
- <col ref="emplno" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if( grd_rpvdaletlist.colRef("up") == grd_rpvdaletlist.col)
- { var seqno = grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.row,grd_rpvdaletlist.colRef("seqno"));
- if(seqno ==""){
- messageBox("저장후 파일을","C001");
- return;
- }
- fExeBizPlnFileUpload(grd_rpvdaletlist);
- }else if( grd_rpvdaletlist.colRef("down") == grd_rpvdaletlist.col)
- {
- fGetBizFileDownload(grd_rpvdaletlist);
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var detlcnts = grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.row,grd_rpvdaletlist.colRef("detlcnts"));
- var cnts = grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.row,grd_rpvdaletlist.colRef("cnts"));
- model.setValue("/root/main/rpvdaletitem/detlcnts",detlcnts);
- model.setValue("/root/main/rpvdaletitem/cnts",cnts);
-
- if(DUTY_VALU_YN !='Y'){
- var qrycnt = parseInt(grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.row,grd_rpvdaletlist.colRef("qrycnt"))) + 1;
- grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.row,grd_rpvdaletlist.colRef("qrycnt")) = qrycnt;
-
- model.setValue("/root/send/updqrycnt/emplno", grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.row,grd_rpvdaletlist.colRef("emplno")));
- model.setValue("/root/send/updqrycnt/seqno" , grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.row,grd_rpvdaletlist.colRef("seqno")));
- model.setValue("/root/send/updqrycnt/wrtedd" , grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.row,grd_rpvdaletlist.colRef("wrtedd")));
- model.setValue("/root/send/updqrycnt/qrycnt" , parseInt(grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.row,grd_rpvdaletlist.colRef("qrycnt"))));
-
- submit("TXRPV07705");
- }
-
- model.setValue("/root/send/fileinfo/valuyy", getCurrentDate());
- model.setValue("/root/send/fileinfo/emplno", grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.row, grd_rpvdaletlist.colRef("emplno")));
- model.setValue("/root/send/fileinfo/seqno", grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.row, grd_rpvdaletlist.colRef("seqno")));
- model.setValue("/root/send/fileinfo/wrtedd", grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.row, grd_rpvdaletlist.colRef("wrtedd")));
- model.setValue("/root/send/fileinfo/tableflag", "3"); // 인사평가 첨부화일을 읽어들일 테이블 설정.임의적으로 3로 설정하면 인사평가첨보화일내역 테이블을 조회.
- model.setValue("/root/send/fileinfo/fileflag", "1");
-
- submit("TRRPV05705");
-
-
- grd_rpvdaletlist.attribute("width") = "500px";
- caption12.attribute("left") = "510px";
- line4.attribute("x1") = "510px";
- caption3.attribute("left") = "510px";
- ipt_cnts.attribute("left") = "586px";
- ipt_cnts.attribute("width") = "600px";
- txt_detlcnts.attribute("left") = "510px";
- txt_detlcnts.attribute("width") = "675px";
- grd_filelist.attribute("left") = "510px";
- grd_filelist.attribute("width") = "675px";
-
- //caption3.attribute("width") = "610px";
- //alert(grd_rpvdaletlist.attribute("width"));
- //width:830px
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_rpvdaletlist.col == grd_rpvdaletlist.colRef("cnts"))
- {
- var cnts = grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.row,grd_rpvdaletlist.colRef("cnts"));
- model.setValue("/root/main/rpvdaletitem/cnts",cnts);
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_fileinfo" nodeset="/root/main/list/scrfileinfo/fileinfolist" visibility="hidden" caption="emplno^seqno^wrtedd^fileseqno" colsep="^" colwidth="195, 836, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:95px; top:275px; width:310px; height:55px; ">
- <col ref="emplno"/>
- <col ref="seqno"/>
- <col ref="wrtedd"/>
- <col ref="tableflag"/>
- <col ref="valuyy"/>
- <col ref="fileflag"/>
- </datagrid>
- <caption id="caption12" class="tit_2" style="left:835px; top:10px; width:95px; height:13px; ">상세내용</caption>
- <textarea id="txt_detlcnts" ref="/root/main/rpvdaletitem/detlcnts" imemode="hangul" maxlength="660" style="left:835px; top:62px; width:352px; height:350px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_update.dispatch("DOMActivate");
- ]]>
- </script>
- </textarea>
- <line id="line4" class="line_1" style="x1:835px; y1:27px; x2:1190px; y2:27px; "/>
- <caption id="caption3" class="cell_1" style="left:835px; top:35px; width:74px; height:23px; text-align:center; ">제 목</caption>
- <input id="ipt_cnts" ref="/root/main/rpvdaletitem/cnts" class="input_default" style="left:910px; top:36px; width:275px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_update.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <datagrid id="grd_filelist" nodeset="/root/main/fileinfo/fileinfolist" caption="기관^부서^직책^성명^파일이름^파일크기^파일타입^다운로드수" colsep="^" colwidth="125, 115, 60, 63, 156, 67, 67, 72, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="23" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="update" rowheight="23" rowsep="|" tooltip="true" style="left:835px; top:415px; width:352px; height:245px; ">
- <col ref="instnm"/>
- <col ref="deptnm"/>
- <col ref="jobrespnm"/>
- <col ref="emplnm"/>
- <col ref="filenm"/>
- <col ref="filesize" style="text-align:right; "/>
- <col ref="filetype"/>
- <col ref="qrycnt" style="text-align:center; "/>
- <col ref="valuyy" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="goalflag" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="wrtedd" visibility="hidden"/>
- <col ref="fileseqno" visibility="hidden"/>
- <col ref="filepath" visibility="hidden"/>
- <col ref="tableflag" visibility="hidden"/>
- <col ref="fstscndhfyyflag" visibility="hidden"/>
- <col ref="valuclscd" visibility="hidden"/>
- <col ref="valumdlcd" visibility="hidden"/>
- <col ref="valuclsdetlcd" visibility="hidden"/>
- <col ref="publbaseflag" visibility="hidden"/>
- <col ref="idxcd" visibility="hidden"/>
- <col ref="seqno2" visibility="hidden"/>
- <col ref="wrtedd" visibility="hidden"/>
- <col ref="fileflag" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var idx = grd_filelist.row;
- var filepath = model.getValue("/root/main/fileinfo/fileinfolist["+idx+"]/filepath");
- var filenm = model.getValue("/root/main/fileinfo/fileinfolist["+idx+"]/filenm");
- var localfile = window.fileDialog("save","|",false,filenm,"","All Files(*.*)|*.*");
- if (localfile != "") {
- var qrycnt=grd_filelist.valueMatrix(idx,grd_filelist.colRef("qrycnt"));
- cnt = parseInt(qrycnt)+1;
- model.setValue("/root/main/fileinfo/fileinfolist["+idx+"]/qrycnt",cnt);
- grd_filelist.addStatus(idx,"update");
-
- model.setValue("/root/send/save2/fileinfolist", grd_filelist.getUpdateData());
- submit("TXRPV05704");
-
- grd_filelist.clearStatus();
-
- model.download(getActionURL("TRRPV05704")+"&filepath="+filepath,localfile);
- var rtn = messageBox("파일을", "Q004");
- if( rtn == 6 ) {
- window.exec(localfile);
- }
- }
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="btn_qna" class="btn_sw" group="tab" style="left:92px; top:50px; width:128px; height:22px; ">
- <caption>
- <![CDATA[인사평가Q&A]]>
- </caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case2");
-
- btn_addgrdincustlist.disabled = false;
- btn_delgrdincustlist.disabled = false;
- btn_clear.attribute("visibility")="hidden";
- btn_adjtsize.attribute("visibility")="hidden";
- ]]>
- </script>
- </button>
- <button id="btn_sche" class="btn_sw" group="tab" selected="true" style="left:1px; top:50px; width:90px; height:22px; ">
- <caption>나의할일</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case1");
-
- btn_addgrdincustlist.disabled = true;
- btn_delgrdincustlist.disabled = true;
- btn_clear.attribute("visibility")="hidden";
- btn_adjtsize.attribute("visibility")="hidden";
- ]]>
- </script>
- </button>
- <button id="btn_cmt" class="btn_sw" group="tab" style="left:221px; top:50px; width:128px; height:22px; ">
- <caption>공지사항</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case3");
- btn_clear.visible="visible";
- btn_adjtsize.visible="visible";
-
- if(DUTY_VALU_YN =='Y'){
- btn_addgrdincustlist.disabled = false;
- btn_delgrdincustlist.disabled = false;
- btn_clear.disabled = false;
- }
- else {
- btn_addgrdincustlist.disabled = true;
- btn_delgrdincustlist.disabled = true;
- btn_clear.disabled = true;
- }
- /*if(getUserInfo("posdeptcd") != '4020500000'){
- btn_addgrdincustlist.disabled = true;
- btn_delgrdincustlist.disabled = true;
- }*/
- ]]>
- </script>
- </button>
- <select1 id="cmb_tretflag" ref="/root/send/valujobsche/tretyn" class="combo_s_essential" appearance="minimal" style="left:595px; top:18px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/fstscndhfyyflag">
- <label ref="cdnm"/>
- <value ref="code"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_fstscndhfyyflag" class="search_name" style="left:512px; top:19px; width:85px; height:17px; vertical-align:middle; ">처리구분:</caption>
- <button id="btn_delgrdincustlist" class="btn2_letter3" disabled="true" style="left:1136px; top:50px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(btn_sche.selected == true)
- {
-
- }else if(btn_qna.selected == true)
- {
- misfGridIUD(grd_rpvdqanalist, "D");
- }else if(btn_cmt.selected == true )
- {
- misfGridIUD(grd_rpvdaletlist, "D");
- model.resetInstanceNode("/root/main/rpvdaletitem");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_addgrdincustlist" class="btn2_letter3" disabled="true" style="left:1081px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var instcd = getUserInfo("dutplceinstcd");
- var emplno = getUserInfo("userid");
-
- rpvfGetUserAuth(instcd,emplno);
-
- if(btn_sche.selected == true)
- {
- }else if(btn_qna.selected == true)
- {
- misfGridIUD(grd_rpvdqanalist, "A");
- grd_rpvdqanalist.valueMatrix(grd_rpvdqanalist.row, grd_rpvdqanalist.colRef("wrtedd")) = getCurrentDate();
- grd_rpvdqanalist.valueMatrix(grd_rpvdqanalist.row, grd_rpvdqanalist.colRef("emplno")) = getUserInfo("userid");
- grd_rpvdqanalist.valueMatrix(grd_rpvdqanalist.row, grd_rpvdqanalist.colRef("emplnm")) = getUserInfo("usernm");
- grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.row,grd_rpvdaletlist.colRef("qrycnt")) = 0;
-
- if(DUTY_VALU_YN =='Y'){
- for(var i = grd_rpvdqanalist.fixedRows; i < grd_rpvdqanalist.rows; i++)
- {
- grd_rpvdqanalist.isReadOnly(i, grd_rpvdqanalist.colRef("tretcnts")) = false;
- grd_rpvdqanalist.isReadOnly(i, grd_rpvdqanalist.colRef("up")) = false;
- }
- }
- else {
- for(var i = grd_rpvdqanalist.fixedRows; i < grd_rpvdqanalist.rows; i++)
- {
- grd_rpvdqanalist.isReadOnly(i, grd_rpvdqanalist.colRef("tretcnts")) = true;
- grd_rpvdqanalist.isReadOnly(i, grd_rpvdqanalist.colRef("up")) = true;
- }
-
- }
- //grd_rpvdqanalist.isReadOnly(grd_rpvdqanalist.row, grd_rpvdqanalist.colRef("tretcnts")) = true;
-
- }else if(btn_cmt.selected == true )
- {
- model.resetInstanceNode("/root/main/rpvdaletitem");
- misfGridIUD(grd_rpvdaletlist, "A");
- grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.row, grd_rpvdaletlist.colRef("wrtedd")) = getCurrentDate();
- grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.row, grd_rpvdaletlist.colRef("emplno")) = getUserInfo("userid");
- grd_rpvdaletlist.valueMatrix(grd_rpvdaletlist.row, grd_rpvdaletlist.colRef("emplnm")) = getUserInfo("usernm");
-
- if(DUTY_VALU_YN =='Y'){
- for(var i = grd_rpvdaletlist.fixedRows; i < grd_rpvdaletlist.rows; i++)
- {
- grd_rpvdaletlist.isReadOnly(i, grd_rpvdaletlist.colRef("up")) = false;
- grd_rpvdaletlist.isReadOnly(i, grd_rpvdaletlist.colRef("cnts")) = false;
- }
- }
- else {
- for(var i = grd_rpvdaletlist.fixedRows; i < grd_rpvdaletlist.rows; i++)
- {
- grd_rpvdaletlist.isReadOnly(i, grd_rpvdaletlist.colRef("up")) = true;
- grd_rpvdaletlist.isReadOnly(i, grd_rpvdaletlist.colRef("cnts")) = true;
- }
-
- }
- }
- ]]>
- </script>
- </button>
- <line id="line2" class="line_8" style="x1:355px; y1:71px; x2:1192px; y2:71px; "/>
- <upload id="upd_uploadfile" nodeset="/root/send/fileupload/file" ext="zip" filecount="5" filesize="1048576" validate="true" style="left:377px; top:50px; width:25px; height:20px; "/>
- <input id="ipt_uploadfile" ref="/root/send/fileupload/file" visibility="hidden" style="left:400px; top:50px; width:105px; height:19px; "/>
- <button id="btn_msg" class="btn5_letter4" style="left:1015px; top:50px; width:64px; height:19px; ">
- <caption>문자전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSendMsg();
- ]]>
- </script>
- </button>
- <button id="btn_email" class="btn5_letter3" style="left:960px; top:50px; width:53px; height:19px; ">
- <caption>E-mail</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSendEmail();
- ]]>
- </script>
- </button>
- <button id="btn_update" class="btn2_letter2" navindex="13" visibility="hidden" style="left:1045px; top:79px; width:42px; height:19px; ">
- <caption>입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // if(txt_detlcnts.value=="")
- // {
- // messageBox("상세내용을 ","C001");
- // return;
- // }
- var cur_row = grd_rpvdaletlist.row; // 행 번호 가져오기
-
- var status = grd_rpvdaletlist.rowStatus(cur_row);
- if(status =='0' || status =='3')//조회
- {
- grd_rpvdaletlist.addStatus(cur_row,"update");
- }
- var detlcnts = model.getValue("/root/main/rpvdaletitem/detlcnts");
- var cnts = model.getValue("/root/main/rpvdaletitem/cnts");
- model.setValue("/root/main/rpvdalet/rpvdaletlist["+(cur_row-1)+"]/detlcnts",detlcnts);
- model.setValue("/root/main/rpvdalet/rpvdaletlist["+(cur_row-1)+"]/cnts",cnts);
- //model.resetInstanceNode("/root/main/rpvdaletitem");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn2_letter3" navindex="14" visibility="hidden" style="left:1135px; top:79px; width:53px; height:19px; ">
- <caption>지우기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/rpvdaletitem");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="btn_adjtsize" class="btn2_letter2" navindex="13" visibility="hidden" style="left:1090px; top:79px; width:42px; height:19px; ">
- <caption>
- <![CDATA[ >>]]>
- </caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_rpvdaletlist.attribute("width") = "830px";
- caption12.attribute("left") = "835px";
- line4.attribute("x1") = "835px";
- caption3.attribute("left") = "835px";
- ipt_cnts.attribute("left") = "910px";
- ipt_cnts.attribute("width") = "275px";
- txt_detlcnts.attribute("left") = "835px";
- txt_detlcnts.attribute("width") = "352px";
- grd_filelist.attribute("left") = "835px";
- grd_filelist.attribute("width") = "352px";
- ]]>
- </script>
- </button>
- <caption id="cap_valuyy" class="search_name" style="left:15px; top:19px; width:100px; height:17px; vertical-align:middle; ">평가년도 :</caption>
- <input id="ipt_valuyy" ref="/root/send/valujobsche/valuyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:100; top:18; width:125px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- submit("TXRPV07701");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1065px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // if(!checkKeyColumn("grd_ablity")) return;
- // misfSave("TXRPV03801");
- if(!checkKeyColumn("grd_rpvdqanalist")) return;
- if(!checkKeyColumn("grd_rpvdaletlist")) return;
-
- var curdate = getCurrentDate();
-
- for (var i = grd_rpvdqanalist.fixedRows; i < grd_rpvdqanalist.rows; i++) {
- if (grd_rpvdqanalist.valueMatrix(i, grd_rpvdqanalist.colRef("answerdd")) == "" && grd_rpvdqanalist.valueMatrix(i, grd_rpvdqanalist.colRef("tretcnts")) != "" ) {
- grd_rpvdqanalist.valueMatrix(i, grd_rpvdqanalist.colRef("answerdd")) = curdate;
- }
- }
-
- misfSave("TXRPV07702");
- // misfSave("TXRPV07703");
-
- btn_search.dispatch("DOMActivate");
-
- // if(btn_qna.selected == true)
- // {
- // if(!checkKeyColumn("grd_rpvdqanalist")) return;
- // misfSave("TXRPV07702");
- // }else if(btn_cmt.selected == true)
- // {
- // if(!checkKeyColumn("grd_rpvdaletlist")) return;
- // misfSave("TXRPV07703");
- // }
- ]]>
- </script>
- </button>
- <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="btn_init" class="btn4_letter3" style="left:1124px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.reload() ;
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|