SMRPS04000_부서교육등록.xfdl 81 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRPS04000" position="absolute 0 0 1202 792" titletext="SMRPS04000_부서교육등록" oninit="SMRPS04000_oninit" onload="SMRPS04000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group5" taborder="39" position="absolute 0 349 1197 409" class="div_SA2" anchor="left right bottom"/>
  8. <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">
  9. <Formats>
  10. <Format id="default">
  11. <Columns>
  12. <Column size="22"/>
  13. <Column size="0"/>
  14. <Column size="0"/>
  15. <Column size="0"/>
  16. <Column size="65"/>
  17. <Column size="60"/>
  18. <Column size="0"/>
  19. <Column size="60"/>
  20. <Column size="0"/>
  21. <Column size="125"/>
  22. <Column size="0"/>
  23. <Column size="100"/>
  24. <Column size="0"/>
  25. <Column size="100"/>
  26. <Column size="0"/>
  27. <Column size="54"/>
  28. <Column size="0"/>
  29. <Column size="0"/>
  30. <Column size="0"/>
  31. <Column size="53"/>
  32. <Column size="91"/>
  33. <Column size="35"/>
  34. <Column size="0"/>
  35. <Column size="67"/>
  36. <Column size="0"/>
  37. <Column size="40"/>
  38. <Column size="89"/>
  39. <Column size="41"/>
  40. <Column size="66"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. </Columns>
  44. <Rows>
  45. <Row size="24" band="head"/>
  46. <Row size="24"/>
  47. </Rows>
  48. <Band id="head">
  49. <Cell/>
  50. <Cell col="1" text="교육코드"/>
  51. <Cell col="2" text="적용년월"/>
  52. <Cell col="3"/>
  53. <Cell col="4" text="사원번호"/>
  54. <Cell col="5" text="성명"/>
  55. <Cell col="6" text="교직구분코드"/>
  56. <Cell col="7" text="직원분류"/>
  57. <Cell col="8" text="근무기관코드"/>
  58. <Cell col="9" text="근무기관"/>
  59. <Cell col="10" text="근무부서코드"/>
  60. <Cell col="11" text="근무부서"/>
  61. <Cell col="12" text="caption2"/>
  62. <Cell col="13" text="근무지"/>
  63. <Cell col="14" text="성직구분코드"/>
  64. <Cell col="15" text="직원구분"/>
  65. <Cell col="16" text="직군코드"/>
  66. <Cell col="17" text="직군"/>
  67. <Cell col="18" text="신직급코드"/>
  68. <Cell col="19" text="신직급"/>
  69. <Cell col="20" text="현직급발령일"/>
  70. <Cell col="21" text="년차"/>
  71. <Cell col="22" text="직종코드"/>
  72. <Cell col="23" text="직종"/>
  73. <Cell col="24" text="직책코드"/>
  74. <Cell col="25" text="직책"/>
  75. <Cell col="26" text="직책발령일자"/>
  76. <Cell col="27" text="성별"/>
  77. <Cell col="28" text="입사일자"/>
  78. <Cell col="29" text="cmc입사일"/>
  79. <Cell col="30" text="교육기관코드"/>
  80. </Band>
  81. <Band id="body">
  82. <Cell celltype="head"/>
  83. <Cell col="1" text="bind:depteduccd"/>
  84. <Cell col="2" text="bind:appyy"/>
  85. <Cell col="3" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
  86. <Cell col="4" text="bind:emplno"/>
  87. <Cell col="5" text="bind:emplnm"/>
  88. <Cell col="6" text="bind:prfshipflag"/>
  89. <Cell col="7" text="bind:prfshipnm"/>
  90. <Cell col="8" text="bind:dutinstcd"/>
  91. <Cell col="9" text="bind:dutinstnm"/>
  92. <Cell col="10" text="bind:dutdeptcd"/>
  93. <Cell col="11" text="bind:dutdeptnm"/>
  94. <Cell col="12" text="bind:dutunitcd"/>
  95. <Cell col="13" text="bind:dutunitnm"/>
  96. <Cell col="14" text="bind:holyordflag"/>
  97. <Cell col="15" text="bind:holyordnm"/>
  98. <Cell col="16" text="bind:grupjoblncd"/>
  99. <Cell col="17" text="bind:grupjoblnnm"/>
  100. <Cell col="18" text="bind:njobgradcd"/>
  101. <Cell col="19" text="bind:njobgradnm"/>
  102. <Cell col="20" displaytype="date" text="bind:jobgradorddd" calendardisplaynulltype="nulltext"/>
  103. <Cell col="21" text="bind:anual"/>
  104. <Cell col="22" text="bind:jobkindcd"/>
  105. <Cell col="23" text="bind:jobkindnm"/>
  106. <Cell col="24" text="bind:jobrespcd"/>
  107. <Cell col="25" text="bind:jobrespnm"/>
  108. <Cell col="26" displaytype="date" text="bind:jobresporddd" calendardisplaynulltype="nulltext"/>
  109. <Cell col="27" displaytype="combo" edittype="combo" text="bind:gender" enable="false"/>
  110. <Cell col="28" displaytype="date" text="bind:entcodd" calendardisplaynulltype="nulltext"/>
  111. <Cell col="29" text="bind:cmcentcodd" mask="yyyy-mm-dd"/>
  112. <Cell col="30" text="bind:eduinstcd"/>
  113. </Band>
  114. </Format>
  115. </Formats>
  116. </Grid>
  117. <Static id="caption6" text="부서교육등록" class="tit_1" position="absolute 0 0 240 23"/>
  118. <Button id="btn_save" taborder="1" text="저장" class="btn4" position="absolute 1139 25 1195 47" anchor="top right"/>
  119. <Div id="group4" taborder="2" position="absolute 0 48 1195 88" class="div_SA2" anchor="left top right">
  120. <Layouts>
  121. <Layout>
  122. <Static id="cap_appyy" text="년 도 :" class="search_name" position="absolute 14 13 115 30"/>
  123. <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"/>
  124. <Static id="caption2" text="부(실) :" class="search_name" position="absolute 198 12 284 29"/>
  125. <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"/>
  126. <Edit id="ipt_chrgdeptcd" taborder="3" enable="false" visible="false" position="absolute 308 19 358 38"/>
  127. <Button id="btn_dept" taborder="4" class="icon_search" enable="false" position="absolute 378 13 394 29" onclick="group4_btn_dept_onclick"/>
  128. <Static id="caption1" text="과(팀) :" class="search_name" position="absolute 423 12 509 29"/>
  129. <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"/>
  130. <Edit id="ipt_chrgteamcd" taborder="6" enable="false" visible="false" position="absolute 533 19 583 38"/>
  131. <Button id="btn_team" taborder="7" class="icon_search" enable="false" position="absolute 613 13 629 29" onclick="group4_btn_team_onclick"/>
  132. <Static id="caption3" text="부 서 :" class="search_name" position="absolute 653 12 739 29"/>
  133. <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"/>
  134. <Edit id="ipt_chrgunitcd" taborder="9" enable="false" visible="false" position="absolute 743 19 828 38"/>
  135. <Button id="btn_unit" taborder="10" class="icon_search" enable="false" position="absolute 838 13 854 29" onclick="group4_btn_unit_onclick"/>
  136. <Static id="cap_educflag" text="교육구분 :" class="search_name" position="absolute 888 12 989 29"/>
  137. <Combo id="cmb_educflag" taborder="11" class="combo_search" position="absolute 973 12 1073 31"/>
  138. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1095 10 1101 32" anchor="top right"/>
  139. <Button id="btn_search" taborder="12" text="조회" class="btn1" position="absolute 1116 10 1172 32" anchor="top right" onclick="group4_btn_search_onclick"/>
  140. </Layout>
  141. </Layouts>
  142. </Div>
  143. <Button id="button2" taborder="3" text="전체 이수내역 엑셀" class="btn7" position="absolute 1057 99 1195 118" anchor="top right" onclick="button2_onclick"/>
  144. <Button id="btn_init" taborder="4" text="엑셀저장" class="btn7" position="absolute 976 99 1056 118" anchor="top right" onclick="btn_init_onclick"/>
  145. <Button id="btn_add" taborder="5" text="행추가" class="btn2" position="absolute 868 99 921 118" anchor="top right" onclick="btn_add_onclick"/>
  146. <Button id="btn_del" taborder="6" text="행삭제" class="btn2" position="absolute 922 99 975 118" anchor="top right" onclick="btn_del_onclick"/>
  147. <Button id="btn_rowcopy" taborder="7" text="행복사" class="btn2" position="absolute 814 99 867 118" anchor="top right" onclick="btn_rowcopy_onclick"/>
  148. <Edit id="ipt_emplno" taborder="8" visible="false" position="absolute 714 99 804 118" autoselect="true" autoskip="true" anchor="top right"/>
  149. <Edit id="ipt_dutinstcd" taborder="9" visible="false" position="absolute 654 99 704 118" autoselect="true" autoskip="true" anchor="top right"/>
  150. <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">
  151. <Formats>
  152. <Format id="default">
  153. <Columns>
  154. <Column size="26"/>
  155. <Column size="0"/>
  156. <Column size="50"/>
  157. <Column size="0"/>
  158. <Column size="0"/>
  159. <Column size="120"/>
  160. <Column size="0"/>
  161. <Column size="110"/>
  162. <Column size="0"/>
  163. <Column size="100"/>
  164. <Column size="0"/>
  165. <Column size="150"/>
  166. <Column size="0"/>
  167. <Column size="200"/>
  168. <Column size="0"/>
  169. <Column size="95"/>
  170. <Column size="95"/>
  171. <Column size="102"/>
  172. <Column size="113"/>
  173. <Column size="140"/>
  174. <Column size="50"/>
  175. <Column size="50"/>
  176. <Column size="50"/>
  177. <Column size="56"/>
  178. <Column size="100"/>
  179. <Column size="110"/>
  180. <Column size="419"/>
  181. </Columns>
  182. <Rows>
  183. <Row size="33" band="head"/>
  184. <Row size="24"/>
  185. </Rows>
  186. <Band id="head">
  187. <Cell/>
  188. <Cell col="1" text="부서교육코드"/>
  189. <Cell col="2" text="연도"/>
  190. <Cell col="3" text="주체단위"/>
  191. <Cell col="4" text="주체기관코드"/>
  192. <Cell col="5" text="부(실)"/>
  193. <Cell col="6" text="부서코드"/>
  194. <Cell col="7" text="과(팀)"/>
  195. <Cell col="8" text="팀코드"/>
  196. <Cell col="9" text="부서"/>
  197. <Cell col="10" text="유닛코드"/>
  198. <Cell col="11" text="교육구분&#10;(부서교육/부서신입교육)"/>
  199. <Cell col="12" text="의료기관평가코드"/>
  200. <Cell col="13" text="교육명&#10;(직무관련명칭위주)"/>
  201. <Cell col="14" text="차수"/>
  202. <Cell col="15" colspan="2" text="교육기간&#10;(ex, 2009-01-01~2009-01-01)" taborder="undefined"/>
  203. <Cell col="17" text="교육시간일정&#10;(ex, 08:00~18:00)"/>
  204. <Cell col="18" text="교육총시간&#10;(단위:시간, ex 1.5)"/>
  205. <Cell col="19" text="교육장소"/>
  206. <Cell col="20" text="신입&#10;인원"/>
  207. <Cell col="21" text="재직원&#10;인원"/>
  208. <Cell col="22" text="총인원"/>
  209. <Cell col="23" text="이수자&#10;인원"/>
  210. <Cell col="24" text="강사"/>
  211. <Cell col="25" text="예산(단위:원)"/>
  212. <Cell col="26" text="교육평가(간략하게 주요사항 기술)"/>
  213. </Band>
  214. <Band id="body">
  215. <Cell celltype="head"/>
  216. <Cell col="1" class="input_search" text="bind:depteduccd"/>
  217. <Cell col="2" class="input_s_essential" text="bind:appyy"/>
  218. <Cell col="3" class="combo_s_essential" text="bind:mainbdunit"/>
  219. <Cell col="4" class="input_search" text="bind:dutinstcd"/>
  220. <Cell col="5" edittype="none" class="input_search" text="bind:chrgdeptnm"/>
  221. <Cell col="6" class="input_search" text="bind:chrgdeptcd"/>
  222. <Cell col="7" edittype="none" class="input_search" text="bind:chrgteamnm"/>
  223. <Cell col="8" class="input_search" text="bind:chrgteamcd"/>
  224. <Cell col="9" edittype="none" class="input_s_essential" text="bind:chrgunitnm"/>
  225. <Cell col="10" class="input_s_essential" text="bind:chrgunitcd"/>
  226. <Cell col="11" displaytype="combo" edittype="combo" style="align:center middle;" class="input_s_essential" text="bind:educflag" combodisplayrowcount="20"/>
  227. <Cell col="12" displaytype="combo" edittype="combo" text="bind:medinstvalucd"/>
  228. <Cell col="13" displaytype="text" edittype="text" class="input_s_essential" text="bind:educnm"/>
  229. <Cell col="14" displaytype="text" edittype="text" class="combo_s_essential" text="bind:educdg" mask="###"/>
  230. <Cell col="15" displaytype="date" edittype="date" class="input_s_essential" text="bind:educfromdd" calendardisplaynulltype="nulltext"/>
  231. <Cell col="16" displaytype="date" edittype="date" class="input_s_essential" text="bind:eductodd" calendardisplaynulltype="nulltext"/>
  232. <Cell col="17" displaytype="text" edittype="text" style="align:center middle;" class="input_s_essential" text="bind:eductime" mask="##:##-##:##" maskchar=" "/>
  233. <Cell col="18" displaytype="text" edittype="text" style="align:center middle;" class="input_s_essential" text="bind:eductm"/>
  234. <Cell col="19" displaytype="text" edittype="text" class="combo_s_essential" text="bind:educplce"/>
  235. <Cell col="20" displaytype="number" edittype="normal" style="align:center middle;" class="input_s_essential" text="bind:newpsn"/>
  236. <Cell col="21" displaytype="number" edittype="normal" style="align:center middle;" class="input_s_essential" text="bind:oldpsn"/>
  237. <Cell col="22" displaytype="number" edittype="normal" style="align:center middle;" class="input_search" text="bind:totalpsn"/>
  238. <Cell col="23" displaytype="number" edittype="normal" style="align:center middle;color:#ff0000ff;color2:#ff0000ff;" class="input_search" text="bind:cmpltcurspsnno"/>
  239. <Cell col="24" displaytype="text" edittype="text" class="input_search" text="bind:lactr"/>
  240. <Cell col="25" displaytype="number" edittype="normal" class="input_search" text="bind:bugt"/>
  241. <Cell col="26" displaytype="text" edittype="text" text="bind:educvalu"/>
  242. </Band>
  243. </Format>
  244. </Formats>
  245. </Grid>
  246. <Static id="caption20" text="부서교육목록" class="tit_2" position="absolute 0 102 169 124"/>
  247. <Shape id="line8" class="line_10" position="absolute 0 118 1195 124" anchor="left top right"/>
  248. <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">
  249. <Formats>
  250. <Format id="default">
  251. <Columns>
  252. <Column size="25"/>
  253. <Column size="50"/>
  254. <Column size="93"/>
  255. <Column size="84"/>
  256. <Column size="97"/>
  257. <Column size="122"/>
  258. <Column size="119"/>
  259. <Column size="76"/>
  260. <Column size="80"/>
  261. <Column size="63"/>
  262. <Column size="113"/>
  263. <Column size="50"/>
  264. <Column size="166"/>
  265. <Column size="50"/>
  266. <Column size="74"/>
  267. <Column size="101"/>
  268. <Column size="94"/>
  269. <Column size="121"/>
  270. <Column size="50"/>
  271. <Column size="50"/>
  272. <Column size="50"/>
  273. </Columns>
  274. <Rows>
  275. <Row size="24" band="head"/>
  276. <Row size="24"/>
  277. </Rows>
  278. <Band id="head">
  279. <Cell/>
  280. <Cell col="1" text="년도"/>
  281. <Cell col="2" text="부"/>
  282. <Cell col="3" text="과(팀)"/>
  283. <Cell col="4" text="부서"/>
  284. <Cell col="5" text="교육구분"/>
  285. <Cell col="6" text="교육명"/>
  286. <Cell col="7" text="교육기간"/>
  287. <Cell col="8" text="교육기간"/>
  288. <Cell col="9" text="교육총시간"/>
  289. <Cell col="10" text="장소"/>
  290. <Cell col="11" text="이수인원"/>
  291. <Cell col="12" text="강사"/>
  292. <Cell col="13" text="사번"/>
  293. <Cell col="14" text="이름"/>
  294. <Cell col="15" text="기관"/>
  295. <Cell col="16" text="부서"/>
  296. <Cell col="17" text="근무지"/>
  297. <Cell col="18" text="직종"/>
  298. <Cell col="19" text="직위"/>
  299. <Cell col="20" text="입사일"/>
  300. </Band>
  301. <Band id="body">
  302. <Cell celltype="head"/>
  303. <Cell col="1" text="bind:appyy"/>
  304. <Cell col="2" text="bind:chrgdeptnm"/>
  305. <Cell col="3" text="bind:chrgteamnm"/>
  306. <Cell col="4" text="bind:chrgunitnm"/>
  307. <Cell col="5" text="bind:edugbn"/>
  308. <Cell col="6" text="bind:educnm"/>
  309. <Cell col="7" displaytype="date" text="bind:educfromdd" calendardisplaynulltype="nulltext"/>
  310. <Cell col="8" displaytype="date" text="bind:eductodd" calendardisplaynulltype="nulltext"/>
  311. <Cell col="9" text="bind:eductm"/>
  312. <Cell col="10" text="bind:educplce"/>
  313. <Cell col="11" text="bind:cmpltcurspsnno"/>
  314. <Cell col="12" text="bind:lactr"/>
  315. <Cell col="13" text="bind:emplno"/>
  316. <Cell col="14" text="bind:name"/>
  317. <Cell col="15" text="bind:dutinstnm"/>
  318. <Cell col="16" text="bind:dutdeptnm"/>
  319. <Cell col="17" text="bind:dutunitnm"/>
  320. <Cell col="18" text="bind:jobkindnm"/>
  321. <Cell col="19" text="bind:jobrespnm"/>
  322. <Cell col="20" displaytype="date" text="bind:cmcentcodd" calendardisplaynulltype="nulltext"/>
  323. </Band>
  324. </Format>
  325. </Formats>
  326. </Grid>
  327. <Button id="btn_dutunit" taborder="12" class="icon_search" enable="false" position="absolute 801 382 817 398" anchor="left bottom" onclick="btn_dutunit_onclick"/>
  328. <Button id="button1" taborder="13" class="icon_search" position="absolute 989 382 1005 398" anchor="left bottom" onclick="button1_onclick"/>
  329. <Button id="btn_search2" taborder="14" text="조회" class="btn1" position="absolute 1118 368 1174 390" anchor="right bottom" onclick="btn_search2_onclick"/>
  330. <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"/>
  331. <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"/>
  332. <Static id="caption21" text="입사일자 :" class="search_name" position="absolute 268 358 363 375" anchor="left bottom"/>
  333. <Edit id="ipt_dutunitnm" taborder="17" class="input_search" enable="false" position="absolute 643 381 799 400" autoskip="true" autoselect="true" anchor="left bottom"/>
  334. <Static id="caption22" text="~" position="absolute 443 356 454 376" anchor="left bottom"/>
  335. <Edit id="ipt_dutunitcd" taborder="18" class="input_search" visible="false" position="absolute 739 381 797 400" autoskip="true" autoselect="true" anchor="left bottom"/>
  336. <Static id="caption4" text="성 명 :" class="search_name" position="absolute 838 381 948 398" anchor="left bottom"/>
  337. <Edit id="ipt_emplnm" taborder="19" class="input_search" position="absolute 914 381 987 400" autoskip="true" autoselect="true" anchor="left bottom"/>
  338. <Shape id="line1" linetype="vertical" class="line_4" position="absolute 1097 353 1103 405" anchor="right bottom"/>
  339. <Edit id="ipt_emplno1" taborder="20" class="input_search" position="absolute 1008 381 1081 400" autoskip="true" autoselect="true" anchor="left bottom"/>
  340. <Combo id="cmb_dutinstcd" taborder="21" class="combo_s_essential" position="absolute 88 356 248 375" anchor="left bottom"/>
  341. <Static id="caption17" text="부 서 :" class="search_name" position="absolute 570 381 637 398" anchor="left bottom"/>
  342. <Static id="caption8" text="기 관 :" class="search_name" position="absolute 13 358 98 375" anchor="left bottom"/>
  343. <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">
  344. <Formats>
  345. <Format id="default">
  346. <Columns>
  347. <Column size="23"/>
  348. <Column size="25"/>
  349. <Column size="65"/>
  350. <Column size="60"/>
  351. <Column size="0"/>
  352. <Column size="60"/>
  353. <Column size="0"/>
  354. <Column size="110"/>
  355. <Column size="0"/>
  356. <Column size="100"/>
  357. <Column size="0"/>
  358. <Column size="100"/>
  359. <Column size="0"/>
  360. <Column size="55"/>
  361. <Column size="0"/>
  362. <Column size="0"/>
  363. <Column size="0"/>
  364. <Column size="53"/>
  365. <Column size="35"/>
  366. <Column size="0"/>
  367. <Column size="68"/>
  368. <Column size="0"/>
  369. <Column size="38"/>
  370. <Column size="42"/>
  371. <Column size="66"/>
  372. <Column size="0"/>
  373. </Columns>
  374. <Rows>
  375. <Row size="24" band="head"/>
  376. <Row size="24"/>
  377. </Rows>
  378. <Band id="head">
  379. <Cell/>
  380. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  381. <Cell col="2" text="사원번호"/>
  382. <Cell col="3" text="성명"/>
  383. <Cell col="4" text="교직구분코드"/>
  384. <Cell col="5" text="직원분류"/>
  385. <Cell col="6" text="근무기관코드"/>
  386. <Cell col="7" text="근무기관"/>
  387. <Cell col="8" text="근무부서코드"/>
  388. <Cell col="9" text="근무부서"/>
  389. <Cell col="10" text="caption2"/>
  390. <Cell col="11" text="근무지"/>
  391. <Cell col="12" text="성직구분코드"/>
  392. <Cell col="13" text="직원구분"/>
  393. <Cell col="14" text="직군코드"/>
  394. <Cell col="15" text="직군"/>
  395. <Cell col="16" text="신직급코드"/>
  396. <Cell col="17" text="신직급"/>
  397. <Cell col="18" text="년차"/>
  398. <Cell col="19" text="직종코드"/>
  399. <Cell col="20" text="직종"/>
  400. <Cell col="21" text="직책코드"/>
  401. <Cell col="22" text="직책"/>
  402. <Cell col="23" text="성별"/>
  403. <Cell col="24" text="입사일자"/>
  404. <Cell col="25" text="cmc입사일"/>
  405. </Band>
  406. <Band id="body">
  407. <Cell celltype="head" expr="currow+1"/>
  408. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'Y' ? 1 : 0"/>
  409. <Cell col="2" text="bind:emplno"/>
  410. <Cell col="3" text="bind:emplnm"/>
  411. <Cell col="4" text="bind:prfshipflag"/>
  412. <Cell col="5" text="bind:prfshipnm"/>
  413. <Cell col="6" text="bind:dutinstcd"/>
  414. <Cell col="7" text="bind:dutinstnm"/>
  415. <Cell col="8" text="bind:dutdeptcd"/>
  416. <Cell col="9" text="bind:dutdeptnm"/>
  417. <Cell col="10" text="bind:dutunitcd"/>
  418. <Cell col="11" text="bind:dutunitnm"/>
  419. <Cell col="12" text="bind:holyordflag"/>
  420. <Cell col="13" text="bind:holyordnm"/>
  421. <Cell col="14" text="bind:grupjoblncd"/>
  422. <Cell col="15" text="bind:grupjoblnnm"/>
  423. <Cell col="16" text="bind:njobgradcd"/>
  424. <Cell col="17" text="bind:njobgradnm"/>
  425. <Cell col="18" text="bind:anual"/>
  426. <Cell col="19" text="bind:jobkindcd"/>
  427. <Cell col="20" text="bind:jobkindnm"/>
  428. <Cell col="21" text="bind:jobrespcd"/>
  429. <Cell col="22" text="bind:jobrespnm"/>
  430. <Cell col="23" displaytype="combo" edittype="combo" text="bind:gender" enable="false"/>
  431. <Cell col="24" displaytype="date" text="bind:entcodd" calendardisplaynulltype="nulltext"/>
  432. <Cell col="25" text="bind:cmcentcodd" mask="yyyy-mm-dd"/>
  433. </Band>
  434. </Format>
  435. </Formats>
  436. </Grid>
  437. <Button id="btn_remove" taborder="23" text="초기화" class="btn2" position="absolute 528 414 581 433" anchor="left bottom" onclick="btn_remove_onclick"/>
  438. <Static id="caption16" text="직원목록" class="tit_2" position="absolute 0 417 144 438" anchor="left bottom"/>
  439. <Button id="btn_saveexcel" taborder="24" text="엑셀저장" class="btn7" position="absolute 980 414 1060 433" anchor="right bottom" onclick="btn_saveexcel_onclick"/>
  440. <Button id="btn_delrow" taborder="25" text="행삭제" class="btn2" position="absolute 1142 414 1195 433" anchor="right bottom" onclick="btn_delrow_onclick"/>
  441. <Static id="caption13" text="이수자 목록" class="tit_2" position="absolute 613 417 782 438" anchor="left bottom"/>
  442. <Button id="btn_loadexcel" taborder="26" text="엑셀입력" class="btn7" position="absolute 1061 414 1141 433" anchor="right bottom" onclick="btn_loadexcel_onclick"/>
  443. <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">
  444. <Formats>
  445. <Format id="default">
  446. <Columns>
  447. <Column size="23"/>
  448. <Column size="80"/>
  449. </Columns>
  450. <Rows>
  451. <Row size="24" band="head"/>
  452. <Row size="24"/>
  453. </Rows>
  454. <Band id="head">
  455. <Cell/>
  456. <Cell col="1" text="사번"/>
  457. </Band>
  458. <Band id="body">
  459. <Cell celltype="head"/>
  460. <Cell col="1" text="bind:emplno"/>
  461. </Band>
  462. </Format>
  463. </Formats>
  464. </Grid>
  465. <Shape id="line3" linetype="vertical" class="line_1" position="absolute 615 433 1195 434"/>
  466. <Shape id="line2" linetype="vertical" class="line_1" position="absolute 0 433 581 434"/>
  467. <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"/>
  468. <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"/>
  469. <Static id="caption28" text="입사일 :" class="search_name" visible="false" position="absolute 570 358 688 375" anchor="left bottom"/>
  470. <Static id="caption29" text="~" visible="false" position="absolute 773 358 789 374" anchor="left bottom"/>
  471. <Button id="btn_dutdept" taborder="32" class="icon_search" enable="false" position="absolute 230 382 246 398" anchor="left bottom" onclick="btn_dutdept_onclick"/>
  472. <Edit id="ipt_dutdeptnm" taborder="33" class="input_search" enable="false" position="absolute 88 381 228 400" autoskip="true" autoselect="true" anchor="left bottom"/>
  473. <Static id="caption5" text="과 (팀) :" class="search_name" position="absolute 268 381 355 398" anchor="left bottom"/>
  474. <Static id="caption7" text="부(실) :" class="search_name" position="absolute 13 381 99 398" anchor="left bottom"/>
  475. <Edit id="ipt_dutdeptcd" taborder="34" enable="false" visible="false" position="absolute 124 387 174 406" anchor="left bottom"/>
  476. <Button id="btn_dutteam" taborder="35" class="icon_search" enable="false" position="absolute 523 382 539 398" anchor="left bottom" onclick="btn_dutteam_onclick"/>
  477. <Edit id="ipt_dutteamnm" taborder="36" class="input_search" enable="false" position="absolute 353 381 521 400" autoskip="true" autoselect="true" anchor="left bottom"/>
  478. <Edit id="ipt_dutteamcd" taborder="37" enable="false" visible="false" position="absolute 388 387 438 406" anchor="left bottom"/>
  479. <Shape id="line00" class="line_10" position="absolute 0 433 581 439" anchor="left bottom"/>
  480. <Shape id="line04" class="line_10" position="absolute 613 433 1194 439" anchor="left right bottom"/>
  481. <Button id="btn_addtrgtman" taborder="38" onclick="button103_onclick" class="icon_right" position="absolute 583 603 609 622" anchor="left bottom"/>
  482. </Layout>
  483. </Layouts>
  484. <Objects>
  485. <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">
  486. <ColumnInfo>
  487. <Column id="appyy" type="STRING" size="256"/>
  488. <Column id="educflag" type="STRING" size="256"/>
  489. <Column id="dutinstcd" type="STRING" size="256"/>
  490. <Column id="chrgdeptnm" type="STRING" size="256"/>
  491. <Column id="chrgdeptcd" type="STRING" size="256"/>
  492. <Column id="chrgteamnm" type="STRING" size="256"/>
  493. <Column id="chrgteamcd" type="STRING" size="256"/>
  494. <Column id="chrgunitnm" type="STRING" size="256"/>
  495. <Column id="chrgunitcd" type="STRING" size="256"/>
  496. <Column id="emplno" type="STRING" size="256"/>
  497. <Column id="grdunitcd" type="STRING" size="256"/>
  498. <Column id="deptcd" type="STRING" size="256"/>
  499. <Column id="instcd" type="STRING" size="256"/>
  500. <Column id="posinstcd" type="STRING" size="256"/>
  501. </ColumnInfo>
  502. <Rows>
  503. <Row>
  504. <Col id="appyy"/>
  505. <Col id="educflag"/>
  506. <Col id="dutinstcd"/>
  507. <Col id="chrgdeptnm"/>
  508. <Col id="chrgdeptcd"/>
  509. <Col id="chrgteamnm"/>
  510. <Col id="chrgteamcd"/>
  511. <Col id="chrgunitnm"/>
  512. <Col id="chrgunitcd"/>
  513. <Col id="emplno"/>
  514. <Col id="grdunitcd"/>
  515. <Col id="deptcd"/>
  516. <Col id="instcd"/>
  517. <Col id="posinstcd"/>
  518. </Row>
  519. </Rows>
  520. </Dataset>
  521. <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">
  522. <ColumnInfo>
  523. <Column id="appyy" type="STRING" size="256" sumtext="연도"/>
  524. <Column id="depteduccd" type="STRING" size="256" sumtext="부서교육코드"/>
  525. <Column id="dutinstcd" type="STRING" size="256" sumtext="기관코드"/>
  526. <Column id="mainbdunit" type="STRING" size="256" sumtext="주체단위"/>
  527. <Column id="chrgdeptnm" type="STRING" size="256" sumtext="주관부서"/>
  528. <Column id="chrgdeptcd" type="STRING" size="256" sumtext="주관부서코드"/>
  529. <Column id="chrgteamnm" type="STRING" size="256" sumtext="주관팀"/>
  530. <Column id="chrgteamcd" type="STRING" size="256" sumtext="주관팀코드"/>
  531. <Column id="chrgunitnm" type="STRING" size="256" sumtext="주관유닛"/>
  532. <Column id="chrgunitcd" type="STRING" size="256" sumtext="주관유닛코드"/>
  533. <Column id="educflag" type="STRING" size="256" sumtext="교육구분"/>
  534. <Column id="medinstvalucd" type="STRING" size="256" sumtext="의료기관평가코드"/>
  535. <Column id="educnm" type="STRING" size="256" sumtext="과정명"/>
  536. <Column id="educdg" type="STRING" size="256" sumtext="차수"/>
  537. <Column id="educfromdd" type="STRING" size="256" sumtext="교육기간"/>
  538. <Column id="eductodd" type="STRING" size="256" sumtext="교육기간"/>
  539. <Column id="eductm" type="STRING" size="256" sumtext="교육시간"/>
  540. <Column id="educplce" type="STRING" size="256" sumtext="교육장소"/>
  541. <Column id="cmpltcurspsnno" type="NUMBER" size="256" sumtext="이수인원"/>
  542. <Column id="lactr" type="STRING" size="256" sumtext="강사"/>
  543. <Column id="bugt" type="NUMBER" size="256" sumtext="예산"/>
  544. <Column id="execinstnm" type="STRING" size="256" sumtext="실시기관"/>
  545. <Column id="eductime" type="STRING" size="256" sumtext="교육시간"/>
  546. <Column id="newpsn" type="NUMBER" size="256" sumtext="신입인원"/>
  547. <Column id="oldpsn" type="NUMBER" size="256" sumtext="재직원인원"/>
  548. <Column id="totalpsn" type="NUMBER" size="256" sumtext="총인원"/>
  549. <Column id="educvalu" type="STRING" size="256" sumtext="교육평가"/>
  550. </ColumnInfo>
  551. </Dataset>
  552. <Dataset id="ds_main_grid_educlist_exl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  553. <ColumnInfo>
  554. <Column id="appyy" type="STRING" size="256" sumtext="연도"/>
  555. <Column id="chrgdeptnm" type="STRING" size="256" sumtext="주관부서"/>
  556. <Column id="chrgteamnm" type="STRING" size="256" sumtext="주관팀"/>
  557. <Column id="chrgunitnm" type="STRING" size="256" sumtext="주관유닛"/>
  558. <Column id="edugbn" type="STRING" size="256" sumtext="교육구분"/>
  559. <Column id="educnm" type="STRING" size="256" sumtext="교육명"/>
  560. <Column id="educfromdd" type="STRING" size="256" sumtext="교육기간"/>
  561. <Column id="eductodd" type="STRING" size="256" sumtext="교육기간"/>
  562. <Column id="eductm" type="STRING" size="256" sumtext="교육시간"/>
  563. <Column id="educplce" type="STRING" size="256" sumtext="교육장소"/>
  564. <Column id="cmpltcurspsnno" type="STRING" size="256" sumtext="이수인원"/>
  565. <Column id="lactr" type="STRING" size="256" sumtext="강사"/>
  566. <Column id="depteduccd" type="STRING" size="256" sumtext="교육코드"/>
  567. <Column id="emplno" type="STRING" size="256" sumtext="사번"/>
  568. <Column id="name" type="STRING" size="256" sumtext="이름"/>
  569. <Column id="dutinstcd" type="STRING" size="256" sumtext="소속기관"/>
  570. <Column id="dutinstnm" type="STRING" size="256" sumtext="소속기관"/>
  571. <Column id="dutdeptcd" type="STRING" size="256" sumtext="소속부서"/>
  572. <Column id="dutdeptnm" type="STRING" size="256" sumtext="소속부서"/>
  573. <Column id="dutunitcd" type="STRING" size="256" sumtext="소속근무지"/>
  574. <Column id="dutunitnm" type="STRING" size="256" sumtext="소속근무지"/>
  575. <Column id="jobkindcd" type="STRING" size="256" sumtext="직종"/>
  576. <Column id="jobkindnm" type="STRING" size="256" sumtext="직종"/>
  577. <Column id="jobrespcd" type="STRING" size="256" sumtext="직위"/>
  578. <Column id="jobrespnm" type="STRING" size="256" sumtext="직위"/>
  579. <Column id="cmcentcodd" type="STRING" size="256" sumtext="입사일"/>
  580. </ColumnInfo>
  581. </Dataset>
  582. <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">
  583. <ColumnInfo>
  584. <Column id="chk" type="STRING" size="256" sumtext="선택"/>
  585. <Column id="emplno" type="STRING" size="256" sumtext="사원번호"/>
  586. <Column id="emplnm" type="STRING" size="256" sumtext="성명"/>
  587. <Column id="dutinstcd" type="STRING" size="256" sumtext="근무기관"/>
  588. <Column id="dutinstnm" type="STRING" size="256" sumtext="근무기관"/>
  589. <Column id="dutdeptcd" type="STRING" size="256" sumtext="근무부서"/>
  590. <Column id="dutdeptnm" type="STRING" size="256" sumtext="근무부서"/>
  591. <Column id="dutunitcd" type="STRING" size="256" sumtext="근무지부서"/>
  592. <Column id="dutunitnm" type="STRING" size="256" sumtext="근무지부서"/>
  593. <Column id="prfshipflag" type="STRING" size="256" sumtext="교직구분"/>
  594. <Column id="prfshipnm" type="STRING" size="256" sumtext="교직구분"/>
  595. <Column id="holyordflag" type="STRING" size="256" sumtext="성직구분"/>
  596. <Column id="holyordnm" type="STRING" size="256" sumtext="성직구분"/>
  597. <Column id="grupjoblncd" type="STRING" size="256" sumtext="직군코드"/>
  598. <Column id="grupjoblnnm" type="STRING" size="256" sumtext="직군"/>
  599. <Column id="njobgradcd" type="STRING" size="256" sumtext="신직급코드"/>
  600. <Column id="njobgradnm" type="STRING" size="256" sumtext="신직급"/>
  601. <Column id="jobkindcd" type="STRING" size="256" sumtext="직종코드"/>
  602. <Column id="jobkindnm" type="STRING" size="256" sumtext="직종"/>
  603. <Column id="jobrespcd" type="STRING" size="256" sumtext="직책코드"/>
  604. <Column id="jobrespnm" type="STRING" size="256" sumtext="직책"/>
  605. <Column id="gender" type="STRING" size="256" sumtext="성별"/>
  606. <Column id="entcodd" type="STRING" size="256" sumtext="입사일"/>
  607. <Column id="cmcentcodd" type="STRING" size="256" sumtext="입사일"/>
  608. <Column id="anual" type="STRING" size="256" sumtext="년차"/>
  609. </ColumnInfo>
  610. </Dataset>
  611. <Dataset id="ds_main_list2_eductrgtmanlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  612. <ColumnInfo>
  613. <Column id="instcd" type="STRING" size="256" sumtext="instcd"/>
  614. <Column id="educdg" type="STRING" size="256" sumtext="교육차수"/>
  615. <Column id="appyy" type="STRING" size="256" sumtext="적용년도"/>
  616. <Column id="depteduccd" type="STRING" size="256" sumtext="교육코드"/>
  617. <Column id="eduinstcd" type="STRING" size="256" sumtext="교육기관코드"/>
  618. <Column id="emplno" type="STRING" size="256" sumtext="사원번호"/>
  619. <Column id="emplnm" type="STRING" size="256" sumtext="성명"/>
  620. <Column id="dutinstcd" type="STRING" size="256" sumtext="근무기관코드"/>
  621. <Column id="dutinstnm" type="STRING" size="256" sumtext="근무기관명"/>
  622. <Column id="dutdeptcd" type="STRING" size="256" sumtext="소속부서코드"/>
  623. <Column id="dutdeptnm" type="STRING" size="256" sumtext="소숙부서"/>
  624. <Column id="dutunitcd" type="STRING" size="256" sumtext="근무지코드"/>
  625. <Column id="dutunitnm" type="STRING" size="256" sumtext="근무지부서"/>
  626. <Column id="prfshipflag" type="STRING" size="256" sumtext="교직구분"/>
  627. <Column id="prfshipnm" type="STRING" size="256" sumtext="교직구분"/>
  628. <Column id="holyordflag" type="STRING" size="256" sumtext="성직구분"/>
  629. <Column id="holyordnm" type="STRING" size="256" sumtext="성직구분"/>
  630. <Column id="grupjoblncd" type="STRING" size="256" sumtext="직군코드"/>
  631. <Column id="grupjoblnnm" type="STRING" size="256" sumtext="직군"/>
  632. <Column id="njobgradcd" type="STRING" size="256" sumtext="신직급코드"/>
  633. <Column id="jobgradorddd" type="STRING" size="256" sumtext="현직급발령일"/>
  634. <Column id="njobgradnm" type="STRING" size="256" sumtext="신직급"/>
  635. <Column id="anual" type="STRING" size="256" sumtext="년차"/>
  636. <Column id="jobkindcd" type="STRING" size="256" sumtext="직종코드"/>
  637. <Column id="jobkindnm" type="STRING" size="256" sumtext="직종"/>
  638. <Column id="jobrespcd" type="STRING" size="256" sumtext="직책코드"/>
  639. <Column id="jobresporddd" type="STRING" size="256" sumtext="현직책발령일"/>
  640. <Column id="jobrespnm" type="STRING" size="256" sumtext="직책"/>
  641. <Column id="gender" type="STRING" size="256" sumtext="성별"/>
  642. <Column id="entcodd" type="STRING" size="256" sumtext="입사일"/>
  643. <Column id="cmcentcodd" type="STRING" size="256" sumtext="입사일"/>
  644. </ColumnInfo>
  645. </Dataset>
  646. <Dataset id="ds_main_list4_excellist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  647. <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">
  648. <ColumnInfo>
  649. <Column id="instcd" type="STRING" size="256"/>
  650. <Column id="dutunitcd" type="STRING" size="256"/>
  651. <Column id="dutunitnm" type="STRING" size="256"/>
  652. <Column id="frentcodd" type="STRING" size="256"/>
  653. <Column id="toentcodd" type="STRING" size="256"/>
  654. <Column id="emplnm" type="STRING" size="256"/>
  655. <Column id="emplno" type="STRING" size="256"/>
  656. <Column id="appyy" type="STRING" size="256"/>
  657. <Column id="depteduccd" type="STRING" size="256"/>
  658. <Column id="cmcfromdd" type="STRING" size="256"/>
  659. <Column id="cmctodd" type="STRING" size="256"/>
  660. <Column id="dutteamcd" type="STRING" size="256"/>
  661. <Column id="dutteamnm" type="STRING" size="256"/>
  662. <Column id="dutdeptcd" type="STRING" size="256"/>
  663. <Column id="dutdeptnm" type="STRING" size="256"/>
  664. <Column id="eduinstcd" type="STRING" size="256"/>
  665. </ColumnInfo>
  666. <Rows>
  667. <Row>
  668. <Col id="instcd"/>
  669. <Col id="dutunitcd"/>
  670. <Col id="dutunitnm"/>
  671. <Col id="frentcodd"/>
  672. <Col id="toentcodd"/>
  673. <Col id="emplnm"/>
  674. <Col id="emplno"/>
  675. <Col id="appyy"/>
  676. <Col id="depteduccd"/>
  677. <Col id="cmcfromdd"/>
  678. <Col id="cmctodd"/>
  679. <Col id="dutteamcd"/>
  680. <Col id="dutteamnm"/>
  681. <Col id="dutdeptcd"/>
  682. <Col id="dutdeptnm"/>
  683. <Col id="eduinstcd"/>
  684. </Row>
  685. </Rows>
  686. </Dataset>
  687. <Dataset id="ds_init_emplinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  688. <ColumnInfo>
  689. <Column id="emplno" type="STRING" size="256" sumtext="사원번호"/>
  690. <Column id="emplnm" type="STRING" size="256" sumtext="성명"/>
  691. <Column id="dutplceinst" type="STRING" size="256" sumtext="근무기관"/>
  692. <Column id="dutplceinstnm" type="STRING" size="256" sumtext="근무기관명"/>
  693. <Column id="dutdeptcd" type="STRING" size="256" sumtext="근무부서"/>
  694. <Column id="dutdeptnm" type="STRING" size="256" sumtext="근무부서명"/>
  695. <Column id="dutteamcd" type="STRING" size="256" sumtext="근무팀"/>
  696. <Column id="dutteamnm" type="STRING" size="256" sumtext="근무팀명"/>
  697. <Column id="dutunitcd" type="STRING" size="256" sumtext="근무유닛"/>
  698. <Column id="dutunitnm" type="STRING" size="256" sumtext="근무유닛명"/>
  699. </ColumnInfo>
  700. </Dataset>
  701. <Dataset id="ds_init_deptadmin" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  702. <ColumnInfo>
  703. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  704. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
  705. <Column id="deptnm" type="STRING" size="256" sumtext="부서명"/>
  706. <Column id="teamyn" type="STRING" size="256" sumtext="팀선택가능여부"/>
  707. <Column id="unityn" type="STRING" size="256" sumtext="부서선택가능여부"/>
  708. <Column id="emplno" type="STRING" size="256" sumtext="사원번호"/>
  709. <Column id="emplnm" type="STRING" size="256" sumtext="사원이름"/>
  710. </ColumnInfo>
  711. </Dataset>
  712. </Objects>
  713. <Bind>
  714. <BindItem id="item0" compid="group4.ipt_appyy" propid="value" datasetid="ds_send_search" columnid="appyy"/>
  715. <BindItem id="item1" compid="group4.ipt_chrgdeptnm" propid="value" datasetid="ds_send_search" columnid="chrgdeptnm"/>
  716. <BindItem id="item2" compid="group4.ipt_chrgdeptcd" propid="value" datasetid="ds_send_search" columnid="chrgdeptcd"/>
  717. <BindItem id="item3" compid="group4.ipt_chrgteamnm" propid="value" datasetid="ds_send_search" columnid="chrgteamnm"/>
  718. <BindItem id="item4" compid="group4.ipt_chrgteamcd" propid="value" datasetid="ds_send_search" columnid="chrgteamcd"/>
  719. <BindItem id="item5" compid="group4.ipt_chrgunitnm" propid="value" datasetid="ds_send_search" columnid="chrgunitnm"/>
  720. <BindItem id="item6" compid="group4.ipt_chrgunitcd" propid="value" datasetid="ds_send_search" columnid="chrgunitcd"/>
  721. <BindItem id="item7" compid="group4.cmb_educflag" propid="value" datasetid="ds_send_search" columnid="educflag"/>
  722. <BindItem id="item8" compid="ipt_dutinstcd" propid="value" datasetid="ds_send_search" columnid="dutinstcd"/>
  723. <BindItem id="item9" compid="ipt_emplno" propid="value" datasetid="ds_send_search" columnid="emplno"/>
  724. <BindItem id="item10" compid="cmb_dutinstcd" propid="value" datasetid="ds_send_emplsearch" columnid="instcd"/>
  725. <BindItem id="item11" compid="ipt_frentcodd" propid="value" datasetid="ds_send_emplsearch" columnid="frentcodd"/>
  726. <BindItem id="item12" compid="ipt_toentcodd" propid="value" datasetid="ds_send_emplsearch" columnid="toentcodd"/>
  727. <BindItem id="item13" compid="ipt_dutteamcd" propid="value" datasetid="ds_send_emplsearch" columnid="dutteamcd"/>
  728. <BindItem id="item14" compid="ipt_dutteamnm" propid="value" datasetid="ds_send_emplsearch" columnid="dutteamnm"/>
  729. <BindItem id="item15" compid="ipt_dutdeptcd" propid="value" datasetid="ds_send_emplsearch" columnid="dutdeptcd"/>
  730. <BindItem id="item16" compid="ipt_dutdeptnm" propid="value" datasetid="ds_send_emplsearch" columnid="dutdeptnm"/>
  731. <BindItem id="item17" compid="ipt_cmcfromdd" propid="value" datasetid="ds_send_emplsearch" columnid="cmcfromdd"/>
  732. <BindItem id="item18" compid="ipt_cmctodd" propid="value" datasetid="ds_send_emplsearch" columnid="cmctodd"/>
  733. <BindItem id="item19" compid="ipt_dutunitnm" propid="value" datasetid="ds_send_emplsearch" columnid="dutunitnm"/>
  734. <BindItem id="item20" compid="ipt_dutunitcd" propid="value" datasetid="ds_send_emplsearch" columnid="dutunitcd"/>
  735. <BindItem id="item21" compid="ipt_emplnm" propid="value" datasetid="ds_send_emplsearch" columnid="emplnm"/>
  736. <BindItem id="item22" compid="ipt_emplno1" propid="value" datasetid="ds_send_emplsearch" columnid="emplno"/>
  737. </Bind>
  738. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  739. * System Name :
  740. * Job Name :
  741. * Creator :
  742. * Make Date : 2017-06-19
  743. * Description :
  744. *---------------------------------------------------------------------------------------
  745. * Modify Date Modifier Modify Description
  746. *---------------------------------------------------------------------------------------
  747. * 2017-06-19 Live Converter TF->XP
  748. *
  749. *---------------------------------------------------------------------------------------
  750. ****************************************************************************************/
  751. include "com_commonxp::comm_main.xjs";
  752. include "mis_miscommonxp::MIS.xjs";
  753. include "mis_humtrafactmngtxp::RPB001.xjs";
  754. include "mis_educationmngtxp::RPS001.xjs";
  755. function SMRPS04000_oninit(obj:Form, e:InitEventInfo)
  756. {
  757. frmf_initForm(obj);
  758. }
  759. function SMRPS04000_onload(obj:Form, e:LoadEventInfo)
  760. {
  761. grdf_initGrid(grd_educlist);
  762. grdf_setRowTypeIcon(grd_educlist, 0);
  763. grdf_initGrid(grd_educlistall);
  764. grdf_setRowTypeIcon(grd_educlistall, 0);
  765. grdf_initGrid(grd_emplist);
  766. grdf_initGrid(grd_eductrgtmanlist);
  767. grdf_setRowTypeIcon(grd_eductrgtmanlist, 0);
  768. grdf_initGrid(grd_loadexcel);
  769. grdf_setRowTypeIcon(grd_loadexcel, 0);
  770. misfGetUserAuth();
  771. misfGetAndSetUserInfo();
  772. ds_send_search.setColumn(0, "emplno", sysf_getUserInfo("userid"));
  773. var oParam = {};
  774. oParam.id = "TRRPS04000";
  775. oParam.service = "educationmngtapp.DeptEducMngt";
  776. oParam.method = "reqGetEmplInfo";
  777. oParam.inds = "req=ds_send_search";
  778. oParam.outds = "ds_init_emplinfo=emplinfo";
  779. oParam.async = false;
  780. //oParam.callback = "cf_TRRPS04000";
  781. tranf_submit(oParam);
  782. var curdate = utlf_getCurrentDate();
  783. ds_send_search.setColumn(0, "appyy", String(curdate).substr(0, 4));
  784. ds_send_search.setColumn(0, "dutinstcd", ds_init_emplinfo.getColumn(0, "dutplceinst"));
  785. if(sysf_getUserInfo("userid") == "MIS")
  786. {
  787. ipt_dutdeptcd.value = sysf_getUserInfo("dutplceinstcd");
  788. }
  789. ds_send_search.setColumn(0, "posinstcd", ds_init_emplinfo.getColumn(0, "dutplceinst"));
  790. ds_send_search.setColumn(0, "chrgdeptnm", ds_init_emplinfo.getColumn(0, "dutdeptnm"));
  791. ds_send_search.setColumn(0, "chrgdeptcd", ds_init_emplinfo.getColumn(0, "dutdeptcd"));
  792. ds_send_search.setColumn(0, "chrgteamnm", ds_init_emplinfo.getColumn(0, "dutteamnm"));
  793. ds_send_search.setColumn(0, "chrgteamcd", ds_init_emplinfo.getColumn(0, "dutteamcd"));
  794. ds_send_search.setColumn(0, "chrgunitnm", ds_init_emplinfo.getColumn(0, "dutunitnm"));
  795. ds_send_search.setColumn(0, "chrgunitcd", ds_init_emplinfo.getColumn(0, "dutunitcd"));
  796. ds_send_emplsearch.enableevent = false;
  797. ds_send_emplsearch.setColumn(0, "dutdeptnm", ds_init_emplinfo.getColumn(0, "dutdeptnm"));
  798. ds_send_emplsearch.setColumn(0, "dutdeptcd", ds_init_emplinfo.getColumn(0, "dutdeptcd"));
  799. ds_send_emplsearch.setColumn(0, "dutteamnm", ds_init_emplinfo.getColumn(0, "dutteamnm"));
  800. ds_send_emplsearch.setColumn(0, "dutteamcd", ds_init_emplinfo.getColumn(0, "dutteamcd"));
  801. ds_send_emplsearch.setColumn(0, "dutunitcd", ds_init_emplinfo.getColumn(0, "dutunitnm"));
  802. ds_send_emplsearch.setColumn(0, "dutunitcd", ds_init_emplinfo.getColumn(0, "dutunitcd"));
  803. ds_send_emplsearch.enableevent = true;
  804. if ( DUTY_EDU_YN == "Y" || DUTY_RESP_YN == "Y" || DUTY_PART_YN == "Y" )
  805. {
  806. group4.ipt_chrgdeptnm.enable = true;
  807. group4.ipt_chrgteamnm.enable = true;
  808. group4.ipt_chrgunitnm.enable = true;
  809. group4.btn_dept.enable = true;
  810. group4.btn_team.enable = true;
  811. group4.btn_unit.enable = true;
  812. ipt_dutdeptnm.enable = true;
  813. ipt_dutteamnm.enable = true;
  814. ipt_dutunitnm.enable = true;
  815. btn_dutdept.enable = true;
  816. btn_dutteam.enable = true;
  817. btn_dutunit.enable = true;
  818. }
  819. else
  820. {
  821. fCheckDisabled();
  822. }
  823. misfGridInit(grd_educlist);
  824. grd_educlist.setFormatRowProperty(0, "size", 40);
  825. //misfMsterDetailSet(grd_educlist,null, "TRRPS04001" ,"Y");
  826. rpsEducSetComboList("M01-007,M01-005,M01-007", "group4.cmb_educflag,grd_educlist/medinstvalucd,grd_educlist/educflag", "Y");
  827. misfComboComCdListMulti("Z0007", "cmb_dutinstcd");
  828. ds_send_emplsearch.setColumn(0, "instcd", ds_init_emplinfo.getColumn(0, "dutplceinst"));
  829. ds_send_emplsearch.setColumn(0, "dutunitnm", ds_init_emplinfo.getColumn(0, "dutunitnm"));
  830. ds_send_emplsearch.setColumn(0, "dutunitcd", ds_init_emplinfo.getColumn(0, "dutunitcd"));
  831. }
  832. function fCheckDisabled()
  833. {
  834. fCheckAdmin();
  835. if( ds_init_deptadmin.getColumn(0, "teamyn") == "Y")
  836. {
  837. group4.ipt_chrgteamnm.enable = true;
  838. group4.ipt_chrgunitnm.enable = true;
  839. group4.btn_team.enable = true;
  840. group4.btn_unit.enable = true;
  841. ipt_dutteamnm.enable = true;
  842. ipt_dutunitnm.enable = true;
  843. btn_dutteam.enable = true;
  844. btn_dutunit.enable = true;
  845. }
  846. else if( ds_init_deptadmin.getColumn(0, "unityn") == "Y")
  847. {
  848. group4.ipt_chrgunitnm.enable = true;
  849. group4.btn_unit.enable = true;
  850. ipt_dutunitnm.enable = true;
  851. btn_dutunit.enable = true;
  852. }
  853. else
  854. {
  855. group4.ipt_chrgteamnm.enable = false;
  856. group4.ipt_chrgunitnm.enable = false;
  857. group4.btn_team.enable = false;
  858. group4.btn_unit.enable = false;
  859. ipt_dutteamnm.enable = false;
  860. ipt_dutunitnm.enable = false;
  861. btn_dutteam.enable = false;
  862. btn_dutunit.enable = false;
  863. }
  864. }
  865. function fCheckAdmin()
  866. {
  867. ds_send_search.setColumn(0, "instcd", ds_init_emplinfo.getColumn(0, "dutplceinst"));
  868. var oParam = {};
  869. oParam.id = "TRRPS04999";
  870. oParam.service = "educationmngtapp.DeptEducMngt";
  871. oParam.method = "reqGetDeptYNList";
  872. oParam.inds = "req=ds_send_search";
  873. oParam.outds = "ds_init_deptadmin=deptadmin";
  874. oParam.async = false;
  875. //oParam.callback = "cf_TRRPS04999";
  876. tranf_submit(oParam);
  877. if(ds_init_deptadmin.getColumn(0, "emplno") == ipt_emplno.value)
  878. {
  879. btn_save.enable = true;
  880. group4.btn_search.enable = true;
  881. }
  882. else
  883. {
  884. btn_save.enable = false;
  885. group4.btn_search.enable = false;
  886. }
  887. }
  888. function group4_ipt_appyy_onchanged(obj:Calendar, e:ChangeEventInfo)
  889. {
  890. var date = String(obj.value).substr(0,4)
  891. ds_send_search.setColumn(0, "appyy", date);
  892. }
  893. function group4_btn_dept_onclick(obj:Button, e:ClickEventInfo)
  894. {
  895. rpsfEducOpenPopUpList("05", ds_send_search, "", "chrgdeptcd,chrgdeptnm", ipt_dutinstcd.value, "instcd");
  896. ds_send_search.setColumn(0, "chrgteamnm", "");
  897. ds_send_search.setColumn(0, "chrgteamcd", "");
  898. ds_send_search.setColumn(0, "chrgunitnm", "");
  899. ds_send_search.setColumn(0, "chrgunitcd", "");
  900. }
  901. function group4_btn_team_onclick(obj:Button, e:ClickEventInfo)
  902. {
  903. rpsfEducOpenPopUpList("06", ds_send_search, "", "chrgteamcd,chrgteamnm", ipt_dutinstcd.value, "instcd");
  904. ds_send_search.setColumn(0, "chrgunitnm", "");
  905. ds_send_search.setColumn(0, "chrgunitcd", "");
  906. }
  907. function group4_btn_unit_onclick(obj:Button, e:ClickEventInfo)
  908. {
  909. var unitcd = group4.ipt_chrgunitcd.value;
  910. var unitnm = group4.ipt_chrgunitnm.value;
  911. rpsfEducOpenPopUpList("07", ds_send_search, "", "chrgunitcd,chrgunitnm", ipt_dutinstcd.value, "instcd");
  912. if(!utlf_isNull(group4.ipt_chrgunitnm.value))
  913. {
  914. if ( DUTY_EDU_YN == "Y" || DUTY_RESP_YN == "Y" || DUTY_PART_YN == "Y" )
  915. {
  916. ds_send_search.setColumn(0, "grdunitcd", group4.ipt_chrgunitcd.value);
  917. ds_send_search.setColumn(0, "emplno", "");
  918. var oParam = {};
  919. oParam.id = "TRRPS04000";
  920. oParam.service = "educationmngtapp.DeptEducMngt";
  921. oParam.method = "reqGetEmplInfo";
  922. oParam.inds = "req=ds_send_search";
  923. oParam.outds = "ds_init_emplinfo=emplinfo";
  924. oParam.async = false;
  925. //oParam.callback = "cf_TRRPS04000";
  926. tranf_submit(oParam);
  927. ds_send_search.setColumn(0, "emplno", sysf_getUserInfo("userid"));
  928. ds_send_search.setColumn(0, "chrgdeptnm", ds_init_emplinfo.getColumn(0, "dutdeptnm"));
  929. ds_send_search.setColumn(0, "chrgdeptcd", ds_init_emplinfo.getColumn(0, "dutdeptcd"));
  930. ds_send_search.setColumn(0, "chrgteamnm", ds_init_emplinfo.getColumn(0, "dutteamnm"));
  931. ds_send_search.setColumn(0, "chrgteamcd", ds_init_emplinfo.getColumn(0, "dutteamcd"));
  932. }
  933. else
  934. {
  935. fCheckAdmin();
  936. ds_send_search.setColumn(0, "grdunitcd", group4.ipt_chrgunitcd.value);
  937. ds_send_search.setColumn(0, "emplno", "");
  938. var oParam = {};
  939. oParam.id = "TRRPS04000";
  940. oParam.service = "educationmngtapp.DeptEducMngt";
  941. oParam.method = "reqGetEmplInfo";
  942. oParam.inds = "req=ds_send_search";
  943. oParam.outds = "ds_init_emplinfo=emplinfo";
  944. oParam.async = false;
  945. //oParam.callback = "cf_TRRPS04000";
  946. tranf_submit(oParam);
  947. ds_send_search.setColumn(0, "emplno", sysf_getUserInfo("userid"));
  948. ds_send_search.setColumn(0, "chrgdeptnm", ds_init_emplinfo.getColumn(0, "dutdeptnm"));
  949. ds_send_search.setColumn(0, "chrgdeptcd", ds_init_emplinfo.getColumn(0, "dutdeptcd"));
  950. ds_send_search.setColumn(0, "chrgteamnm", ds_init_emplinfo.getColumn(0, "dutteamnm"));
  951. ds_send_search.setColumn(0, "chrgteamcd", ds_init_emplinfo.getColumn(0, "dutteamcd"));
  952. }
  953. }
  954. }
  955. function group4_btn_search_onclick(obj:Button, e:ClickEventInfo)
  956. {
  957. arrCompId = new Array("group4.ipt_appyy");
  958. if(!frmf_isRequiredControls(arrCompId))
  959. {
  960. return;
  961. }
  962. var oParam = {};
  963. oParam.id = "TRRPS04001";
  964. oParam.service = "educationmngtapp.DeptEducMngt";
  965. oParam.method = "reqGetDeptEducList";
  966. oParam.inds = "req=ds_send_search";
  967. oParam.outds = "ds_main_grid_educlist=educlist";
  968. oParam.async = false;
  969. //oParam.callback = "cf_TRRPS04001";
  970. tranf_submit(oParam);
  971. }
  972. function ds_main_grid_educlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  973. {
  974. if( e.columnid == "newpsn" || e.columnid == "oldpsn")
  975. {
  976. obj.setColumn(e.row, "totalpsn", parseInt(obj.getColumn(e.row, "newpsn"))+ parseInt(obj.getColumn(e.row, "oldpsn")))
  977. }
  978. }
  979. function grd_educlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  980. {
  981. if( ds_main_grid_educlist.getRowType(e.row) != "1" )
  982. {
  983. return ;
  984. }
  985. fEducTrgtManListRetrieve();
  986. btn_search2_onclick();
  987. }
  988. function fEducTrgtManListRetrieve()
  989. {
  990. ds_send_emplsearch.setColumn(0, "appyy", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "appyy"));
  991. ds_send_emplsearch.setColumn(0, "depteduccd", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "depteduccd"));
  992. ds_send_emplsearch.setColumn(0, "eduinstcd", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "dutinstcd"));
  993. var oParam = {};
  994. oParam.id = "TRRPS04102";
  995. oParam.service = "educationmngtapp.DeptEducMngt";
  996. oParam.method = "reqGetEducTrgtManList";
  997. oParam.inds = "req=ds_send_emplsearch";
  998. oParam.outds = "ds_main_list2_eductrgtmanlist=eductrgtmanlist";
  999. oParam.async = false;
  1000. //oParam.callback = "cf_TRRPS04102";
  1001. tranf_submit(oParam);
  1002. }
  1003. function btn_search2_onclick(obj:Button, e:ClickEventInfo)
  1004. {
  1005. for(var idx = 0; idx < ds_main_grid_educlist.rowcount; idx++)
  1006. {
  1007. if( ds_main_grid_educlist.getRowType(idx) == 1 )
  1008. {
  1009. continue;
  1010. }
  1011. else
  1012. {
  1013. if(sysf_messageBox("변경된 교육이 있습니다. 저장하시겠습니까?","Q999") == "6")
  1014. {
  1015. if( fCheckColumn() )
  1016. {
  1017. var row = ds_main_grid_educlist.rowposition;
  1018. var oParam = {};
  1019. oParam.id = "TXRPS04001";
  1020. oParam.service = "educationmngtapp.DeptEducMngt";
  1021. oParam.method = "reqExeDeptEducList";
  1022. oParam.inds = "req=ds_main_grid_educlist:u";
  1023. oParam.outds = "";
  1024. oParam.async = false;
  1025. //oParam.callback = "cf_TXRPS04001";
  1026. tranf_submit(oParam);
  1027. var oParam = {};
  1028. oParam.id = "TRRPS04001";
  1029. oParam.service = "educationmngtapp.DeptEducMngt";
  1030. oParam.method = "reqGetDeptEducList";
  1031. oParam.inds = "req=ds_send_search";
  1032. oParam.outds = "ds_main_grid_educlist=educlist";
  1033. oParam.async = false;
  1034. //oParam.callback = "cf_TRRPS04001";
  1035. tranf_submit(oParam);
  1036. ds_main_grid_educlist.rowposition = row;
  1037. }
  1038. }
  1039. else
  1040. {
  1041. return;
  1042. }
  1043. }
  1044. }
  1045. if( ds_main_grid_educlist.rowcount == 0 )
  1046. {
  1047. sysf_messageBox("교육먼저 선택해 주세요.","C999");
  1048. return;
  1049. }
  1050. else
  1051. {
  1052. fEmpListRetrieve();
  1053. }
  1054. }
  1055. function fCheckColumn()
  1056. {
  1057. for(var idx = 0; idx < ds_main_grid_educlist.rowcount; idx++ )
  1058. {
  1059. if(ds_main_grid_educlist.getRowType(idx) == "2" || ds_main_grid_educlist.getRowType(idx) == "4")
  1060. {
  1061. if(utlf_isNull(ds_main_grid_educlist.getColumn(0, "educflag")))
  1062. {
  1063. sysf_messageBox("교육구분은","I003");
  1064. return false;
  1065. }
  1066. else if(utlf_isNull(ds_main_grid_educlist.getColumn(0, "educnm")))
  1067. {
  1068. sysf_messageBox("교육명은","I003");
  1069. return false;
  1070. }
  1071. else if(utlf_isNull(ds_main_grid_educlist.getColumn(0, "educfromdd")))
  1072. {
  1073. sysf_messageBox("교육기간(from)은","I003");
  1074. return false;
  1075. }
  1076. else if(utlf_isNull(ds_main_grid_educlist.getColumn(0, "eductodd")))
  1077. {
  1078. sysf_messageBox("교육기간(to)은","I003");
  1079. return false;
  1080. }
  1081. else if(utlf_isNull(ds_main_grid_educlist.getColumn(0, "eductime")))
  1082. {
  1083. sysf_messageBox("교육시간일정은","I003");
  1084. return false;
  1085. }
  1086. else if(utlf_isNull(ds_main_grid_educlist.getColumn(0, "eductm")))
  1087. {
  1088. sysf_messageBox("교육총시간은","I003");
  1089. return false;
  1090. }
  1091. else if(utlf_isNull(ds_main_grid_educlist.getColumn(0, "educplce")))
  1092. {
  1093. sysf_messageBox("교육장소는","I003");
  1094. return false;
  1095. }
  1096. return true;
  1097. }
  1098. }
  1099. }
  1100. function fEmpListRetrieve()
  1101. {
  1102. ds_send_emplsearch.setColumn(0, "appyy", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "appyy"));
  1103. ds_send_emplsearch.setColumn(0, "depteduccd", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "depteduccd"));
  1104. ds_main_list3_emplist.clearData();
  1105. var oParam = {};
  1106. oParam.id = "TRRPS04103";
  1107. oParam.service = "educationmngtapp.DeptEducMngt";
  1108. oParam.method = "reqGetEducEmpList";
  1109. oParam.inds = "req=ds_send_emplsearch";
  1110. oParam.outds = "ds_main_list3_emplist=emplist";
  1111. oParam.async = false;
  1112. //oParam.callback = "cf_TRRPS04103";
  1113. tranf_submit(oParam);
  1114. }
  1115. function ds_send_emplsearch_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1116. {
  1117. if(e.columnid == "dutdeptnm")
  1118. {
  1119. if(e.newvalue.getByteLength() == "0")
  1120. {
  1121. ipt_dutdeptcd.value = "";
  1122. }
  1123. }
  1124. if(e.columnid == "dutteamnm")
  1125. {
  1126. if(e.newvalue.getByteLength() == "0")
  1127. {
  1128. ipt_dutteamcd.value = "";
  1129. }
  1130. }
  1131. if(e.columnid == "dutunitnm")
  1132. {
  1133. ipt_dutunitnm.enable = true;
  1134. ipt_dutunitnm.setFocus();
  1135. ipt_dutunitnm.value = e.newvalue;
  1136. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  1137. ipt_dutunitnm.enable = false;
  1138. }
  1139. if(e.columnid == "dutunitcd")
  1140. {
  1141. ipt_dutunitcd.enable = true;
  1142. ipt_dutunitcd.value = e.newvalue;
  1143. ipt_dutunitcd.setFocus();
  1144. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  1145. ipt_dutunitcd.enable = false;
  1146. }
  1147. if(e.columnid == "emplnm")
  1148. {
  1149. var recv_list = "emplno,emplnm";
  1150. rpbfValidationCheck("emplno", recv_list);
  1151. }
  1152. if(e.columnid == "emplno")
  1153. {
  1154. var recv_list = "emplno,emplnm";
  1155. rpbfValidationCheck("emplnm", recv_list);
  1156. }
  1157. }
  1158. function btn_dutdept_onclick(obj:Button, e:ClickEventInfo)
  1159. {
  1160. rpsfEducOpenPopUpList("05", ds_send_emplsearch, "", "dutdeptcd,dutdeptnm", cmb_dutinstcd.value, "instcd");
  1161. ds_send_emplsearch.setColumn(0, "dutteamnm", "");
  1162. ds_send_emplsearch.setColumn(0, "dutteamcd", "");
  1163. ds_send_emplsearch.setColumn(0, "dutunitnm", "");
  1164. ds_send_emplsearch.setColumn(0, "dutunitcd", "");
  1165. }
  1166. function btn_dutteam_onclick(obj:Button, e:ClickEventInfo)
  1167. {
  1168. rpsfEducOpenPopUpList("06", ds_send_emplsearch, "", "dutteamcd,dutteamnm", cmb_dutinstcd.value, "instcd");
  1169. ds_send_emplsearch.setColumn(0, "dutunitnm", "");
  1170. ds_send_emplsearch.setColumn(0, "dutunitcd", "");
  1171. }
  1172. function btn_dutunit_onclick(obj:Button, e:ClickEventInfo)
  1173. {
  1174. rpsfEducOpenPopUpList("07", ds_send_emplsearch, "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  1175. if(!utlf_isNull(ipt_dutunitnm.value))
  1176. {
  1177. if ( DUTY_EDU_YN == "Y" || DUTY_RESP_YN == "Y" || DUTY_PART_YN == "Y" )
  1178. {
  1179. ds_send_search.setColumn(0, "grdunitcd", ipt_dutunitcd.value);
  1180. ds_send_search.setColumn(0, "emplno", "");
  1181. var oParam = {};
  1182. oParam.id = "TRRPS04000";
  1183. oParam.service = "educationmngtapp.DeptEducMngt";
  1184. oParam.method = "reqGetEmplInfo";
  1185. oParam.inds = "req=ds_send_search";
  1186. oParam.outds = "ds_init_emplinfo=emplinfo";
  1187. oParam.async = false;
  1188. //oParam.callback = "cf_TRRPS04000";
  1189. tranf_submit(oParam);
  1190. ds_send_emplsearch.setColumn(0, "dutdeptnm", ds_init_emplinfo.getColumn(0, "dutdeptnm"));
  1191. ds_send_emplsearch.setColumn(0, "dutdeptcd", ds_init_emplinfo.getColumn(0, "dutdeptcd"));
  1192. ds_send_emplsearch.setColumn(0, "dutteamnm", ds_init_emplinfo.getColumn(0, "dutteamnm"));
  1193. ds_send_emplsearch.setColumn(0, "dutteamcd", ds_init_emplinfo.getColumn(0, "dutteamcd"));
  1194. }
  1195. else
  1196. {
  1197. fCheckAdmin();
  1198. ds_send_search.setColumn(0, "grdunitcd", ipt_dutunitcd.value);
  1199. ds_send_search.setColumn(0, "emplno", "");
  1200. var oParam = {};
  1201. oParam.id = "TRRPS04000";
  1202. oParam.service = "educationmngtapp.DeptEducMngt";
  1203. oParam.method = "reqGetEmplInfo";
  1204. oParam.inds = "req=ds_send_search";
  1205. oParam.outds = "ds_init_emplinfo=emplinfo";
  1206. oParam.async = false;
  1207. //oParam.callback = "cf_TRRPS04000";
  1208. tranf_submit(oParam);
  1209. ds_send_emplsearch.setColumn(0, "dutdeptnm", ds_init_emplinfo.getColumn(0, "dutdeptnm"));
  1210. ds_send_emplsearch.setColumn(0, "dutdeptcd", ds_init_emplinfo.getColumn(0, "dutdeptcd"));
  1211. ds_send_emplsearch.setColumn(0, "dutteamnm", ds_init_emplinfo.getColumn(0, "dutteamnm"));
  1212. ds_send_emplsearch.setColumn(0, "dutteamcd", ds_init_emplinfo.getColumn(0, "dutteamcd"));
  1213. }
  1214. }
  1215. }
  1216. function button1_onclick(obj:Button, e:ClickEventInfo)
  1217. {
  1218. rpbfOpenPopUpList("SPRPB00101", ds_send_emplsearch, "emplno,emplnm", "", "N");
  1219. if( fCheckEmplno(ipt_emplno1.value))
  1220. {
  1221. }
  1222. else
  1223. {
  1224. btn_search2.onclick();
  1225. }
  1226. }
  1227. function fCheckEmplno( emplno )
  1228. {
  1229. for ( var idx = 0; idx < ds_main_list2_eductrgtmanlist.rowcount; idx++ )
  1230. {
  1231. if(ds_main_list2_eductrgtmanlist.getColumn(idx, "emplno") == emplno)
  1232. {
  1233. sysf_messageBox("이미 이수자로 등록되어 있습니다.","I999");
  1234. return true;
  1235. }
  1236. }
  1237. return false;
  1238. }
  1239. function grd_emplist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1240. {
  1241. if(utlf_isNull(ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "depteduccd")))
  1242. {
  1243. sysf_messageBox("교육을","C002");
  1244. return;
  1245. }
  1246. var sEmplno = ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "emplno");
  1247. var iRowIdx = ds_main_list2_eductrgtmanlist.findRow("emplno", sEmplno);
  1248. if(iRowIdx != -1)
  1249. {
  1250. sysf_messageBox("이미 대상자로 등록되어 있습니다.","I999");
  1251. return;
  1252. }
  1253. var addRow = ds_main_list2_eductrgtmanlist.addRow();
  1254. fSetTrgtManInfo(addRow, ds_main_list3_emplist.rowposition);
  1255. }
  1256. function fSetTrgtManInfo(iTrgtManRowIdx, iEmpListRowIdx)
  1257. {
  1258. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "depteduccd", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "depteduccd"));
  1259. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "eduinstcd", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "dutinstcd"));
  1260. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "appyy", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "appyy"));
  1261. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "emplno", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "emplno"));
  1262. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "emplnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "emplnm"));
  1263. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "prfshipflag", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "prfshipflag"));
  1264. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "prfshipnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "prfshipnm"));
  1265. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "dutinstcd", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "dutinstcd"));
  1266. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "dutinstnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "dutinstnm"));
  1267. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "dutdeptcd", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "dutdeptcd"));
  1268. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "dutdeptnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "dutdeptnm"));
  1269. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "dutunitcd", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "dutunitcd"));
  1270. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "dutunitnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "dutunitnm"));
  1271. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "holyordflag", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "holyordflag"));
  1272. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "holyordnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "holyordnm"));
  1273. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "grupjoblncd", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "grupjoblncd"));
  1274. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "grupjoblnnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "grupjoblnnm"));
  1275. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "njobgradcd", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "njobgradcd"));
  1276. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "njobgradnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "njobgradnm"));
  1277. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "anual", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "anual"));
  1278. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "jobkindcd", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "jobkindcd"));
  1279. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "jobkindnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "jobkindnm"));
  1280. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "jobrespcd", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "jobrespcd"));
  1281. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "jobrespnm", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "jobrespnm"));
  1282. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "gender", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "gender"));
  1283. ds_main_list2_eductrgtmanlist.setColumn(iTrgtManRowIdx, "entcodd", ds_main_list3_emplist.getColumn(iEmpListRowIdx, "entcodd"));
  1284. }
  1285. function btn_remove_onclick(obj:Button, e:ClickEventInfo)
  1286. {
  1287. ds_main_list3_emplist.clearData();
  1288. }
  1289. function btn_saveexcel_onclick(obj:Button, e:ClickEventInfo)
  1290. {
  1291. grdf_exportExcel(grd_eductrgtmanlist, "excel", false, false, "", "user", false);
  1292. }
  1293. function btn_loadexcel_onclick(obj:Button, e:ClickEventInfo)
  1294. {
  1295. fLoadExcel()
  1296. }
  1297. function fLoadExcel()
  1298. {
  1299. if(ds_main_grid_educlist.rowcount == 0)
  1300. {
  1301. sysf_messageBox("교육내용을", "C002");
  1302. return;
  1303. }
  1304. grdf_ImportExcel("ds_main_list4_excellist", 2, grd_loadexcel, 1);
  1305. var sEmplno = "";
  1306. var iRowIdx = -1;
  1307. for(var i = 0; i < ds_main_list4_excellist.rowcount; i++)
  1308. {
  1309. sEmplno = ds_main_list4_excellist.getColumn(i, "emplno");
  1310. if(utlf_isNull(sEmplno))
  1311. {
  1312. continue;
  1313. }
  1314. iRowIdx = ds_main_list2_eductrgtmanlist.findRow("emplno", sEmplno);
  1315. if(iRowIdx != -1)
  1316. {
  1317. continue;
  1318. }
  1319. else
  1320. {
  1321. var addRow = ds_main_list2_eductrgtmanlist.addRow();
  1322. ds_main_list2_eductrgtmanlist.setColumn(addRow, "depteduccd", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "depteduccd"));
  1323. ds_main_list2_eductrgtmanlist.setColumn(addRow, "appyy", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "appyy"));
  1324. ds_main_list2_eductrgtmanlist.setColumn(addRow, "eduinstcd", ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "dutinstcd"));
  1325. ds_main_list2_eductrgtmanlist.setColumn(addRow, "emplno", ds_main_list4_excellist.getColumn(i, "emplno"));
  1326. }
  1327. }
  1328. }
  1329. function btn_delrow_onclick(obj:Button, e:ClickEventInfo)
  1330. {
  1331. grd_eductrgtmanlist.addStatus(grd_eductrgtmanlist.row, "delete");
  1332. }
  1333. function btn_rowcopy_onclick(obj:Button, e:ClickEventInfo)
  1334. {
  1335. var row = ds_main_grid_educlist.rowposition;
  1336. if( row < 0)
  1337. {
  1338. sysf_messageBox("복사할 행이","I004");
  1339. return;
  1340. }
  1341. else
  1342. {
  1343. ds_main_grid_educlist.insertRow(0);
  1344. ds_main_grid_educlist.setColumn(0, "appyy", ds_main_grid_educlist.getColumn(row, "appyy"));
  1345. ds_main_grid_educlist.setColumn(0, "mainbdunit", ds_main_grid_educlist.getColumn(row, "mainbdunit"));
  1346. ds_main_grid_educlist.setColumn(0, "dutinstcd", ds_main_grid_educlist.getColumn(row, "dutinstcd"));
  1347. ds_main_grid_educlist.setColumn(0, "chrgdeptnm", ds_main_grid_educlist.getColumn(row, "chrgdeptnm"));
  1348. ds_main_grid_educlist.setColumn(0, "chrgdeptcd", ds_main_grid_educlist.getColumn(row, "chrgdeptcd"));
  1349. ds_main_grid_educlist.setColumn(0, "chrgteamnm", ds_main_grid_educlist.getColumn(row, "chrgteamnm"));
  1350. ds_main_grid_educlist.setColumn(0, "chrgteamcd", ds_main_grid_educlist.getColumn(row, "chrgteamcd"));
  1351. ds_main_grid_educlist.setColumn(0, "chrgunitnm", ds_main_grid_educlist.getColumn(row, "chrgunitnm"));
  1352. ds_main_grid_educlist.setColumn(0, "chrgunitcd", ds_main_grid_educlist.getColumn(row, "chrgunitcd"));
  1353. ds_main_grid_educlist.setColumn(0, "educflag", ds_main_grid_educlist.getColumn(row, "educflag"));
  1354. ds_main_grid_educlist.setColumn(0, "medinstvalucd", ds_main_grid_educlist.getColumn(row, "medinstvalucd"));
  1355. ds_main_grid_educlist.setColumn(0, "educnm", ds_main_grid_educlist.getColumn(row, "educnm"));
  1356. ds_main_grid_educlist.setColumn(0, "educdg", ds_main_grid_educlist.getColumn(row, "educdg"));
  1357. ds_main_grid_educlist.setColumn(0, "educfromdd", ds_main_grid_educlist.getColumn(row, "educfromdd"));
  1358. ds_main_grid_educlist.setColumn(0, "eductodd", ds_main_grid_educlist.getColumn(row, "eductodd"));
  1359. ds_main_grid_educlist.setColumn(0, "eductime", ds_main_grid_educlist.getColumn(row, "eductime"));
  1360. ds_main_grid_educlist.setColumn(0, "eductm", ds_main_grid_educlist.getColumn(row, "eductm"));
  1361. ds_main_grid_educlist.setColumn(0, "educplce", ds_main_grid_educlist.getColumn(row, "educplce"));
  1362. ds_main_grid_educlist.setColumn(0, "newpsn", ds_main_grid_educlist.getColumn(row, "newpsn"));
  1363. ds_main_grid_educlist.setColumn(0, "oldpsn", ds_main_grid_educlist.getColumn(row, "oldpsn"));
  1364. ds_main_grid_educlist.setColumn(0, "totalpsn", ds_main_grid_educlist.getColumn(row, "totalpsn"));
  1365. ds_main_grid_educlist.setColumn(0, "cmpltcurspsnno", ds_main_grid_educlist.getColumn(row, "cmpltcurspsnno"));
  1366. ds_main_grid_educlist.setColumn(0, "lactr", ds_main_grid_educlist.getColumn(row, "lactr"));
  1367. ds_main_grid_educlist.setColumn(0, "bugt", ds_main_grid_educlist.getColumn(row, "bugt"));
  1368. ds_main_grid_educlist.setColumn(0, "educvalu", ds_main_grid_educlist.getColumn(row, "educvalu"));
  1369. }
  1370. }
  1371. function btn_add_onclick(obj:Button, e:ClickEventInfo)
  1372. {
  1373. arrCompId = new Array("group4.ipt_appyy");
  1374. if(!frmf_isRequiredControls(arrCompId))
  1375. {
  1376. return;
  1377. }
  1378. ds_main_list2_eductrgtmanlist.clearData();
  1379. ds_main_list3_emplist.clearData();
  1380. if( ds_main_grid_educlist.rowcount < 0)
  1381. {
  1382. ds_main_grid_educlist.addRow();
  1383. }
  1384. else
  1385. {
  1386. ds_main_grid_educlist.insertRow(0);
  1387. }
  1388. ds_main_grid_educlist.setColumn(0, "appyy", group4.ipt_appyy.value);
  1389. ds_main_grid_educlist.setColumn(0, "mainbdunit", "3");
  1390. ds_main_grid_educlist.setColumn(0, "dutinstcd", ipt_dutinstcd.value);
  1391. ds_main_grid_educlist.setColumn(0, "chrgdeptnm", group4.ipt_chrgdeptnm.value);
  1392. ds_main_grid_educlist.setColumn(0, "chrgdeptcd", group4.ipt_chrgdeptcd.value);
  1393. ds_main_grid_educlist.setColumn(0, "chrgteamnm", group4.ipt_chrgteamnm.value);
  1394. ds_main_grid_educlist.setColumn(0, "chrgteamcd", group4.ipt_chrgteamcd.value);
  1395. ds_main_grid_educlist.setColumn(0, "chrgunitnm", group4.ipt_chrgunitnm.value);
  1396. ds_main_grid_educlist.setColumn(0, "chrgunitcd", group4.ipt_chrgunitcd.value);
  1397. ds_main_grid_educlist.setColumn(0, "newpsn", "0");
  1398. ds_main_grid_educlist.setColumn(0, "oldpsn", "0");
  1399. ds_main_grid_educlist.setColumn(0, "totalpsn", "0");
  1400. ds_main_grid_educlist.setColumn(0, "cmpltcurspsnno", "0");
  1401. }
  1402. function btn_del_onclick(obj:Button, e:ClickEventInfo)
  1403. {
  1404. arrCompId = new Array("group4.ipt_appyy");
  1405. if(!frmf_isRequiredControls(arrCompId))
  1406. {
  1407. return;
  1408. }
  1409. if(ds_main_grid_educlist.getRowType(ds_main_grid_educlist.rowposition) == "2")
  1410. {
  1411. ds_main_grid_educlist.updatecontrol = false;
  1412. ds_main_grid_educlist.setRowType(ds_main_grid_educlist.rowposition, "d");
  1413. ds_main_grid_educlist.updatecontrol = true;
  1414. }
  1415. else
  1416. {
  1417. ds_main_grid_educlist.deleteRow(ds_main_grid_educlist.rowposition)
  1418. }
  1419. }
  1420. function btn_init_onclick(obj:Button, e:ClickEventInfo)
  1421. {
  1422. grdf_exportExcel(grd_educlist, "부서교육내역", false, false, "", "user", false);
  1423. }
  1424. function button2_onclick(obj:Button, e:ClickEventInfo)
  1425. {
  1426. arrCompId = new Array("group4.ipt_appyy");
  1427. if(!frmf_isRequiredControls(arrCompId))
  1428. {
  1429. return;
  1430. }
  1431. var oParam = {};
  1432. oParam.id = "TRRPS04002";
  1433. oParam.service = "educationmngtapp.DeptEducMngt";
  1434. oParam.method = "reqGetDeptEducListAll";
  1435. oParam.inds = "req=ds_send_search";
  1436. oParam.outds = "ds_main_grid_educlist_exl=educlist_exl";
  1437. oParam.async = false;
  1438. //oParam.callback = "cf_TRRPS04002";
  1439. tranf_submit(oParam);
  1440. grdf_exportExcel(grd_educlistall, "부서교육내역(이수내역포함)", false, false, "", "user", false);
  1441. }
  1442. function ds_main_list3_emplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1443. {
  1444. if( e.columnid == "chk" )
  1445. {
  1446. obj.setColumn(e.row, "chk", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  1447. }
  1448. }
  1449. function button103_onclick(obj:Button, e:ClickEventInfo)
  1450. {
  1451. for(var idx = 0; idx < ds_main_grid_educlist.rowcount; idx++)
  1452. {
  1453. if( ds_main_grid_educlist.getRowType(idx) == 1)
  1454. {
  1455. continue;
  1456. }
  1457. else
  1458. {
  1459. if(sysf_messageBox("변경된 교육이 있습니다. 저장하시겠습니까?","Q999") == "6")
  1460. {
  1461. var row = ds_main_grid_educlist.rowposition;
  1462. var oParam = {};
  1463. oParam.id = "TXRPS04001";
  1464. oParam.service = "educationmngtapp.DeptEducMngt";
  1465. oParam.method = "reqExeDeptEducList";
  1466. oParam.inds = "req=ds_main_grid_educlist:u";
  1467. oParam.outds = "";
  1468. oParam.async = false;
  1469. //oParam.callback = "cf_TXRPS04001";
  1470. tranf_submit(oParam);
  1471. var oParam = {};
  1472. oParam.id = "TRRPS04001";
  1473. oParam.service = "educationmngtapp.DeptEducMngt";
  1474. oParam.method = "reqGetDeptEducList";
  1475. oParam.inds = "req=ds_send_search";
  1476. oParam.outds = "ds_main_grid_educlist=educlist";
  1477. oParam.async = false;
  1478. //oParam.callback = "cf_TRRPS04001";
  1479. tranf_submit(oParam);
  1480. ds_main_grid_educlist.rowposition = row;
  1481. }
  1482. else
  1483. {
  1484. return;
  1485. }
  1486. }
  1487. }
  1488. if(utlf_isNull(ds_main_grid_educlist.getColumn(ds_main_grid_educlist.rowposition, "depteduccd")))
  1489. {
  1490. sysf_messageBox("교육을","C002");
  1491. return;
  1492. }
  1493. var sEmplno = ds_main_list3_emplist.getColumn(ds_main_list3_emplist.rowposition, "emplno");
  1494. var iRowIdx = ds_main_list2_eductrgtmanlist.findRow("emplno", sEmplno);
  1495. if(iRowIdx != -1)
  1496. {
  1497. sysf_messageBox("이미 대상자로 등록되어 있습니다.","I999");
  1498. return;
  1499. }
  1500. fRgstTrgtManList();
  1501. }
  1502. function fRgstTrgtManList()
  1503. {
  1504. if(ds_main_grid_educlist.rowcount < 0)
  1505. {
  1506. sysf_messageBox("교육내용을", "C002");
  1507. return;
  1508. }
  1509. var cnt = 0;
  1510. for(var i = 0; i < ds_main_list3_emplist.rowcount; i++)
  1511. {
  1512. var sChk = ds_main_list3_emplist.getColumn(i, "chk");
  1513. if(sChk == "Y")
  1514. {
  1515. cnt++;
  1516. var sEmplno = ds_main_list3_emplist.getColumn(i, "emplno");
  1517. var iRowIdx = ds_main_list2_eductrgtmanlist.findRow("emplno", sEmplno);
  1518. if(iRowIdx != -1)
  1519. {
  1520. continue;
  1521. }
  1522. ds_main_list2_eductrgtmanlist.addRow();
  1523. ds_main_list2_eductrgtmanlist.updatecontrol = false;
  1524. ds_main_list2_eductrgtmanlist.setRowType(iRowIdx, "i");
  1525. ds_main_list2_eductrgtmanlist.updatecontrol = true;
  1526. fSetTrgtManInfo(ds_main_list2_eductrgtmanlist.rowposition, i);
  1527. }
  1528. }
  1529. }
  1530. function group4_ipt_chrgdeptnm_onkeydown(obj:Edit, e:KeyEventInfo)
  1531. {
  1532. if(e.keycode == 13)
  1533. {
  1534. obj.updateToDataset();
  1535. if(obj.value.getByteLength() == "0")
  1536. {
  1537. group4.ipt_chrgdeptcd.value = "";
  1538. }
  1539. }
  1540. }
  1541. function group4_ipt_chrgteamnm_onkeydown(obj:Edit, e:KeyEventInfo)
  1542. {
  1543. if(e.keycode == 13)
  1544. {
  1545. obj.updateToDataset();
  1546. if(obj.value.getByteLength() == "0")
  1547. {
  1548. group4.ipt_chrgteamcd.value = "";
  1549. }
  1550. }
  1551. }
  1552. function group4_ipt_chrgunitnm_onkeydown(obj:Edit, e:KeyEventInfo)
  1553. {
  1554. if(e.keycode == 13)
  1555. {
  1556. obj.updateToDataset();
  1557. if(obj.value.getByteLength() == "0")
  1558. {
  1559. group4.ipt_chrgunitcd.value = "";
  1560. }
  1561. }
  1562. }
  1563. ]]></Script>
  1564. </Form>
  1565. </FDL>