123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRPS04200" position="absolute 0 0 1204 765" titletext="SMRPS04100_부서교육현황" oninit="SMRPS04200_oninit" onload="SMRPS04200_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="부서교육현황" class="tit_1" position="absolute 0 0 240 25"/>
- <Div id="group4" taborder="1" position="absolute 0 25 1195 65" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="cap_appyy" text="년 도 :" class="search_name" position="absolute 8 11 98 28" anchor="default"/>
- <Calendar id="ipt_appyy" taborder="1" class="input_s_essential" position="absolute 90 11 172 30" mask="yyyy" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy" value="null" editformat="yyyy" onchanged="group4_ipt_appyy_onchanged" style="align:center middle;"/>
- <Static id="caption2" text="부(실) :" class="search_name" position="absolute 198 11 284 28" anchor="default"/>
- <Edit id="ipt_chrgdeptnm" taborder="3" class="input_search" enable="false" position="absolute 271 11 391 30" anchor="default" autoskip="true" autoselect="true" style="align:center middle;"/>
- <Button id="btn_dept" taborder="4" class="icon_search" enable="false" position="absolute 393 12 409 28" anchor="default" onclick="group4_btn_dept_onclick"/>
- <Static id="caption1" text="과(팀) :" class="search_name" position="absolute 433 11 519 28" anchor="default"/>
- <Edit id="ipt_chrgteamnm" taborder="5" class="input_search" enable="false" position="absolute 505 11 622 30" anchor="default" autoskip="true" autoselect="true" style="align:center middle;"/>
- <Edit id="ipt_chrgteamcd" taborder="6" enable="false" visible="false" position="absolute 550 20 600 39" anchor="default"/>
- <Button id="btn_team" taborder="7" class="icon_search" enable="false" position="absolute 625 12 641 28" anchor="default" onclick="group4_btn_team_onclick"/>
- <Static id="caption8" text="부서 :" class="search_name" position="absolute 666 11 752 28" anchor="default"/>
- <Edit id="ipt_chrgunitnm" taborder="8" class="input_search" enable="false" position="absolute 726 11 839 30" anchor="default" autoskip="true" autoselect="true" style="align:center middle;"/>
- <Edit id="ipt_chrgunitcd" taborder="9" enable="false" visible="false" position="absolute 756 20 826 39" anchor="default"/>
- <Button id="btn_unit" taborder="10" class="icon_search" enable="false" position="absolute 841 12 857 28" anchor="default" onclick="group4_btn_unit_onclick"/>
- <Static id="cap_educflag" text="교육구분 :" class="search_name" position="absolute 893 11 984 28" anchor="default"/>
- <Combo id="cmb_educflag" taborder="11" class="combo_search" position="absolute 978 11 1073 30" anchor="default"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1098 8 1104 33" anchor="top right"/>
- <Button id="btn_search" taborder="12" text="조회" class="btn1" position="absolute 1117 10 1173 32" anchor="top right" onclick="group4_btn_search_onclick"/>
- <Edit id="ipt_chrgdeptcd" taborder="2" class="input_search" enable="false" visible="false" position="absolute 331 20 376 39" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_educlist" taborder="2" binddataset="ds_main_educlist" useinputpanel="false" position="absolute 0 99 1195 759" autoenter="select" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="26"/>
- <Column size="100"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="120"/>
- <Column size="0"/>
- <Column size="110"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="240"/>
- <Column size="0"/>
- <Column size="95"/>
- <Column size="95"/>
- <Column size="102"/>
- <Column size="45"/>
- <Column size="169"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="29" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="부서교육코드"/>
- <Cell col="2" text="연도"/>
- <Cell col="3" text="주체단위"/>
- <Cell col="4" text="주체기관코드"/>
- <Cell col="5" text="부(실)"/>
- <Cell col="6" text="부서코드"/>
- <Cell col="7" text="과(팀)"/>
- <Cell col="8" text="팀코드"/>
- <Cell col="9" text="부서"/>
- <Cell col="10" text="유닛코드"/>
- <Cell col="11" text="교육구분"/>
- <Cell col="12" text="의료기관평가코드"/>
- <Cell col="13" text="교육명"/>
- <Cell col="14" text="차수"/>
- <Cell col="15" colspan="2" text="교육기간" taborder="undefined"/>
- <Cell col="17" text="교육시간일정"/>
- <Cell col="18" text="교육 총시간"/>
- <Cell col="19" text="교육장소"/>
- <Cell col="20" text="신입 인원"/>
- <Cell col="21" text="재직원 인원"/>
- <Cell col="22" text="총인원"/>
- <Cell col="23" text="이수 인원"/>
- <Cell col="24" text="강사"/>
- <Cell col="25" text="예산"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" class="input_search" text="bind:depteduccd"/>
- <Cell col="2" class="input_search" text="bind:appyy" enable="false"/>
- <Cell col="3" class="input_search" text="bind:mainbdunit" enable="false"/>
- <Cell col="4" class="input_search" text="bind:dutinstcd"/>
- <Cell col="5" displaytype="none" edittype="none" class="input_search" text="bind:chrgdeptnm"/>
- <Cell col="6" class="input_search" text="bind:chrgdeptcd"/>
- <Cell col="7" displaytype="none" edittype="none" class="input_search" text="bind:chrgteamnm"/>
- <Cell col="8" class="input_search" text="bind:chrgteamcd"/>
- <Cell col="9" displaytype="none" edittype="none" class="input_search" text="bind:chrgunitnm" enable="false"/>
- <Cell col="10" class="input_s_essential" text="bind:chrgunitcd"/>
- <Cell col="11" displaytype="combo" class="input_search" text="bind:educflag" enable="false"/>
- <Cell col="12" displaytype="combo" edittype="combo" class="input_search" text="bind:medinstvalucd" enable="false"/>
- <Cell col="13" displaytype="text" edittype="text" class="input_search" text="bind:educnm" enable="false"/>
- <Cell col="14" displaytype="text" edittype="text" class="input_search" text="bind:educdg" mask="###" enable="false"/>
- <Cell col="15" displaytype="date" edittype="date" class="input_search" text="bind:educfromdd" calendardisplaynulltype="nulltext" enable="false"/>
- <Cell col="16" displaytype="date" edittype="date" class="input_search" text="bind:eductodd" calendardisplaynulltype="nulltext" enable="false"/>
- <Cell col="17" displaytype="text" edittype="text" style="align:center middle;" class="input_search" text="bind:eductime" mask="##:##-##:##" maskchar=" " enable="false"/>
- <Cell col="18" class="input_search" text="bind:eductm"/>
- <Cell col="19" displaytype="text" edittype="text" class="input_search" text="bind:educplce" enable="false"/>
- <Cell col="20" displaytype="text" edittype="text" class="input_search" text="bind:newpsn" mask="####" enable="false"/>
- <Cell col="21" displaytype="text" edittype="text" class="input_search" text="bind:oldpsn" mask="####" enable="false"/>
- <Cell col="22" displaytype="number" class="input_search" text="bind:totalpsn" enable="false"/>
- <Cell col="23" class="input_search" text="bind:cmpltcurspsnno" mask="####" enable="false"/>
- <Cell col="24" displaytype="text" edittype="text" class="input_search" text="bind:lactr" enable="false"/>
- <Cell col="25" displaytype="text" edittype="text" class="input_search" text="bind:bugt" mask="#,###" enable="false"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line8" class="line_10" position="absolute 0 94 1195 100" anchor="left top right"/>
- <Static id="caption29" text="세부일정" class="tit_2" position="absolute 0 78 105 100"/>
- <Edit id="ipt_dutinstcd" taborder="3" enable="false" visible="false" position="absolute 235 72 285 91"/>
- <Edit id="ipt_emplno" taborder="4" visible="false" position="absolute 841 75 931 94" anchor="top right"/>
- <Edit id="opt_dd" taborder="5" readonly="true" position="absolute 981 75 1111 94" anchor="top right"/>
- <Button id="button2" taborder="6" text="엑셀저장" class="btn7" position="absolute 1115 75 1195 94" anchor="top right" onclick="button2_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_search_oncolumnchanged">
- <ColumnInfo>
- <Column id="appyy" type="STRING" size="256"/>
- <Column id="educflag" type="STRING" size="256"/>
- <Column id="dutinstcd" type="STRING" size="256"/>
- <Column id="chrgdeptcd" type="STRING" size="256"/>
- <Column id="chrgdeptnm" type="STRING" size="256"/>
- <Column id="chrgteamnm" type="STRING" size="256"/>
- <Column id="chrgteamcd" type="STRING" size="256"/>
- <Column id="chrgunitnm" type="STRING" size="256"/>
- <Column id="chrgunitcd" type="STRING" size="256"/>
- <Column id="emplno" type="STRING" size="256"/>
- <Column id="grdunitcd" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="posinstcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="appyy"/>
- <Col id="educflag"/>
- <Col id="dutinstcd"/>
- <Col id="chrgdeptcd"/>
- <Col id="chrgdeptnm"/>
- <Col id="chrgteamnm"/>
- <Col id="chrgteamcd"/>
- <Col id="chrgunitnm"/>
- <Col id="chrgunitcd"/>
- <Col id="emplno"/>
- <Col id="grdunitcd"/>
- <Col id="instcd"/>
- <Col id="posinstcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_educlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="appyy" type="STRING" size="256" sumtext="연도"/>
- <Column id="depteduccd" type="STRING" size="256" sumtext="부서교육코드"/>
- <Column id="dutinstcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="mainbdunit" type="STRING" size="256" sumtext="주체단위"/>
- <Column id="chrgdeptnm" type="STRING" size="256" sumtext="주관부서"/>
- <Column id="chrgdeptcd" type="STRING" size="256" sumtext="주관부서코드"/>
- <Column id="chrgteamnm" type="STRING" size="256" sumtext="주관팀"/>
- <Column id="chrgteamcd" type="STRING" size="256" sumtext="주관팀코드"/>
- <Column id="chrgunitnm" type="STRING" size="256" sumtext="주관유닛"/>
- <Column id="chrgunitcd" type="STRING" size="256" sumtext="주관유닛코드"/>
- <Column id="educflag" type="STRING" size="256" sumtext="교육구분"/>
- <Column id="medinstvalucd" type="STRING" size="256" sumtext="의료기관평가코드"/>
- <Column id="educnm" type="STRING" size="256" sumtext="과정명"/>
- <Column id="educdg" type="STRING" size="256" sumtext="차수"/>
- <Column id="educfromdd" type="STRING" size="256" sumtext="교육기간"/>
- <Column id="eductodd" type="STRING" size="256" sumtext="교육기간"/>
- <Column id="eductm" type="STRING" size="256" sumtext="교육시간"/>
- <Column id="educplce" type="STRING" size="256" sumtext="교육장소"/>
- <Column id="cmpltcurspsnno" type="NUMBER" size="256" sumtext="이수인원"/>
- <Column id="lactr" type="STRING" size="256" sumtext="강사"/>
- <Column id="bugt" type="NUMBER" size="256" sumtext="예산"/>
- <Column id="execinstnm" type="STRING" size="256" sumtext="실시기관"/>
- <Column id="eductime" type="STRING" size="256" sumtext="교육시간"/>
- <Column id="newpsn" type="NUMBER" size="256" sumtext="신입인원"/>
- <Column id="oldpsn" type="NUMBER" size="256" sumtext="재직원인원"/>
- <Column id="totalpsn" type="NUMBER" size="256" sumtext="총인원"/>
- <Column id="educvalu" type="STRING" size="256" sumtext="교육평가"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_emplinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="emplno" type="STRING" size="256" sumtext="사원번호"/>
- <Column id="emplnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="dutplceinst" type="STRING" size="256" sumtext="근무기관"/>
- <Column id="dutplceinstnm" type="STRING" size="256" sumtext="근무기관명"/>
- <Column id="dutdeptcd" type="STRING" size="256" sumtext="근무부서"/>
- <Column id="dutdeptnm" type="STRING" size="256" sumtext="근무부서명"/>
- <Column id="dutteamcd" type="STRING" size="256" sumtext="근무팀"/>
- <Column id="dutteamnm" type="STRING" size="256" sumtext="근무팀명"/>
- <Column id="dutunitcd" type="STRING" size="256" sumtext="근무유닛"/>
- <Column id="dutunitnm" type="STRING" size="256" sumtext="근무유닛명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_deptadmin" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="부서명"/>
- <Column id="teamyn" type="STRING" size="256" sumtext="팀선택가능여부"/>
- <Column id="unityn" type="STRING" size="256" sumtext="부서선택가능여부"/>
- <Column id="emplno" type="STRING" size="256" sumtext="사원번호"/>
- <Column id="emplnm" type="STRING" size="256" sumtext="사원이름"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group4.ipt_appyy" propid="value" datasetid="ds_send_search" columnid="appyy"/>
- <BindItem id="item1" compid="group4.ipt_chrgdeptnm" propid="value" datasetid="ds_send_search" columnid="chrgdeptnm"/>
- <BindItem id="item2" compid="group4.ipt_chrgteamnm" propid="value" datasetid="ds_send_search" columnid="chrgteamnm"/>
- <BindItem id="item3" compid="group4.ipt_chrgunitnm" propid="value" datasetid="ds_send_search" columnid="chrgunitnm"/>
- <BindItem id="item4" compid="group4.cmb_educflag" propid="value" datasetid="ds_send_search" columnid="educflag"/>
- <BindItem id="item5" compid="group4.ipt_chrgunitcd" propid="value" datasetid="ds_send_search" columnid="chrgunitcd"/>
- <BindItem id="item6" compid="group4.ipt_chrgteamcd" propid="value" datasetid="ds_send_search" columnid="chrgteamcd"/>
- <BindItem id="item7" compid="group4.ipt_chrgdeptcd" propid="value" datasetid="ds_send_search" columnid="chrgdeptcd"/>
- <BindItem id="item8" compid="ipt_dutinstcd" propid="value" datasetid="ds_send_search" columnid="dutinstcd"/>
- <BindItem id="item9" compid="ipt_emplno" propid="value" datasetid="ds_send_search" columnid="emplno"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-06-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- include "mis_humtrafactmngtxp::RPB001.xjs";
- include "mis_educationmngtxp::RPS001.xjs";
- function SMRPS04200_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMRPS04200_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_educlist);
-
- misfGetUserAuth();
- fCheckAuth();
-
- fInitialize() ;
- }
- function fCheckAuth()
- {
- group4.btn_search.enable = frmf_checkAuth("R") ;
- }
- function fInitialize()
- {
- ds_send_search.setColumn(0, "emplno", sysf_getUserInfo("userid"));
-
- var oParam = {};
- oParam.id = "TRRPS04000";
- oParam.service = "educationmngtapp.DeptEducMngt";
- oParam.method = "reqGetEmplInfo";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_init_emplinfo=emplinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRRPS04000";
- tranf_submit(oParam);
-
- var nowyy = new Date();
- ds_send_search.setColumn(0, "appyy", nowyy.getYear());
-
- opt_dd.value = "(일자 : " + (nowyy.getMonth()+1) + "월 " + nowyy.getDate() + "일 현재)";
-
- ds_send_search.setColumn(0, "dutinstcd", ds_init_emplinfo.getColumn(0, "dutplceinst"));
- ds_send_search.setColumn(0, "posinstcd", ds_init_emplinfo.getColumn(0, "dutplceinst"));
-
- ds_send_search.setColumn(0, "chrgdeptnm", ds_init_emplinfo.getColumn(0, "dutdeptnm"));
- ds_send_search.setColumn(0, "chrgdeptcd", ds_init_emplinfo.getColumn(0, "dutdeptcd"));
- ds_send_search.setColumn(0, "chrgteamnm", ds_init_emplinfo.getColumn(0, "dutteamnm"));
- ds_send_search.setColumn(0, "chrgteamcd", ds_init_emplinfo.getColumn(0, "dutteamcd"));
- ds_send_search.setColumn(0, "chrgunitnm", ds_init_emplinfo.getColumn(0, "dutunitnm"));
- ds_send_search.setColumn(0, "chrgunitcd", ds_init_emplinfo.getColumn(0, "dutunitcd"));
-
- if ( DUTY_EDU_YN == "Y" || sysf_getUserInfo("dutplcecd") == "4020500000" || sysf_getUserInfo("dutplcecd") == "4020503000" )
- {
- group4.ipt_chrgdeptnm.enable = true;
- group4.ipt_chrgteamnm.enable = true;
- group4.ipt_chrgunitnm.enable = true;
- group4.btn_dept.enable = true;
- group4.btn_team.enable = true;
- group4.btn_unit.enable = true;
- }
- else
- {
- fCheckDisabled();
- }
-
- //misfMsterDetailSet(grd_educlist,null, "TRRPE04201" ,"Y");
- grd_educlist.setFormatRowProperty(0, "size", 50);
-
- rpsEducSetComboList("M01-007", "group4.cmb_educflag", "Y");
- misfComboCopyItemSet(group4.cmb_educflag, "", grd_educlist, "educflag");
- }
- function fCheckDisabled ()
- {
- fCheckAdmin();
-
- if( ds_init_deptadmin.getColumn(0, "teamyn") == "Y")
- {
- group4.ipt_chrgteamnm.enable = true;
- group4.ipt_chrgunitnm.enable = true;
- group4.btn_team.enable = true;
- group4.btn_unit.enable = true;
- }
- else if( ds_init_deptadmin.getColumn(0, "unityn") == "Y")
- {
- group4.ipt_chrgunitnm.enable = true;
- group4.btn_unit.enable = true;
- }
- else
- {
- group4.ipt_chrgteamnm.enable = false;
- group4.ipt_chrgunitnm.enable = false;
- group4.btn_team.enable = false;
- group4.btn_unit.enable = false;
- }
- }
- function fCheckAdmin()
- {
- ds_send_search.setColumn(0, "instcd", ds_init_emplinfo.getColumn(0, "dutplceinst"));
-
- var oParam = {};
- oParam.id = "TRRPS04999";
- oParam.service = "educationmngtapp.DeptEducMngt";
- oParam.method = "reqGetDeptYNList";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_init_deptadmin=deptadmin";
- oParam.async = false;
- //oParam.callback = "cf_TRRPS04999";
- tranf_submit(oParam);
- if(ds_init_deptadmin.getColumn(0, "emplno") == ipt_emplno.value)
- {
- group4.btn_search.enable = true;
- }
- else
- {
- }
- }
- function group4_ipt_appyy_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- var date = String(obj.value).substr(0,4);
- ds_send_search.setColumn(0, "appyy", date);
- }
- function ds_send_search_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "chrgdeptnm")
- {
- if(e.newvalue.getByteLength() == "0")
- {
- group4.ipt_chrgdeptcd.value = "";
- }
- }
-
- if(e.columnid == "chrgteamnm")
- {
- if(e.newvalue.getByteLength() == "0")
- {
- group4.ipt_chrgteamcd.value = "";
- }
- }
-
- if(e.columnid == "chrgunitnm")
- {
- if(e.newvalue.getByteLength() == "0")
- {
- group4.ipt_chrgunitcd.value = "";
- }
- }
- }
- function group4_btn_dept_onclick(obj:Button, e:ClickEventInfo)
- {
- rpsfEducOpenPopUpList("05", ds_send_search, "", "chrgdeptcd,chrgdeptnm", ipt_dutinstcd.value, "instcd");
- ds_send_search.setColumn(0, "chrgteamnm", "");
- ds_send_search.setColumn(0, "chrgteamcd", "");
- ds_send_search.setColumn(0, "chrgunitnm", "");
- ds_send_search.setColumn(0, "chrgunitcd", "");
- }
- function group4_btn_team_onclick(obj:Button, e:ClickEventInfo)
- {
- rpsfEducOpenPopUpList("06", ds_send_search, "", "chrgteamcd,chrgteamnm", ipt_dutinstcd.value, "instcd");
- ds_send_search.setColumn(0, "chrgunitnm", "");
- ds_send_search.setColumn(0, "chrgunitcd", "");
- }
- function group4_btn_unit_onclick(obj:Button, e:ClickEventInfo)
- {
- var unitcd = group4.ipt_chrgunitcd.value;
- var unitnm = group4.ipt_chrgunitnm.value;
-
- rpsfEducOpenPopUpList("07", ds_send_search, "", "chrgunitcd,chrgunitnm", ipt_dutinstcd.value, "instcd");
-
- if ( DUTY_EDU_YN == "Y" || sysf_getUserInfo("dutplcecd") == "4020500000" || sysf_getUserInfo("dutplcecd") == "4020503000" )
- {
- ds_send_search.setColumn(0, "grdunitcd", group4.ipt_chrgunitcd.value);
- ds_send_search.setColumn(0, "emplno", "");
-
- var oParam = {};
- oParam.id = "TRRPS04000";
- oParam.service = "educationmngtapp.DeptEducMngt";
- oParam.method = "reqGetEmplInfo";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_init_emplinfo=emplinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRRPS04000";
- tranf_submit(oParam);
-
- ds_send_search.setColumn(0, "emplno", sysf_getUserInfo("userid"));
-
- ds_send_search.setColumn(0, "chrgdeptnm", ds_init_emplinfo.getColumn(0, "dutdeptnm"));
- ds_send_search.setColumn(0, "chrgdeptcd", ds_init_emplinfo.getColumn(0, "dutdeptcd"));
- ds_send_search.setColumn(0, "chrgteamnm", ds_init_emplinfo.getColumn(0, "dutteamnm"));
- ds_send_search.setColumn(0, "chrgteamcd", ds_init_emplinfo.getColumn(0, "dutteamcd"));
- }
- else
- {
- fCheckAdmin();
-
- ds_send_search.setColumn(0, "grdunitcd", group4.ipt_chrgdeptcd.value);
- ds_send_search.setColumn(0, "emplno", "");
-
- var oParam = {};
- oParam.id = "TRRPS04000";
- oParam.service = "educationmngtapp.DeptEducMngt";
- oParam.method = "reqGetEmplInfo";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_init_emplinfo=emplinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRRPS04000";
- tranf_submit(oParam);
-
- ds_send_search.setColumn(0, "emplno", sysf_getUserInfo("userid"));
- ds_send_search.setColumn(0, "chrgdeptnm", ds_init_emplinfo.getColumn(0, "dutdeptnm"));
- ds_send_search.setColumn(0, "chrgdeptcd", ds_init_emplinfo.getColumn(0, "dutdeptcd"));
- ds_send_search.setColumn(0, "chrgteamnm", ds_init_emplinfo.getColumn(0, "dutteamnm"));
- ds_send_search.setColumn(0, "chrgteamcd", ds_init_emplinfo.getColumn(0, "dutteamcd"));
- }
- }
- function group4_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- if(utlf_isNull(group4.ipt_appyy.value))
- {
- sysf_messageBox("년도는","I003");
- group4.ipt_appyy.setFocus();
- }
- else
- {
- dsf_createDs("ds_req", [{col:"appyy", type:"STRING", size:256}
- , {col:"dutinstcd", type:"STRING", size:256}
- , {col:"chrgdeptcd", type:"STRING", size:256}
- , {col:"chrgteamcd", type:"STRING", size:256}
- , {col:"chrgunitcd", type:"STRING", size:256}
- , {col:"educflag", type:"STRING", size:256}]);
-
- ds_req.copyRow(ds_req.addRow(), ds_send_search, 0);
- ds_main_educlist.clearData();
-
- var oParam = {};
- oParam.id = "TRRPS04001";
- oParam.service = "educationmngtapp.DeptEducMngt";
- oParam.method = "reqGetDeptEducList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_educlist=educlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRPS04001";
- tranf_submit(oParam);
- }
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_educlist, "부서교육내역", false, false, "", "user", false);
- }
- ]]></Script>
- </Form>
- </FDL>
|