123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277 |
- <?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>SMRPH00900_교원재임용처리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <applist/>
- </main>
- <send>
- <instcd/>
- <prfshipflag/>
- <basedd/>
- </send>
- <init>
- <emplnototal/>
- <scrngvalupd>
- <label>1학기</label>
- <value>1</value>
- <label>2학기</label>
- <value>2</value>
- </scrngvalupd>
- </init>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- finit();
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/promotnmngtweb/js/RPH001.js"/>
- <script type="javascript" src="../../../mis/purccommonweb/js/PURC.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/valuationmngtweb/js/RPV001.js"/>
- <script type="javascript" src="../../../mis/educationmngtweb/js/RPS001.js"/>
- <script type="javascript">
- <![CDATA[
-
- function finit()
- {
- misfGridInit(grd_promotnflaglist);
-
- misfComboComCdList('Z0007', cmb_instcd,'N');
- misfComboComCdList("R0058",cmb_prfshipflag,'N');
-
-
- if (getCurrentDate().substr(4,2) > "03" && getCurrentDate().substr(4,2) <= "09" ){
- ipt_basedd.value = getCurrentDate().substr(0,4) + "0901";
- }else if (getCurrentDate().substr(4,2) > "03" ){
- ipt_basedd.value = getCurrentDate().substr(0,4) + "0301";
- }else{
- ipt_basedd.value = int(getCurrentDate().substr(0,4)) +1 + "0301";
- }
- model.setValue("/root/send/basedd", ipt_basedd.value);
-
- cmb_instcd.value = '103' ; // 기관(성의교정)
- cmb_prfshipflag.select(0); // 교직원구분
- // model.refresh();
-
- }
-
- //대상자 산출 버튼 클릭시 실행
- function fExecReapp(){
-
- if( !isRequiredControls("cmb_instcd","cmb_prfshipflag","ipt_basedd") ) return;
- submit("TRRPH01010");
- // btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- <submission id="TRRPH01010" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/applist"/>
- <bind id="bind1" ref="/root/init/emplnototal" calculate="count(/root/main/applist)" type="xsd:int"/>
- <submission id="TXRPH00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/rphmrentlist" resultref="/root/temp"/>
- <submission id="TXRPH00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1434;" style="margin-left:8; margin-right:8; ">
- <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:38px; width:1195px; height:732px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_instcd" class="search_name" style="left:15px; top:19px; width:80px; height:17px; ">기 관 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:18px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if( !isRequiredControls("cmb_instcd","cmb_prfshipflag","ipt_basedd") ) return;
-
- submit("TRRPH01010");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:17px; x2:1110px; y2:39px; "/>
- <caption id="caption278" class="tit_2" style="left:5px; top:79px; width:87px; height:13px; ">대상자 목록</caption>
- <line id="line207" class="line_1" style="x1:0px; y1:95px; x2:1195px; y2:95px; "/>
- <caption id="cap_prfshipflag" class="search_name" style="left:300px; top:19px; width:105px; height:17px; ">교직원구분 :</caption>
- <select1 id="cmb_prfshipflag" ref="/root/send/prfshipflag" class="combo_s_essential" disabled="true" appearance="minimal" itemcount="10" style="left:403px; top:18px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/scrngvalupd">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <button id="btn_excelsave" class="btn5_letter4" style="left:1018px; top:75px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_promotnflaglist.saveExcel(fileName, "sheet1");
- }
- ]]>
- </script>
- </button>
- <button id="btn_insert" class="btn2_letter3" navindex="12" style="left:1085px; top:75px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- rpsfMultiGridIUD(grd_promotnflaglist,"A");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter3" style="left:1140px; top:75px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- //한 로우씩만 삭제됨.
- rpsfMultiGridIUD(grd_promotnflaglist,"D");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption3" style="left:830px; top:75px; width:95px; height:20px; font-weight:bold; color:#0000ff; ">* 조회인원수:</caption>
- <output id="opt_emplnototal" ref="/root/init/emplnototal" format="#,###" style="left:915px; top:75px; width:65px; height:19px; font-weight:bold; color:#3366ff; text-align:right; "/>
- <input id="ipt_basedd" ref="/root/send/basedd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:645px; top:18px; width:105px; height:19px; "/>
- <caption id="cap_basedd" class="search_name" style="left:555px; top:19px; width:86px; height:17px; ">승급년월 :</caption>
- <input id="int_appocont" ref="/root/main/listdetail/cmt" class="input_default" style="left:85px; top:53px; width:1060px; height:19px; "/>
- <caption id="cap_appocont" class="cell_1" style="left:0px; top:50px; width:82px; height:23px; vertical-align:middle; ">발령근거</caption>
- <datagrid id="grd_promotnflaglist" nodeset="/root/main/applist" caption="^연번^원소속부서^근무부서^사원번호^성명^최초임용일^재임용일^재임용기간^재임용기간^직위^직종^직급^호봉^처리
여부^불가
사유^불가사유기타사항^비고^원소속코드^부서코드^직종^직위^직급^주민등록|^연번^원소속부서^근무부서^사원번호^성명^최초임용일^재임용일^시작일자^종료일자^직위^직종^직급^호봉^처리
여부^불가
사유^불가사유기타사항^비고^원소속코드^부서코드^직종^직위^직급^주민등록" colsep="^" colwidth="21, 40, 132, 100, 68, 73, 75, 75, 75, 75, 58, 73, 65, 42, 41, 80, 138, 71, 100, 100, 41, 41, 41, 41, 41, 100" explorerbar="sortshow" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:95px; width:1190px; height:625px; ">
- <col checkvalue="Y,N" ref="ck" type="checkbox"/>
- <col id="no" ref="no" style="text-align:center; "/>
- <col id="orginstnm" ref="orginstnm"/>
- <col id="deptnm" ref="deptnm"/>
- <col id="emplno" ref="emplno" style="text-align:center; "/>
- <col id="emplnm" ref="emplnm" style="text-align:center; "/>
- <col id="fstappntdd" ref="fstappntdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col id="reappntdd" ref="fstappntdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col id="edudeptappntfromdd" ref="edudeptappntfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col id="edudeptappnttodd" ref="edudeptappnttodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col id="jobposnm" ref="jobposnm" style="text-align:center; "/>
- <col id="jobkindnm" ref="jobkindnm" style="text-align:center; "/>
- <col id="gradnm" ref="gradnm" style="text-align:center; "/>
- <col id="payclscd" ref="payclscd" style="text-align:center; "/>
- <col checkvalue="Y,N" ref="limyn" type="checkbox" style="text-align:center; "/>
- <col id="noresn" ref="noresn" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col id="noresnetc" type="input" rref="noresnetc"/>
- <col id="remk" type="input" rref="remk"/>
- <col id="orginstcd" ref="orginstcd" visibility="hidden"/>
- <col id="deptcd" ref="deptcd" visibility="hidden"/>
- <col id="jobkindcd" ref="jobkindcd" visibility="hidden"/>
- <col id="jobposcd" ref="jobposcd" visibility="hidden"/>
- <col id="gradcd" ref="gradcd" visibility="hidden"/>
- <col id="rregno" ref="rregno" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- /*
- var cur_row = grd_promotnflaglist.row;
- if ( cur_row > 0 ) {
- fEnableUpdateButton();
- model.copyNode("/root/main/listdetail","/root/main/promotnflaglist["+(cur_row-1)+"]");
- ipt_emplno_d.disabled=true;
- ipt_emplnm_d.disabled=true;
- btn_emplno.disabled=true;
- ipt_gradupym_d.disabled = true;
- model.refresh();
- */
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_promotnflaglist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_search" navindex="1" appearance="minimal" style="left:91px; top:19px; width:153px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // model.setValue("/root/send/dutcdparams/instcd", cmb_instcd.value)
- ]]>
- </script>
- </select1>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:28px; ">
- <button id="button16" class="btn3_letter9" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>재임용 대상자 출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPRPH01101","XMLSTR");
- ]]>
- </script>
- </button>
- <line id="line4" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
- <button id="btn_exe" class="btn4_letter5" style="left:1037px; top:3px; width:92px; height:22px; ">
- <caption>대상자산출</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExecReapp();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1130px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!rpsMulilineGridCheckKey("grd_promotnflaglist")) return;
-
- var updtdata = getGridUpdateData(grd_promotnflaglist);
-
- if (updtdata == "" ) {
- messageBox("변경된 데이터가","I004");
- return;
- }
-
- misfSave("TXRPH00901");
-
- btn_search.dispatch("DOMActivate");
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|