123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- <?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>SMRPE00100_채용정보관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <deptlist/>
- <apntdeptlist/>
- </main>
- <send>
- <save>
- <apntdeptlist/>
- </save>
- <search>
- <instcd/>
- <deptcd/>
- <deptnm/>
- </search>
- </send>
- <init>
- </init>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_apntinfolist);
- misfGridInit(grd_dtinfolist);
-
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","Y");
-
- submit("TRRPE00101");
- model.refresh();
- ]]>
- </script>
- <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"/>
- <submission id="TRRPE02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/deptlist"/>
- <submission id="TRRPE00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dtinfo" resultref="/root/main/dtinfo"/>
- <submission id="TXRPE00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- </model>
- </xhtml:head>
- <xhtml:body scroll="auto" 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:5px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:80px; top:13px; width:90px; height:17px; ">기 관 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_search" appearance="minimal" style="left:175px; top:13px; width:200px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_grddelapntinfolist" class="btn2_letter3" style="left:1140px; top:45px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- SAVE_FLAG = 4;
- misfGridIUD(grd_apntinfolist, "D");
- ]]>
- </script>
- </button>
- <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1100px; top:12px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fromdd = model.getValue(ipt_apntfromdd.attribute("ref"));
- var todd = model.getValue(ipt_apnttodd.attribute("ref"));
-
- if (fromdd == "" || fromdd.length <= 0) {
- fromdd = ipt_apntyy.value+'0101';
- }
-
- if (todd == "" || todd.length <= 0) {
- todd = ipt_apntyy.value+'1231';
- }
-
- model.setValue(ipt_apntfromdd.attribute("ref"), fromdd);
- model.setValue(ipt_apnttodd.attribute("ref"), todd);
-
- model.removeNodeset("/root/main/apntinfo");
- model.makeNode("/root/main/apntinfo/apntinfolist");
-
- submit("TRRPE00101");
-
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:1075px; y1:11px; x2:1075px; y2:34px; border-color:#ffe4bb; border-left-style:solid; "/>
- <img id="btn_left" class="icon_left" visibility="hidden" style="left:580px; top:375px; width:26px; height:19px; background-stretch:stretch; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_deptdutcdlist.deleteRow(grd_deptdutcdlist.row);
- model.refresh();
- ]]>
- </script>
- </img>
- <img id="btn_right" class="icon_right" style="left:580px; top:335px; width:26px; height:19px; background-stretch:stretch; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetDeptPrCodeReg();
- ]]>
- </script>
- </img>
- <datagrid id="datagrid1" nodeset="/root/main/deptlist" caption="^부서코드^부서명^기관코드" colsep="^" colwidth="40, 120, 250, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:70px; width:575px; height:660px; ">
- <col checkvalue="Y,N" type="checkbox"/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <datagrid id="datagrid2" nodeset="/root/main/apntdeptlist" caption="부서코드^부서명^기관코드^사용여부" colsep="^" colwidth="130, 200, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:611px; top:70px; width:582px; height:660px; ">
- <col type="inputbutton"/>
- <col/>
- <col/>
- <col checkvalue="Y,N" type="checkbox"/>
- </datagrid>
- <line id="line8" class="line_1" style="x1:610px; y1:65px; x2:1193px; y2:65px; "/>
- <caption id="caption20" class="tit_2" style="left:615px; top:50px; width:151px; height:14px; ">임상강사 채용부서</caption>
- <caption id="caption25" class="tit_2" style="left:5px; top:50px; width:151px; height:14px; ">부서목록</caption>
- <line id="line7" class="line_1" style="x1:0px; y1:66px; x2:574px; y2:67px; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <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[
- model.removeNodeset("/root/send/save/");
- model.makeNode("/root/send/save/apntinfolist");
- model.makeNode("/root/send/save/dtinfolist");
- model.setValue("/root/send/save/apntinfolist",grd_apntinfolist.getUpdateData());
- model.setValue("/root/send/save/dtinfolist",grd_dtinfolist.getUpdateData());
-
- if( fSetChackValue() ) { // 필수입력값이 모두 입력되었으면 true를 리턴하고, 아니면 false를 리턴하는 함수.
- if( grd_apntinfolist.valueMatrix(grd_apntinfolist.row,grd_apntinfolist.colRef("scrngdg"))
- == grd_dtinfolist.valueMatrix(grd_dtinfolist.row,grd_dtinfolist.colRef("scrngdg"))
- && grd_dtinfolist.valueMatrix(grd_dtinfolist.row,grd_dtinfolist.colRef("endyn")) == 'Y' ) {
- grd_apntinfolist.valueMatrix(grd_apntinfolist.row,grd_apntinfolist.colRef("endyn")) = 'Y';
- if( grd_apntinfolist.rowStatus(grd_apntinfolist.row) == '1' || grd_apntinfolist.rowStatus(grd_apntinfolist.row) == '3' ) {
- ;
- }
- else {
- grd_apntinfolist.addStatus(grd_apntinfolist.row, "update") ;
- }
- model.setValue("/root/send/save/apntinfolist",grd_apntinfolist.getUpdateData());
- submit("TXRPE00103");
- }
-
- if( SAVE_FLAG == '1' || SAVE_FLAG == '2') { // 채용(기본)정보등록 그리드에만 변경사항이 있을때.
- if( submit("TXRPE00101") ) {
- if(SAVE_FLAG =='1') {
- messageBox("","I001");
- }
- var row = grd_apntinfolist.row;
- btn_search.dispatch("DOMActivate");
- grd_apntinfolist.row = row;
- SAVE_FLAG = 0;
- }
- }
- else if( SAVE_FLAG == '3' ) { // 전형일정 그리드에만 변경사항이 있을때..
- if( submit("TXRPE00102") ) {
- messageBox("","I001");
- var row = grd_apntinfolist.row;
- btn_search.dispatch("DOMActivate");
- grd_apntinfolist.row = row;
- grd_apntinfolist.dispatch("onrowchanged");
- SAVE_FLAG = 0;
- }
- }
- else if( SAVE_FLAG == '4' ) { // 이미 저장된 data를 update하거나 delete하는 경우
- if( submit("TXRPE00101") ) {
- if( submit("TXRPE00102") ) {
- messageBox("","I001");
- var row = grd_apntinfolist.row;
- btn_search.dispatch("DOMActivate");
- grd_apntinfolist.row = row;
- grd_apntinfolist.dispatch("onrowchanged");
- }
- else {
- messageBox("","I001");
- var row = grd_apntinfolist.row;
- btn_search.dispatch("DOMActivate");
- grd_apntinfolist.row = row;
- }
- }
- SAVE_FLAG = 0;
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|