123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>SMRPS04500_오리엔테이션프로그램</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <grid>
- <educlist/>
- <filelist/>
- </grid>
- </main>
- <send>
- <search>
- <appyy/>
- <deptcd/>
- <deptnm/>
- <teamnm/>
- <teamcd/>
- <unitnm/>
- <unitcd/>
- <emplno/>
- <instcd/>
- <educcd/>
- <posinstcd/>
- <chrgdeptcd/>
- <chrgdeptnm/>
- <chrgteamnm/>
- <chrgteamcd/>
- <chrgunitnm/>
- <chrgunitcd/>
- <grdunitcd/>
- </search>
- <save>
- <educlist/>
- </save>
- <contents>
- <educgoal/>
- <educterm/>
- <deptot/>
- <jobroleot/>
- </contents>
- </send>
- <init>
- </init>
- <temp>
- <flag/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/educationmngtweb/js/RPS001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGetUserAuth();
- fCheckAuth();
-
- fInitialize() ;
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
- //========================================================================================
- function fCheckAuth() {
- btn_search.disabled = !checkAuth("R") ;
- }
- ]]>
- </script>
- <submission id="TRRPS04000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/init/emplinfo"/>
- <submission id="TRRPS04999" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/init/deptadmin"/>
- <submission id="TRRPS04501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/grid/educlist"/>
- <submission id="TXRPS04501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/main/educlist"/>
- <submission id="TRRPS00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/grid/filelist"/>
- <submission id="TXRPS00206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fInitialize() {
- var curdate = getCurrentDate();
- model.setValue(ipt_appyy.attribute("ref") , curdate.substr(0, 4));
-
- // user정보조회
- model.setValue(ipt_emplno.attribute("ref"),getUserInfo("userid"));
- submit("TRRPS04000");
-
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N","N");
- cmb_instcd.value = model.getValue("/root/init/emplinfo/dutplceinst");
- model.setValue(ipt_deptnm.attribute("ref"),model.getValue("/root/init/emplinfo/dutdeptnm"));
- model.setValue(ipt_deptcd.attribute("ref"), model.getValue("/root/init/emplinfo/dutdeptcd"));
- model.setValue(ipt_teamnm.attribute("ref"),model.getValue("/root/init/emplinfo/dutteamnm"));
- model.setValue(ipt_teamcd.attribute("ref"),model.getValue("/root/init/emplinfo/dutteamcd"));
- model.setValue(ipt_unitnm.attribute("ref"), model.getValue("/root/init/emplinfo/dutunitnm"));
- model.setValue(ipt_unitcd.attribute("ref"), model.getValue("/root/init/emplinfo/dutunitcd"));
- model.refresh();
-
- if ( DUTY_EDU_YN == "Y" || DUTY_RESP_YN == "Y" || getUserInfo("dutplcecd") == "4020500000" ) {
- ipt_deptnm.disabled = false;
- ipt_teamnm.disabled = false;
- ipt_unitnm.disabled = false;
- btn_dept.disabled = false;
- btn_team.disabled = false;
- btn_unit.disabled = false;
- }
- else {
- fCheckDisabled(); // 관리자인지 체크하여 기본 조회부분의 활성화/비활성화를 결정한다.
- }
-
- //그리드 초기화 작업
- model.removeNodeset(grd_educlist.nodeset);
- model.removeNodeset(grd_attach.nodeset);
- misfMsterDetailSet(grd_educlist, null, "TRRPS04501", "Y");
- // misfMsterDetailSet(grd_attach, grd_educlist, "TRRPS00204", "Y");
-
- grd_educlist.rowHeight(grd_educlist.fixedRows-1) = 50;
-
- model.refresh();
- }
-
- function fCheckAdmin() {
- // 부서교육관리자로 등록된 사람인지 체크
- model.setValue("/root/send/search/instcd", model.getValue("/root/init/emplinfo/dutplceinst"));
- model.setValue("/root/send/search/posinstcd", model.getValue("/root/init/emplinfo/dutplceinst"));
- submit("TRRPS04999");
-
- if( model.getValue("/root/init/deptadmin/emplno") == ipt_emplno.value ) {
- btn_search.disabled = false;
- }
- else {
- // btn_search.disabled = true;
- }
- model.refresh();
- }
-
- function fCheckDisabled () {
- model.setValue("/root/send/search/chrgdeptnm",model.getValue("/root/init/emplinfo/dutdeptnm"));
- model.setValue("/root/send/search/chrgdeptcd", model.getValue("/root/init/emplinfo/dutdeptcd"));
- model.setValue("/root/send/search/chrgteamnm",model.getValue("/root/init/emplinfo/dutteamnm"));
- model.setValue("/root/send/search/chrgteamcd",model.getValue("/root/init/emplinfo/dutteamcd"));
- model.setValue("/root/send/search/chrgunitnm", model.getValue("/root/init/emplinfo/dutunitnm"));
- model.setValue("/root/send/search/chrgunitcd", model.getValue("/root/init/emplinfo/dutunitcd"));
-
- fCheckAdmin();
-
- if( model.getValue("/root/init/deptadmin/teamyn") == "Y") {
- ipt_teamnm.disabled = false;
- btn_team.disabled = false;
- ipt_unitnm.disabled = false;
- btn_unit.disabled = false;
- }
- else if (model.getValue("/root/init/deptadmin/unityn") == "Y") {
- ipt_unitnm.disabled = false;
- btn_unit.disabled = false;
- }
- else {
- ipt_teamnm.disabled = true;
- ipt_unitnm.disabled = true;
- btn_team.disabled = true;
- btn_unit.disabled = true;
- }
- model.refresh();
- }
- ]]>
- </script>
- </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:1px; width:1195px; height:34px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line8" class="line_1" style="x1:0px; y1:109px; x2:1192px; y2:109px; "/>
- <caption id="caption29" class="tit_2" style="left:5px; top:95px; width:169px; height:14px; ">교육목표(부서/직무 OT)</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1126px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(ipt_appyy.value == "") {
- messageBox("년도는","I003");
- model.setFocus("ipt_appyy");
- }
- else {
- model.setValue("/root/send/contents/educgoal", "");
- model.setValue("/root/send/contents/educterm", "");
- model.setValue("/root/send/contents/deptot" , "");
- model.setValue("/root/send/contents/jobroleot", "");
-
- misfMsterDetailRetrieve();
- model.removeNodeset(grd_attach.nodeset);
- model.setValue("/root/send/search/educcd",grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educcd")));
- submit("TRRPS00204");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:30px; "/>
- <caption id="cap_appyy" class="search_name" style="left:20px; top:9px; width:90px; height:17px; ">년 도 :</caption>
- <input id="ipt_appyy" ref="/root/send/search/appyy" class="input_s_essential" inputtype="date" format="yyyy" appearance="input" style="left:102px; top:9px; width:82px; height:19px; text-align:center; "/>
- <input id="ipt_unitnm" ref="/root/send/search/unitnm" class="input_search" disabled="true" appearance="input" style="left:960px; top:9px; width:113px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ipt_unitnm.value.getByteLength() == '0' ) {
- ipt_unitcd.value = "" ;
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_unitcd" ref="/root/send/search/unitcd" disabled="true" visibility="hidden" style="left:990px; top:21px; width:70px; height:19px; "/>
- <caption id="caption8" class="search_name" style="left:900px; top:10px; width:86px; height:17px; ">부서 :</caption>
- <input id="ipt_teamnm" ref="/root/send/search/teamnm" class="input_search" disabled="true" visibility="visible" appearance="input" style="left:739px; top:9px; width:117px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ipt_teamnm.value.getByteLength() == '0' ) {
- ipt_teamcd.value = "" ;
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_teamcd" ref="/root/send/search/teamcd" disabled="true" visibility="hidden" style="left:784px; top:21px; width:50px; height:19px; "/>
- <input id="ipt_deptnm" ref="/root/send/search/deptnm" class="input_search" disabled="true" navindex="3" visibility="visible" style="left:505px; top:9px; width:120px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ipt_deptnm.value.getByteLength() == '0' ) {
- ipt_deptcd.value = "" ;
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_deptcd" ref="/root/send/search/deptcd" class="input_search" disabled="true" navindex="2" visibility="hidden" maxlength="10" style="left:565px; top:21px; width:45px; height:19px; text-align:center; "/>
- <input id="ipt_emplno" ref="/root/send/search/emplno" visibility="hidden" style="left:800px; top:40px; width:90px; height:19px; "/>
- <button id="btn_unit" class="icon_search" disabled="true" style="left:1075px; top:10px; width:16px; height:17px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var unitcd = ipt_unitcd.value;
- var unitnm = ipt_unitnm.value;
-
- rpsfEducOpenPopUpList("07", ipt_unitnm, "", "unitcd,unitnm", cmb_instcd.value, "instcd");
-
- if ( DUTY_EDU_YN == 'Y' || DUTY_RESP_YN == "Y" || getUserInfo("dutplcecd") == "4020500000" ) {
- // unit이 달라지면 상위 부서도 가져온다..
- model.setValue("/root/send/search/posinstcd", cmb_instcd.value);
- model.setValue("/root/send/search/grdunitcd", ipt_unitcd.value);
- model.setValue("/root/send/search/emplno", "" );
- submit("TRRPS04000");
-
- model.setValue(ipt_emplno.attribute("ref"),getUserInfo("userid"));
- model.setValue("/root/send/search/deptnm", model.getValue("/root/init/emplinfo/dutdeptnm"));
- model.setValue("/root/send/search/deptcd", model.getValue("/root/init/emplinfo/dutdeptcd"));
- model.setValue("/root/send/search/teamnm", model.getValue("/root/init/emplinfo/dutteamnm"));
- model.setValue("/root/send/search/teamcd", model.getValue("/root/init/emplinfo/dutteamcd"));
- }
- else {
- fCheckAdmin(); // 관리자인지 체크한다.
-
- // unit이 달라지면 상위 부서도 가져온다..
- model.setValue("/root/send/search/posinstcd", cmb_instcd.value);
- model.setValue("/root/send/search/grdunitcd", ipt_unitcd.value);
- model.setValue("/root/send/search/emplno", "" );
- submit("TRRPS04000");
-
- // if( !btn_search.disabled &&
- // model.getValue("/root/send/search/deptcd") == model.getValue("/root/init/emplinfo/dutdeptcd") &&
- // model.getValue("/root/send/search/teamcd") == model.getValue("/root/init/emplinfo/dutteamcd") ) {
-
- model.setValue(ipt_emplno.attribute("ref"),getUserInfo("userid"));
- model.setValue("/root/send/search/deptnm", model.getValue("/root/init/emplinfo/dutdeptnm"));
- model.setValue("/root/send/search/deptcd", model.getValue("/root/init/emplinfo/dutdeptcd"));
- model.setValue("/root/send/search/teamnm", model.getValue("/root/init/emplinfo/dutteamnm"));
- model.setValue("/root/send/search/teamcd", model.getValue("/root/init/emplinfo/dutteamcd"));
- // }
- /* else {
- messageBox("당신의 관리부서가 아닙니다. 확인바랍니다.","I999");
- ipt_unitcd.value = unitcd;
- ipt_unitnm.value = unitnm;
- }
- */
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:667px; top:10px; width:86px; height:17px; ">과(팀) :</caption>
- <caption id="caption2" class="search_name" style="left:432px; top:10px; width:86px; height:17px; ">부(실) :</caption>
- <button id="btn_team" class="icon_search" disabled="true" style="left:859px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rpsfEducOpenPopUpList("06", ipt_teamnm, "", "teamcd,teamnm", cmb_instcd.value, "instcd");
- // 과(팀)을 변경하면 부서는 모두 공백으로 변경한다.
- model.setValue("/root/send/search/unitnm", "");
- model.setValue("/root/send/search/unitcd", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_dept" class="icon_search" disabled="true" style="left:627px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rpsfEducOpenPopUpList("05", ipt_deptnm, "", "deptcd,deptnm", cmb_instcd.value, "instcd");
-
- // 부(실)을 변경하면 과(팀), 부서는 모두 공백으로 변경한다.
- model.setValue("/root/send/search/teamnm", "");
- model.setValue("/root/send/search/teamcd", "");
- model.setValue("/root/send/search/unitnm", "");
- model.setValue("/root/send/search/unitcd", "");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:200px; top:10px; width:86px; height:17px; ">기 관 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:283px; top:9px; width:135px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" class="tit_2" style="left:0px; top:300px; width:169px; height:13px; ">부서OT 교육주요내용</caption>
- <caption id="caption5" class="tit_2" style="left:0px; top:520px; width:186px; height:13px; ">직무OT(OJT) 교육주요내용</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:315px; x2:1192px; y2:315px; "/>
- <line id="line2" class="line_1" style="x1:0px; y1:535px; x2:881px; y2:535px; "/>
- <caption id="caption7" style="left:15px; top:30px; width:903px; height:60px; font-size:10pt; font-weight:bold; color:#3366ff; ">
- <![CDATA[※ 입력방법
- - 각 부(실), 과(팀), 부서(Unit) 단위로 선택하여 해당 부서에서 주관하는 오리엔테이션(부서/직무) 교육에 대한 사항을 입력하시기 바랍니다.
- - 각 항목별 서술식으로 기재 및 저장 후, 교육일정표를 등록해 주시기 바랍니다.]]>
- </caption>
- <line id="line3" class="line_1" style="x1:0px; y1:209px; x2:1192px; y2:209px; "/>
- <caption id="caption9" class="tit_2" style="left:0px; top:195px; width:169px; height:14px; ">교육기간(부서/직무 OT)</caption>
- <caption id="caption10" style="left:10px; top:486px; width:923px; height:20px; font-size:10pt; font-weight:bold; color:#000000; ">※ 부서OT에는 부서 미션, 비전, 조직, 사업, 직원역할, 복무기준, 보안, 시설 및 재난대피에 대한 내용이 포함되어야 함.</caption>
- <caption id="caption11" class="tit_2" style="left:885px; top:300px; width:182px; height:13px; ">부서/직무 OT 교육일정표</caption>
- <button id="btn_delfile" class="btn2_letter4" disabled="true" style="left:1126px; top:295px; width:64px; height:19px; ">
- <caption>파일삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( messageBox("삭제하시겠습니까?","Q999") == '6') {
- var cur_row = grd_attach.row;
- var seqno = model.getValue("/root/main/grid/filelist["+cur_row+"]/seqno");
- model.setValue("/root/send/dgsend/seqno",seqno);
- grd_attach.addStatus(cur_row, "delete");
- if( submit("TXRPS00206") ) {
- grd_attach.deleteRow(cur_row);
- submit("TRRPS00204");
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_upload" class="btn5_letter3" disabled="true" style="left:1071px; top:295px; width:53px; height:19px; ">
- <caption>업로드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_educlist.rowStatus(grd_educlist.row ) == '1' || grd_educlist.rowStatus(grd_educlist.row ) == '3' ) {
- messageBox("저장을 먼저 해주세요.","I999");
- return;
- }
-
- // data를 팝업창으로 넘겨 자동으로 조회하기위해 ...
- model.setValue("/root/send/search/educcd", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educcd")));
-
- ipt_flag.value = "";
- open("SMRPS00250","","20","20","popup", "/root/send/search" ,"/root/send") ;
-
- if( ipt_flag.value == "1") {
- // 첨부파일 조회
- model.removeNodeset(grd_attach.nodeset);
- model.makeNode("/root/send/attach");
- submit("TRRPS00204");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_attach" nodeset="/root/main/grid/filelist" caption="순번^seqno^수정일^파일명^파일경로^파일크기^파일크기^교육코드^년도^기관" colsep="^" colwidth="35, 100, 88, 261, 76, 100, 50, 100, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" tooltip="true" style="left:884px; top:320px; width:307px; height:360px; ">
- <col ref="rownum" 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" format="#,###" style="text-align:center; "/>
- <col ref="bytes"/>
- <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);
- }
- }
-
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <textarea id="txt_educgoal" ref="/root/send/contents/educgoal" style="left:3px; top:114px; width:1188px; height:71px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(!isRequiredControls("txt_educgoal")) return;
- if( grd_educlist.rows == grd_educlist.fixedRows ) {
- misfGridIUD(grd_educlist, "A");
- }
- else {
- grd_educlist.addStatus(grd_educlist.row, "update" );
- }
- grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educgoal")) = txt_educgoal.value;
- model.refresh();
- ]]>
- </script>
- </textarea>
- <textarea id="txt_jobroleot" ref="/root/send/contents/jobroleot" style="left:3px; top:540px; width:878px; height:140px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(!isRequiredControls("txt_educgoal")) return;
- if( grd_educlist.rows == grd_educlist.fixedRows ) {
- misfGridIUD(grd_educlist, "A");
- }
- else {
- grd_educlist.addStatus(grd_educlist.row, "update" );
- }
- grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("jobroleot")) = txt_jobroleot.value;
- model.refresh();
- ]]>
- </script>
- </textarea>
- <textarea id="txt_educterm" ref="/root/send/contents/educterm" style="left:3px; top:214px; width:1188px; height:71px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(!isRequiredControls("txt_educgoal")) return;if( grd_educlist.rows == grd_educlist.fixedRows ) {
- misfGridIUD(grd_educlist, "A");
- }
- else {
- grd_educlist.addStatus(grd_educlist.row, "update" );
- }
- grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educterm")) = txt_educterm.value;
- model.refresh();
- ]]>
- </script>
- </textarea>
- <textarea id="txt_deptot" ref="/root/send/contents/deptot" style="left:3px; top:320px; width:878px; height:165px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(!isRequiredControls("txt_educgoal")) return;if( grd_educlist.rows == grd_educlist.fixedRows ) {
- misfGridIUD(grd_educlist, "A");
- }
- else {
- grd_educlist.addStatus(grd_educlist.row, "update" );
- }
- grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("deptot")) = txt_deptot.value;
- model.refresh();
- ]]>
- </script>
- </textarea>
- <datagrid id="grd_educlist" nodeset="/root/main/grid/educlist" visibility="hidden" caption="교육목표^교육기간^부서OT^직무OT^년도^기관^dept^team^unit^교육코드" colsep="^" colwidth="56, 61, 58, 51, 49, 48, 48, 57, 51, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:350px; top:230px; width:490px; height:75px; ">
- <col ref="educgoal"/>
- <col ref="educterm"/>
- <col ref="deptot"/>
- <col ref="jobroleot"/>
- <col ref="appyy"/>
- <col ref="instcd"/>
- <col ref="deptcd"/>
- <col ref="teamcd"/>
- <col ref="unitcd"/>
- <col ref="educcd"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- model.setValue("/root/send/contents/educgoal" , grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educgoal")));
- model.setValue("/root/send/contents/educterm" , grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educterm")));
- model.setValue("/root/send/contents/deptot" , grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("deptot")));
- model.setValue("/root/send/contents/jobroleot" , grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("jobroleot")));
- model.setValue("/root/send/search/educcd" , grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educcd")));
-
- if( grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educcd")) != "" ) {
- btn_upload.disabled = false;
- btn_delfile.disabled = false;
- }
- else {
- btn_upload.disabled = true;
- btn_delfile.disabled = true;
- }
- submit("TRRPS00204");
- model.refresh();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="button1" class="btn4_letter2" style="left:1136px; top:2px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(ipt_appyy.value == "") {
- messageBox("년도는","I003");
- model.setFocus("ipt_appyy");
- }
- else {
- misfSave("TXRPS04501");
-
- if (model.getValue(gvErrorMsgPath + "/type") != "error"){
- btn_search.dispatch("DOMActivate");
- }
- }
- ]]>
- </script>
- </button>
- </group>
- <input id="ipt_flag" ref="/root/temp/flag" visibility="hidden" style="left:775px; top:535px; width:50px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_flag.value == "1") {
- // 첨부파일 조회
- model.removeNodeset(grd_attach.nodeset);
- model.makeNode("/root/send/attach");
- submit("TRRPS00204");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- </xhtml:body>
- </xhtml:html>
|