123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet ype="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>발령장출력</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <gvnoffcorddd>
- <gvnoffcordddlist/>
- </gvnoffcorddd>
- <prtgvnoffcord>
- <prtgvnoffcordlist/>
- </prtgvnoffcord>
- <prtdata>
- <prtgvnoffcordlist/>
- </prtdata>
- </main>
- <send>
- <gvnoffcorddd>
- <fromdd/>
- <instcd/>
- <todd/>
- </gvnoffcorddd>
- <save>
- <prtgvnoffcordlist/>
- </save>
- <prtgvnoffcord>
- <gvnoffcorddd/>
- <instcd/>
- </prtgvnoffcord>
- </send>
- <temp/>
- <init/>
- </root>
- </instance>
- <submission id="TRRPB01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gvnoffcorddd" resultref="/root/main/gvnoffcorddd"/>
- <submission id="TRRPB01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prtgvnoffcord" resultref="/root/main/prtgvnoffcord"/>
- <submission id="TXRPB01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.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/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- model.removenode(grd_gvnoffcordddlist.nodeset);
- model.removeNodeset(grd_prtgvnoffcordlist.nodeset);
- model.refresh();
-
- // misfComboComCdListMulti("Z0007","cmb_instcd");
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","Y");
-
- model.refresh();
- misfMsterDetailSet(grd_gvnoffcordddlist, null, "TRRPB01301", "N");
- misfMsterDetailSet(grd_prtgvnoffcordlist, grd_gvnoffcordddlist, "TRRPB01302", "Y");
-
- grd_prtgvnoffcordlist.fixedcellcheckbox(1, 1) = true;
- var curdate = getCurrentDate();
-
- cmb_instcd.value = getUserInfo("dutplceinstcd");
- ipt_fromdd.value = curdate.substr(0, 8);
- ipt_todd.value = curdate.substr(0, 8);
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-right:8; ">
- <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:40px; "/>
- <caption id="caption278" class="tit_2" style="left:5px; top:62px; width:162px; height:13px; ">발령장 출력</caption>
- <line id="line207" class="line_1" style="x1:0px; y1:77px; x2:1193px; y2:76px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1125px; top:19px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:1110px; y1:12px; x2:1110px; y2:50px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_lbrunionjobrespnm" ref="/root/main/item/lbrunionjobrespnm" class="input_search" visibility="hidden"/>
- <input id="ipt_lbrunionjobresp" ref="/root/main/item/dutplceinst" visibility="hidden"/>
- <input id="ipt_emplno_m" ref="/root/main/imsiitem/emplno" visibility="hidden"/>
- <input id="ipt_lbrunionrgstyn_m" ref="/root/main/imsiitem/lbrunionrgstyn" visibility="hidden"/>
- <input id="ipt_lbrunionrgstdd_m" ref="/root/main/imsiitem/lbrunionrgstdd" visibility="hidden"/>
- <input id="ipt_lbrunionsecssdd_m" ref="/root/main/imsiitem/lbrunionsecssdd" visibility="hidden"/>
- <input id="ipt_lbrunionjobresp_m" ref="/root/main/imsiitem/lbrunionjobresp" visibility="hidden"/>
- <input id="ipt_lbrunionjobrespnm_m" ref="/root/main/imsiitem/lbrunionjobrespnm" visibility="hidden"/>
- <input id="ipt_asgnmpostndd_m" ref="/root/main/imsiitem/asgnmpostndd" visibility="hidden"/>
- <input id="ipt_todd_m" ref="/root/main/imsiitem/todd" visibility="hidden"/>
- <input id="ipt_cur_row" ref="/root/init/cur_row_m" class="input_search" visibility="hidden"/>
- <datagrid id="grd_gvnoffcordddlist" nodeset="/root/main/gvnoffcorddd/gvnoffcordddlist" caption="발령일^기관|발령일^기관" colsep="^" colwidth="118, 28" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:80px; width:160px; height:660px; ">
- <col ref="gvnoffcorddd" format="yyyy-mm-dd" style="text-align:center; vertical-align:middle; "/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_instcd" ref="/root/send/gvnoffcorddd/instcd" class="combo_s_essential" appearance="minimal" style="left:60px; top:20px; width:154px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:5px; top:20px; width:60px; height:17px; ">기관:</caption>
- <input id="ipt_fromdd" ref="/root/send/gvnoffcorddd/fromdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:339px; top:19px; width:94px; height:19px; text-align:center; vertical-align:middle; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = cmb_instcd.value;
- if( getStringLength(ipt_fromdd.value) == "8" ) {
- model.removeNodeset(cmb_instcd.attribute("ref"));
- model.makeNode("/root/send/gvnoffcorddd/instcd");
- misfComboInstCdListMulti("cmb_instcd",ipt_fromdd.value,"","Y");
- cmb_instcd.value = instcd;
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption22" class="search_name" style="left:260px; top:20px; width:85px; height:17px; ">발령일자:</caption>
- <input id="ipt_todd" ref="/root/send/gvnoffcorddd/todd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:446px; top:19px; width:94px; height:19px; text-align:center; vertical-align:middle; "/>
- <caption id="caption11" style="left:435px; top:19px; width:10px; height:19px; ">-</caption>
- <button id="btn_excelsave" class="btn2_letter4" style="left:1128px; top:54px; 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_prtgvnoffcordlist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_prtgvnoffcordlist" nodeset="/root/main/prtgvnoffcord/prtgvnoffcordlist" caption="선택^사번^성명^발령구분^직위^직급^기관^부서^생일^발령장순번^발령일^발령일2^순번^발령년도|^사번^성명^발령구분^직위^직급^기관^부서^생일^발령장순번^발령일^발령일2^순번^발령년도" colsep="^" colwidth="42, 70, 71, 91, 101, 107, 150, 164, 142, 47, 31, 30, 30, 34" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:165px; top:80px; width:1028px; height:660px; ">
- <col checkvalue="Y,N" ref="selyn" type="checkbox" style="text-align:center; vertical-align:middle; "/>
- <col ref="emplno"/>
- <col ref="emplnm"/>
- <col ref="gvnoffcordnm"/>
- <col ref="jobposnm"/>
- <col ref="jobgradnm"/>
- <col ref="instnm"/>
- <col ref="deptnm"/>
- <col ref="brthdd"/>
- <col ref="gvnoffcordseq"/>
- <col ref="gvnoffcorddd" visibility="hidden"/>
- <col ref="gvnoffcorddd2" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="gvnoffcordyy" visibility="hidden"/>
- </datagrid>
- </group>
- <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="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="btn_save" class="btn4_letter4" style="left:1112px; top:3px; width:80px; height:22px; ">
- <caption>번호생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for (var i = grd_prtgvnoffcordlist.fixedRows; i < grd_prtgvnoffcordlist.rows; i++) {
- if (grd_prtgvnoffcordlist.valueMatrix(i, grd_prtgvnoffcordlist.colRef("selyn")) == "Y") {
- grd_prtgvnoffcordlist.rowStatus(i) = "2";
- }
- }
- misfSave("TXRPB01301");
-
- grd_gvnoffcordddlist.dispatch("onrowchanged");
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn4_letter5" style="left:1020px; top:3px; width:92px; height:22px; ">
- <caption>발령장출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var z = 0;
- for (var i = grd_prtgvnoffcordlist.fixedRows; i < grd_prtgvnoffcordlist.rows; i++) {
- if (grd_prtgvnoffcordlist.valueMatrix(i, grd_prtgvnoffcordlist.colRef("selyn")) == "Y" ) {
-
- z += 1;
- model.makeNode("/root/main/prtdata/prtgvnoffcordlist[" + z + "]");
-
- model.copyNode("/root/main/prtdata/prtgvnoffcordlist[" + z + "]", "/root/main/prtgvnoffcord/prtgvnoffcordlist[" + (i - grd_prtgvnoffcordlist.fixedRows + 1) + "]");
- }
- }
-
- model.refresh();
-
- exeReportPreview("RPRPB01301", "XMLSTR"); //, "/root/main/getincmtaxcrtfct/getincmtaxcrtfctlist");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|