123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306 |
- <?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>SAT평가대상자등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <satexampsntrgt>
- <satexampsntrgtlist/>
- </satexampsntrgt>
- </main>
- <send>
- <satexampsntrgt>
- <valuyy/>
- <instcd/>
- <deptcd/>
- <emplno/>
- <deptnm/>
- <emplnm/>
- </satexampsntrgt>
- <save>
- <satexampsntrgtlist/>
- </save>
- </send>
- <temp/>
- <hidden>
- <temp/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- /* Grid 초기화 */
- misfGridInit(grd_satexampsntrgtlist);
-
- misfMsterDetailSet(grd_satexampsntrgtlist,null, "TRRPV02401" ,"Y");
-
- var curdate = getCurrentDate();
- model.setValue(ipt_valuyy.attribute("ref") , curdate.substr(0, 4));
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
-
- rpvfComboInstCdList("cmb_instcd");
-
- addComboItem( "cmb_instcd", "[-- 전체 --]", "", "above");
- model.setValue(cmb_instcd.attribute("ref"), "");
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRRPV02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/satexampsntrgt" resultref="/root/main/satexampsntrgt"/>
- <submission id="TXRPV02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- <submission id="TXRPV02402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/satexampsntrgt" 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[
- ]]>
- </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:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:173px; height:14px; ">SAT 대상자 등록</caption>
- </group>
- <group id="group3" style="left:0px; top:38px; width:1195px; height:744px; ">
- <button id="btn_addgrdsatexampsntrgtlist" class="btn2_letter3" style="left:1082px; top:49px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_satexampsntrgtlist, "A");
- ]]>
- </script>
- </button>
- <button id="btn_delgrdsatexampsntrgtlist" class="btn2_letter3" style="left:1137px; top:49px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_satexampsntrgtlist, "D");
- ]]>
- </script>
- </button>
- <caption id="caption8" class="tit_2" style="left:5px; top:56px; width:165px; height:14px; ">SAT 대상자 리스트</caption>
- <line id="line5" class="line_1" style="x1:0px; y1:70px; x2:1190px; y2:70px; "/>
- <datagrid id="grd_satexampsntrgtlist" nodeset="/root/main/satexampsntrgt/satexampsntrgtlist" caption="사원번호^사원번호^성명^기관^부서^직군^직종^직위^합격여부^이전응시여부^이전응시여부^미응시여부^확정여부^평가년도^기관|사원번호^사원번호^성명^기관^부서^직군^직종^직위^합격여부^^비고^미응시여부^확정여부^평가년도^기관" colsep="^" colwidth="84, 19, 75, 120, 126, 100, 104, 100, 33, 29, 281, 45, 33, 35, 28" dataheight="23" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:75px; width:1190px; height:659px; ">
- <col ref="emplno"/>
- <col ref="popup" type="inputbutton"/>
- <col ref="emplnm"/>
- <col ref="instnm" type="output"/>
- <col ref="deptnm" type="output"/>
- <col ref="grupjoblnnm"/>
- <col ref="jobkindnm"/>
- <col ref="jobposnm"/>
- <col ref="passyn" style="text-align:center; vertical-align:middle; "/>
- <col checkvalue="Y,N" ref="preyyexamyn" type="checkbox" style="text-align:center; vertical-align:middle; "/>
- <col ref="rem" type="input"/>
- <col checkvalue="Y,N" ref="notexamyn" type="checkbox"/>
- <col ref="cnfmyn" style="text-align:center; vertical-align:middle; "/>
- <col ref="valuyy" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_satexampsntrgtlist.col == grd_satexampsntrgtlist.colRef("popup")) {
- rpbfOpenPopUpList("SPRPB00101", grd_satexampsntrgtlist, "emplno,emplnm,instcd","","","","emplno,emplnm,dutplceinst");
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <group id="group5" style="left:0px; top:10px; width:1195px; height:37px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:1195px; height:37px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1124px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !isRequiredControls("ipt_valuyy") ) {
- return false;
- }
-
- misfMsterDetailRetrieve();
- if (grd_satexampsntrgtlist.rows - grd_satexampsntrgtlist.fixedRows > 0) {
- if (grd_satexampsntrgtlist.valueMatrix(grd_satexampsntrgtlist.fixedRows, grd_satexampsntrgtlist.colRef("cnfmyn")) == "Y") {
- btn_cnfm.disabled = true;
- btn_save.disabled = true;
- btn_cnfmcan.disabled = false;
- btn_makedata.disabled = true;
- }
- else {
- btn_cnfm.disabled = false;
- btn_save.disabled = false;
- btn_cnfmcan.disabled = true;
- btn_makedata.disabled = false;
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_deptcd" class="icon_search" style="left:673px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !isRequiredControls("cmb_instcd") ) {
- return false;
- }
- var recv_list = "deptcd,deptnm";
- var instcd = cmb_instcd.value;
- rpvfOpenDeptCdHelp(ipt_deptnm,recv_list, instcd, "instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_valuyy" class="search_name" style="left:5px; top:9px; width:86px; height:17px; font-weight:bold; ">평가년도 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/satexampsntrgt/instcd" class="combo_search" appearance="minimal" style="left:285px; top:8px; width:145px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:441px; top:9px; width:86px; height:17px; font-weight:bold; vertical-align:middle; ">부서코드 :</caption>
- <caption id="caption4" class="search_name" style="left:705px; top:9px; width:86px; height:17px; font-weight:bold; ">사원번호:</caption>
- <caption id="cap_instcd" class="search_name" style="left:200px; top:9px; width:86px; height:17px; font-weight:bold; ">기관코드 :</caption>
- <input id="ipt_deptcd" ref="/root/send/satexampsntrgt/deptcd" class="input_search" visibility="hidden" style="left:526px; top:8px; width:79px; height:19px; "/>
- <line id="line13" class="line_4" style="x1:1104px; y1:6px; x2:1104px; y2:28px; "/>
- <input id="ipt_valuyy" ref="/root/send/satexampsntrgt/valuyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:100px; top:8px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = cmb_instcd.value;
- rpvfComboInstCdList("cmb_instcd",ipt_valuyy.value);
- addComboItem( "cmb_instcd", "[-- 전체 --]", "", "above");
- cmb_instcd.value = instcd;
- ]]>
- </script>
- </input>
- <button id="btn_emplno" class="icon_search" style="left:875px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"1","N");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_emplno" ref="/root/send/satexampsntrgt/emplno" class="input_default" editable="true" style="left:785px; top:8px; width:87px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNO", recv_list);
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_emplnm" ref="/root/send/satexampsntrgt/emplnm" class="input_default" editable="false" style="left:895px; top:8px; width:119px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNM", recv_list);
- model.refresh();
- if (model.getValue(ipt_emplno.attribute("ref")).length > 0) {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_deptnm" ref="/root/send/satexampsntrgt/deptnm" class="input_search" style="left:526px; top:8px; width:145px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "deptcd,deptnm" );
-
- if (ipt_deptnm.label == "") {
- ipt_deptcd.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- </group>
- <button id="btn_saveexcel" class="btn2_letter5" style="left:1004px; top:49px; width:75px; height:19px; ">
- <caption>Excel저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- grd_satexampsntrgtlist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- </group>
- <!--<line id="line3" class="line_1" style="x1:0px; y1:67px; x2:1195px; y2:67px; "/>-->
- <group id="group4" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_cnfm" class="btn4_letter2" visibility="hidden" style="left:822px; top:3px; width:56px; height:22px; ">
- <caption>확정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // model.setValue("/root/send/examcnfmyn/valuyy", ipt_valuyy.value);
- // model.setValue("/root/send/examcnfmyn/instcd", cmb_instcd.value);
- // model.setValue("/root/send/examcnfmyn/cnfmyn", "Y");
- //
- // submit("TXRPV02303");
- //
- // if (model.getValue(gvErrorMsgPath + "/type") != "error")
- // {
- // btn_search.dispatch("DOMActivate");
- // }
-
- ]]>
- </script>
- </button>
- <button id="button5" class="btn4_letter3" style="left:1070px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSave("TXRPV02401");
- ]]>
- </script>
- </button>
- <button id="btn_cnfmcan" class="btn4_letter4" disabled="true" visibility="hidden" style="left:879px; top:3px; width:80px; height:22px; ">
- <caption>확정취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // model.setValue("/root/send/examcnfmyn/valuyy", ipt_valuyy.value);
- // model.setValue("/root/send/examcnfmyn/instcd", cmb_instcd.value);
- // model.setValue("/root/send/examcnfmyn/cnfmyn", "N");
- //
- // submit("TXRPV02303");
- //
- // if (model.getValue(gvErrorMsgPath + "/type") != "error")
- // {
- // btn_search.dispatch("DOMActivate");
- // }
- ]]>
- </script>
- </button>
- <line id="line2" class="line_6" style="x1:0px; y1:25; x2:1195; y2:25; "/>
- <button id="btn_makedata" class="btn4_letter5" disabled="false" visibility="visible" style="left:970px; top:3px; width:92px; height:22px; ">
- <caption>대상자생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( messageBox("대상자 생성시 " + ipt_valuyy.value + "년도의 Data는 모두 지워집니다.", "Q003") != '6') return;
- submit("TXRPV02402");
-
- if (model.getValue(gvErrorMsgPath + "/type") != "error")
- {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|