12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRPS04000" position="absolute 0 0 1202 792" titletext="SMRPS04000_부서교육등록" oninit="SMRPS04000_oninit" onload="SMRPS04000_onload">
- <Layouts>
- <Layout>
- <Div id="group5" taborder="39" position="absolute 0 349 1197 409" class="div_SA2" anchor="left right bottom"/>
- <Grid id="grd_eductrgtmanlist" taborder="29" binddataset="ds_main_list2_eductrgtmanlist" useinputpanel="false" position="absolute 613 438 1194 782" autoenter="select" cellsizingtype="col" anchor="left right bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="65"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="125"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="54"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="53"/>
- <Column size="91"/>
- <Column size="35"/>
- <Column size="0"/>
- <Column size="67"/>
- <Column size="0"/>
- <Column size="40"/>
- <Column size="89"/>
- <Column size="41"/>
- <Column size="66"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="교육코드"/>
- <Cell col="2" text="적용년월"/>
- <Cell col="3"/>
- <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="caption2"/>
- <Cell col="13" text="근무지"/>
- <Cell col="14" text="성직구분코드"/>
- <Cell col="15" text="직원구분"/>
- <Cell col="16" text="직군코드"/>
- <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="직책"/>
- <Cell col="26" text="직책발령일자"/>
- <Cell col="27" text="성별"/>
- <Cell col="28" text="입사일자"/>
- <Cell col="29" text="cmc입사일"/>
- <Cell col="30" text="교육기관코드"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:depteduccd"/>
- <Cell col="2" text="bind:appyy"/>
- <Cell col="3" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="4" text="bind:emplno"/>
- <Cell col="5" text="bind:emplnm"/>
- <Cell col="6" text="bind:prfshipflag"/>
- <Cell col="7" text="bind:prfshipnm"/>
- <Cell col="8" text="bind:dutinstcd"/>
- <Cell col="9" text="bind:dutinstnm"/>
- <Cell col="10" text="bind:dutdeptcd"/>
- <Cell col="11" text="bind:dutdeptnm"/>
- <Cell col="12" text="bind:dutunitcd"/>
- <Cell col="13" text="bind:dutunitnm"/>
- <Cell col="14" text="bind:holyordflag"/>
- <Cell col="15" text="bind:holyordnm"/>
- <Cell col="16" text="bind:grupjoblncd"/>
- <Cell col="17" text="bind:grupjoblnnm"/>
- <Cell col="18" text="bind:njobgradcd"/>
- <Cell col="19" text="bind:njobgradnm"/>
- <Cell col="20" displaytype="date" text="bind:jobgradorddd" calendardisplaynulltype="nulltext"/>
- <Cell col="21" text="bind:anual"/>
- <Cell col="22" text="bind:jobkindcd"/>
- <Cell col="23" text="bind:jobkindnm"/>
- <Cell col="24" text="bind:jobrespcd"/>
- <Cell col="25" text="bind:jobrespnm"/>
- <Cell col="26" displaytype="date" text="bind:jobresporddd" calendardisplaynulltype="nulltext"/>
- <Cell col="27" displaytype="combo" edittype="combo" text="bind:gender" enable="false"/>
- <Cell col="28" displaytype="date" text="bind:entcodd" calendardisplaynulltype="nulltext"/>
- <Cell col="29" text="bind:cmcentcodd" mask="yyyy-mm-dd"/>
- <Cell col="30" text="bind:eduinstcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption6" text="부서교육등록" class="tit_1" position="absolute 0 0 240 23"/>
- <Button id="btn_save" taborder="1" text="저장" class="btn4" position="absolute 1139 25 1195 47" anchor="top right"/>
- <Div id="group4" taborder="2" position="absolute 0 48 1195 88" class="div_SA2" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="cap_appyy" text="년 도 :" class="search_name" position="absolute 14 13 115 30"/>
- <Calendar id="ipt_appyy" taborder="1" class="input_s_essential" position="absolute 78 12 164 31" mask="yyyy" autoselect="true" autoskip="true" dateformat="yyyy" value="null" editformat="yyyy" style="align:center middle;" onchanged="group4_ipt_appyy_onchanged"/>
- <Static id="caption2" text="부(실) :" class="search_name" position="absolute 198 12 284 29"/>
- <Edit id="ipt_chrgdeptnm" taborder="2" class="input_search" enable="false" position="absolute 272 12 376 31" autoskip="true" autoselect="true" onkeydown="group4_ipt_chrgdeptnm_onkeydown"/>
- <Edit id="ipt_chrgdeptcd" taborder="3" enable="false" visible="false" position="absolute 308 19 358 38"/>
- <Button id="btn_dept" taborder="4" class="icon_search" enable="false" position="absolute 378 13 394 29" onclick="group4_btn_dept_onclick"/>
- <Static id="caption1" text="과(팀) :" class="search_name" position="absolute 423 12 509 29"/>
- <Edit id="ipt_chrgteamnm" taborder="5" class="input_search" enable="false" position="absolute 498 12 611 31" autoskip="true" autoselect="true" onkeydown="group4_ipt_chrgteamnm_onkeydown"/>
- <Edit id="ipt_chrgteamcd" taborder="6" enable="false" visible="false" position="absolute 533 19 583 38"/>
- <Button id="btn_team" taborder="7" class="icon_search" enable="false" position="absolute 613 13 629 29" onclick="group4_btn_team_onclick"/>
- <Static id="caption3" text="부 서 :" class="search_name" position="absolute 653 12 739 29"/>
- <Edit id="ipt_chrgunitnm" taborder="8" class="input_search" enable="false" position="absolute 718 12 836 31" autoskip="true" autoselect="true" onkeydown="group4_ipt_chrgunitnm_onkeydown"/>
- <Edit id="ipt_chrgunitcd" taborder="9" enable="false" visible="false" position="absolute 743 19 828 38"/>
- <Button id="btn_unit" taborder="10" class="icon_search" enable="false" position="absolute 838 13 854 29" onclick="group4_btn_unit_onclick"/>
- <Static id="cap_educflag" text="교육구분 :" class="search_name" position="absolute 888 12 989 29"/>
- <Combo id="cmb_educflag" taborder="11" class="combo_search" position="absolute 973 12 1073 31"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1095 10 1101 32" anchor="top right"/>
- <Button id="btn_search" taborder="12" text="조회" class="btn1" position="absolute 1116 10 1172 32" anchor="top right" onclick="group4_btn_search_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="button2" taborder="3" text="전체 이수내역 엑셀" class="btn7" position="absolute 1057 99 1195 118" anchor="top right" onclick="button2_onclick"/>
- <Button id="btn_init" taborder="4" text="엑셀저장" class="btn7" position="absolute 976 99 1056 118" anchor="top right" onclick="btn_init_onclick"/>
- <Button id="btn_add" taborder="5" text="행추가" class="btn2" position="absolute 868 99 921 118" anchor="top right" onclick="btn_add_onclick"/>
- <Button id="btn_del" taborder="6" text="행삭제" class="btn2" position="absolute 922 99 975 118" anchor="top right" onclick="btn_del_onclick"/>
- <Button id="btn_rowcopy" taborder="7" text="행복사" class="btn2" position="absolute 814 99 867 118" anchor="top right" onclick="btn_rowcopy_onclick"/>
- <Edit id="ipt_emplno" taborder="8" visible="false" position="absolute 714 99 804 118" autoselect="true" autoskip="true" anchor="top right"/>
- <Edit id="ipt_dutinstcd" taborder="9" visible="false" position="absolute 654 99 704 118" autoselect="true" autoskip="true" anchor="top right"/>
- <Grid id="grd_educlist" taborder="10" binddataset="ds_main_grid_educlist" useinputpanel="false" position="absolute 0 123 1194 341" autoenter="select" cellsizingtype="col" anchor="all" oncelldblclick="grd_educlist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="26"/>
- <Column size="0"/>
- <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="150"/>
- <Column size="0"/>
- <Column size="200"/>
- <Column size="0"/>
- <Column size="95"/>
- <Column size="95"/>
- <Column size="102"/>
- <Column size="113"/>
- <Column size="140"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="56"/>
- <Column size="100"/>
- <Column size="110"/>
- <Column size="419"/>
- </Columns>
- <Rows>
- <Row size="33" 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="교육기간 (ex, 2009-01-01~2009-01-01)" taborder="undefined"/>
- <Cell col="17" text="교육시간일정 (ex, 08:00~18:00)"/>
- <Cell col="18" text="교육총시간 (단위:시간, ex 1.5)"/>
- <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="예산(단위:원)"/>
- <Cell col="26" text="교육평가(간략하게 주요사항 기술)"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" class="input_search" text="bind:depteduccd"/>
- <Cell col="2" class="input_s_essential" text="bind:appyy"/>
- <Cell col="3" class="combo_s_essential" text="bind:mainbdunit"/>
- <Cell col="4" class="input_search" text="bind:dutinstcd"/>
- <Cell col="5" edittype="none" class="input_search" text="bind:chrgdeptnm"/>
- <Cell col="6" class="input_search" text="bind:chrgdeptcd"/>
- <Cell col="7" edittype="none" class="input_search" text="bind:chrgteamnm"/>
- <Cell col="8" class="input_search" text="bind:chrgteamcd"/>
- <Cell col="9" edittype="none" class="input_s_essential" text="bind:chrgunitnm"/>
- <Cell col="10" class="input_s_essential" text="bind:chrgunitcd"/>
- <Cell col="11" displaytype="combo" edittype="combo" style="align:center middle;" class="input_s_essential" text="bind:educflag" combodisplayrowcount="20"/>
- <Cell col="12" displaytype="combo" edittype="combo" text="bind:medinstvalucd"/>
- <Cell col="13" displaytype="text" edittype="text" class="input_s_essential" text="bind:educnm"/>
- <Cell col="14" displaytype="text" edittype="text" class="combo_s_essential" text="bind:educdg" mask="###"/>
- <Cell col="15" displaytype="date" edittype="date" class="input_s_essential" text="bind:educfromdd" calendardisplaynulltype="nulltext"/>
- <Cell col="16" displaytype="date" edittype="date" class="input_s_essential" text="bind:eductodd" calendardisplaynulltype="nulltext"/>
- <Cell col="17" displaytype="text" edittype="text" style="align:center middle;" class="input_s_essential" text="bind:eductime" mask="##:##-##:##" maskchar=" "/>
- <Cell col="18" displaytype="text" edittype="text" style="align:center middle;" class="input_s_essential" text="bind:eductm"/>
- <Cell col="19" displaytype="text" edittype="text" class="combo_s_essential" text="bind:educplce"/>
- <Cell col="20" displaytype="number" edittype="normal" style="align:center middle;" class="input_s_essential" text="bind:newpsn"/>
- <Cell col="21" displaytype="number" edittype="normal" style="align:center middle;" class="input_s_essential" text="bind:oldpsn"/>
- <Cell col="22" displaytype="number" edittype="normal" style="align:center middle;" class="input_search" text="bind:totalpsn"/>
- <Cell col="23" displaytype="number" edittype="normal" style="align:center middle;color:#ff0000ff;color2:#ff0000ff;" class="input_search" text="bind:cmpltcurspsnno"/>
- <Cell col="24" displaytype="text" edittype="text" class="input_search" text="bind:lactr"/>
- <Cell col="25" displaytype="number" edittype="normal" class="input_search" text="bind:bugt"/>
- <Cell col="26" displaytype="text" edittype="text" text="bind:educvalu"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption20" text="부서교육목록" class="tit_2" position="absolute 0 102 169 124"/>
- <Shape id="line8" class="line_10" position="absolute 0 118 1195 124" anchor="left top right"/>
- <Grid id="grd_educlistall" taborder="11" binddataset="ds_main_grid_educlist_exl" useinputpanel="false" visible="false" position="absolute 195 190 1099 341" autoenter="select" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="50"/>
- <Column size="93"/>
- <Column size="84"/>
- <Column size="97"/>
- <Column size="122"/>
- <Column size="119"/>
- <Column size="76"/>
- <Column size="80"/>
- <Column size="63"/>
- <Column size="113"/>
- <Column size="50"/>
- <Column size="166"/>
- <Column size="50"/>
- <Column size="74"/>
- <Column size="101"/>
- <Column size="94"/>
- <Column size="121"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- </Columns>
- <Rows>
- <Row size="24" 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" text="기관"/>
- <Cell col="16" text="부서"/>
- <Cell col="17" text="근무지"/>
- <Cell col="18" text="직종"/>
- <Cell col="19" text="직위"/>
- <Cell col="20" text="입사일"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:appyy"/>
- <Cell col="2" text="bind:chrgdeptnm"/>
- <Cell col="3" text="bind:chrgteamnm"/>
- <Cell col="4" text="bind:chrgunitnm"/>
- <Cell col="5" text="bind:edugbn"/>
- <Cell col="6" text="bind:educnm"/>
- <Cell col="7" displaytype="date" text="bind:educfromdd" calendardisplaynulltype="nulltext"/>
- <Cell col="8" displaytype="date" text="bind:eductodd" calendardisplaynulltype="nulltext"/>
- <Cell col="9" text="bind:eductm"/>
- <Cell col="10" text="bind:educplce"/>
- <Cell col="11" text="bind:cmpltcurspsnno"/>
- <Cell col="12" text="bind:lactr"/>
- <Cell col="13" text="bind:emplno"/>
- <Cell col="14" text="bind:name"/>
- <Cell col="15" text="bind:dutinstnm"/>
- <Cell col="16" text="bind:dutdeptnm"/>
- <Cell col="17" text="bind:dutunitnm"/>
- <Cell col="18" text="bind:jobkindnm"/>
- <Cell col="19" text="bind:jobrespnm"/>
- <Cell col="20" displaytype="date" text="bind:cmcentcodd" calendardisplaynulltype="nulltext"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_dutunit" taborder="12" class="icon_search" enable="false" position="absolute 801 382 817 398" anchor="left bottom" onclick="btn_dutunit_onclick"/>
- <Button id="button1" taborder="13" class="icon_search" position="absolute 989 382 1005 398" anchor="left bottom" onclick="button1_onclick"/>
- <Button id="btn_search2" taborder="14" text="조회" class="btn1" position="absolute 1118 368 1174 390" anchor="right bottom" onclick="btn_search2_onclick"/>
- <Calendar id="ipt_frentcodd" taborder="15" class="input_s_essential" position="absolute 353 356 441 375" autoskip="true" autoselect="true" anchor="left bottom" dateformat="yyyy-MM-dd" value="null"/>
- <Calendar id="ipt_toentcodd" taborder="16" class="input_s_essential" position="absolute 455 356 543 375" autoskip="true" autoselect="true" anchor="left bottom" dateformat="yyyy-MM-dd"/>
- <Static id="caption21" text="입사일자 :" class="search_name" position="absolute 268 358 363 375" anchor="left bottom"/>
- <Edit id="ipt_dutunitnm" taborder="17" class="input_search" enable="false" position="absolute 643 381 799 400" autoskip="true" autoselect="true" anchor="left bottom"/>
- <Static id="caption22" text="~" position="absolute 443 356 454 376" anchor="left bottom"/>
- <Edit id="ipt_dutunitcd" taborder="18" class="input_search" visible="false" position="absolute 739 381 797 400" autoskip="true" autoselect="true" anchor="left bottom"/>
- <Static id="caption4" text="성 명 :" class="search_name" position="absolute 838 381 948 398" anchor="left bottom"/>
- <Edit id="ipt_emplnm" taborder="19" class="input_search" position="absolute 914 381 987 400" autoskip="true" autoselect="true" anchor="left bottom"/>
- <Shape id="line1" linetype="vertical" class="line_4" position="absolute 1097 353 1103 405" anchor="right bottom"/>
- <Edit id="ipt_emplno1" taborder="20" class="input_search" position="absolute 1008 381 1081 400" autoskip="true" autoselect="true" anchor="left bottom"/>
- <Combo id="cmb_dutinstcd" taborder="21" class="combo_s_essential" position="absolute 88 356 248 375" anchor="left bottom"/>
- <Static id="caption17" text="부 서 :" class="search_name" position="absolute 570 381 637 398" anchor="left bottom"/>
- <Static id="caption8" text="기 관 :" class="search_name" position="absolute 13 358 98 375" anchor="left bottom"/>
- <Grid id="grd_emplist" taborder="22" binddataset="ds_main_list3_emplist" useinputpanel="false" position="absolute 0 438 581 782" anchor="left bottom" autoenter="select" cellsizingtype="col" oncelldblclick="grd_emplist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="25"/>
- <Column size="65"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="110"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="55"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="53"/>
- <Column size="35"/>
- <Column size="0"/>
- <Column size="68"/>
- <Column size="0"/>
- <Column size="38"/>
- <Column size="42"/>
- <Column size="66"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <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="caption2"/>
- <Cell col="11" text="근무지"/>
- <Cell col="12" text="성직구분코드"/>
- <Cell col="13" text="직원구분"/>
- <Cell col="14" text="직군코드"/>
- <Cell col="15" text="직군"/>
- <Cell col="16" text="신직급코드"/>
- <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="cmc입사일"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'Y' ? 1 : 0"/>
- <Cell col="2" text="bind:emplno"/>
- <Cell col="3" text="bind:emplnm"/>
- <Cell col="4" text="bind:prfshipflag"/>
- <Cell col="5" text="bind:prfshipnm"/>
- <Cell col="6" text="bind:dutinstcd"/>
- <Cell col="7" text="bind:dutinstnm"/>
- <Cell col="8" text="bind:dutdeptcd"/>
- <Cell col="9" text="bind:dutdeptnm"/>
- <Cell col="10" text="bind:dutunitcd"/>
- <Cell col="11" text="bind:dutunitnm"/>
- <Cell col="12" text="bind:holyordflag"/>
- <Cell col="13" text="bind:holyordnm"/>
- <Cell col="14" text="bind:grupjoblncd"/>
- <Cell col="15" text="bind:grupjoblnnm"/>
- <Cell col="16" text="bind:njobgradcd"/>
- <Cell col="17" text="bind:njobgradnm"/>
- <Cell col="18" text="bind:anual"/>
- <Cell col="19" text="bind:jobkindcd"/>
- <Cell col="20" text="bind:jobkindnm"/>
- <Cell col="21" text="bind:jobrespcd"/>
- <Cell col="22" text="bind:jobrespnm"/>
- <Cell col="23" displaytype="combo" edittype="combo" text="bind:gender" enable="false"/>
- <Cell col="24" displaytype="date" text="bind:entcodd" calendardisplaynulltype="nulltext"/>
- <Cell col="25" text="bind:cmcentcodd" mask="yyyy-mm-dd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_remove" taborder="23" text="초기화" class="btn2" position="absolute 528 414 581 433" anchor="left bottom" onclick="btn_remove_onclick"/>
- <Static id="caption16" text="직원목록" class="tit_2" position="absolute 0 417 144 438" anchor="left bottom"/>
- <Button id="btn_saveexcel" taborder="24" text="엑셀저장" class="btn7" position="absolute 980 414 1060 433" anchor="right bottom" onclick="btn_saveexcel_onclick"/>
- <Button id="btn_delrow" taborder="25" text="행삭제" class="btn2" position="absolute 1142 414 1195 433" anchor="right bottom" onclick="btn_delrow_onclick"/>
- <Static id="caption13" text="이수자 목록" class="tit_2" position="absolute 613 417 782 438" anchor="left bottom"/>
- <Button id="btn_loadexcel" taborder="26" text="엑셀입력" class="btn7" position="absolute 1061 414 1141 433" anchor="right bottom" onclick="btn_loadexcel_onclick"/>
- <Grid id="grd_loadexcel" taborder="27" binddataset="ds_main_list4_excellist" useinputpanel="false" visible="false" position="absolute 1065 668 1185 764" autoenter="select" autofittype="col" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="사번"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:emplno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line3" linetype="vertical" class="line_1" position="absolute 615 433 1195 434"/>
- <Shape id="line2" linetype="vertical" class="line_1" position="absolute 0 433 581 434"/>
- <Calendar id="ipt_cmctodd" taborder="30" class="input_search" visible="false" position="absolute 786 356 874 375" autoskip="true" autoselect="true" anchor="left bottom" dateformat="yyyy-MM-dd"/>
- <Calendar id="ipt_cmcfromdd" taborder="31" class="input_search" visible="false" position="absolute 683 356 771 375" autoskip="true" autoselect="true" anchor="left bottom" dateformat="yyyy-MM-dd"/>
- <Static id="caption28" text="입사일 :" class="search_name" visible="false" position="absolute 570 358 688 375" anchor="left bottom"/>
- <Static id="caption29" text="~" visible="false" position="absolute 773 358 789 374" anchor="left bottom"/>
- <Button id="btn_dutdept" taborder="32" class="icon_search" enable="false" position="absolute 230 382 246 398" anchor="left bottom" onclick="btn_dutdept_onclick"/>
- <Edit id="ipt_dutdeptnm" taborder="33" class="input_search" enable="false" position="absolute 88 381 228 400" autoskip="true" autoselect="true" anchor="left bottom"/>
- <Static id="caption5" text="과 (팀) :" class="search_name" position="absolute 268 381 355 398" anchor="left bottom"/>
- <Static id="caption7" text="부(실) :" class="search_name" position="absolute 13 381 99 398" anchor="left bottom"/>
- <Edit id="ipt_dutdeptcd" taborder="34" enable="false" visible="false" position="absolute 124 387 174 406" anchor="left bottom"/>
- <Button id="btn_dutteam" taborder="35" class="icon_search" enable="false" position="absolute 523 382 539 398" anchor="left bottom" onclick="btn_dutteam_onclick"/>
- <Edit id="ipt_dutteamnm" taborder="36" class="input_search" enable="false" position="absolute 353 381 521 400" autoskip="true" autoselect="true" anchor="left bottom"/>
- <Edit id="ipt_dutteamcd" taborder="37" enable="false" visible="false" position="absolute 388 387 438 406" anchor="left bottom"/>
- <Shape id="line00" class="line_10" position="absolute 0 433 581 439" anchor="left bottom"/>
- <Shape id="line04" class="line_10" position="absolute 613 433 1194 439" anchor="left right bottom"/>
- <Button id="btn_addtrgtman" taborder="38" onclick="button103_onclick" class="icon_right" position="absolute 583 603 609 622" anchor="left bottom"/>
- </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="chrgdeptnm" type="STRING" size="256"/>
- <Column id="chrgdeptcd" 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="deptcd" 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="chrgdeptnm"/>
- <Col id="chrgdeptcd"/>
- <Col id="chrgteamnm"/>
- <Col id="chrgteamcd"/>
- <Col id="chrgunitnm"/>
- <Col id="chrgunitcd"/>
- <Col id="emplno"/>
- <Col id="grdunitcd"/>
- <Col id="deptcd"/>
- <Col id="instcd"/>
- <Col id="posinstcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_grid_educlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_grid_educlist_oncolumnchanged">
- <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_main_grid_educlist_exl" 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="chrgdeptnm" type="STRING" size="256" sumtext="주관부서"/>
- <Column id="chrgteamnm" type="STRING" size="256" sumtext="주관팀"/>
- <Column id="chrgunitnm" type="STRING" size="256" sumtext="주관유닛"/>
- <Column id="edugbn" type="STRING" size="256" sumtext="교육구분"/>
- <Column id="educnm" 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="STRING" size="256" sumtext="이수인원"/>
- <Column id="lactr" type="STRING" size="256" sumtext="강사"/>
- <Column id="depteduccd" type="STRING" size="256" sumtext="교육코드"/>
- <Column id="emplno" type="STRING" size="256" sumtext="사번"/>
- <Column id="name" type="STRING" size="256" sumtext="이름"/>
- <Column id="dutinstcd" type="STRING" size="256" sumtext="소속기관"/>
- <Column id="dutinstnm" type="STRING" size="256" sumtext="소속기관"/>
- <Column id="dutdeptcd" type="STRING" size="256" sumtext="소속부서"/>
- <Column id="dutdeptnm" type="STRING" size="256" sumtext="소속부서"/>
- <Column id="dutunitcd" type="STRING" size="256" sumtext="소속근무지"/>
- <Column id="dutunitnm" type="STRING" size="256" sumtext="소속근무지"/>
- <Column id="jobkindcd" type="STRING" size="256" sumtext="직종"/>
- <Column id="jobkindnm" type="STRING" size="256" sumtext="직종"/>
- <Column id="jobrespcd" type="STRING" size="256" sumtext="직위"/>
- <Column id="jobrespnm" type="STRING" size="256" sumtext="직위"/>
- <Column id="cmcentcodd" type="STRING" size="256" sumtext="입사일"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list3_emplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_list3_emplist_oncolumnchanged">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256" sumtext="선택"/>
- <Column id="emplno" type="STRING" size="256" sumtext="사원번호"/>
- <Column id="emplnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="dutinstcd" type="STRING" size="256" sumtext="근무기관"/>
- <Column id="dutinstnm" type="STRING" size="256" sumtext="근무기관"/>
- <Column id="dutdeptcd" type="STRING" size="256" sumtext="근무부서"/>
- <Column id="dutdeptnm" type="STRING" size="256" sumtext="근무부서"/>
- <Column id="dutunitcd" type="STRING" size="256" sumtext="근무지부서"/>
- <Column id="dutunitnm" type="STRING" size="256" sumtext="근무지부서"/>
- <Column id="prfshipflag" type="STRING" size="256" sumtext="교직구분"/>
- <Column id="prfshipnm" type="STRING" size="256" sumtext="교직구분"/>
- <Column id="holyordflag" type="STRING" size="256" sumtext="성직구분"/>
- <Column id="holyordnm" type="STRING" size="256" sumtext="성직구분"/>
- <Column id="grupjoblncd" type="STRING" size="256" sumtext="직군코드"/>
- <Column id="grupjoblnnm" type="STRING" size="256" sumtext="직군"/>
- <Column id="njobgradcd" type="STRING" size="256" sumtext="신직급코드"/>
- <Column id="njobgradnm" type="STRING" size="256" sumtext="신직급"/>
- <Column id="jobkindcd" type="STRING" size="256" sumtext="직종코드"/>
- <Column id="jobkindnm" type="STRING" size="256" sumtext="직종"/>
- <Column id="jobrespcd" type="STRING" size="256" sumtext="직책코드"/>
- <Column id="jobrespnm" type="STRING" size="256" sumtext="직책"/>
- <Column id="gender" type="STRING" size="256" sumtext="성별"/>
- <Column id="entcodd" type="STRING" size="256" sumtext="입사일"/>
- <Column id="cmcentcodd" type="STRING" size="256" sumtext="입사일"/>
- <Column id="anual" type="STRING" size="256" sumtext="년차"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list2_eductrgtmanlist" 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="instcd"/>
- <Column id="educdg" type="STRING" size="256" sumtext="교육차수"/>
- <Column id="appyy" type="STRING" size="256" sumtext="적용년도"/>
- <Column id="depteduccd" type="STRING" size="256" sumtext="교육코드"/>
- <Column id="eduinstcd" type="STRING" size="256" sumtext="교육기관코드"/>
- <Column id="emplno" type="STRING" size="256" sumtext="사원번호"/>
- <Column id="emplnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="dutinstcd" type="STRING" size="256" sumtext="근무기관코드"/>
- <Column id="dutinstnm" type="STRING" size="256" sumtext="근무기관명"/>
- <Column id="dutdeptcd" type="STRING" size="256" sumtext="소속부서코드"/>
- <Column id="dutdeptnm" type="STRING" size="256" sumtext="소숙부서"/>
- <Column id="dutunitcd" type="STRING" size="256" sumtext="근무지코드"/>
- <Column id="dutunitnm" type="STRING" size="256" sumtext="근무지부서"/>
- <Column id="prfshipflag" type="STRING" size="256" sumtext="교직구분"/>
- <Column id="prfshipnm" type="STRING" size="256" sumtext="교직구분"/>
- <Column id="holyordflag" type="STRING" size="256" sumtext="성직구분"/>
- <Column id="holyordnm" type="STRING" size="256" sumtext="성직구분"/>
- <Column id="grupjoblncd" type="STRING" size="256" sumtext="직군코드"/>
- <Column id="grupjoblnnm" type="STRING" size="256" sumtext="직군"/>
- <Column id="njobgradcd" type="STRING" size="256" sumtext="신직급코드"/>
- <Column id="jobgradorddd" type="STRING" size="256" sumtext="현직급발령일"/>
- <Column id="njobgradnm" type="STRING" size="256" sumtext="신직급"/>
- <Column id="anual" type="STRING" size="256" sumtext="년차"/>
- <Column id="jobkindcd" type="STRING" size="256" sumtext="직종코드"/>
- <Column id="jobkindnm" type="STRING" size="256" sumtext="직종"/>
- <Column id="jobrespcd" type="STRING" size="256" sumtext="직책코드"/>
- <Column id="jobresporddd" type="STRING" size="256" sumtext="현직책발령일"/>
- <Column id="jobrespnm" type="STRING" size="256" sumtext="직책"/>
- <Column id="gender" type="STRING" size="256" sumtext="성별"/>
- <Column id="entcodd" type="STRING" size="256" sumtext="입사일"/>
- <Column id="cmcentcodd" type="STRING" size="256" sumtext="입사일"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list4_excellist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_emplsearch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_emplsearch_oncolumnchanged">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="dutunitcd" type="STRING" size="256"/>
- <Column id="dutunitnm" type="STRING" size="256"/>
- <Column id="frentcodd" type="STRING" size="256"/>
- <Column id="toentcodd" type="STRING" size="256"/>
- <Column id="emplnm" type="STRING" size="256"/>
- <Column id="emplno" type="STRING" size="256"/>
- <Column id="appyy" type="STRING" size="256"/>
- <Column id="depteduccd" type="STRING" size="256"/>
- <Column id="cmcfromdd" type="STRING" size="256"/>
- <Column id="cmctodd" type="STRING" size="256"/>
- <Column id="dutteamcd" type="STRING" size="256"/>
- <Column id="dutteamnm" type="STRING" size="256"/>
- <Column id="dutdeptcd" type="STRING" size="256"/>
- <Column id="dutdeptnm" type="STRING" size="256"/>
- <Column id="eduinstcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="dutunitcd"/>
- <Col id="dutunitnm"/>
- <Col id="frentcodd"/>
- <Col id="toentcodd"/>
- <Col id="emplnm"/>
- <Col id="emplno"/>
- <Col id="appyy"/>
- <Col id="depteduccd"/>
- <Col id="cmcfromdd"/>
- <Col id="cmctodd"/>
- <Col id="dutteamcd"/>
- <Col id="dutteamnm"/>
- <Col id="dutdeptcd"/>
- <Col id="dutdeptnm"/>
- <Col id="eduinstcd"/>
- </Row>
- </Rows>
- </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_chrgdeptcd" propid="value" datasetid="ds_send_search" columnid="chrgdeptcd"/>
- <BindItem id="item3" compid="group4.ipt_chrgteamnm" propid="value" datasetid="ds_send_search" columnid="chrgteamnm"/>
- <BindItem id="item4" compid="group4.ipt_chrgteamcd" propid="value" datasetid="ds_send_search" columnid="chrgteamcd"/>
- <BindItem id="item5" compid="group4.ipt_chrgunitnm" propid="value" datasetid="ds_send_search" columnid="chrgunitnm"/>
- <BindItem id="item6" compid="group4.ipt_chrgunitcd" propid="value" datasetid="ds_send_search" columnid="chrgunitcd"/>
- <BindItem id="item7" compid="group4.cmb_educflag" propid="value" datasetid="ds_send_search" columnid="educflag"/>
- <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"/>
- <BindItem id="item10" compid="cmb_dutinstcd" propid="value" datasetid="ds_send_emplsearch" columnid="instcd"/>
- <BindItem id="item11" compid="ipt_frentcodd" propid="value" datasetid="ds_send_emplsearch" columnid="frentcodd"/>
- <BindItem id="item12" compid="ipt_toentcodd" propid="value" datasetid="ds_send_emplsearch" columnid="toentcodd"/>
- <BindItem id="item13" compid="ipt_dutteamcd" propid="value" datasetid="ds_send_emplsearch" columnid="dutteamcd"/>
- <BindItem id="item14" compid="ipt_dutteamnm" propid="value" datasetid="ds_send_emplsearch" columnid="dutteamnm"/>
- <BindItem id="item15" compid="ipt_dutdeptcd" propid="value" datasetid="ds_send_emplsearch" columnid="dutdeptcd"/>
- <BindItem id="item16" compid="ipt_dutdeptnm" propid="value" datasetid="ds_send_emplsearch" columnid="dutdeptnm"/>
- <BindItem id="item17" compid="ipt_cmcfromdd" propid="value" datasetid="ds_send_emplsearch" columnid="cmcfromdd"/>
- <BindItem id="item18" compid="ipt_cmctodd" propid="value" datasetid="ds_send_emplsearch" columnid="cmctodd"/>
- <BindItem id="item19" compid="ipt_dutunitnm" propid="value" datasetid="ds_send_emplsearch" columnid="dutunitnm"/>
- <BindItem id="item20" compid="ipt_dutunitcd" propid="value" datasetid="ds_send_emplsearch" columnid="dutunitcd"/>
- <BindItem id="item21" compid="ipt_emplnm" propid="value" datasetid="ds_send_emplsearch" columnid="emplnm"/>
- <BindItem id="item22" compid="ipt_emplno1" propid="value" datasetid="ds_send_emplsearch" 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 SMRPS04000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMRPS04000_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_educlist);
- grdf_setRowTypeIcon(grd_educlist, 0);
-
- grdf_initGrid(grd_educlistall);
- grdf_setRowTypeIcon(grd_educlistall, 0);
-
- grdf_initGrid(grd_emplist);
- grdf_initGrid(grd_eductrgtmanlist);
- grdf_setRowTypeIcon(grd_eductrgtmanlist, 0);
-
- grdf_initGrid(grd_loadexcel);
- grdf_setRowTypeIcon(grd_loadexcel, 0);
-
- misfGetUserAuth();
- misfGetAndSetUserInfo();
-
- 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 curdate = utlf_getCurrentDate();
-
- ds_send_search.setColumn(0, "appyy", String(curdate).substr(0, 4));
- ds_send_search.setColumn(0, "dutinstcd", ds_init_emplinfo.getColumn(0, "dutplceinst"));
-
- if(sysf_getUserInfo("userid") == "MIS")
- {
- ipt_dutdeptcd.value = sysf_getUserInfo("dutplceinstcd");
- }
-
- 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"));
-
- ds_send_emplsearch.enableevent = false;
- ds_send_emplsearch.setColumn(0, "dutdeptnm", ds_init_emplinfo.getColumn(0, "dutdeptnm"));
- ds_send_emplsearch.setColumn(0, "dutdeptcd", ds_init_emplinfo.getColumn(0, "dutdeptcd"));
- ds_send_emplsearch.setColumn(0, "dutteamnm", ds_init_emplinfo.getColumn(0, "dutteamnm"));
- ds_send_emplsearch.setColumn(0, "dutteamcd", ds_init_emplinfo.getColumn(0, "dutteamcd"));
- ds_send_emplsearch.setColumn(0, "dutunitcd", ds_init_emplinfo.getColumn(0, "dutunitnm"));
- ds_send_emplsearch.setColumn(0, "dutunitcd", ds_init_emplinfo.getColumn(0, "dutunitcd"));
- ds_send_emplsearch.enableevent = true;
-
- if ( DUTY_EDU_YN == "Y" || DUTY_RESP_YN == "Y" || DUTY_PART_YN == "Y" )
- {
- 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;
-
- ipt_dutdeptnm.enable = true;
- ipt_dutteamnm.enable = true;
- ipt_dutunitnm.enable = true;
- btn_dutdept.enable = true;
- btn_dutteam.enable = true;
- btn_dutunit.enable = true;
- }
- else
- {
- fCheckDisabled();
- }
- misfGridInit(grd_educlist);
-
- grd_educlist.setFormatRowProperty(0, "size", 40);
-
- //misfMsterDetailSet(grd_educlist,null, "TRRPS04001" ,"Y");
- rpsEducSetComboList("M01-007,M01-005,M01-007", "group4.cmb_educflag,grd_educlist/medinstvalucd,grd_educlist/educflag", "Y");
- misfComboComCdListMulti("Z0007", "cmb_dutinstcd");
- ds_send_emplsearch.setColumn(0, "instcd", ds_init_emplinfo.getColumn(0, "dutplceinst"));
- ds_send_emplsearch.setColumn(0, "dutunitnm", ds_init_emplinfo.getColumn(0, "dutunitnm"));
- ds_send_emplsearch.setColumn(0, "dutunitcd", ds_init_emplinfo.getColumn(0, "dutunitcd"));
- }
- 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;
-
- ipt_dutteamnm.enable = true;
- ipt_dutunitnm.enable = true;
- btn_dutteam.enable = true;
- btn_dutunit.enable = true;
- }
- else if( ds_init_deptadmin.getColumn(0, "unityn") == "Y")
- {
- group4.ipt_chrgunitnm.enable = true;
- group4.btn_unit.enable = true;
-
- ipt_dutunitnm.enable = true;
- btn_dutunit.enable = true;
- }
- else
- {
- group4.ipt_chrgteamnm.enable = false;
- group4.ipt_chrgunitnm.enable = false;
- group4.btn_team.enable = false;
- group4.btn_unit.enable = false;
-
- ipt_dutteamnm.enable = false;
- ipt_dutunitnm.enable = false;
- btn_dutteam.enable = false;
- btn_dutunit.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)
- {
- btn_save.enable = true;
- group4.btn_search.enable = true;
- }
- else
- {
- btn_save.enable = false;
- group4.btn_search.enable = false;
- }
- }
- 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 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(!utlf_isNull(group4.ipt_chrgunitnm.value))
- {
- if ( DUTY_EDU_YN == "Y" || DUTY_RESP_YN == "Y" || DUTY_PART_YN == "Y" )
- {
- 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_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"));
- }
- }
- }
- function group4_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- arrCompId = new Array("group4.ipt_appyy");
- if(!frmf_isRequiredControls(arrCompId))
- {
- return;
- }
-
- var oParam = {};
- oParam.id = "TRRPS04001";
- oParam.service = "educationmngtapp.DeptEducMngt";
- oParam.method = "reqGetDeptEducList";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_main_grid_educlist=educlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRPS04001";
- tranf_submit(oParam);
- }
- function ds_main_grid_educlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if( e.columnid == "newpsn" || e.columnid == "oldpsn")
- {
- obj.setColumn(e.row, "totalpsn", parseInt(obj.getColumn(e.row, "newpsn"))+ parseInt(obj.getColumn(e.row, "oldpsn")))
- }
- }
- function grd_educlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if( ds_main_grid_educlist.getRowType(e.row) != "1" )
- {
- return ;
- }
-
- fEducTrgtManListRetrieve();
- btn_search2_onclick();
- }
- function fEducTrgtManListRetrieve()
- {
- ds_send_emplsearch.setColumn(0, "appyy", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "appyy"));
- ds_send_emplsearch.setColumn(0, "depteduccd", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "depteduccd"));
- ds_send_emplsearch.setColumn(0, "eduinstcd", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "dutinstcd"));
-
- var oParam = {};
- oParam.id = "TRRPS04102";
- oParam.service = "educationmngtapp.DeptEducMngt";
- oParam.method = "reqGetEducTrgtManList";
- oParam.inds = "req=ds_send_emplsearch";
- oParam.outds = "ds_main_list2_eductrgtmanlist=eductrgtmanlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRPS04102";
- tranf_submit(oParam);
- }
- function btn_search2_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var idx = 0; idx < ds_main_grid_educlist.rowcount; idx++)
- {
- if( ds_main_grid_educlist.getRowType(idx) == 1 )
- {
- continue;
- }
- else
- {
- if(sysf_messageBox("변경된 교육이 있습니다. 저장하시겠습니까?","Q999") == "6")
- {
- if( fCheckColumn() )
- {
- var row = ds_main_grid_educlist.rowposition;
-
- var oParam = {};
- oParam.id = "TXRPS04001";
- oParam.service = "educationmngtapp.DeptEducMngt";
- oParam.method = "reqExeDeptEducList";
- oParam.inds = "req=ds_main_grid_educlist:u";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXRPS04001";
- tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRRPS04001";
- oParam.service = "educationmngtapp.DeptEducMngt";
- oParam.method = "reqGetDeptEducList";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_main_grid_educlist=educlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRPS04001";
- tranf_submit(oParam);
-
- ds_main_grid_educlist.rowposition = row;
- }
- }
- else
- {
- return;
- }
- }
- }
- if( ds_main_grid_educlist.rowcount == 0 )
- {
- sysf_messageBox("교육먼저 선택해 주세요.","C999");
- return;
- }
- else
- {
- fEmpListRetrieve();
- }
- }
- function fCheckColumn()
- {
- for(var idx = 0; idx < ds_main_grid_educlist.rowcount; idx++ )
- {
- if(ds_main_grid_educlist.getRowType(idx) == "2" || ds_main_grid_educlist.getRowType(idx) == "4")
- {
- if(utlf_isNull(ds_main_grid_educlist.getColumn(0, "educflag")))
- {
- sysf_messageBox("교육구분은","I003");
- return false;
- }
- else if(utlf_isNull(ds_main_grid_educlist.getColumn(0, "educnm")))
- {
- sysf_messageBox("교육명은","I003");
- return false;
- }
- else if(utlf_isNull(ds_main_grid_educlist.getColumn(0, "educfromdd")))
- {
- sysf_messageBox("교육기간(from)은","I003");
- return false;
- }
- else if(utlf_isNull(ds_main_grid_educlist.getColumn(0, "eductodd")))
- {
- sysf_messageBox("교육기간(to)은","I003");
- return false;
- }
- else if(utlf_isNull(ds_main_grid_educlist.getColumn(0, "eductime")))
- {
- sysf_messageBox("교육시간일정은","I003");
- return false;
- }
- else if(utlf_isNull(ds_main_grid_educlist.getColumn(0, "eductm")))
- {
- sysf_messageBox("교육총시간은","I003");
- return false;
- }
- else if(utlf_isNull(ds_main_grid_educlist.getColumn(0, "educplce")))
- {
- sysf_messageBox("교육장소는","I003");
- return false;
- }
- return true;
- }
- }
- }
- function fEmpListRetrieve()
- {
- ds_send_emplsearch.setColumn(0, "appyy", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "appyy"));
- ds_send_emplsearch.setColumn(0, "depteduccd", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "depteduccd"));
-
- ds_main_list3_emplist.clearData();
-
- var oParam = {};
- oParam.id = "TRRPS04103";
- oParam.service = "educationmngtapp.DeptEducMngt";
- oParam.method = "reqGetEducEmpList";
- oParam.inds = "req=ds_send_emplsearch";
- oParam.outds = "ds_main_list3_emplist=emplist";
- oParam.async = false;
- //oParam.callback = "cf_TRRPS04103";
- tranf_submit(oParam);
- }
- function ds_send_emplsearch_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "dutdeptnm")
- {
- if(e.newvalue.getByteLength() == "0")
- {
- ipt_dutdeptcd.value = "";
- }
- }
-
- if(e.columnid == "dutteamnm")
- {
- if(e.newvalue.getByteLength() == "0")
- {
- ipt_dutteamcd.value = "";
- }
- }
-
- if(e.columnid == "dutunitnm")
- {
- ipt_dutunitnm.enable = true;
- ipt_dutunitnm.setFocus();
- ipt_dutunitnm.value = e.newvalue;
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
- ipt_dutunitnm.enable = false;
- }
-
- if(e.columnid == "dutunitcd")
- {
- ipt_dutunitcd.enable = true;
- ipt_dutunitcd.value = e.newvalue;
- ipt_dutunitcd.setFocus();
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
- ipt_dutunitcd.enable = false;
- }
-
- if(e.columnid == "emplnm")
- {
- var recv_list = "emplno,emplnm";
- rpbfValidationCheck("emplno", recv_list);
- }
-
- if(e.columnid == "emplno")
- {
- var recv_list = "emplno,emplnm";
- rpbfValidationCheck("emplnm", recv_list);
- }
- }
- function btn_dutdept_onclick(obj:Button, e:ClickEventInfo)
- {
- rpsfEducOpenPopUpList("05", ds_send_emplsearch, "", "dutdeptcd,dutdeptnm", cmb_dutinstcd.value, "instcd");
-
- ds_send_emplsearch.setColumn(0, "dutteamnm", "");
- ds_send_emplsearch.setColumn(0, "dutteamcd", "");
- ds_send_emplsearch.setColumn(0, "dutunitnm", "");
- ds_send_emplsearch.setColumn(0, "dutunitcd", "");
- }
- function btn_dutteam_onclick(obj:Button, e:ClickEventInfo)
- {
- rpsfEducOpenPopUpList("06", ds_send_emplsearch, "", "dutteamcd,dutteamnm", cmb_dutinstcd.value, "instcd");
-
- ds_send_emplsearch.setColumn(0, "dutunitnm", "");
- ds_send_emplsearch.setColumn(0, "dutunitcd", "");
- }
- function btn_dutunit_onclick(obj:Button, e:ClickEventInfo)
- {
- rpsfEducOpenPopUpList("07", ds_send_emplsearch, "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
- if(!utlf_isNull(ipt_dutunitnm.value))
- {
- if ( DUTY_EDU_YN == "Y" || DUTY_RESP_YN == "Y" || DUTY_PART_YN == "Y" )
- {
- ds_send_search.setColumn(0, "grdunitcd", ipt_dutunitcd.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_emplsearch.setColumn(0, "dutdeptnm", ds_init_emplinfo.getColumn(0, "dutdeptnm"));
- ds_send_emplsearch.setColumn(0, "dutdeptcd", ds_init_emplinfo.getColumn(0, "dutdeptcd"));
- ds_send_emplsearch.setColumn(0, "dutteamnm", ds_init_emplinfo.getColumn(0, "dutteamnm"));
- ds_send_emplsearch.setColumn(0, "dutteamcd", ds_init_emplinfo.getColumn(0, "dutteamcd"));
- }
- else
- {
- fCheckAdmin();
-
- ds_send_search.setColumn(0, "grdunitcd", ipt_dutunitcd.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_emplsearch.setColumn(0, "dutdeptnm", ds_init_emplinfo.getColumn(0, "dutdeptnm"));
- ds_send_emplsearch.setColumn(0, "dutdeptcd", ds_init_emplinfo.getColumn(0, "dutdeptcd"));
- ds_send_emplsearch.setColumn(0, "dutteamnm", ds_init_emplinfo.getColumn(0, "dutteamnm"));
- ds_send_emplsearch.setColumn(0, "dutteamcd", ds_init_emplinfo.getColumn(0, "dutteamcd"));
- }
- }
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- rpbfOpenPopUpList("SPRPB00101", ds_send_emplsearch, "emplno,emplnm", "", "N");
-
- if( fCheckEmplno(ipt_emplno1.value))
- {
- }
- else
- {
- btn_search2.onclick();
- }
- }
- function fCheckEmplno( emplno )
- {
- for ( var idx = 0; idx < ds_main_list2_eductrgtmanlist.rowcount; idx++ )
- {
- if(ds_main_list2_eductrgtmanlist.getColumn(idx, "emplno") == emplno)
- {
- sysf_messageBox("이미 이수자로 등록되어 있습니다.","I999");
- return true;
- }
- }
- return false;
- }
- function grd_emplist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(utlf_isNull(ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "depteduccd")))
- {
- sysf_messageBox("교육을","C002");
- return;
- }
-
- var sEmplno = ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "emplno");
- var iRowIdx = ds_main_list2_eductrgtmanlist.findRow("emplno", sEmplno);
-
- if(iRowIdx != -1)
- {
- sysf_messageBox("이미 대상자로 등록되어 있습니다.","I999");
- return;
- }
-
- var addRow = ds_main_list2_eductrgtmanlist.addRow();
-
- fSetTrgtManInfo(addRow, ds_main_list3_emplist.rowposition);
- }
- function fSetTrgtManInfo(iTrgtManRowIdx, iEmpListRowIdx)
- {
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "depteduccd", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "depteduccd"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "eduinstcd", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "dutinstcd"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "appyy", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "appyy"));
-
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "emplno", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "emplno"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "emplnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "emplnm"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "prfshipflag", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "prfshipflag"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "prfshipnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "prfshipnm"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "dutinstcd", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "dutinstcd"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "dutinstnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "dutinstnm"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "dutdeptcd", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "dutdeptcd"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "dutdeptnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "dutdeptnm"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "dutunitcd", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "dutunitcd"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "dutunitnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "dutunitnm"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "holyordflag", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "holyordflag"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "holyordnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "holyordnm"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "grupjoblncd", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "grupjoblncd"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "grupjoblnnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "grupjoblnnm"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "njobgradcd", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "njobgradcd"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "njobgradnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "njobgradnm"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "anual", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "anual"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "jobkindcd", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "jobkindcd"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "jobkindnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "jobkindnm"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "jobrespcd", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "jobrespcd"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "jobrespnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "jobrespnm"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "gender", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "gender"));
- ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "entcodd", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "entcodd"));
- }
- function btn_remove_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_list3_emplist.clearData();
- }
- function btn_saveexcel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_eductrgtmanlist, "excel", false, false, "", "user", false);
- }
- function btn_loadexcel_onclick(obj:Button, e:ClickEventInfo)
- {
- fLoadExcel()
- }
- function fLoadExcel()
- {
- if(ds_main_grid_educlist.rowcount == 0)
- {
- sysf_messageBox("교육내용을", "C002");
- return;
- }
-
- grdf_ImportExcel("ds_main_list4_excellist", 2, grd_loadexcel, 1);
-
- var sEmplno = "";
- var iRowIdx = -1;
-
- for(var i = 0; i < ds_main_list4_excellist.rowcount; i++)
- {
- sEmplno = ds_main_list4_excellist.getColumn(i, "emplno");
-
- if(utlf_isNull(sEmplno))
- {
- continue;
- }
-
- iRowIdx = ds_main_list2_eductrgtmanlist.findRow("emplno", sEmplno);
-
- if(iRowIdx != -1)
- {
- continue;
- }
- else
- {
- var addRow = ds_main_list2_eductrgtmanlist.addRow();
-
- ds_main_list2_eductrgtmanlist.setColumn(addRow, "depteduccd", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "depteduccd"));
- ds_main_list2_eductrgtmanlist.setColumn(addRow, "appyy", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "appyy"));
- ds_main_list2_eductrgtmanlist.setColumn(addRow, "eduinstcd", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "dutinstcd"));
- ds_main_list2_eductrgtmanlist.setColumn(addRow, "emplno", ds_main_list4_excellist.getColumn(i, "emplno"));
- }
- }
- }
- function btn_delrow_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_eductrgtmanlist.addStatus(grd_eductrgtmanlist.row, "delete");
- }
- function btn_rowcopy_onclick(obj:Button, e:ClickEventInfo)
- {
- var row = ds_main_grid_educlist.rowposition;
-
- if( row < 0)
- {
- sysf_messageBox("복사할 행이","I004");
- return;
- }
- else
- {
-
- ds_main_grid_educlist.insertRow(0);
-
- ds_main_grid_educlist.setColumn(0, "appyy", ds_main_grid_educlist.getColumn(row, "appyy"));
- ds_main_grid_educlist.setColumn(0, "mainbdunit", ds_main_grid_educlist.getColumn(row, "mainbdunit"));
- ds_main_grid_educlist.setColumn(0, "dutinstcd", ds_main_grid_educlist.getColumn(row, "dutinstcd"));
- ds_main_grid_educlist.setColumn(0, "chrgdeptnm", ds_main_grid_educlist.getColumn(row, "chrgdeptnm"));
- ds_main_grid_educlist.setColumn(0, "chrgdeptcd", ds_main_grid_educlist.getColumn(row, "chrgdeptcd"));
- ds_main_grid_educlist.setColumn(0, "chrgteamnm", ds_main_grid_educlist.getColumn(row, "chrgteamnm"));
- ds_main_grid_educlist.setColumn(0, "chrgteamcd", ds_main_grid_educlist.getColumn(row, "chrgteamcd"));
- ds_main_grid_educlist.setColumn(0, "chrgunitnm", ds_main_grid_educlist.getColumn(row, "chrgunitnm"));
- ds_main_grid_educlist.setColumn(0, "chrgunitcd", ds_main_grid_educlist.getColumn(row, "chrgunitcd"));
- ds_main_grid_educlist.setColumn(0, "educflag", ds_main_grid_educlist.getColumn(row, "educflag"));
- ds_main_grid_educlist.setColumn(0, "medinstvalucd", ds_main_grid_educlist.getColumn(row, "medinstvalucd"));
- ds_main_grid_educlist.setColumn(0, "educnm", ds_main_grid_educlist.getColumn(row, "educnm"));
- ds_main_grid_educlist.setColumn(0, "educdg", ds_main_grid_educlist.getColumn(row, "educdg"));
- ds_main_grid_educlist.setColumn(0, "educfromdd", ds_main_grid_educlist.getColumn(row, "educfromdd"));
- ds_main_grid_educlist.setColumn(0, "eductodd", ds_main_grid_educlist.getColumn(row, "eductodd"));
- ds_main_grid_educlist.setColumn(0, "eductime", ds_main_grid_educlist.getColumn(row, "eductime"));
- ds_main_grid_educlist.setColumn(0, "eductm", ds_main_grid_educlist.getColumn(row, "eductm"));
- ds_main_grid_educlist.setColumn(0, "educplce", ds_main_grid_educlist.getColumn(row, "educplce"));
- ds_main_grid_educlist.setColumn(0, "newpsn", ds_main_grid_educlist.getColumn(row, "newpsn"));
- ds_main_grid_educlist.setColumn(0, "oldpsn", ds_main_grid_educlist.getColumn(row, "oldpsn"));
- ds_main_grid_educlist.setColumn(0, "totalpsn", ds_main_grid_educlist.getColumn(row, "totalpsn"));
- ds_main_grid_educlist.setColumn(0, "cmpltcurspsnno", ds_main_grid_educlist.getColumn(row, "cmpltcurspsnno"));
- ds_main_grid_educlist.setColumn(0, "lactr", ds_main_grid_educlist.getColumn(row, "lactr"));
- ds_main_grid_educlist.setColumn(0, "bugt", ds_main_grid_educlist.getColumn(row, "bugt"));
- ds_main_grid_educlist.setColumn(0, "educvalu", ds_main_grid_educlist.getColumn(row, "educvalu"));
- }
- }
- function btn_add_onclick(obj:Button, e:ClickEventInfo)
- {
- arrCompId = new Array("group4.ipt_appyy");
- if(!frmf_isRequiredControls(arrCompId))
- {
- return;
- }
-
- ds_main_list2_eductrgtmanlist.clearData();
- ds_main_list3_emplist.clearData();
-
- if( ds_main_grid_educlist.rowcount < 0)
- {
- ds_main_grid_educlist.addRow();
- }
- else
- {
- ds_main_grid_educlist.insertRow(0);
- }
-
- ds_main_grid_educlist.setColumn(0, "appyy", group4.ipt_appyy.value);
- ds_main_grid_educlist.setColumn(0, "mainbdunit", "3");
- ds_main_grid_educlist.setColumn(0, "dutinstcd", ipt_dutinstcd.value);
- ds_main_grid_educlist.setColumn(0, "chrgdeptnm", group4.ipt_chrgdeptnm.value);
- ds_main_grid_educlist.setColumn(0, "chrgdeptcd", group4.ipt_chrgdeptcd.value);
- ds_main_grid_educlist.setColumn(0, "chrgteamnm", group4.ipt_chrgteamnm.value);
- ds_main_grid_educlist.setColumn(0, "chrgteamcd", group4.ipt_chrgteamcd.value);
- ds_main_grid_educlist.setColumn(0, "chrgunitnm", group4.ipt_chrgunitnm.value);
- ds_main_grid_educlist.setColumn(0, "chrgunitcd", group4.ipt_chrgunitcd.value);
-
- ds_main_grid_educlist.setColumn(0, "newpsn", "0");
- ds_main_grid_educlist.setColumn(0, "oldpsn", "0");
- ds_main_grid_educlist.setColumn(0, "totalpsn", "0");
- ds_main_grid_educlist.setColumn(0, "cmpltcurspsnno", "0");
- }
- function btn_del_onclick(obj:Button, e:ClickEventInfo)
- {
- arrCompId = new Array("group4.ipt_appyy");
- if(!frmf_isRequiredControls(arrCompId))
- {
- return;
- }
-
- if(ds_main_grid_educlist.getRowType(ds_main_grid_educlist.rowposition) == "2")
- {
- ds_main_grid_educlist.updatecontrol = false;
- ds_main_grid_educlist.setRowType(ds_main_grid_educlist.rowposition, "d");
- ds_main_grid_educlist.updatecontrol = true;
- }
- else
- {
- ds_main_grid_educlist.deleteRow(ds_main_grid_educlist.rowposition)
- }
- }
- function btn_init_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_educlist, "부서교육내역", false, false, "", "user", false);
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- arrCompId = new Array("group4.ipt_appyy");
- if(!frmf_isRequiredControls(arrCompId))
- {
- return;
- }
-
- var oParam = {};
- oParam.id = "TRRPS04002";
- oParam.service = "educationmngtapp.DeptEducMngt";
- oParam.method = "reqGetDeptEducListAll";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_main_grid_educlist_exl=educlist_exl";
- oParam.async = false;
- //oParam.callback = "cf_TRRPS04002";
- tranf_submit(oParam);
-
- grdf_exportExcel(grd_educlistall, "부서교육내역(이수내역포함)", false, false, "", "user", false);
- }
- function ds_main_list3_emplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if( e.columnid == "chk" )
- {
- obj.setColumn(e.row, "chk", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function button103_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var idx = 0; idx < ds_main_grid_educlist.rowcount; idx++)
- {
- if( ds_main_grid_educlist.getRowType(idx) == 1)
- {
- continue;
- }
- else
- {
- if(sysf_messageBox("변경된 교육이 있습니다. 저장하시겠습니까?","Q999") == "6")
- {
- var row = ds_main_grid_educlist.rowposition;
-
- var oParam = {};
- oParam.id = "TXRPS04001";
- oParam.service = "educationmngtapp.DeptEducMngt";
- oParam.method = "reqExeDeptEducList";
- oParam.inds = "req=ds_main_grid_educlist:u";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXRPS04001";
- tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRRPS04001";
- oParam.service = "educationmngtapp.DeptEducMngt";
- oParam.method = "reqGetDeptEducList";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_main_grid_educlist=educlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRPS04001";
- tranf_submit(oParam);
-
- ds_main_grid_educlist.rowposition = row;
- }
- else
- {
- return;
- }
- }
- }
- if(utlf_isNull(ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "depteduccd")))
- {
- sysf_messageBox("교육을","C002");
- return;
- }
- var sEmplno = ds_main_list3_emplist.getColumn(ds_main_list3_emplist.rowposition, "emplno");
- var iRowIdx = ds_main_list2_eductrgtmanlist.findRow("emplno", sEmplno);
- if(iRowIdx != -1)
- {
- sysf_messageBox("이미 대상자로 등록되어 있습니다.","I999");
- return;
- }
- fRgstTrgtManList();
- }
- function fRgstTrgtManList()
- {
- if(ds_main_grid_educlist.rowcount < 0)
- {
- sysf_messageBox("교육내용을", "C002");
- return;
- }
-
- var cnt = 0;
-
- for(var i = 0; i < ds_main_list3_emplist.rowcount; i++)
- {
- var sChk = ds_main_list3_emplist.getColumn(i, "chk");
-
- if(sChk == "Y")
- {
- cnt++;
- var sEmplno = ds_main_list3_emplist.getColumn(i, "emplno");
- var iRowIdx = ds_main_list2_eductrgtmanlist.findRow("emplno", sEmplno);
-
- if(iRowIdx != -1)
- {
- continue;
- }
-
- ds_main_list2_eductrgtmanlist.addRow();
- ds_main_list2_eductrgtmanlist.updatecontrol = false;
- ds_main_list2_eductrgtmanlist.setRowType(iRowIdx, "i");
- ds_main_list2_eductrgtmanlist.updatecontrol = true;
-
- fSetTrgtManInfo(ds_main_list2_eductrgtmanlist.rowposition, i);
- }
- }
- }
- function group4_ipt_chrgdeptnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
-
- if(obj.value.getByteLength() == "0")
- {
- group4.ipt_chrgdeptcd.value = "";
- }
- }
- }
- function group4_ipt_chrgteamnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
-
- if(obj.value.getByteLength() == "0")
- {
- group4.ipt_chrgteamcd.value = "";
- }
- }
- }
- function group4_ipt_chrgunitnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
-
- if(obj.value.getByteLength() == "0")
- {
- group4.ipt_chrgunitcd.value = "";
- }
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|