123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131 |
- <?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>SMRTS02500_개인복무계획신청수련부승인</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <srvarlist>
- <dutscheapplist/>
- </srvarlist>
- <reqsrvarlist>
- <dutscheapplist>
- <dutplcedeptnm/>
- <emplno/>
- <emplnm/>
- <seqno/>
- <dutcd/>
- <dutdetlcd/>
- <srvarmfromdd/>
- <srvarmtodd/>
- <srvarmdayno/>
- <academyfromdd/>
- <academytodd/>
- <academydayno/>
- <academy_tp/>
- <subject/>
- <paper_nm/>
- <pbl_yn/>
- <nation_cd/>
- <organ/>
- <s_money/>
- <s_money_unit/>
- <r_money/>
- <r_money_unit/>
- <appresn/>
- <deprtmangraprvyn/>
- <psnworkapryn/>
- </dutscheapplist>
- </reqsrvarlist>
- </main>
- <send>
- <dutschepsnworkcnfm>
- <instcd/>
- <frommm/>
- <tomm/>
- <dutunitcd/>
- <dutunitnm/>
- <emplno/>
- <emplnm/>
- <psnworkapryn/>
- <apprtcdrflag/>
- <dutdetlcd/>
- <dutcd/>
- <anual/>
- </dutschepsnworkcnfm>
- <save>
- <dutscheapplist/>
- </save>
- <req>
- <fromdutdetlcd/>
- <todutdetlcd/>
- </req>
- </send>
- <hidden>
- <dutdetlcd/>
- <dutdetlcdserch/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_dutschepsnworkcnfmlist);
- misfMsterDetailSet(grd_dutschepsnworkcnfmlist, null, "TRRTS02501" ,"Y");
-
- rszfGetLabelControlComboList("R0314", "cmb_instcd", "detldesc");
-
- misfGridComboComCdList("R0317",grd_dutschepsnworkcnfmlist,"dutcd");
- misfGridComboComCdList("R0318",grd_dutschepsnworkcnfmlist,"dutdetlcd");
- misfGridComboComCdList("R0142",grd_dutschepsnworkcnfmlist,"nation_cd");
- misfGridComboComCdList("R0047",grd_dutschepsnworkcnfmlist,"s_money_unit");
- misfGridComboComCdList("R0047",grd_dutschepsnworkcnfmlist,"r_money_unit");
-
- misfComboComCdListMulti("R0151,R0317,R0281,R0317,R0142,R0047,R0047","cmb_apprtcdrflag,cmb_dutcd_serch,cmb_anual,cmb_dutcd,cmb_nation_cd,cmb_s_money_unit,cmb_r_money_unit");
-
- addComboItem( "cmb_instcd", "전체", "", "above");
- addComboItem( "cmb_dutcd_serch", "전체", "", "above");
- addComboItem( "cmb_apprtcdrflag", "전체", "", "above");
- addComboItem( "cmb_anual", "전체", "", "above");
-
- model.setValue("/root/send/dutschepsnworkcnfm/instcd", getUserInfo("dutplceinstcd"));
- //model.setValue("/root/send/dutschepsnworkcnfm/dutunitcd", getUserInfo("dutplcecd"));
-
- //화면 권한 설정
- btn_search.disabled = !(checkAuth("R"));
- btn_save.disabled = !(checkAuth("X"));
-
- btn_search.dispatch("DOMActivate");
-
- model.refresh();
- ]]>
- </script>
- <submission id="TXRTS02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hiddeen/temp"/>
- <submission id="TRRTS02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dutschepsnworkcnfm" resultref="/root/main/srvarlist"/>
- <submission id="TRRTS02302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden/dutdetlcd"/>
- <submission id="TRRTS02303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden/dutdetlcdserch"/>
- <submission id="TXRTS02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/srvarlist/dutscheapplist" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/dligclaznsmngtweb/js/RPD001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript">
- <![CDATA[
- /* 근태구분이 바뀜에 따라 그에 맞는 세부구분을 조회해온다 */
- function fReqDutdetlCd(value, check){
- if(value == '01'){
- model.setValue("/root/send/req/fromdutdetlcd","01");
- model.setValue("/root/send/req/todutdetlcd","02");
- }
- else if(value == '02'){
- model.setValue("/root/send/req/fromdutdetlcd","03");
- model.setValue("/root/send/req/todutdetlcd","11");
- }
- else if(value == '03'){
- model.setValue("/root/send/req/fromdutdetlcd","12");
- model.setValue("/root/send/req/todutdetlcd","12");
- }
- else if(value == '04'){
- model.setValue("/root/send/req/fromdutdetlcd","13");
- model.setValue("/root/send/req/todutdetlcd","13");
- }
- else if(value == '05'){
- model.setValue("/root/send/req/fromdutdetlcd","14");
- model.setValue("/root/send/req/todutdetlcd","17");
- }
- else if(value == '06'){
- model.setValue("/root/send/req/fromdutdetlcd","18");
- model.setValue("/root/send/req/todutdetlcd","18");
- }
- else
- {
- model.setValue("/root/send/req/fromdutdetlcd","");
- model.setValue("/root/send/req/todutdetlcd","");
- }
- // 신청 메뉴의 세부구분 세팅
- if(!check)
- {
- submit("TRRTS02302");
- }
- // 조회조건의 세부구분 세팅
- else
- {
- submit("TRRTS02303");
- }
- }
- function fDisabledControl(check)
- {
- ipt_emplno.disabled = check;
- ipt_emplnm.disabled = check;
- cmb_dutcd.disabled = check;
- cmb_dutdetlcd.disabled = check;
- ipt_srvarmfromdd.disabled = check;
- ipt_srvarmtodd.disabled = check;
- ipt_srvarmdayno.disabled = check;
- ipt_appresn.disabled = check;
- btn_emplsearch.disabled = check;
- }
-
- function fDisabledSubControl(check)
- {
- ipt_academyfromdd.disabled = check;
- ipt_academytodd.disabled = check;
- cmb_academy_tp.disabled = check;
- ipt_academydayno.disabled = check;
- ipt_subject.disabled = check;
- ipt_paper_nm.disabled = check;
- cmb_pbl_yn.disabled = check;
- cmb_nation_cd.disabled = check;
- ipt_organ.disabled = check;
- ipt_s_money.disabled = check;
- cmb_s_money_unit.disabled = check;
- ipt_r_money.disabled = check;
- cmb_r_money_unit.disabled = check;
- }
-
- /*공가(학회및기타)일 경우 값필드값 초기화*/
- function fInitOfficeHoliday() {
- cmb_academy_tp.value = "";
- ipt_srvarmdayno.value = "";
- ipt_academyfromdd.value = "";
- ipt_academytodd.value = "";
- ipt_academydayno.value = "";
- ipt_paper_nm.value = "";
- ipt_subject.value = "";
- cmb_pbl_yn.value = "";
- cmb_nation_cd.value = "";
- ipt_organ.value = "";
- ipt_s_money.value = "";
- cmb_s_money_unit.value = "";
- ipt_r_money.value = "";
- cmb_r_money_unit.value = "";
- ipt_appresn.value = "";
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,783;" 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:230px; height:14px; ">개인복무계획신청수련부승인</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <datagrid id="grd_dutschepsnworkcnfmlist" nodeset="/root/main/srvarlist/dutscheapplist" caption="부서명^사원번호^성명^순번^근무코드^근태세부구분^신청(체류)기간^신청(체류)기간^신청일수^임상과장승인^승인^신청사유^실학회기간^실학회기간^공가일수^학회구분^학회명^발표시연제명^발표여부^국가^기관^학회보조비^단위^학회등록비^단위^전공의구분|부서명^사원번호^성명^순번^근무코드^근태세부구분^시작일^종료일^신청일수^임상과장승인^승인^신청사유^시작일^종료일^공가일수^학회구분^학회명^발표시연제명^발표여부^국가^기관^학회보조비^단위^학회등록비^단위^전공의구분" colsep="^" colwidth="100, 73, 80, 0, 65, 100, 92, 99, 58, 45, 45, 270, 100, 100, 45, 100, 100, 100, 100, 70, 80, 100, 100, 100, 100" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:120px; width:1195px; height:425px; ">
- <col disabled="true" ref="dutplcedeptnm"/>
- <col disabled="true" ref="emplno"/>
- <col disabled="true" ref="emplnm"/>
- <col disabled="true" ref="seqno" visibility="hidden"/>
- <col disabled="true" ref="dutcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="dutdetlcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="srvarmfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="srvarmtodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="srvarmdayno"/>
- <col checkvalue="Y,N" disabled="false" ref="deprtmangraprvyn" type="checkbox"/>
- <col checkvalue="Y,N" disabled="false" ref="psnworkapryn" type="checkbox"/>
- <col disabled="true" ref="appresn"/>
- <col disabled="true" ref="academyfromdd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="academytodd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="academydayno" visibility="hidden" style="text-align:center; vertical-align:middle; "/>
- <col disabled="true" ref="academy_tp" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>학회참석</label>
- <value>00001</value>
- </item>
- <item>
- <label>좌장</label>
- <value>00002</value>
- </item>
- <item>
- <label>구연</label>
- <value>00003</value>
- </item>
- <item>
- <label>포스터 First Name</label>
- <value>00004</value>
- </item>
- <item>
- <label>포스터 Second Name</label>
- <value>00005</value>
- </item>
- </choices>
- </col>
- <col ref="subject" visibility="hidden"/>
- <col ref="paper_nm" visibility="hidden"/>
- <col ref="pbl_yn" visibility="hidden"/>
- <col disabled="true" ref="nation_cd" type="combo" visibility="hidden">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="organ" visibility="hidden"/>
- <col disabled="true" ref="s_money" visibility="hidden"/>
- <col disabled="true" ref="s_money_unit" type="combo" visibility="hidden">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="r_money" visibility="hidden"/>
- <col disabled="true" ref="r_money_unit" type="combo" visibility="hidden">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="apprtname" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- var cur_row = grd_dutschepsnworkcnfmlist.row;
-
- model.copyNode("/root/main/reqsrvarlist/dutscheapplist", "/root/main/srvarlist/dutscheapplist["+ (cur_row - 1 )+ "]");
-
- fDisabledControl(true);
- fDisabledSubControl(true);
-
- fReqDutdetlCd(cmb_dutcd.value, false);
-
- model.dispatch("onmouseup");
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:114; x2:1195px; y2:114; "/>
- <caption id="caption3" class="tit_2" style="left:5px; top:99; width:100px; height:13px; ">개인신청현황</caption>
- <group id="group4" style="left:0px; top:10px; width:1195px; height:80; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:80; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line3" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:76; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1124px; top:32; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if(!isRequiredControls("ipt_dutdeptcd"))return;
-
- misfMsterDetailRetrieve();
- misfSetReadOnlyCol(grd_dutschepsnworkcnfmlist, "dutplcedeptnm,emplno,emplnm,dutcd,dutplcedeptcd,srvarmfromdd,srvarmtodd,srvarmdayno,appresn", true);
-
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:20px; top:52; width:86px; height:17px; ">사원번호 :</caption>
- <button id="btn_emplno" class="icon_search" style="left:192px; top:53; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno_search, "emplno,emplnm,dutunitcd,dutunitnm", "", "N");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_emplnm_search" ref="/root/send/dutschepsnworkcnfm/emplnm" class="input_search" navindex="3" style="left:212px; top:51px; width:127px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- if(ipt_emplnm_search.value == ipt_emplnm_search.currentText) return;
-
- ipt_emplnm_search.value = ipt_emplnm_search.currentText;
- rpbfValidationCheck("EMPLNM", "emplno,emplnm,dutunitcd,dutunitnm");
-
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNM", "emplno,emplnm,dutunitcd,dutunitnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_emplno_search" ref="/root/send/dutschepsnworkcnfm/emplno" class="input_search" navindex="2" maxlength="10" style="left:108px; top:51px; width:80px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- if(ipt_emplno_search.value == ipt_emplno_search.currentText) return;
-
- ipt_emplno_search.value = ipt_emplno_search.currentText;
-
- rpbfValidationCheck("EMPLNO", "emplno,emplnm");
-
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNO", "emplno,emplnm,dutunitcd,dutunitnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <select1 id="rdo_deprtmangraprvyn" ref="/root/send/dutschepsnworkcnfm/psnworkapryn" appearance="full" cols="3" overflow="visible" style="left:910px; top:31px; width:150px; height:14px; border-style:none; ">
- <choices>
- <item>
- <label>승인</label>
- <value>Y</value>
- </item>
- <item>
- <label>미승인</label>
- <value>N</value>
- </item>
- <item>
- <label>전체</label>
- <value/>
- </item>
- </choices>
- </select1>
- <caption id="caption9" class="search_name" style="left:805px; top:30px; width:101px; height:17px; ">승인 여부 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/dutschepsnworkcnfm/instcd" class="combo_search" disabled="false" navindex="1" appearance="minimal" style="left:108px; top:8px; width:230px; height:19px; ">
- <choices>
- <itemset>
- <label ref="CDID"/>
- <value ref="DETLDESC"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:20px; top:9px; width:112px; height:17px; ">근무기관 :</caption>
- <button id="btn_dutdept" class="icon_search" disabled="false" style="left:192px; top:32px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_dutdeptcd, "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_dutdeptcd" class="search_name" style="left:20px; top:31px; width:87px; height:17px; ">부 서 :</caption>
- <input id="ipt_dutdeptnm" ref="/root/send/dutschepsnworkcnfm/dutunitnm" class="input_search" disabled="false" navindex="3" style="left:212px; top:30px; width:127px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_dutdeptnm.value = ipt_dutdeptnm.currentText;
-
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_dutdeptcd" ref="/root/send/dutschepsnworkcnfm/dutunitcd" class="input_search" disabled="false" navindex="2" maxlength="10" style="left:108px; top:30px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_dutdeptcd.value = ipt_dutdeptcd.currentText;
-
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption12" class="search_name" style="left:452px; top:9px; width:112px; height:17px; ">전공의 구분 :</caption>
- <select1 id="cmb_apprtcdrflag" ref="/root/send/dutschepsnworkcnfm/apprtcdrflag" appearance="minimal" style="left:560px; top:8px; width:150px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_anual" ref="/root/send/dutschepsnworkcnfm/anual" appearance="minimal" style="left:910px; top:50px; width:150px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption13" class="search_name" style="left:805px; top:52px; width:101px; height:17px; ">년 차 :</caption>
- <select1 id="cmb_dutcd_serch" ref="/root/send/dutschepsnworkcnfm/dutcd" appearance="minimal" style="left:540px; top:30px; width:170px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(cmb_dutcd_serch.value == "") {
- cmb_dutdetlcd_serch.value = "";
- model.resetInstanceNode("/root/hidden/dutdetlcdserch");
- model.refresh();
- }else{
- fReqDutdetlCd(cmb_dutcd_serch.value, true);
- addComboItem( "cmb_dutdetlcd_serch", "전체", "", "above");
- cmb_dutdetlcd_serch.select(0);
- cmb_dutdetlcd_serch.refresh();
- }
- ]]>
- </script>
- </select1>
- <caption id="caption10" class="search_name" style="left:452px; top:52px; width:88px; height:17px; ">세부구분 :</caption>
- <caption id="caption11" class="search_name" style="left:452px; top:31px; width:87px; height:17px; ">근태구분 :</caption>
- <select1 id="cmb_dutdetlcd_serch" ref="/root/send/dutschepsnworkcnfm/dutdetlcd" appearance="minimal" style="left:540px; top:51px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/dutdetlcdserch">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <button id="btn_excellsave" class="btn2_letter4" style="left:803px; top:93px; 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_dutschepsnworkcnfmlist.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:true;rowhiddenextend:false;exportfalsecols:0,0;col_1:value;");
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter4" visibility="visible" style="left:868px; top:93px; width:64px; height:19px; ">
- <caption>전체승인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var i=grd_dutschepsnworkcnfmlist.fixedRows; i<grd_dutschepsnworkcnfmlist.rows; i++)
- {
- if(grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("psnworkapryn")) == "N")
- {
- grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("psnworkapryn")) = "Y";
- grd_dutschepsnworkcnfmlist.addStatus(i, "update");
- }
- }
- for(var i=grd_dutschepsnworkcnfmlist.fixedRows; i<grd_dutschepsnworkcnfmlist.rows; i++)
- {
- if(grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("deprtmangraprvyn")) == "N")
- {
- grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("deprtmangraprvyn")) = "Y";
- grd_dutschepsnworkcnfmlist.addStatus(i, "update");
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter6" visibility="visible" style="left:933px; top:93px; width:86px; height:19px; ">
- <caption>전체승인취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var i=grd_dutschepsnworkcnfmlist.fixedRows; i<grd_dutschepsnworkcnfmlist.rows; i++)
- {
- if(grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("psnworkapryn")) == "Y")
- {
- grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("psnworkapryn")) = "N";
- grd_dutschepsnworkcnfmlist.addStatus(i, "update");
- }
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/send/req/fromdutdetlcd" visibility="hidden" style="left:575px; top:90px; width:55px; height:19px; "/>
- <input id="input2" ref="/root/send/req/todutdetlcd" visibility="hidden" style="left:635px; top:90px; width:35px; height:19px; "/>
- <button id="button3" class="btn5_letter2" visibility="visible" style="left:1148px; top:562px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_emplno")) return;
- if(!isRequiredControls("cmb_dutcd")) return;
- if(!isRequiredControls("ipt_srvarmfromdd")) return;
- if(!isRequiredControls("ipt_srvarmfromdd")) return;
-
- /* 새로운 데이터를 입력시 */
- if(grd_dutschepsnworkcnfmlist.rowStatus(grd_dutschepsnworkcnfmlist.row) == 1)
- {
- model.copyNode("/root/main/srvarlist/dutscheapplist[" + (grd_dutschepsnworkcnfmlist.row - 1) + "]","/root/main/reqsrvarlist/dutscheapplist");
-
- model.resetInstanceNode("/root/main/reqsrvarlist/dutscheapplist");
-
- grd_dutschepsnworkcnfmlist.refresh();
-
- misfSave("TXRTS02301");
-
- fDisabledControl(true);
- fDisabledSubControl(true);
-
- btn_search.dispatch("DOMActivate");
- }
-
- /* 조회된 데이터를 수정 할때 */
- else if(grd_dutschepsnworkcnfmlist.rowStatus(grd_dutschepsnworkcnfmlist.row) == 0)
- {
- misfGridRowStatusChange(grd_dutschepsnworkcnfmlist, "/root/main/srvarlist" , "/root/main/reqsrvarlist");
- grd_dutschepsnworkcnfmlist.refresh();
-
- var updtdata = getGridUpdateData(grd_dutschepsnworkcnfmlist);
-
- if (updtdata == "")
- {
- messageBox("변경된 데이터가","I004");
- cmb_dutcd.disabled = false;
- cmb_dutdetlcd.disabled = false;
- ipt_srvarmfromdd.disabled = false;
- ipt_srvarmtodd.disabled = false;
- return;
- }
-
- model.resetInstanceNode("/root/main/reqsrvarlist/dutscheapplist");
-
- misfSave("TXRTS02301");
-
- cmb_dutcd.disabled = true;
- cmb_dutdetlcd.disabled = true;
- ipt_srvarmfromdd.disabled = true;
- ipt_srvarmtodd.disabled = true;
- ipt_appresn.disabled = true;
-
- fDisabledSubControl(true);
-
- btn_search.dispatch("DOMActivate");
- }
- /* 조회된 데이터를 삭제 할때
- else if(grd_dutschepsnworkcnfmlist.rowStatus(grd_dutschepsnworkcnfmlist.row) == 4)
- {
- misfSave("TXRPB11001");
-
- model.resetInstanceNode("/root/main/list/crtfctlist");
- fAllControlDisabled(true);
-
- btn_search.dispatch("DOMActivate");
-
- grd_crtfctlist.select(1, 1, 1, grd_crtfctlist.colRef("jobrespcd")) = true;
- grd_crtfctlist.dispatch("onrowchanged");
-
- model.refresh();
- return;
- }
- */
- ]]>
- </script>
- </button>
- <caption id="caption25" class="tit_2" style="left:0px; top:565px; width:144px; height:13px; ">근태 신청 메뉴</caption>
- <button id="btn_grdadddutschedeptcnfmlist" class="btn2_letter2" visibility="visible" style="left:1020px; top:93px; width:42px; height:19px; ">
- <caption>신청</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_dutschepsnworkcnfmlist);
-
- if ( updtdata != "")
- {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 작업을","Q003");
-
- if (ret == 7) { // not OK
- return;
- }
- }
- misfGridIUD(grd_dutschepsnworkcnfmlist, "A");
-
- grd_dutschepsnworkcnfmlist.dispatch("onrowchanged");
-
- ipt_deprtmangraprvyn.value = 'N';
- ipt_psnworkapryn.value = 'N';
-
- model.setValue("/root/main/reqsrvarlist/dutscheapplist/emplno",ipt_emplno.value);
-
- fDisabledControl(false);
- fDisabledSubControl(true);
-
- misfSetReadOnlyCol(grd_dutschepsnworkcnfmlist, ",psnworkapryn,deprtmangraprvyn,dutcd,dutdetlcd,academy_tp,nation_cd,submoney,acompmfamy,s_money_unit,r_money_unit", true);
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter4" visibility="visible" style="left:1128px; top:93px; width:64px; height:19px; ">
- <caption>신청삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var retMes = messageBox("저장 하시겠습니까?", "Q999");
- if ( retMes != 6) {
- return;
- }
-
- var sPsnworkapryn = grd_dutschepsnworkcnfmlist.valueMatrix(grd_dutschepsnworkcnfmlist.row, grd_dutschepsnworkcnfmlist.colRef("psnworkapryn"));
-
- if(sPsnworkapryn == 'Y'){
- messageBox("수련부에서 승인하여 삭제 할 수 ","I004");
- return;
- }
- else
- {
- misfGridIUD(grd_dutschepsnworkcnfmlist, "D");
- misfSave("TXRTS02301");
- }
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter4" visibility="visible" style="left:1063px; top:93px; width:64px; height:19px; ">
- <caption>신청수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_dutschepsnworkcnfmlist);
-
- if ( updtdata != "")
- {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 작업을","Q003");
-
- if (ret == 7) { // not OK
- return;
- }
- }
- if(grd_dutschepsnworkcnfmlist.rows - grd_dutschepsnworkcnfmlist.fixedRows == 0)
- {
- return;
- }
-
- var sPsnworkapryn = grd_dutschepsnworkcnfmlist.valueMatrix(grd_dutschepsnworkcnfmlist.row, grd_dutschepsnworkcnfmlist.colRef("psnworkapryn"));
-
- if(sPsnworkapryn == 'Y'){
- messageBox("수련부에서 승인하여 삭제 할 수 ","I004");
- return;
- }
-
- cmb_dutcd.disabled = true;
- cmb_dutdetlcd.disabled = true;
-
- if(cmb_dutcd.value == "05"){
- ipt_srvarmfromdd.disabled = false;
- ipt_srvarmtodd.disabled = false;
- ipt_srvarmdayno.disabled = false;
- ipt_appresn.disabled = false;
-
- cmb_academy_tp.disabled = false;
- ipt_academyfromdd.disabled = false;
- ipt_academytodd.disabled = false;
- ipt_academydayno.disabled = false;
- ipt_paper_nm.disabled = false;
- ipt_subject.disabled = false;
- cmb_pbl_yn.disabled = false;
- cmb_nation_cd.disabled = false;
- ipt_organ.disabled = false;
- ipt_s_money.disabled = false;
- cmb_s_money_unit.disabled = false;
- ipt_r_money.disabled = false;
- cmb_r_money_unit.disabled = false;
- }else{
- ipt_srvarmfromdd.disabled = false;
- ipt_srvarmtodd.disabled = false;
- ipt_srvarmdayno.disabled = false;
- ipt_appresn.disabled = false;
- }
-
- model.copyNode("/root/main/reqsrvarlist/dutscheapplist","/root/main/srvarlist/dutscheapplist[" + (grd_dutschepsnworkcnfmlist.row - 1) + "]");
- fReqDutdetlCd(cmb_dutcd.value, false);
- cmb_dutdetlcd.dispatch("xforms-value-changed");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <group id="group2" visibility="visible" style="left:5px; top:585px; width:1190px; height:159px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:5px; width:1190px; height:145px; "/>
- <select1 id="cmb_dutcd" ref="/root/main/reqsrvarlist/dutscheapplist/dutcd" disabled="true" appearance="minimal" style="left:563px; top:8px; width:112px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fReqDutdetlCd(cmb_dutcd.value);
- cmb_dutdetlcd.select(0);
- cmb_dutdetlcd.refresh();
-
- //필드갓 초기화
- fInitOfficeHoliday();
- if(cmb_dutcd.value == "05"){
- cmb_academy_tp.select(0);
- cmb_nation_cd.select(0);
- cmb_pbl_yn.select(0);
-
- fDisabledSubControl(false);
- }
- else {
- fDisabledSubControl(true);
- }
- ]]>
- </script>
- </select1>
- <caption id="cap_srvarmtodd" class="cell_1" style="left:233px; top:31px; width:91px; height:23px; vertical-align:middle; ">체류종료일</caption>
- <select1 id="cmb_dutdetlcd" ref="/root/main/reqsrvarlist/dutscheapplist/dutdetlcd" disabled="true" appearance="minimal" style="left:677px; top:8px; width:152px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/dutdetlcd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_appresn" class="cell_1" style="left:2px; top:122px; width:91px; height:23px; vertical-align:middle; ">장소및신청사유</caption>
- <caption id="cap_srvarmfromdd" class="cell_1" style="left:2px; top:31px; width:91px; height:23px; vertical-align:middle; ">체류시작일</caption>
- <input id="ipt_srvarmfromdd" ref="/root/main/reqsrvarlist/dutscheapplist/srvarmfromdd" disabled="true" inputtype="date" style="left:95px; top:33px; width:135px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sFromDD = ipt_srvarmfromdd.value;
- var sToDD = ipt_srvarmtodd.value;
-
- if(sToDD.length != 8)
- {
- ipt_srvarmtodd.value = sFromDD;
- }
-
- var dayno = getDateInterval(ipt_srvarmfromdd.value, ipt_srvarmtodd.value);
- ipt_srvarmdayno.value = dayno + 1;
-
- ]]>
- </script>
- </input>
- <input id="ipt_srvarmtodd" ref="/root/main/reqsrvarlist/dutscheapplist/srvarmtodd" disabled="true" inputtype="date" style="left:326px; top:33px; width:135px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sFromDD = ipt_srvarmfromdd.value;
- var sToDD = ipt_srvarmtodd.value;
-
- if(sFromDD.length != 8)
- {
- ipt_srvarmfromdd.value = sToDD;
- }
-
- var dayno = getDateInterval(ipt_srvarmfromdd.value, ipt_srvarmtodd.value);
- ipt_srvarmdayno.value = dayno + 1;
- ]]>
- </script>
- </input>
- <line id="line2" class="line_2" style="x1:0px; y1:30px; x2:466px; y2:30px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:54px; x2:466px; y2:54px; "/>
- <input id="ipt_appresn" ref="/root/main/reqsrvarlist/dutscheapplist/appresn" disabled="true" maxlength="255" style="left:95px; top:125px; width:1071px; height:19px; "/>
- <caption id="cap_dutcd" class="cell_1" style="left:470px; top:7px; width:91px; height:23px; vertical-align:middle; ">근태구분</caption>
- <line id="line5" class="line_2" style="x1:0px; y1:123px; x2:466px; y2:123px; "/>
- <input id="ipt_srvarmdayno" ref="/root/main/reqsrvarlist/dutscheapplist/srvarmdayno" disabled="true" visibility="visible" style="left:563px; top:33px; width:267px; height:19px; "/>
- <caption id="cap_srvarmdayno" class="cell_1" visibility="visible" style="left:470px; top:31px; width:91px; height:23px; vertical-align:middle; ">휴가일수</caption>
- <line id="line7" class="line_2" style="x1:0px; y1:78px; x2:465px; y2:77px; "/>
- <input id="ipt_s_money" ref="/root/main/reqsrvarlist/dutscheapplist/s_money" disabled="true" style="left:95px; top:103px; width:135px; height:19px; "/>
- <input id="ipt_r_money" ref="/root/main/reqsrvarlist/dutscheapplist/r_money" disabled="true" style="left:563px; top:101px; width:135px; height:19px; "/>
- <line id="line11" class="line_2" style="x1:470px; y1:54px; x2:1190px; y2:54px; "/>
- <line id="line13" class="line_2" style="x1:470px; y1:78px; x2:1190px; y2:78px; "/>
- <input id="ipt_paper_nm" ref="/root/main/reqsrvarlist/dutscheapplist/paper_nm" disabled="true" maxlength="255" style="left:928px; top:33px; width:240px; height:19px; "/>
- <caption id="cap_s_money" class="cell_1" style="left:2px; top:99px; width:91px; height:23px; vertical-align:middle; ">보조비</caption>
- <caption id="cap_r_money_unit" class="cell_1" style="left:701px; top:100px; width:91px; height:23px; vertical-align:middle; ">화페단위</caption>
- <input id="ipt_subject" ref="/root/main/reqsrvarlist/dutscheapplist/subject" disabled="true" maxlength="255" style="left:563px; top:80px; width:267px; height:19px; "/>
- <caption id="cap_pbl_yn" class="cell_1" style="left:835px; top:55px; width:91px; height:23px; vertical-align:middle; ">발표여부</caption>
- <input id="ipt_organ" ref="/root/main/reqsrvarlist/dutscheapplist/organ" disabled="true" maxlength="50" style="left:929px; top:80px; width:238px; height:19px; "/>
- <caption id="cap_nation_cd" class="cell_1" style="left:2px; top:79px; width:91px; height:23px; vertical-align:middle; ">국가</caption>
- <select1 id="cmb_pbl_yn" ref="/root/main/reqsrvarlist/dutscheapplist/pbl_yn" disabled="true" appearance="minimal" style="left:928px; top:57px; width:240px; height:19px; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="cap_subject" class="cell_1" style="left:470px; top:77px; width:91px; height:23px; vertical-align:middle; ">학회명</caption>
- <select1 id="cmb_academy_tp" ref="/root/main/reqsrvarlist/dutscheapplist/academy_tp" disabled="true" appearance="minimal" style="left:929px; top:9px; width:240px; height:19px; ">
- <choices>
- <item>
- <label>학회참석</label>
- <value>00001</value>
- </item>
- <item>
- <label>좌장</label>
- <value>00002</value>
- </item>
- <item>
- <label>구연</label>
- <value>00003</value>
- </item>
- <item>
- <label>포스터 First Name</label>
- <value>00004</value>
- </item>
- <item>
- <label>포스터 Second Name</label>
- <value>00005</value>
- </item>
- </choices>
- </select1>
- <caption id="cap_paper_nm" class="cell_1" style="left:835px; top:31px; width:91px; height:23px; vertical-align:middle; ">발표시연제명</caption>
- <select1 id="cmb_nation_cd" ref="/root/main/reqsrvarlist/dutscheapplist/nation_cd" disabled="true" appearance="minimal" style="left:95px; top:80px; width:252px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_organ" class="cell_1" style="left:835px; top:79px; width:91px; height:23px; vertical-align:middle; ">학회주체기관</caption>
- <caption id="cap_academy_tp" class="cell_1" style="left:835px; top:7px; width:91px; height:23px; vertical-align:middle; ">참가형태</caption>
- <line id="line14" class="line_2" style="x1:469px; y1:121px; x2:1189px; y2:121px; "/>
- <line id="line15" class="line_2" style="x1:470px; y1:30px; x2:1190px; y2:30px; "/>
- <input id="ipt_seqno" ref="/root/main/reqsrvarlist/dutscheapplist/seqno" visibility="hidden" style="left:1061px; top:101px; width:30px; height:19px; "/>
- <input id="ipt_academytodd" ref="/root/main/reqsrvarlist/dutscheapplist/academytodd" disabled="true" inputtype="date" style="left:326px; top:56px; width:135px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sFromDD = ipt_academyfromdd.value;
- var sToDD = ipt_academytodd.value;
-
- if(sFromDD.length != 8)
- {
- ipt_academyfromdd.value = sToDD;
- }
-
- var dayno1 = 0;
- var dayno2 = 0;
- dayno1 = getDateInterval(ipt_srvarmfromdd.value, ipt_srvarmtodd.value);
- dayno2 = getDateInterval(ipt_academyfromdd.value, ipt_academytodd.value);
-
- ipt_academydayno.value = dayno2 + 1;
- ipt_srvarmdayno.value = (dayno1 + 1) - (dayno2 + 1);
- ]]>
- </script>
- </input>
- <caption id="cap_academytodd" class="cell_1" style="left:233px; top:55px; width:91px; height:23px; vertical-align:middle; ">실학회종료일</caption>
- <caption id="cap_academyfromdd" class="cell_1" style="left:2px; top:55px; width:91px; height:23px; vertical-align:middle; ">실학회시작일</caption>
- <input id="ipt_academyfromdd" ref="/root/main/reqsrvarlist/dutscheapplist/academyfromdd" disabled="true" inputtype="date" style="left:95px; top:57px; width:135px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sFromDD = ipt_academyfromdd.value;
- var sToDD = ipt_academytodd.value;
-
- if(sToDD.length != 8)
- {
- ipt_academytodd.value = sFromDD;
- }
-
- var dayno1 = 0;
- var dayno2 = 0;
- dayno1 = getDateInterval(ipt_srvarmfromdd.value, ipt_srvarmtodd.value);
- dayno2 = getDateInterval(ipt_academyfromdd.value, ipt_academytodd.value);
-
- ipt_academydayno.value = dayno2 + 1;
- ipt_srvarmdayno.value = (dayno1 + 1) - (dayno2 + 1);
- ]]>
- </script>
- </input>
- <line id="line6" class="line_2" style="x1:10px; y1:101px; x2:475px; y2:100px; "/>
- <line id="line8" class="line_2" style="x1:470px; y1:100px; x2:1190px; y2:100px; "/>
- <caption id="cap_r_money" class="cell_1" style="left:470px; top:101px; width:91px; height:23px; vertical-align:middle; ">등록비</caption>
- <line id="line9" class="line_2" style="x1:3px; y1:145px; x2:469px; y2:145px; "/>
- <line id="line10" class="line_2" style="x1:469px; y1:145px; x2:1189px; y2:145px; "/>
- <caption id="cap_s_money_unit" class="cell_1" style="left:233px; top:101px; width:91px; height:23px; vertical-align:middle; ">화페단위</caption>
- <input id="ipt_deprtmangraprvyn" ref="/root/main/reqsrvarlist/dutscheapplist/deprtmangraprvyn" visibility="hidden" style="left:1101px; top:101px; width:30px; height:19px; "/>
- <input id="ipt_psnworkapryn" ref="/root/main/reqsrvarlist/dutscheapplist/psnworkapryn" visibility="hidden" style="left:1136px; top:101px; width:30px; height:19px; "/>
- <select1 id="cmb_s_money_unit" ref="/root/main/reqsrvarlist/dutscheapplist/s_money_unit" disabled="true" appearance="minimal" style="left:326px; top:103px; width:135px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_r_money_unit" ref="/root/main/reqsrvarlist/dutscheapplist/r_money_unit" disabled="true" appearance="minimal" style="left:794px; top:102px; width:135px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_emplnm" ref="/root/main/reqsrvarlist/dutscheapplist/emplnm" class="input_search" disabled="true" navindex="3" style="left:199px; top:9px; width:147px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- if(ipt_emplnm.value == ipt_emplnm.currentText) return;
-
- ipt_emplnm.value = ipt_emplnm.currentText;
- rpbfValidationCheck("EMPLNM", "emplno,emplnm");
-
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNM", "emplno,emplnm,dutunitcd,dutunitnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_emplno" class="cell_1" style="left:2px; top:7px; width:91px; height:23px; vertical-align:middle; ">사원번호</caption>
- <input id="ipt_emplno" ref="/root/main/reqsrvarlist/dutscheapplist/emplno" class="input_search" disabled="true" navindex="2" maxlength="10" style="left:95px; top:9px; width:80px; height:19px; text-align:left; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- if(ipt_emplno.value == ipt_emplno.currentText) return;
-
- ipt_emplno.value = ipt_emplno.currentText;
-
- rpbfValidationCheck("EMPLNO", "emplno,emplnm");
-
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNO", "emplno,emplnm,dutunitcd,dutunitnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_emplsearch" class="icon_search" disabled="true" style="left:179px; top:9px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rpbfOpenPopUpList("SPRTC00900", ipt_emplno, "emplno,emplnm", "cmb_instcd,ipt_dutdeptcd", "N");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_academydayno" ref="/root/main/reqsrvarlist/dutscheapplist/academydayno" disabled="true" visibility="visible" style="left:563px; top:57px; width:267px; height:19px; "/>
- <caption id="cap_academydayno" class="cell_1" visibility="visible" style="left:470px; top:55px; width:91px; height:23px; vertical-align:middle; ">공가일수</caption>
- </group>
- <button id="btn_suppprn" class="btn5_letter4" style="left:722px; top:93px; width:85px; height:19px; vertical-align:middle; ">
- <caption>근태출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (cmb_dutcd_serch.value == "") {
- messageBox("근태구분을" ,"C001");
- return;
- }
-
- model.resetInstanceNode("/root/main/prnlist");
-
- var reportID = "";
- if (cmb_dutcd_serch.value == "05") {
- for (var i=grd_dutschepsnworkcnfmlist.fixedRows; i<grd_dutschepsnworkcnfmlist.rows; i++){
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/dgno", i-1);
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/emplno", grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("emplno")));
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/emplnm", grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("emplnm")));
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/apprtname", grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("apprtname")));
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/dutplcedeptnm", grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("dutplcedeptnm")));
-
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/organ", grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("organ")));
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/paper_nm", grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("paper_nm")));
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/academy_tp", grd_dutschepsnworkcnfmlist.labelMatrix(i, grd_dutschepsnworkcnfmlist.colRef("academy_tp")));
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/s_money", grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("s_money")));
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/r_money", grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("r_money")));
-
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/srvarmfromdd", grd_dutschepsnworkcnfmlist.labelMatrix(i, grd_dutschepsnworkcnfmlist.colRef("srvarmfromdd")));
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/srvarmtodd", grd_dutschepsnworkcnfmlist.labelMatrix(i, grd_dutschepsnworkcnfmlist.colRef("srvarmtodd")));
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/srvarmdayno", grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("srvarmdayno")));
-
- reportID = "RPRTS02502";
- }
- }else{
- for (var i=grd_dutschepsnworkcnfmlist.fixedRows; i<grd_dutschepsnworkcnfmlist.rows; i++){
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/dgno", i-1);
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/emplno", grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("emplno")));
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/emplnm", grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("emplnm")));
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/apprtname", grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("apprtname")));
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/dutplcedeptnm", grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("dutplcedeptnm")));
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/dutdetlname", grd_dutschepsnworkcnfmlist.labelMatrix(i, grd_dutschepsnworkcnfmlist.colRef("dutdetlcd")));
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/srvarmfromdd", grd_dutschepsnworkcnfmlist.labelMatrix(i, grd_dutschepsnworkcnfmlist.colRef("srvarmfromdd")));
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/srvarmtodd", grd_dutschepsnworkcnfmlist.labelMatrix(i, grd_dutschepsnworkcnfmlist.colRef("srvarmtodd")));
- model.makeValue("/root/prnlist/dutscheapplist[" + (i-1) + "]/srvarmdayno", grd_dutschepsnworkcnfmlist.valueMatrix(i, grd_dutschepsnworkcnfmlist.colRef("srvarmdayno")));
- reportID = "RPRTS02501";
- }
- }
- model.makeValue("/root/prnlist/send/dutname", cmb_dutcd_serch.label);
-
- exeReportPreview(reportID,"XMLSTR");
- ]]>
- </script>
- </button>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <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("TXRTS02501");
- ]]>
- </script>
- </button>
- <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|