12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013 |
- <?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>SMRPS03400_교육신청및변경요청</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list1>
- <educlist/>
- <educlist1/>
- </list1>
- <list2>
- <educdtlist/>
- <filelist/>
- </list2>
- <list3>
- <educdtlist/>
- <filelist/>
- </list3>
- <list4>
- <educapplist/>
- </list4>
- <grid>
- <filelist/>
- </grid>
- </main>
- <send>
- <retrparams1>
- <instcd/>
- <appyy/>
- <mainbdunit/>
- <educflag/>
- <appyn/>
- <dutunitcd/>
- <dutunitnm/>
- <emplno/>
- <emplnm/>
- <dutinstcd/>
- <instnm/>
- <dutinstnm/>
- </retrparams1>
- <retrparams2>
- <appyy/>
- <educcd/>
- <emplno/>
- <gubun/>
- <instcd/>
- <appyn/>
- </retrparams2>
- <educdtlist>
- </educdtlist>
- <attach/>
- <educdtlist1/>
- <capachk>
- <appyy/>
- <educcd/>
- <educdg/>
- </capachk>
- </send>
- <init>
- <item>
- <value/>
- <label>전체</label>
- </item>
- <item>
- <value>Y</value>
- <label>신청</label>
- </item>
- <item>
- <value>N</value>
- <label>미신청</label>
- </item>
- <item1>
- <value>Y</value>
- <label>승인</label>
- </item1>
- <item1>
- <value>R</value>
- <label>반려</label>
- </item1>
- <item1>
- <value>N</value>
- <label>처리중</label>
- </item1>
- <item1>
- <value>A</value>
- <label>미신청</label>
- </item1>
- </init>
- <temp/>
- <save>
- <resultcapa/>
- </save>
- </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[
- var SIZE_FLAG = true;
-
- function fInit() {
- model.setValue("/root/send/retrparams1/appyy", getCurrentDate().substr(0, 4));
- rpsEducSetComboList("M01-001,M01-002", "cmb_mainbdunit,cmb_educflag", "Y");
-
- model.removenode("/root/main/list1/educlist");
- model.removenode("/root/main/list1/educlist1");
- model.removenode("/root/main/list2/educdtlist");
- model.removenode("/root/main/list2/filelist");
- model.removenode("/root/main/list3/educdtlist");
- model.removenode("/root/main/list3/filelist");
- model.removenode("/root/main/list4/educapplist");
-
- misfMsterDetailSet(grd_educlist, null, "TRRPS03401", "N", "byRow");
- misfMsterDetailSet(grd_educdtlist, null, "TRRPS03402", "Y");
- misfMsterDetailSet(grd_educdtlist1, null, "TRRPS03402", "Y");
- misfMsterDetailSet(grd_educapplist, null, "TRRPS03403", "Y");
-
-
- var userinstcd = getUserInfo("dutplceinstcd");
- var userdeptcd = getUserInfo("dutplcecd");
- if( userinstcd == '001' || (userinstcd == '012' && ( userdeptcd == '4020500000' || userdeptcd == '4020503000' ))) {
- ipt_dutinstnm.disabled = false;
- btn_dutinst.disabled = false;
- }
- if(userdeptcd == '4020500000' || userdeptcd == '4020503000' ) {
- // 인사팀과 인사팀아래 교육unit은 보여져야 한다.
- ipt_dutunitnm.disabled = false;
- btn_dutunit.disabled = false;
-
- ipt_emplno.disabled = false;
- btn_empl.disabled = false;
- ipt_emplnm.disabled = false;
- }
-
- model.setValue("/root/send/retrparams1/instnm", getUserInfo("dutplceinstnm"));
- model.setValue("/root/send/retrparams1/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/retrparams1/emplno", getUserInfo("userid"));
- model.setValue("/root/send/retrparams1/emplnm", getUserInfo("usernm"));
- model.setValue("/root/send/retrparams1/dutunitcd", getUserInfo("dutplcecd"));
- model.setValue("/root/send/retrparams1/dutunitnm", getUserInfo("dutplcenm"));
- model.setValue("/root/send/retrparams1/dutinstnm", getUserInfo("dutplceinstnm"));
- model.setValue("/root/send/retrparams1/dutinstcd", getUserInfo("dutplceinstcd"));
-
- grd_educlist.rowHeight(0) = 43;
- grd_educlist1.rowHeight(0) = 43;
- grd_attach.rowHeight(0) = 43;
- grd_attach1.rowHeight(0) = 43;
-
- model.refresh();
- }
-
- function fEducListRetrieve() {
- var iRowIdx = grd_educlist.row;
-
- submit("TRRPS03401");
-
- rpsEducSetComboList("M01-001,M01-002", "cmb_mainbdunit,cmb_educflag", "Y");
-
- if(grd_educlist.rows > 1){
- if(iRowIdx == -1) iRowIdx = 1;
- else
- if(iRowIdx > grd_educlist.rows) iRowIdx = grd_educlist.rows - 1;
-
- grd_educlist.row = iRowIdx;
- grd_educlist.select(iRowIdx, 1, iRowIdx, 10) = true;
-
- grd_educlist.dispatch("ondblclick");
- }
- else {
- model.removeNodeset("/root/main/list2/educdtlist");
- model.removeNodeset("/root/main/list2/filelist");
- model.refresh();
- }
- }
-
- function fEducListRetrieve1() {
- var iRowIdx = grd_educlist.row;
-
- if (grd_educlist1.rows > 1){
- if(iRowIdx == -1) iRowIdx = 1;
- else
- if(iRowIdx > grd_educlist1.rows) iRowIdx = grd_educlist1.rows - 1;
-
- grd_educlist1.row = iRowIdx;
- grd_educlist1.select(iRowIdx, 1, iRowIdx, 10) = true;
-
- grd_educlist1.dispatch("ondblclick");
- }
- else{
- model.removeNodeset("/root/main/list3/educdtlist");
- model.removeNodeset("/root/main/list3/filelist");
- model.refresh();
- }
- }
-
- function feducdtlistRetrieve() {
- model.setValue("/root/send/retrparams2/appyy", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("appyy")));
- model.setValue("/root/send/retrparams2/educcd", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educcd")));
- model.setValue("/root/send/retrparams2/gubun", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("gubun")));
- model.setValue("/root/send/retrparams2/emplno", ipt_emplno.value);
-
- submit("TRRPS03402");
- fSetColor();
- }
-
- function feducdtlistRetrieve1() {
- model.setValue("/root/send/retrparams2/appyy", grd_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("appyy")));
- model.setValue("/root/send/retrparams2/educcd", grd_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("educcd")));
- model.setValue("/root/send/retrparams2/gubun", grd_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("gubun")));
- model.setValue("/root/send/retrparams2/emplno", ipt_emplno.value);
-
- submit("TRRPS03404");
- fSetColor1();
- }
-
- function fSave() {
- model.setValue("/root/send/educdtlist",grd_educdtlist.getUpdateData());
- model.setValue("/root/send/educdtlist1",grd_educdtlist1.getUpdateData());
- var count_1 = 0;
- var count_2 = 0;
-
- for(var i = grd_educdtlist.fixedRows; i <= grd_educdtlist.rows; i++) {
- if ( grd_educdtlist.rowStatus(i) == 3 ) {
- count_1++;
- }
- }
-
- for(var i = grd_educdtlist1.fixedRows; i <= grd_educdtlist1.rows; i++) {
- if ( grd_educdtlist1.rowStatus(i) == 3 ) {
- count_2++;
- }
- }
- if(count_1 > 0 ) {
- fCheckAppYN();
- if( model.getValue("/root/save/resultcapa/capa") > "0" ) {
- if(submit("TXRPS03401") ) {
- messageBox("","I001");
- grd_educlist.dispatch("ondblclick");
- }
- }
- else {
- messageBox("다시 신청해 주시기 바랍니다.","I999");
- grd_educlist.dispatch("ondblclick");
-
- }
- }
- if( count_2 > 0 ) {
- fCheckAppYN1();
- if( model.getValue("/root/save/resultcapa/capa") > "0" ) {
- if(submit("TXRPS03402") ) {
- messageBox("","I001");
- grd_educlist1.dispatch("ondblclick");
- }
- }
- else {
- messageBox("다시 신청해 주시기 바랍니다.","I999");
- grd_educlist1.dispatch("ondblclick");
- }
- }
- model.refresh();
- }
-
- function fSetColor() {
- for(var i = grd_educdtlist.fixedRows; i < grd_educdtlist.rows; i++ ) {
- if( grd_educdtlist.valueMatrix(i, grd_educdtlist.colRef("gubun")) == 'U' ) {
- if ( grd_educdtlist.valueMatrix(i, grd_educdtlist.colRef("flag")) == 'N' ) {
- grd_educdtlist.rowStyle(i, "all", "background-color") ="#808080";
- }
- }
- var emplcnt = grd_educdtlist.valueMatrix(i, grd_educdtlist.colRef("emplcnt"));
- var educcapa = grd_educdtlist.valueMatrix(i, grd_educdtlist.colRef("educcapa"));
- if( parseInt(emplcnt) >= parseInt(educcapa) ){
- grd_educdtlist.rowStyle(i, "all", "background-color") ="#dddddd";
- grd_educdtlist.isReadOnly(i, grd_educdtlist.colRef("appyn")) = true;
- }
- }
- }
-
- function fSetColor1() {
- for(var i = grd_educdtlist1.fixedRows; i < grd_educdtlist1.rows; i++ ) {
- if( grd_educdtlist1.valueMatrix(i, grd_educdtlist1.colRef("gubun")) == 'U' ) {
- if ( grd_educdtlist1.valueMatrix(i, grd_educdtlist1.colRef("flag")) == 'N' ) {
- grd_educdtlist1.rowStyle(i, "all", "background-color") ="#808080";
- }
- }
- var emplcnt = grd_educdtlist1.valueMatrix(i, grd_educdtlist1.colRef("emplcnt"));
- var educcapa = grd_educdtlist1.valueMatrix(i, grd_educdtlist1.colRef("educcapa"));
- if( parseInt(emplcnt) >= parseInt(educcapa) ){
- grd_educdtlist1.rowStyle(i, "all", "background-color") ="#dddddd";
- grd_educdtlist1.isReadOnly(i, grd_educdtlist1.colRef("appyn")) = true;
- }
- }
- }
-
- function fLoadExcel() {
- if(grd_educlist.rows == 1)
- {
- messageBox("교육내용을", "C002");
- return;
- }
- var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- grd_loadexcel.loadExcel(fileName);
- grd_loadexcel.rebuild();
-
- var sEmplno = "";
- var iRowIdx = -1;
-
- for(var i=1; i<grd_loadexcel.rows; i++) {
- sEmplno = grd_loadexcel.valueMatrix(i, grd_loadexcel.colRef("emplno"));
-
- if(sEmplno == "") continue;
-
- iRowIdx = grd_educdtlist.findRow(sEmplno, 0, grd_educdtlist.colRef("emplno"));
-
- if(iRowIdx != -1){
- continue;
- }
- else{
- misfGridIUD(grd_educdtlist, "A");
-
- model.setValue(grd_educdtlist.nodeset + "[" + grd_educdtlist.row + "]/instcd", model.getValue(grd_educlist.nodeset + "[" + grd_educlist.row + "]/instcd"));
- model.setValue(grd_educdtlist.nodeset + "[" + grd_educdtlist.row + "]/educdg", model.getValue(grd_educlist.nodeset + "[" + grd_educlist.row + "]/educdg"));
- model.setValue(grd_educdtlist.nodeset + "[" + grd_educdtlist.row + "]/educcd", model.getValue(grd_educlist.nodeset + "[" + grd_educlist.row + "]/educcd"));
- model.setValue(grd_educdtlist.nodeset + "[" + grd_educdtlist.row + "]/appyy", model.getValue(grd_educlist.nodeset + "[" + grd_educlist.row + "]/appyy"));
-
- model.setValue(grd_educdtlist.nodeset + "[" + grd_educdtlist.row + "]/emplno", model.getValue(grd_loadexcel.nodeset + "[" + i + "]/emplno"));
- }
- }
- model.refresh();
- }
-
- function fCheckAppYN () {
- if(grd_educlist.rows == 1) {
- messageBox("교육내용을", "C002");
- return;
- }
-
- var educcapa = model.getValue("/root/main/list2/educdtlist["+(grd_educdtlist.row-1)+"]/educcapa");
- var emplcnt = model.getValue("/root/main/list2/educdtlist["+(grd_educdtlist.row-1)+"]/emplcnt");
-
- model.setValue("/root/send/capachk/appyy",model.getValue("/root/main/list2/educdtlist["+(grd_educdtlist.row-1)+"]/appyy"));
- model.setValue("/root/send/capachk/educcd",model.getValue("/root/main/list2/educdtlist["+(grd_educdtlist.row-1)+"]/educcd"));
- model.setValue("/root/send/capachk/educdg",model.getValue("/root/main/list2/educdtlist["+(grd_educdtlist.row-1)+"]/educdg"));
- submit("TRRPS03400");
-
- if( educcapa == emplcnt || model.getValue("/root/save/resultcapa/capa") == '0' ) {
- messageBox("정원이 초과되어 더이상 등록","E001");
- return;
- }
- }
-
- function fCheckAppYN1 () {
- if(grd_educlist1.rows == 1) {
- messageBox("교육내용을", "C002");
- return;
- }
-
- var educcapa = model.getValue("/root/main/list3/educdtlist["+(grd_educdtlist1.row-1)+"]/educcapa");
- var emplcnt = model.getValue("/root/main/list3/educdtlist["+(grd_educdtlist1.row-1)+"]/emplcnt");
-
- model.setValue("/root/send/capachk/appyy",model.getValue("/root/main/list3/educdtlist["+(grd_educdtlist1.row-1)+"]/appyy"));
- model.setValue("/root/send/capachk/educcd",model.getValue("/root/main/list3/educdtlist["+(grd_educdtlist1.row-1)+"]/educcd"));
- model.setValue("/root/send/capachk/educdg",model.getValue("/root/main/list3/educdtlist["+(grd_educdtlist1.row-1)+"]/educdg"));
- submit("TRRPS03400");
-
- if( educcapa == emplcnt || model.getValue("/root/save/resultcapa/capa") == '0' ) {
- messageBox("정원이 초과되어 더이상 등록","E001");
- return;
- }
- }
-
- function fCheckAppdgDisable() {
- for( var idx = grd_educdtlist.fixedRows; idx < grd_educdtlist.rows; idx++) {
- if(grd_educdtlist.valueMatrix(idx,grd_educdtlist.colRef("appyn")) == 'Y' ) {
- grd_educdtlist.rowStyle(idx, "all", "background-color") ="#dddddd";
- grd_educdtlist.isReadOnly(idx, grd_educdtlist.colRef("appyn")) = true;
- grd_educdtlist.isReadOnly(idx, grd_educdtlist.colRef("updtresn")) = true;
- }
- else {
- grd_educdtlist.rowStyle(idx, "all", "background-color") = "transparent";
- grd_educdtlist.isReadOnly(idx, grd_educdtlist.colRef("appyn")) = false;
- grd_educdtlist.isReadOnly(idx, grd_educdtlist.colRef("updtresn")) = false;
- }
- }
-
- var todate = getCurrentDate();
- var totime = getCurrentTime().substr(0,4);
- for(var idx = grd_educdtlist.fixedRows; idx < grd_educdtlist.rows; idx++) {
- if( grd_educdtlist.valueMatrix(idx, grd_educdtlist.colRef("educappfromdd")) <= todate &&
- todate <= grd_educdtlist.valueMatrix(idx, grd_educdtlist.colRef("educapptodd")) ) {
-
- if (grd_educdtlist.valueMatrix(idx,grd_educdtlist.colRef("educapptodd")) == todate &&
- grd_educdtlist.valueMatrix(idx,grd_educdtlist.colRef("educappendtm")) <= totime ) {
- grd_educdtlist.rowStyle(idx, "all", "background-color") ="#dddddd";
- grd_educdtlist.isReadOnly(idx, grd_educdtlist.colRef("appyn")) = true;
- grd_educdtlist.isReadOnly(idx, grd_educdtlist.colRef("updtresn")) = true;
- }
- }
- else if( grd_educdtlist.valueMatrix(idx, grd_educdtlist.colRef("educappfromdd")) > todate ){
-
- }
- else {
- grd_educdtlist.rowStyle(idx, "all", "background-color") ="#dddddd";
- grd_educdtlist.isReadOnly(idx, grd_educdtlist.colRef("appyn")) = true;
- grd_educdtlist.isReadOnly(idx, grd_educdtlist.colRef("updtresn")) = true;
- }
- }
- model.refresh();
- }
-
- function fCheckAppdgDisable1() {
- for( var idx = grd_educdtlist1.fixedRows; idx < grd_educdtlist1.rows; idx++) {
- if(grd_educdtlist1.valueMatrix(idx,grd_educdtlist1.colRef("appyn")) == 'Y' ) {
- grd_educdtlist1.rowStyle(idx, "all", "background-color") ="#dddddd";
- grd_educdtlist1.isReadOnly(idx, grd_educdtlist1.colRef("appyn")) = true;
- grd_educdtlist1.isReadOnly(idx, grd_educdtlist1.colRef("updtresn")) = true;
- }
- else {
- grd_educdtlist1.rowStyle(idx, "all", "background-color") = "transparent";
- grd_educdtlist1.isReadOnly(idx, grd_educdtlist1.colRef("appyn")) = false;
- grd_educdtlist1.isReadOnly(idx, grd_educdtlist1.colRef("updtresn")) = false;
- }
- }
-
- var todate = getCurrentDate();
- var totime = getCurrentTime().substr(0,4);
- for(var idx = grd_educdtlist1.fixedRows; idx < grd_educdtlist1.rows; idx++) {
- if( grd_educdtlist1.valueMatrix(idx, grd_educdtlist1.colRef("educappfromdd")) <= todate &&
- todate <= grd_educdtlist1.valueMatrix(idx, grd_educdtlist1.colRef("educapptodd")) ) {
-
- if (grd_educdtlist1.valueMatrix(idx,grd_educdtlist1.colRef("educapptodd")) == todate &&
- grd_educdtlist1.valueMatrix(idx,grd_educdtlist1.colRef("educappendtm")) <= totime ) {
- grd_educdtlist1.rowStyle(idx, "all", "background-color") ="#dddddd";
- grd_educdtlist1.isReadOnly(idx, grd_educdtlist1.colRef("appyn")) = true;
- grd_educdtlist1.isReadOnly(idx, grd_educdtlist1.colRef("updtresn")) = true;
- }
- }
- else if( grd_educdtlist1.valueMatrix(idx, grd_educdtlist1.colRef("educappfromdd")) > todate ){
-
- }
- else {
- grd_educdtlist1.rowStyle(idx, "all", "background-color") ="#dddddd";
- grd_educdtlist1.isReadOnly(idx, grd_educdtlist1.colRef("appyn")) = true;
- grd_educdtlist1.isReadOnly(idx, grd_educdtlist1.colRef("updtresn")) = true;
- }
- }
- model.refresh();
- }
- ]]>
- </script>
- <submission id="TRRPS03400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/capachk" resultref="/root/save/resultcapa"/>
- <submission id="TRRPS03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams1" resultref="/root/main/list1"/>
- <submission id="TRRPS03402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams2" resultref="/root/main/list2"/>
- <submission id="TRRPS03403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams1" resultref="/root/main/list4"/>
- <submission id="TRRPS03404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams2" resultref="/root/main/list3"/>
- <submission id="TXRPS03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/educdtlist" resultref="/root/temp"/>
- <submission id="TXRPS03402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/educdtlist1" resultref="/root/temp"/>
- <submission id="TRRPS00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/attach" resultref="/root/temp"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1230;" 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:1px; width:1194px; height:62px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1095px; y1:8px; x2:1095px; y2:57px; "/>
- <caption id="caption1" class="search_name" style="left:541px; top:11px; width:97px; height:17px; ">주체기관 :</caption>
- <caption id="caption10" class="search_name" style="left:22px; top:11px; width:90px; height:17px; ">년 도 :</caption>
- <caption id="caption2" class="search_name" style="left:285px; top:11px; width:86px; height:17px; ">주체단위 :</caption>
- <caption id="caption3" class="search_name" style="left:836px; top:11px; width:91px; height:17px; ">교육구분 :</caption>
- <line id="line5" class="line_1" style="x1:0px; y1:87px; x2:1190px; y2:88px; "/>
- <caption id="caption9" class="tit_2" style="left:5px; top:72px; width:169px; height:13px; ">교육과정</caption>
- <input id="ipt_yyyy" ref="/root/send/retrparams1/appyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:110px; top:11px; width:82px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/retrparams2/appyy", "/root/send/retrparams1/appyy");
- fEducListRetrieve();
- ]]>
- </script>
- </input>
- <select1 id="cmb_mainbdunit" ref="/root/send/retrparams1/mainbdunit" class="combo_search" appearance="minimal" style="left:370px; top:11px; width:145px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fEducListRetrieve();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_educflag" ref="/root/send/retrparams1/educflag" class="combo_search" appearance="minimal" style="left:923px; top:11px; width:142px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fEducListRetrieve();
- ]]>
- </script>
- </select1>
- <line id="line2" class="line_1" style="x1:297px; y1:87px; x2:298px; y2:543px; "/>
- <caption id="caption13" class="tit_2" style="left:301px; top:72px; width:169px; height:13px; ">세부내역</caption>
- <datagrid id="grd_educlist" nodeset="/root/main/list1/educlist" autoresize="true" caption="적용년도^교육코드^개인신청 필수교육^구분^주체기관" colsep="^" colwidth="73, 81, 177, 40, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="25" rowsep="|" style="left:0px; top:91px; width:295px; height:218px; ">
- <col ref="appyy" visibility="hidden"/>
- <col ref="educcd" visibility="hidden"/>
- <col ref="educcdnm" style="text-align:left; "/>
- <col ref="gubun" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="appdg" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var rowcnt = grd_educdtlist.rows-1;
- for( var i = 0; i < rowcnt; i++ ) {
- model.removenode("/root/main/list2/educdtlist");
- }
- grd_educdtlist.refresh();
- feducdtlistRetrieve();
- misfMsterDetailSet(grd_educdtlist, null, "TRRPS03402", "Y");
-
- fCheckAppdgDisable();
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <button id="btn_search" class="btn1_letter2" style="left:1119px; top:23px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/main/list3/educapplist");
- fEducListRetrieve();
- fEducListRetrieve1();
- submit("TRRPS03403");
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_educdtlist" nodeset="/root/main/list2/educdtlist" caption="적용년도^기관코드^사원번호^교육코드^변경전차수^차수^신청기간^신청기간^신청마감시간^교육기간^교육기간^교육
소요시간^신청인원/정원^신청인원/정원^신청^변경사유^부서장^부서장^부서장^인사팀^인사팀^인사팀^구분|적용년도^기관코드^사원번호^교육코드^변경전차수^차수^From^To^신청마감시간^From^To^교육
소요시간^신청인원/정원^신청인원/정원^신청^변경사유^승인여부^반려사유^승인시간^확인여부^반려사유^확인시간^구분" colsep="^" colwidth="19, 20, 18, 21, 46, 50, 100, 100, 56, 100, 100, 49, 50, 50, 40, 120, 60, 150, 80, 60, 150, 80, 40" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:301px; top:91px; width:889px; height:218px; ">
- <col ref="appyy" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="educcd" visibility="hidden"/>
- <col ref="appdg" visibility="hidden" style="text-align:center; "/>
- <col ref="educdg" style="text-align:center; vertical-align:middle; "/>
- <col disabled="true" ref="educappfromdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="educapptodd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="educappendtm" format="hh:nn" style="text-align:center; "/>
- <col disabled="true" ref="educfromdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="eductodd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="eductm" visibility="hidden" format="hh:nn" style="text-align:right; "/>
- <col ref="emplcnt" style="text-align:right; "/>
- <col ref="educcapa" style="text-align:right; "/>
- <col checkvalue="Y,N" ref="appyn" type="checkbox"/>
- <col ref="updtresn" type="input" maxlength="100"/>
- <col disabled="true" ref="deptaprvyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/item1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="deptreturn"/>
- <col ref="deptaprvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="lastaprvyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/item1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="lastreturn"/>
- <col ref="lastaprvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="gubun" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_educdtlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseup">
- <![CDATA[
- if( grd_educdtlist.valueMatrix(grd_educdtlist.row, grd_educdtlist.colRef("gubun")) == 'U' ) {
- if( grd_educdtlist.valueMatrix(grd_educdtlist.row, grd_educdtlist.colRef("flag")) == 'N' ) {
- messageBox("신청할수 없는 교육","E008");
- grd_educdtlist.removeStatus(grd_educdtlist.row,"update");
- grd_educdtlist.valueMatrix(grd_educdtlist.row, grd_educdtlist.colRef("appyn")) = "false";
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var row = grd_educdtlist.row;
- var col = grd_educdtlist.colRef("appyn");
-
- for( var idx = grd_educdtlist.fixedRows; idx <= grd_educdtlist.rows; idx++ ) {
- if(row != idx
- && grd_educdtlist.valueMatrix(idx,grd_educdtlist.colRef("appyn")) == 'Y' ) {
- if( messageBox("다른차수에 이미 신청되어 있습니다. 변경하시겠습니까?","Q999") == '6') { // yes눌렀을때.
- grd_educdtlist.valueMatrix(idx,grd_educdtlist.colRef("appyn")) = 'N';
- grd_educdtlist.rowStatus(idx) = 2;
- grd_educdtlist.valueMatrix(row,grd_educdtlist.colRef("appyn")) = 'Y';
- grd_educdtlist.addStatus(row, "insert");
- return;
- }
- else { // no눌렀을때
- grd_educdtlist.valueMatrix(row,grd_educdtlist.colRef("appyn")) = 'N';
- grd_educdtlist.addStatus(row, "update");
- return;
- }
- }
- else {
- grd_educdtlist.valueMatrix(row,grd_educdtlist.colRef("appyn")) = 'Y';
- grd_educdtlist.addStatus(row, "insert");
- }
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption16" class="search_name" style="left:541px; top:35px; width:100px; height:17px; ">부 서 :</caption>
- <caption id="caption24" class="search_name" style="left:836px; top:35px; width:100px; height:17px; ">사원번호 :</caption>
- <caption id="caption26" class="search_name" style="left:20px; top:35px; width:100px; height:17px; ">신청여부 :</caption>
- <input id="ipt_dutunitnm" ref="/root/send/retrparams1/dutunitnm" class="input_search" disabled="true" navindex="3" style="left:630px; top:35px; width:150px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ipt_dutunitnm.value.getByteLength() == '0' ) {
- ipt_dutunitcd.value = "" ;
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_dutunitcd" ref="/root/send/retrparams1/dutunitcd" class="input_search" disabled="true" navindex="2" visibility="hidden" maxlength="10" style="left:685px; top:55px; width:81px; height:19px; text-align:center; "/>
- <select1 id="rdo_appyn" ref="/root/send/retrparams1/appyn" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:110px; top:35px; width:140px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/item">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/send/retrparams2/appyn",rdo_appyn.value);
- fEducListRetrieve();
- ]]>
- </script>
- </select1>
- <button id="btn_empl" class="icon_search" disabled="true" style="left:997px; top:35px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm", "", "N");
-
- model.setValue("/root/send/retrparams2/emplno", ipt_emplno.value);
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_emplnm" ref="/root/send/retrparams1/emplnm" class="input_search" disabled="true" navindex="7" style="left:1014px; top:35px; width:51px; height:19px; text-align:center; "/>
- <input id="ipt_emplno" ref="/root/send/retrparams1/emplno" class="input_s_essential" disabled="true" navindex="6" style="left:925px; top:35px; width:70px; height:19px; text-align:center; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:542px; x2:1190px; y2:543px; "/>
- <button id="btn_dutunit" class="icon_search" disabled="true" style="left:784px; top:35px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_dutunitnm, "", "dutunitcd,dutunitnm", ipt_dutinstcd.value, "instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption4" class="search_name" style="left:285px; top:35px; width:114px; height:17px; ">기 관 :</caption>
- <datagrid id="grd_attach" nodeset="/root/main/list2/filelist" visibility="hidden" caption="순번^seqno^수정일^파일명^파일경로^파일크기^파일크기^교육코드^년도^기관" colsep="^" colwidth="35, 100, 88, 146, 76, 100, 50, 100, 100, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:976px; top:91px; width:217px; height:218px; ">
- <col ref="rownum" visibility="hidden" style="text-align:center; "/>
- <col ref="seqno" visibility="hidden" style="text-align:center; "/>
- <col disabled="true" ref="updatedt" visibility="hidden" format="yyyy-mm-dd"/>
- <col disabled="true" ref="filenm" style="text-align:center; "/>
- <col ref="filepath" visibility="hidden"/>
- <col ref="filesz" visibility="hidden" format="#,###" style="text-align:center; "/>
- <col ref="bytes" visibility="hidden"/>
- <col ref="educcd" visibility="hidden"/>
- <col ref="appyy" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var idx = grd_attach.row;
- model.copyNode("/root/send/attach","/root/main/grid/filelist["+idx+"]");
-
- var filepath = model.getValue("/root/send/attach/filepath");
- var filenm = model.getValue("/root/send/attach/filenm");
- var localfile = window.fileDialog("save","|",false,filenm,"","All Files(*.*)|*.*");
- if (localfile != "") {
- model.download(getActionURL("TRRPS00205")+"&filepath="+filepath,localfile);
- var rtn = messageBox("파일을", "Q004");
- if( rtn == 6 ) {
- window.exec(localfile);
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="button8" class="icon_search" style="left:784px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "instcd,instnm";
- misfOpenPopUpList("03", ipt_instnm,"Z0007", recv_list, "", "") ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_instnm" ref="/root/send/retrparams1/instnm" class="input_search" appearance="input" style="left:630px; top:10px; width:150px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ipt_instnm.value.getByteLength() == '0' ) {
- ipt_instcd.value = "" ;
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_instcd" ref="/root/send/retrparams1/instcd" disabled="true" visibility="hidden" style="left:730px; top:0px; width:50px; height:19px; "/>
- <button id="btn_dutinst" class="icon_search" disabled="true" style="left:500px; top:35px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "dutinstcd,dutinstnm";
- misfOpenPopUpList("03", ipt_dutinstnm,"Z0007", recv_list, "", "") ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_dutinstnm" ref="/root/send/retrparams1/dutinstnm" class="input_search" disabled="true" appearance="input" style="left:370px; top:35px; width:125px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ipt_dutinstnm.value.getByteLength() == '0' ) {
- ipt_dutinstcd.value = "" ;
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_dutinstcd" ref="/root/send/retrparams1/dutinstcd" disabled="true" visibility="hidden" style="left:430px; top:55px; width:50px; height:19px; "/>
- <caption id="caption5" style="left:410px; top:695px; width:430px; height:25px; font-size:10pt; font-weight:bold; color:#ff0000; ">※ 교육 신청 취소는 인사팀 교육Unit로 문의하시기 바립니다.</caption>
- <datagrid id="grd_educapplist" nodeset="/root/main/list4/educapplist" caption="적용년도^기관코드^교육코드^인사팀 대상자 확정교육^차수^필수/
선택^교육기간^교육기간^교육시간일정^부서장^부서장^부서장^인사팀^인사팀^인사팀|적용년도^기관코드^교육코드^인사팀 대상자 확정교육^차수^필수/
선택^From^To^교육시간일정^승인여부^반려사유^승인시간^확인여부^반려사유^확인시간" colsep="^" colwidth="19, 20, 21, 465, 65, 55, 90, 90, 100, 75, 150, 100, 75, 150, 100" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:546px; width:1192px; height:149px; ">
- <col ref="appyy" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="educcd" visibility="hidden"/>
- <col ref="educnm"/>
- <col ref="educdg" style="text-align:center; vertical-align:middle; "/>
- <col ref="choiflag" visibility="hidden" style="text-align:center; "/>
- <col ref="educfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="eductodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="eductm" format="99:99-99:99" style="text-align:center; "/>
- <col disabled="true" ref="deptaprvyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/item1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="deptreturn" visibility="hidden"/>
- <col ref="deptaprvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="lastaprvyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/item1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="lastreturn" visibility="hidden"/>
- <col ref="lastaprvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_educdtlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseup">
- <![CDATA[
- if( grd_educdtlist.valueMatrix(grd_educdtlist.row, grd_educdtlist.colRef("gubun")) == 'U' ) {
- if( grd_educdtlist.valueMatrix(grd_educdtlist.row, grd_educdtlist.colRef("flag")) == 'N' ) {
- messageBox("신청할수 없는 교육","E008");
- grd_educdtlist.removeStatus(grd_educdtlist.row,"update");
- grd_educdtlist.valueMatrix(grd_educdtlist.row, grd_educdtlist.colRef("appyn")) = "false";
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var row = grd_educdtlist.row;
- var col = grd_educdtlist.colRef("appyn");
-
- for( var idx = grd_educdtlist.fixedRows; idx <= grd_educdtlist.rows; idx++ ) {
- if(row != idx
- && grd_educdtlist.valueMatrix(idx,grd_educdtlist.colRef("appyn")) == 'Y' ) {
- if( messageBox("다른차수에 이미 신청되어 있습니다. 변경하시겠습니까?","Q999") == '6') { // yes눌렀을때.
- grd_educdtlist.valueMatrix(idx,grd_educdtlist.colRef("appyn")) = 'N';
- grd_educdtlist.addStatus(idx, "update");
- grd_educdtlist.valueMatrix(row,grd_educdtlist.colRef("appyn")) = 'Y';
- return;
- }
- else { // no눌렀을때
- grd_educdtlist.valueMatrix(row,grd_educdtlist.colRef("appyn")) = 'N';
- grd_educdtlist.addStatus(row, "update");
- return;
- }
- }
- }
- ]]>
- </script>
- </datagrid>
- <shape id="rectangle3" appearance="rectangle" style="left:962px; top:70px; width:15px; height:15px; background-color:#dddddd; "/>
- <caption id="caption11" style="left:978px; top:66px; width:106px; height:25px; ">신청 불가능한 교육</caption>
- <datagrid id="grd_educlist1" nodeset="/root/main/list1/educlist1" autoresize="true" caption="적용년도^교육코드^개인신청 선택교육^구분^주체기관" colsep="^" colwidth="73, 81, 177, 40, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="25" rowsep="|" style="left:0px; top:315px; width:295px; height:225px; ">
- <col ref="appyy" visibility="hidden"/>
- <col ref="educcd" visibility="hidden"/>
- <col ref="educcdnm" style="text-align:left; "/>
- <col ref="gubun" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="appdg" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var rowcnt = grd_educdtlist1.rows-1;
- for( var i = 0; i < rowcnt; i++ ) {
- model.removenode("/root/main/list3/educdtlist");
- }
- grd_educdtlist1.refresh();
- misfMsterDetailSet(grd_educdtlist1, null, "TRRPS03404", "Y");
-
- feducdtlistRetrieve1();
-
- fCheckAppdgDisable1();
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_1" style="x1:0px; y1:311px; x2:1190px; y2:312px; "/>
- <datagrid id="grd_educdtlist1" nodeset="/root/main/list3/educdtlist" caption="적용년도^기관코드^사원번호^교육코드^변경전차수^차수^신청기간^신청기간^신청마감시간^교육기간^교육기간^교육
소요시간^신청인원/정원^신청인원/정원^신청^변경사유^부서장^부서장^부서장^인사팀^인사팀^인사팀^구분|적용년도^기관코드^사원번호^교육코드^변경전차수^차수^From^To^신청마감시간^From^To^교육
소요시간^신청인원/정원^신청인원/정원^신청^변경사유^승인여부^반려사유^승인시간^확인여부^반려사유^확인시간^구분" colsep="^" colwidth="19, 20, 18, 21, 46, 50, 100, 100, 56, 100, 100, 49, 50, 50, 40, 120, 60, 150, 80, 60, 150, 80, 40" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:301px; top:315px; width:889px; height:225px; ">
- <col ref="appyy" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="educcd" visibility="hidden"/>
- <col ref="appdg" visibility="hidden" style="text-align:center; "/>
- <col ref="educdg" style="text-align:center; vertical-align:middle; "/>
- <col disabled="true" ref="educappfromdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="educapptodd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="educappendtm" format="hh:nn" style="text-align:center; "/>
- <col disabled="true" ref="educfromdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="eductodd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="eductm" visibility="hidden" format="hh:nn" style="text-align:right; "/>
- <col ref="emplcnt" style="text-align:right; "/>
- <col ref="educcapa" style="text-align:right; "/>
- <col checkvalue="Y,N" ref="appyn" type="checkbox"/>
- <col ref="updtresn" type="input" maxlength="100"/>
- <col disabled="true" ref="deptaprvyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/item1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="deptreturn"/>
- <col ref="deptaprvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="lastaprvyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/item1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="lastreturn"/>
- <col ref="lastaprvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="gubun" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_educdtlist1.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseup">
- <![CDATA[
- if( grd_educdtlist1.valueMatrix(grd_educdtlist1.row, grd_educdtlist1.colRef("gubun")) == 'U' ) {
- if( grd_educdtlist1.valueMatrix(grd_educdtlist1.row, grd_educdtlist1.colRef("flag")) == 'N' ) {
- messageBox("신청할수 없는 교육","E008");
- grd_educdtlist1.removeStatus(grd_educdtlist1.row,"update");
- grd_educdtlist1.valueMatrix(grd_educdtlist1.row, grd_educdtlist1.colRef("appyn")) = "false";
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var row = grd_educdtlist1.row;
- var col = grd_educdtlist1.colRef("appyn");
-
- for( var idx = grd_educdtlist1.fixedRows; idx <= grd_educdtlist1.rows; idx++ ) {
- if(row != idx
- && grd_educdtlist1.valueMatrix(idx,grd_educdtlist1.colRef("appyn")) == 'Y' ) {
- if( messageBox("다른차수에 이미 신청되어 있습니다. 변경하시겠습니까?","Q999") == '6') { // yes눌렀을때.
- grd_educdtlist1.valueMatrix(idx,grd_educdtlist.colRef("appyn")) = 'N';
- grd_educdtlist1.rowStatus(idx) = 2;
- grd_educdtlist1.valueMatrix(row,grd_educdtlist1.colRef("appyn")) = 'Y';
- grd_educdtlist1.addStatus(row, "insert");
- return;
- }
- else { // no눌렀을때
- grd_educdtlist1.valueMatrix(row,grd_educdtlist1.colRef("appyn")) = 'N';
- grd_educdtlist1.addStatus(row, "update");
- return;
- }
- }else {
- grd_educdtlist1.valueMatrix(row,grd_educdtlist1.colRef("appyn")) = 'Y';
- grd_educdtlist1.addStatus(row, "insert");
- }
- }
-
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_attach1" nodeset="/root/main/list3/filelist" visibility="hidden" caption="순번^seqno^수정일^파일명^파일경로^파일크기^파일크기^교육코드^년도^기관" colsep="^" colwidth="35, 100, 88, 162, 76, 100, 50, 100, 100, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:976px; top:315px; width:217px; height:225px; ">
- <col ref="rownum" visibility="hidden" style="text-align:center; "/>
- <col ref="seqno" visibility="hidden" style="text-align:center; "/>
- <col disabled="true" ref="updatedt" visibility="hidden" format="yyyy-mm-dd"/>
- <col disabled="true" ref="filenm" style="text-align:center; "/>
- <col ref="filepath" visibility="hidden"/>
- <col ref="filesz" visibility="hidden" format="#,###" style="text-align:center; "/>
- <col ref="bytes" visibility="hidden"/>
- <col ref="educcd" visibility="hidden"/>
- <col ref="appyy" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var idx = grd_attach.row;
- model.copyNode("/root/send/attach","/root/main/grid/filelist["+idx+"]");
-
- var filepath = model.getValue("/root/send/attach/filepath");
- var filenm = model.getValue("/root/send/attach/filenm");
- var localfile = window.fileDialog("save","|",false,filenm,"","All Files(*.*)|*.*");
- if (localfile != "") {
- model.download(getActionURL("TRRPS00205")+"&filepath="+filepath,localfile);
- var rtn = messageBox("파일을", "Q004");
- if( rtn == 6 ) {
- window.exec(localfile);
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_size" class="btn2_letter7" style="left:1095px; top:66px; width:97px; height:19px; ">
- <caption>첨부파일보이기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( SIZE_FLAG ) {
- grd_attach.visible = true;
- grd_attach1.visible = true;
- grd_educdtlist.attribute("style") = "left:301px; top:91px; width:674px; height:218px; ";
- grd_educdtlist1.attribute("style") = "left:301px; top:315px; width:674px; height:225px; ";
- btn_size.value = "첨부파일보이기";
- SIZE_FLAG = false;
- }
- else {
- grd_attach.visible = false;
- grd_attach1.visible = false;
- grd_educdtlist.attribute("style") = "left:301px; top:91px; width:889px; height:218px; ";
- grd_educdtlist1.attribute("style") = "left:301px; top:315px; width:889px; height:225px; ";
- btn_size.value = "첨부파일숨기기";
- SIZE_FLAG = true;
- }
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" navindex="20000" style="left:1139px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fSave();
- fCheckAppdgDisable();
-
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|