123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>일정관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <apntplan>
- <apntplanlist/>
- </apntplan>
- <detlapntplan>
- <detlapntplanlist/>
- </detlapntplan>
- </main>
- <send>
- <apntplan>
- <apntgyy/>
- <apntinstcd/>
- <apntflag/>
- <apntsemst/>
- <apntdg/>
- <prfshipflag/>
- <apntjobpos/>
- <apntjobposnm/>
- </apntplan>
- <save>
- <apntplanlist/>
- <detlapntplanlist/>
- </save>
- <dtinfolist>
- <scrnginfono/>
- </dtinfolist>
- <detlapntplan>
- <apntinfono/>
- </detlapntplan>
- </send>
- <init>
- </init>
- </root>
- </instance>
- <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/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/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRRCS00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/apntplan" resultref="/root/main/apntplan"/>
- <submission id="TRRCS00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/detlapntplan" resultref="/root/main/detlapntplan"/>
- <submission id="TXRCS00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fCheckApntList(){
- var fBool = true;
-
- if( grd_apntplanlist.rows - grd_apntplanlist.fixedRows <= 0 ) {
- fBool = false;
- messageBox("채용정보를 먼저 선택 하십시요!!!.", "I");
- }
-
- if (grd_apntplanlist.rowStatus(grd_apntplanlist.row) == "1" || grd_apntplanlist.rowStatus(grd_apntplanlist.row) == "3") {
- fBool = false;
- messageBox("저장후 처리 하십시요!!!.", "I");
- }
-
- return fBool;
- }
-
-
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- misfGridInit(grd_apntplanlist);
- misfGridInit(grd_detlapntplanlist);
-
- misfMsterDetailSet(grd_apntplanlist,null, "TRRCS00101" ,"Y");
- misfMsterDetailSet(grd_detlapntplanlist,grd_apntplanlist, "TRRCS00102" ,"Y");
-
- misfComboInstCdListMulti("cmb_apntinstcd,grd_apntplanlist.apntinstcd",getCurrentDate(),"","N"); // 등록기관 셋팅
- misfComboComCdListMulti("R0379,R0353,R0380,R0058,R0379,R0353,R0380,R0058,R0381" ,
- "cmb_apntflag,cmb_apntsemst,cmb_apntdg,cmb_prfshipflag,grd_apntplanlist.apntflag,grd_apntplanlist.apntsemst,grd_apntplanlist.apntdg,grd_apntplanlist.prfshipflag,grd_detlapntplanlist.scrnflag");
-
-
- addComboItem( "cmb_apntflag", "[-- 전체 --]", "", "above");
- model.setValue(cmb_apntflag.attribute("ref"), "");
-
- addComboItem( "cmb_apntsemst", "[-- 전체 --]", "", "above");
- model.setValue(cmb_apntsemst.attribute("ref"), "");
-
- addComboItem( "cmb_apntdg", "[-- 전체 --]", "", "above");
- model.setValue(cmb_apntdg.attribute("ref"), "");
-
- addComboItem( "cmb_prfshipflag", "[-- 전체 --]", "", "above");
- model.setValue(cmb_prfshipflag.attribute("ref"), "");
-
- addComboItem( "cmb_apntinstcd", "[-- 전체 --]", "", "above");
- model.setValue(cmb_apntinstcd.attribute("ref"), "");
-
-
- var nowyy = new Date();
- ipt_apntyy.value = nowyy.getYear(); // 년도설정
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,763;2,765;" 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:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:40px; "/>
- <line id="line207" class="line_1" style="x1:0px; y1:75px; x2:1195px; y2:75px; "/>
- <caption id="caption9" class="tit_2" style="left:5px; top:60px; width:117px; height:14px; ">전체 일정</caption>
- <select1 id="cmb_apntsemst" ref="/root/send/apntplan/apntsemst" class="combo_search" navindex="1" appearance="minimal" style="left:575px; top:20px; width:75px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = cmb_instcd.value;
- if( getStringLength(ipt_apntyy.value) == "4" ) {
- model.removeNodeset(cmb_instcd.attribute("ref"));
- model.makeNode("/root/send/req/instcd");
- if(ipt_apntyy.value == getCurrentDate().substring(0, 4) ) {
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","Y");
- }
- else {
- misfComboInstCdListMulti("cmb_instcd",ipt_apntyy.value+"1231","","Y");
- }
- cmb_instcd.value = instcd;
- cmb_instcd.refresh();
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:520px; top:20px; width:55px; height:17px; ">학기:</caption>
- <line id="line3" class="line_4" style="x1:1110px; y1:14px; x2:1110px; y2:47px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:19px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
-
- ]]>
- </script>
- </button>
- <caption id="caption4" class="search_name" style="left:5px; top:20px; width:61px; height:17px; ">년도:</caption>
- <input id="ipt_apntyy" ref="/root/send/apntplan/apntgyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:60px; top:20px; width:65px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- ]]>
- </script>
- </input>
- <caption id="caption2" class="search_name" style="left:935px; top:20px; width:58px; height:17px; ">직위:</caption>
- <datagrid id="grd_apntplanlist" nodeset="/root/main/apntplan/apntplanlist" caption="모집기관^구분^모집학기^모집차수^제목^모집인원^교직구분^모집직위^모집직위^시작일^종료일^비고^채용번호^채용년도^직위|모집기관^구분^모집학기^모집차수^제목^모집인원^교직구분^모집직위^모집직위^시작일^종료일^비고^채용번호^채용년도^직위" colsep="^" colwidth="112, 81, 62, 60, 184, 36, 100, 100, 20, 95, 94, 207, 44, 31, 31" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:80px; width:1193px; height:265px; ">
- <col ref="apntinstcd" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="apntflag" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="apntsemst" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="apntdg" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="apnttitle" type="input"/>
- <col type="output"/>
- <col ref="prfshipflag" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="apntjobposnm" type="output"/>
- <col ref="jobposcd" type="inputbutton"/>
- <col ref="apntfromdd" type="inputdate"/>
- <col ref="apnttodd" type="inputdate"/>
- <col ref="cmt" type="input"/>
- <col ref="apntinfono" visibility="hidden"/>
- <col ref="apntgyy" visibility="hidden"/>
- <col ref="apntjobpos" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_apntplanlist.col == grd_apntplanlist.colRef("jobposcd")) {
- misfOpenPopUpList("03", grd_apntplanlist,"R0062", "apntjobpos,apntjobposnm") ;
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_detlapntplanlist" nodeset="/root/main/detlapntplan/detlapntplanlist" caption="일정구분^본부일정^본부일정^전형기간^전형기간^전형기간^전형기간^관련부서^세부일정내용^완료여부^채용번호^전형구분OLD^전형시작일OLD|일정구분^시작일^종료일^시작일^시작시간^종료일^종료시간^관련부서^세부일정내용^완료여부^채용번호^전형구분OLD^전형시작일OLD" colsep="^" colwidth="130, 100, 93, 100, 64, 100, 68, 190, 271, 32, 39, 34, 34" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:375px; width:1190px; height:349px; ">
- <col ref="scrnflag" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="hdscrnfromdd" type="inputdate" format="yyyy-mm-dd"/>
- <col ref="hdscrntodd" type="inputdate" format="yyyy-mm-dd"/>
- <col ref="scrnfromdd" type="inputdate" format="yyyy-mm-dd"/>
- <col ref="scrnfromtm" type="input" format="hh:nn" style="text-align:center; "/>
- <col ref="scrntodd" type="inputdate"/>
- <col ref="scrntotm" type="input" format="hh:nn" style="text-align:center; "/>
- <col ref="scrndeptnm" type="input" maxlength="30"/>
- <col ref="scrndetlcmt" type="input" maxlength="100"/>
- <col checkvalue="Y,N" ref="scrnendyn" type="checkbox"/>
- <col ref="apntinfono" visibility="hidden"/>
- <col ref="oldscrnflag" visibility="hidden"/>
- <col ref="oldscrnfromdd" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- SAVE_FLAG = 4;
- ]]>
- </script>
- </datagrid>
- <caption id="caption3" class="search_name" style="left:136px; top:20px; width:82px; height:17px; ">모집기관:</caption>
- <select1 id="cmb_apntinstcd" ref="/root/send/apntplan/apntinstcd" class="combo_search" appearance="minimal" style="left:218px; top:20px; width:120px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_prfshipflag" ref="/root/send/apntplan/prfshipflag" appearance="minimal" style="left:822px; top:20px; width:105px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <line id="line1" class="line_1" style="x1:0px; y1:370px; x2:1195px; y2:370px; "/>
- <caption id="caption5" class="tit_2" style="left:5px; top:355px; width:117px; height:14px; ">세부 일정</caption>
- <button id="btn_excelgrdapntplanlist" class="btn2_letter4" style="left:1125px; top:55px; width:64px; height:19px; ">
- <caption>엑셀저장</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_apntplanlist.saveExcel(fileName);
- window.exec(fileName);
- }
- ]]>
- </script>
- </button>
- <button id="btn_delgrdapntplanlist" class="btn2_letter3" style="left:1070px; top:55px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_apntplanlist, "D");
- ]]>
- </script>
- </button>
- <button id="btn_addgrdapntplanlist" class="btn2_letter3" style="left:1015px; top:55px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_apntplanlist, "A");
- ]]>
- </script>
- </button>
- <button id="btn_excelgrddetlapntplanlist" class="btn2_letter4" style="left:1125px; top:350px; width:64px; height:19px; ">
- <caption>엑셀저장</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_detlapntplanlist.saveExcel(fileName);
- window.exec(fileName);
- }
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter3" style="left:1070px; top:350px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_detlapntplanlist, "D");
- ]]>
- </script>
- </button>
- <button id="btn_addgrddetlapntplanlist" class="btn2_letter3" style="left:1015px; top:350px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(!fCheckApntList()) return; // 세부내용을 등록할 채용이 선택되어 있는지 확인
- misfGridIUD(grd_detlapntplanlist, "A");
-
- ]]>
- </script>
- </button>
- <caption id="caption7" class="search_name" style="left:740px; top:20px; width:83px; height:17px; ">교직구분:</caption>
- <select1 id="cmb_apntdg" ref="/root/send/apntplan/apntdg" class="combo_search" navindex="1" appearance="minimal" style="left:653px; top:20px; width:75px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_jobposnm" ref="/root/send/apntplan/apntjobposnm" class="input_default" navindex="80" style="left:995px; top:20px; width:88px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("03", "R0062", "apntjobpos,apntjobposnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_jobposcd" class="icon_search" style="left:1085px; top:22px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "apntjobpos,apntjobposnm";
- rpbfOpenComCdHelp(ipt_jobposcd,"R0062", recv_list);
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_jobposcd" ref="/root/send/apntplan/apntjobpos" class="input_default" visibility="hidden" style="left:995px; top:20px; width:40px; height:19px; "/>
- <select1 id="cmb_apntflag" ref="/root/send/apntplan/apntflag" class="combo_search" appearance="minimal" style="left:415px; top:20px; width:90px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:358px; top:20px; width:57px; height:17px; ">구분:</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1139px; top:2px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSave("TXRCS00101"); //submmitID로 저장
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|