123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265 |
- <?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>
- <lastrpsmedrtlist/>
- </main>
- <send>
- <appyy/>
- <instcd/>
- <mainbdunit/>
- <deptcd/>
- <deptnm/>
- <deptaprvyn/>
- <cmpltcursstdyyn/>
- </send>
- <init/>
- <temp>
- </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" src="../../../mis/dligclaznsmngtweb/js/RPD001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fInit();
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- grd_lastrpsmedrtlist.fixedcellcheckbox(1 ,grd_lastrpsmedrtlist.colRef("lastaprvyn"))=true;
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fInit()
- {
- model.setValue("/root/send/appyy", getCurrentDate().substr(0, 4));
- model.removeNodeset("/root/main/lastrpsmedrtlist");
-
- misfComboComCdListMulti("Z0007", "cmb_instcd", null, "Y");
- rpsEducSetComboList(model.getValue("/root/send/appyy"), "M02-000", "cmb_mainbdunit", "Y");
-
- misfMsterDetailSet(grd_lastrpsmedrtlist, null, "TRRPS00701", "Y");
-
- model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
-
- model.refresh();
- }
-
-
- //최종승인여부 전체선택 및 전체선택 해제시 날짜설정
- function fLastYnCheckSetDate(fBool)
- {
- var fDate = "";
- if(fBool)
- {
- fDate = getCurrentDate();
- }
-
- for(var i = grd_lastrpsmedrtlist.fixedRows; i < grd_lastrpsmedrtlist.rows; i++)
- {
- grd_lastrpsmedrtlist.valueMatrix(i, grd_lastrpsmedrtlist.colRef("lastaprvdd")) = fDate;
- grd_lastrpsmedrtlist.rowStatus(i) = 2;
- }
- }
- ]]>
- </script>
- <submission id="TRRPS00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/lastrpsmedrtlist"/>
- <submission id="TXRPS00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/lastrpsmedrtlist" resultref="/root/temp"/>
- </model>
- </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:38px; width:1195px; height:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:61px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_instcd" class="search_name" style="left:15px; top:46px; width:89px; height:17px; ">주체기관 :</caption>
- <line id="line8" class="line_1" style="x1:0px; y1:94px; x2:1195px; y2:94px; "/>
- <caption id="caption20" class="tit_2" style="left:5px; top:80px; width:169px; height:14px; ">교육신청List</caption>
- <caption id="cap_appyy" class="search_name" style="left:15px; top:20px; width:89px; height:17px; ">년 도 :</caption>
- <caption id="cap_mainbdunit" class="search_name" style="left:400px; top:20px; width:89px; height:17px; ">주체단위 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1125px; top:30px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_appyy")) return;
-
- submit("TRRPS00701");
-
- ]]>
- </script>
- </button>
- <line id="line7" style="x1:1110px; y1:18px; x2:1110px; y2:61px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="cap_cmpltcursstdyyn" class="search_name" style="left:778px; top:20px; width:126px; height:17px; ">이 수 여 부 :</caption>
- <select1 id="cmb_mainbdunit" ref="/root/send/mainbdunit" class="combo_search" navindex="3" appearance="minimal" style="left:487px; top:19px; width:148px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_appyy" ref="/root/send/appyy" class="input_s_essential" navindex="2" inputtype="date" format="yyyy" style="left:102px; top:19px; width:95px; height:19px; text-align:center; "/>
- <select1 id="rdo_cmpltcursstdyyn" ref="/root/send/cmpltcursstdyyn" navindex="5" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:910px; top:19px; width:181px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>이수</label>
- <value>Y</value>
- </item>
- <item>
- <label>미이수</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_search" navindex="1" appearance="minimal" style="left:102px; top:45px; width:211px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_deptaprvyn" ref="/root/send/deptaprvyn" navindex="5" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:910px; top:44px; width:181px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>승인</label>
- <value>Y</value>
- </item>
- <item>
- <label>미승인</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="cap_deptaprvyn" class="search_name" style="left:778px; top:46px; width:125px; height:17px; ">부서장승인여부 :</caption>
- <datagrid id="grd_lastrpsmedrtlist" nodeset="/root/main/lastrpsmedrtlist" caption="교육명^교육신청대상자^교육신청대상자^주체단위^주관부서^정원 / 신청^교육^교육^부서장^부서장^최종승인여부^최종
승인일자^교육
차수^기관
코드^교육
코드|교육명^사원번호^성명^주체단위^주관부서^정원 / 신청^신청여부^신청일자^승인여부^승인일자^^최종
승인일자^교육
차수^기관
코드^교육
코드" colsep="^" colwidth="282, 82, 77, 85, 140, 73, 56, 75, 54, 75, 82, 75, 37, 43, 52" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:99px; width:1195px; height:645px; ">
- <col ref="educcdnm" style="text-align:left; "/>
- <col ref="emplno" style="text-align:center; "/>
- <col ref="emplnm" style="text-align:center; "/>
- <col ref="mainbdunitnm" style="text-align:left; "/>
- <col ref="chrgdeptnm" style="text-align:left; "/>
- <col ref="leftemplcnt" style="text-align:center; "/>
- <col ref="indappyn" style="text-align:center; "/>
- <col ref="indappdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="deptaprvyn" style="text-align:center; "/>
- <col ref="deptaprvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col checkvalue="Y,N" ref="lastaprvyn" type="checkbox"/>
- <col ref="lastaprvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="educdg" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="educcd" visibility="hidden"/>
- <col ref="appyy" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(grd_lastrpsmedrtlist.row == (grd_lastrpsmedrtlist.fixedRows-1))
- {
-
- fLastYnCheckSetDate( grd_lastrpsmedrtlist.fixedcellischeck(1, grd_lastrpsmedrtlist.colRef("lastaprvyn")) );
-
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- if(grd_lastrpsmedrtlist.row == (grd_lastrpsmedrtlist.fixedRows-1))
- {
-
- fLastYnCheckSetDate( grd_lastrpsmedrtlist.fixedcellischeck(1, grd_lastrpsmedrtlist.colRef("lastaprvyn")) );
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if(grd_lastrpsmedrtlist.col == grd_lastrpsmedrtlist.colRef("lastaprvyn"))
- {
- if(grd_lastrpsmedrtlist.valueMatrix(grd_lastrpsmedrtlist.row, grd_lastrpsmedrtlist.colRef("lastaprvyn")) == "Y")
- {
- grd_lastrpsmedrtlist.valueMatrix(grd_lastrpsmedrtlist.row, grd_lastrpsmedrtlist.colRef("lastaprvdd")) = getCurrentDate();
-
- }else if(grd_lastrpsmedrtlist.valueMatrix(grd_lastrpsmedrtlist.row, grd_lastrpsmedrtlist.colRef("lastaprvyn")) == "N")
- {
- grd_lastrpsmedrtlist.valueMatrix(grd_lastrpsmedrtlist.row, grd_lastrpsmedrtlist.colRef("lastaprvdd")) = "";
-
- }
- }
- ]]>
- </script>
- </datagrid>
- <caption id="cap_detpcd" class="search_name" style="left:400px; top:46px; width:89px; height:17px; ">소속부서 :</caption>
- <button id="btn_deptcd" class="icon_search" style="left:576px; top:45px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_deptcd,"", "deptcd,deptnm", cmb_instcd.value, "instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_deptnm" ref="/root/send/deptnm" class="input_search" navindex="7" style="left:595px; top:44px; width:150px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "deptcd,deptnm", cmb_instcd.value, "instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_deptcd" ref="/root/send/deptcd" class="input_search" navindex="6" style="left:487px; top:44px; width:85px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "deptcd,deptnm", cmb_instcd.value, "instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- </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:1067px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSave("TXRPS00701");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:1125px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInit();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|