123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354 |
- <?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>프리셉터관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <rpsmpreclist/>
- </main>
- <send>
- <eduyy/>
- <instcd/>
- <emplno/>
- <emplnm/>
- <educfromdd/>
- <eductodd/>
- </send>
- <init/>
- <temp>
- <empTemp>
- <emplno/>
- <emplnm/>
- </empTemp>
- </temp>
- </root>
- </instance>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/educationmngtweb/js/RPS001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- finit();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- //화면초기화
- function finit()
- {
- /* Grid 초기화 */
- misfGridInit(grd_rpsmpreclist);
-
- misfMsterDetailSet(grd_rpsmpreclist, null, "TRRPS02801" ,"Y");
-
- var curdate = getCurrentDate();
- model.setValue(ipt_eduyy.attribute("ref") , curdate.substr(0, 4));
-
- //misfComboComCdListMulti("Z0007","cmb_instcd");
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","Y");
- cmb_instcd.select(0);
-
- model.refresh();
- }
- ]]>
- </script>
- <submission id="TRRPS02801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rpsmpreclist"/>
- <submission id="TXRPS02801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- </model>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:235px; height:14px; ">프리셉터관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:5px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:35px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_eduyy","cmb_instcd")) return;
-
- submit("TRRPS02801");
-
- grd_rpsmpreclist.row = grd_rpsmpreclist.fixedRows;
- grd_rpsmpreclist.select(grd_rpsmpreclist.fixedRows, 2) = true;
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="top:7; x1:1110px; y1:7px; x2:1110px; y2:29px; border-left-style:solid; "/>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:302px; top:8px; width:153px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:215px; top:9px; width:86px; height:17px; ">기 관 :</caption>
- <caption id="cap_eduyy" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">교육년도 :</caption>
- <input id="ipt_eduyy" ref="/root/send/eduyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:101px; top:8px; width:95px; height:19px; text-align:center; "/>
- <button id="btn_empl" class="icon_search" style="left:660px; top:9px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm", "", "N");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_emplno" class="search_name" style="left:480px; top:9px; width:86px; height:17px; ">사원번호 :</caption>
- <input id="ipt_emplnm" ref="/root/send/emplnm" class="input_search" navindex="7" style="left:679px; top:8px; width:120px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNM", "emplno,emplnm");
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_emplnm.value = ipt_emplnm.currentText;
-
- misfValidationCheck("01-2", "", "emplno,emplnm");
-
- model.setFocus("btn_search");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_emplno" ref="/root/send/emplno" class="input_search" navindex="6" style="left:571px; top:8px; width:85px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNO", "emplno,emplnm");
- model.refresh();
- ]]>
- </script>
- <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>
- </input>
- <caption id="caption3" style="left:991px; top:9px; width:15px; height:20px; text-align:center; ">~</caption>
- <caption id="cap_educfromdd" class="search_name" style="left:823px; top:9px; width:87px; height:17px; ">교육년월 :</caption>
- <input id="ipt_eductodd" ref="/root/send/eductodd" class="input_search" inputtype="date" format="yyyy-mm" style="left:1009px; top:8px; width:80px; height:19px; text-align:center; "/>
- <input id="ipt_educfromdd" ref="/root/send/educfromdd" class="input_search" inputtype="date" format="yyyy-mm" style="left:909px; top:8px; width:80px; height:19px; text-align:center; "/>
- </group>
- <caption id="caption20" class="tit_2" style="left:5px; top:55px; width:151px; height:14px; ">프리셉터 현황</caption>
- <line id="line8" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
- <button id="btn_add" class="btn2_letter3" style="left:1084px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_rpsmpreclist, "A");
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn2_letter3" style="left:1139px; top:50px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_rpsmpreclist, "D");
- ]]>
- </script>
- </button>
- <datagrid id="grd_rpsmpreclist" nodeset="/root/main/rpsmpreclist" autoresize="true" caption="교육년도^소속부서^프리셉티^프리셉티^프리셉터쉽 기간^프리셉터쉽 기간^프리셉터^프리셉터^UM 평가^비고^기관코드|교육년도^소속부서^사원번호^성명^From^To^사원번호^성명^UM 평가^비고^기관코드" colsep="^" colwidth="56, 100, 90, 80, 100, 100, 91, 80, 288, 183, 100" extendlastcol="scroll" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1195px; height:669px; ">
- <col class="input_s_essential" ref="eduyy" _key="true"/>
- <col ref="dutdeptnm"/>
- <col class="input_s_essential" ref="emplno" type="inputbutton" _key="true" style="text-align:left; "/>
- <col class="input_s_essential" ref="emplnm" type="input" _key="true" style="text-align:left; "/>
- <col ref="precepfromdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="preceptodd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col class="input_essential" ref="precepempno" type="inputbutton" style="text-align:left; "/>
- <col class="input_essential" ref="precepempnm" type="input" style="text-align:left; "/>
- <col ref="deptmangrvalu" type="input"/>
- <col ref="cmt" type="input" style="text-align:left; "/>
- <col class="input_s_essential" ref="instcd" visibility="hidden" _key="true"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if(grd_rpsmpreclist.col == grd_rpsmpreclist.colRef("emplno"))
- {
-
- rpbfValidationCheck("EMPLNO", "emplno,emplnm");
-
- }else if(grd_rpsmpreclist.col == grd_rpsmpreclist.colRef("emplnm"))
- {
-
- rpbfValidationCheck("EMPLNM", "emplno,emplnm");
-
- }else if(grd_rpsmpreclist.col == grd_rpsmpreclist.colRef("precepempno"))
- {
-
- ipt_emplnoT.value = grd_rpsmpreclist.valueMatrix(grd_rpsmpreclist.row, grd_rpsmpreclist.colRef("precepempno"));
- ipt_emplnoT.dispatch("xforms-value-changed");
- grd_rpsmpreclist.valueMatrix(grd_rpsmpreclist.row, grd_rpsmpreclist.colRef("precepempno")) = ipt_emplnoT.value;
- grd_rpsmpreclist.valueMatrix(grd_rpsmpreclist.row, grd_rpsmpreclist.colRef("precepempnm")) = ipt_emplnmT.value;
-
- }else if(grd_rpsmpreclist.col == grd_rpsmpreclist.colRef("precepempnm"))
- {
-
- ipt_emplnmT.value = grd_rpsmpreclist.valueMatrix(grd_rpsmpreclist.row, grd_rpsmpreclist.colRef("precepempnm"));
- ipt_emplnmT.dispatch("xforms-value-changed");
- grd_rpsmpreclist.valueMatrix(grd_rpsmpreclist.row, grd_rpsmpreclist.colRef("precepempno")) = ipt_emplnoT.value;
- grd_rpsmpreclist.valueMatrix(grd_rpsmpreclist.row, grd_rpsmpreclist.colRef("precepempnm")) = ipt_emplnmT.value;
-
- }else if(grd_rpsmpreclist.col == grd_rpsmpreclist.colRef("hopdeptcd1") || grd_rpsmpreclist.col == grd_rpsmpreclist.colRef("hopdeptnm1"))
- {
-
- misfValidationCheck("02", "", "hopdeptcd1,hopdeptnm1",grd_rpsmpreclist.valueMatrix(grd_rpsmpreclist.row, grd_rpsmpreclist.colRef("instcd")), "instcd" );
-
- }else if(grd_rpsmpreclist.col == grd_rpsmpreclist.colRef("hopdeptcd2") || grd_rpsmpreclist.col == grd_rpsmpreclist.colRef("hopdeptnm2"))
- {
-
- misfValidationCheck("02", "", "hopdeptcd2,hopdeptnm2",grd_rpsmpreclist.valueMatrix(grd_rpsmpreclist.row, grd_rpsmpreclist.colRef("instcd")), "instcd" );
-
- }else if(grd_rpsmpreclist.col == grd_rpsmpreclist.colRef("evddeptcd") || grd_rpsmpreclist.col == grd_rpsmpreclist.colRef("evddeptnm"))
- {
-
- misfValidationCheck("02", "", "evddeptcd,evddeptnm",grd_rpsmpreclist.valueMatrix(grd_rpsmpreclist.row, grd_rpsmpreclist.colRef("instcd")), "instcd" );
-
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_rpsmpreclist.col == grd_rpsmpreclist.colRef("emplno"))
- {
- if(grd_rpsmpreclist.rowStatus(grd_rpsmpreclist.row) == 1)
- {
- rpbfOpenPopUpList("SPRPB00101", grd_rpsmpreclist, "emplno,emplnm", "", "N");
- }
-
- }else if(grd_rpsmpreclist.col == grd_rpsmpreclist.colRef("precepempno"))
- {
-
- btn_emplnoT.dispatch("DOMActivate");
- grd_rpsmpreclist.valueMatrix(grd_rpsmpreclist.row, grd_rpsmpreclist.colRef("precepempno")) = ipt_emplnoT.value;
- grd_rpsmpreclist.valueMatrix(grd_rpsmpreclist.row, grd_rpsmpreclist.colRef("precepempnm")) = ipt_emplnmT.value;
-
-
- }else if(grd_rpsmpreclist.col == grd_rpsmpreclist.colRef("hopdeptcd1"))
- {
-
- misfOpenPopUpList("02", grd_rpsmpreclist,"", "hopdeptcd1,hopdeptnm1", grd_rpsmpreclist.valueMatrix(grd_rpsmpreclist.row, grd_rpsmpreclist.colRef("instcd")), "instcd");
-
- }else if(grd_rpsmpreclist.col == grd_rpsmpreclist.colRef("hopdeptcd2"))
- {
-
- misfOpenPopUpList("02", grd_rpsmpreclist,"", "hopdeptcd2,hopdeptnm2", grd_rpsmpreclist.valueMatrix(grd_rpsmpreclist.row, grd_rpsmpreclist.colRef("instcd")), "instcd");
-
- }else if(grd_rpsmpreclist.col == grd_rpsmpreclist.colRef("evddeptcd"))
- {
-
- misfOpenPopUpList("02", grd_rpsmpreclist,"", "evddeptcd,evddeptnm", grd_rpsmpreclist.valueMatrix(grd_rpsmpreclist.row, grd_rpsmpreclist.colRef("instcd")), "instcd");
-
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_excel" class="btn5_letter4" style="left:1018px; top:50px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSaveExcel(grd_rpsmpreclist);
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <line id="line1" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
- <button id="btn_init" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- finit();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1070px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( !checkKeyColumn("grd_rpsmpreclist")) return;
-
- misfSave("TXRPS02801");
-
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <input id="ipt_emplnmT" ref="/root/temp/empTemp/emplnm" class="input_search" navindex="7" visibility="hidden" style="left:500px; top:5px; width:25px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("01-2", "", "emplno,emplnm");
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_emplnm.value = ipt_emplnm.currentText;
-
- misfValidationCheck("01-2", "", "emplno,emplnm");
-
- model.setFocus("btn_search");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <button id="btn_emplnoT" class="icon_search" visibility="hidden" style="left:481px; top:6px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rpbfOpenPopUpList("SPRPB00101", ipt_emplnoT, "emplno,emplnm", "", "N");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_emplnoT" ref="/root/temp/empTemp/emplno" class="input_search" navindex="6" visibility="hidden" style="left:455px; top:5px; width:23px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNO", "emplno,emplnm");
- model.refresh();
- ]]>
- </script>
- <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>
- </input>
- </group>
- </xhtml:body>
- </xhtml:html>
|