123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351 |
- <?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>
- <gvnoffcordlist/>
- <graph>
- <graphlist/>
- </graph>
- </main>
- <init/>
- <send>
- <search>
- <fromdd/>
- <instcd/>
- <gvnoffcordflag>12</gvnoffcordflag>
- <prfshipflag/>
- <emplno/>
- <emplnm/>
- <gvnoffcorddetlflag/>
- <todd/>
- <unitcd/>
- <unitnm/>
- <graphflag/>
- <nursall/>
- </search>
- </send>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_gvnoffcord);
- misfMsterDetailSet(grd_gvnoffcord,null, "TRRPB14001" ,"Y");
-
- var today = getCurrentDate();
- var cur_yymm = parseInt(today.substring(0, 8));
- model.setValue("/root/send/search/fromdd", cur_yymm);
- model.setValue("/root/send/search/todd", cur_yymm);
-
- misfComboInstCdListMulti("cmb_instcd",ipt_fromdd.value,"","Y","Y");
- misfComboComCdListMulti("R0058", "cmb_prfshipflag_s")
-
- makeReportPreview(0,390,1195,370);
-
- ipt_fromdd.refresh();
- ipt_todd.refresh();
- cmb_instcd.value = getUserInfo("dutplceinstcd");
-
- addComboItem("cmb_prfshipflag_s", "전체", "", "above");
- // addComboItem("cmb_instcd", "전체", "", "above");
-
- misfGetAndSetUserInfo();
- misfGetUserAuth();
- if(PSN_INST_YN != "Y") {
- // cmb_instcd.disabled = true;
- }
-
- // 간호부일때는 간호부전체 체크박스를 풀수없도록 한다
- if ( DUT_DEPT_CD == "3040200000" ) {
- chk_nursall.value = 'Y'
- chk_nursall.disabled = true;
- }
-
- cmb_gvnoffcordflag_s.dispatch("xforms-value-changed");
- model.refresh();
- ]]>
- </script>
- <submission id="TRRPB14001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main"/>
- <submission id="TRRPB14002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/graph"/>
- </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" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
- </xhtml:head>
- <xhtml:body 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:40px; width:1195px; height:740px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:60; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1130px; top:30; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fromdd = ipt_fromdd.value;
- var todd = ipt_todd.value;
-
- if ( fromdd == null || fromdd == "" ) {
- messageBox("발령 시작 조회 일자가 없습니다. 조회 ","E001");
- return;
- }
- if ( todd == null || todd == "" ) {
- messageBox("발령 종료 조회 일자가 없습니다. 조회 ","E001");
- return;
- }
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1120px; y1:15; x2:1120px; y2:65; "/>
- <caption id="cap_payinst" class="search_name" style="left:10px; top:45px; width:90px; height:17px; ">기 관 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_s_essential" appearance="minimal" style="left:105px; top:45px; width:125px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption22" class="search_name" style="left:10px; top:19px; width:90px; height:17px; ">기 간 :</caption>
- <input id="ipt_fromdd" ref="/root/send/search/fromdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:105px; top:18px; width:95px; 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/search/instcd");
- misfComboInstCdListMulti("cmb_instcd",ipt_fromdd.value,"","Y","Y");
- cmb_instcd.value = instcd;
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption28" class="tit_2" style="left:5px; top:78px; width:265px; height:13px; ">월별신규임용퇴직자현황조회</caption>
- <line id="line193" class="line_1" style="x1:0; y1:96px; x2:1195; y2:96px; "/>
- <caption id="caption1" style="left:200px; top:18px; width:15px; height:20px; text-align:center; ">~</caption>
- <input id="ipt_todd" ref="/root/send/search/todd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:215px; top:18px; width:95px; height:19px; text-align:center; vertical-align:middle; "/>
- <caption id="caption2" class="search_name" style="left:360px; top:19px; width:95px; height:17px; ">발령 구분 :</caption>
- <select1 id="cmb_gvnoffcorddetlflag_s" ref="/root/send/search/gvnoffcorddetlflag" class="combo_search" navindex="4" appearance="minimal" style="left:552px; top:18px; width:146px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_gvnoffcordflag_s" ref="/root/send/search/gvnoffcordflag" class="combo_s_essential" navindex="3" appearance="minimal" style="left:455px; top:18px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>신규임용</label>
- <value>12</value>
- </item>
- <item>
- <label>퇴직발령</label>
- <value>05</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- /* 발령구분 선택시 발령 세부구분 자료를 Setting,한다 */
- var gvnoffcordflag = model.getValue(cmb_gvnoffcordflag_s.attribute("ref"));
- rpbfComboGvnoffOrddetl(gvnoffcordflag, "cmb_gvnoffcorddetlflag_s");
-
- addComboItem("cmb_gvnoffcorddetlflag_s", "전체", "", "above");
- cmb_gvnoffcorddetlflag_s.select(0);
- cmb_gvnoffcorddetlflag_s.refresh();
-
- ]]>
- </script>
- </select1>
- <caption id="cap_dutunitcd" class="search_name" style="left:360px; top:45px; width:95px; height:17px; ">부 서 :</caption>
- <select1 id="cmb_prfshipflag_s" ref="/root/send/search/prfshipflag" class="combo_search" navindex="7" appearance="minimal" style="left:840px; top:18px; width:115px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption49" class="search_name" style="left:745px; top:19px; width:91px; height:17px; ">급여 분류 :</caption>
- <caption id="caption3" class="search_name" style="left:745px; top:45px; width:95px; height:17px; ">사 번 :</caption>
- <button id="button3" class="icon_search" style="left:909px; top:46px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
- // ipt_emplno_search.value = "";
- // ipt_emplnm_search.value = "";
- ipt_emplno.dispatch("xforms-value-changed");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_emplnm" ref="/root/send/search/emplnm" class="input_search" disabled="true" style="left:929px; top:45px; width:132px; height:19px; "/>
- <input id="ipt_emplno" ref="/root/send/search/emplno" class="input_search" style="left:840px; top:45px; width:65px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_emplno.value.length== 0)
- ipt_emplno.value = "";
- else{
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNO", recv_list);
-
- model.setValue("/root/send/req/emplno", model.getValue("/root/main/crtfctkindtmp/crtfctkindlist/emplno"));
- submit("TRRTH00611");
-
- cmb_issinstcd.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("dutplceinst"));
- ipt_telno.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("mpphonno"));
- ipt_emailid.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("emailid"));
- cmb_emailaddr.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("emailaddr"));
- ipt_etcemailaddr.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("etcemailaddr"));
- cmb_issinstcd.refresh();
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_excelsave_detl" class="btn2_letter4" style="left:1125px; 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_gvnoffcord.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_gvnoffcord" nodeset="/root/main/gvnoffcordlist" caption="발령구분^소속기관^소속부서^성명^직원구분^급여분류^직군^직종^직열^직위^년도^입사일자^퇴사일자^신직급^경력년수^직급^호봉^사번^주민번호" colsep="^" colwidth="70, 90, 102, 54, 62, 83, 80, 80, 74, 77, 48, 69, 66, 54, 57, 50, 44, 69, 97" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:101px; width:1195px; height:250px; ">
- <col ref="gvnoffcordnm"/>
- <col ref="instnm"/>
- <col ref="deptnm"/>
- <col ref="emplnm"/>
- <col ref="holyordflagnm"/>
- <col ref="prfshipflagnm"/>
- <col ref="grupjoblnnm" visibility="hidden"/>
- <col ref="jobkindnm"/>
- <col ref="joblnnm" visibility="hidden"/>
- <col ref="jobposnm"/>
- <col ref="gvnoffcordyy"/>
- <col ref="entcodd"/>
- <col ref="retiredd"/>
- <col ref="njobgradnm"/>
- <col ref="anual"/>
- <col ref="ojobgradnm"/>
- <col ref="payclsnm"/>
- <col ref="emplno" style="text-align:center; vertical-align:middle; "/>
- <col ref="rregno" format="999999-9999999" style="text-align:center; vertical-align:middle; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(!grd_gvnoffcord.isCell(event.target)){
- return;
- }
-
- if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("gvnoffcordnm")){
- model.setValue("/root/send/search/graphflag","A");
- }
- else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("instnm")){
- model.setValue("/root/send/search/graphflag","B");
- }
- else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("deptnm")){
- model.setValue("/root/send/search/graphflag","C");
- }
-
- else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("emplnm")){
- messageBox("성명은 출력 항목이 아닙니다","");
- return;
- }
- else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("grupjoblnnm")){
- model.setValue("/root/send/search/graphflag","E");
- }
- else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("jobkindnm")){
- model.setValue("/root/send/search/graphflag","F");
- }
- else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("jobposnm")){
- model.setValue("/root/send/search/graphflag","G");
- }
- else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("joblnnm")){
- model.setValue("/root/send/search/graphflag","H");
- }
- else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("entcodd")){
- model.setValue("/root/send/search/graphflag","I");
- }
- else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("njobgradnm")){
- model.setValue("/root/send/search/graphflag","J");
- }
- else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("anual")){
- model.setValue("/root/send/search/graphflag","K");
- }
- else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("ojobgradnm")){
- model.setValue("/root/send/search/graphflag","L");
- }
- else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("payclsnm")){
- model.setValue("/root/send/search/graphflag","M");
- }
- else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("holyordflagnm")){
- model.setValue("/root/send/search/graphflag","P");
- }
- else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("prfshipflagnm")){
- model.setValue("/root/send/search/graphflag","N");
- }
- else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("retiredd")){
- model.setValue("/root/send/search/graphflag","O");
- }
- else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("gvnoffcordyy")){
- model.setValue("/root/send/search/graphflag","Q");
- }
- else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("emplno")){
- messageBox("사번은 출력 항목이 아닙니다","");
- return;
- }
- else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("rregno")){
- messageBox("주민번호는 출력 항목이 아닙니다","");
- return;
- }
-
- submit("TRRPB14002");
- exeReportPreview("RPRPB14001", "XMLSTR");
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <button id="btn_deptcdhelp" class="icon_search" style="left:529px; top:47px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var precv_list = "unitcd" + "," + "unitnm";
- //alert(precv_list);
- misfOpenPopUpList("02", ipt_unitcd, "", precv_list);
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_unitnm" ref="/root/send/search/unitnm" class="input_search" disabled="true" style="left:548px; top:45px; width:150px; height:19px; "/>
- <input id="ipt_unitcd" ref="/root/send/search/unitcd" class="input_search" style="left:455px; top:45px; width:70px; height:19px; "/>
- <select id="chk_nursall" ref="/root/send/search/nursall" overflow="visible" appearance="full" style="left:1030px; top:18px; width:85px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>간호부전체</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
- </xhtml:body>
- </xhtml:html>
|