SMRPS00800_교육경력조회.xrw 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>SMRPS00800_교육경력조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <educinfo>
  11. <educinfolist/>
  12. </educinfo>
  13. <educcarer>
  14. <cmceduclist/>
  15. <depteduclist/>
  16. <outeduclist/>
  17. </educcarer>
  18. </main>
  19. <send>
  20. <info>
  21. <appyy/>
  22. <instcd/>
  23. <emplno/>
  24. <emplnm/>
  25. <educflag/>
  26. <instnm/>
  27. <cmpltcursstdyyn/>
  28. <emplnum/>
  29. <apptoyy/>
  30. <chrgdeptcd/>
  31. <chrgdeptnm/>
  32. <chrgteamnm/>
  33. <chrgteamcd/>
  34. <chrgunitnm/>
  35. <chrgunitcd/>
  36. <grdunitcd/>
  37. <posinstcd/>
  38. </info>
  39. <detail>
  40. <appyy/>
  41. <educcd/>
  42. <educdg/>
  43. <apptoyy/>
  44. </detail>
  45. <search>
  46. <emplno/>
  47. <grdunitcd/>
  48. <instcd/>
  49. </search>
  50. </send>
  51. <init>
  52. <item>
  53. <label>이수</label>
  54. <value>Y</value>
  55. </item>
  56. <item>
  57. <label>미이수</label>
  58. <value>N</value>
  59. </item>
  60. </init>
  61. </root>
  62. </instance>
  63. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  64. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  65. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  66. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  67. <script type="javascript" src="../../../mis/educationmngtweb/js/RPS001.js"/>
  68. <script type="javascript" ev:event="xforms-ready">
  69. <![CDATA[
  70. // 사용자 권한관리
  71. fCheckAuth();
  72. fInitialize() ;
  73. ]]>
  74. </script>
  75. <submission id="TRRPS00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/main/educinfo"/>
  76. <submission id="TRRPS00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/main/educcarer"/>
  77. <submission id="TRRPS04000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/init/emplinfo"/>
  78. <submission id="TRRPS04999" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/init/deptadmin"/>
  79. </model>
  80. <script type="javascript">
  81. <![CDATA[
  82. //========================================================================================
  83. //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
  84. //========================================================================================
  85. function fCheckAuth() {
  86. btn_search.disabled = !checkAuth("R") ;
  87. // user정보조회
  88. misfGetUserAuth();
  89. model.setValue("/root/send/info/emplno", getUserInfo("userid"));
  90. // model.setValue("/root/send/info/emplnm", getUserInfo("usernm"));
  91. submit("TRRPS04000");
  92. model.setValue("/root/send/info/emplno", "");
  93. model.setValue(ipt_instcd.attribute("ref"),model.getValue("/root/init/emplinfo/dutplceinst"));
  94. model.setValue(ipt_instnm.attribute("ref"),model.getValue("/root/init/emplinfo/dutplceinstnm"));
  95. model.setValue(ipt_chrgdeptnm.attribute("ref"),model.getValue("/root/init/emplinfo/dutdeptnm"));
  96. model.setValue(ipt_chrgdeptcd.attribute("ref"), model.getValue("/root/init/emplinfo/dutdeptcd"));
  97. model.setValue(ipt_chrgteamnm.attribute("ref"),model.getValue("/root/init/emplinfo/dutteamnm"));
  98. model.setValue(ipt_chrgteamcd.attribute("ref"),model.getValue("/root/init/emplinfo/dutteamcd"));
  99. model.setValue(ipt_chrgunitnm.attribute("ref"), model.getValue("/root/init/emplinfo/dutunitnm"));
  100. model.setValue(ipt_chrgunitcd.attribute("ref"), model.getValue("/root/init/emplinfo/dutunitcd"));
  101. }
  102. function fCheckDisabled () {
  103. model.setValue("/root/send/search/instcd", model.getValue("/root/init/emplinfo/dutplceinst"));
  104. model.setValue("/root/send/search/emplno", model.getValue("/root/init/emplinfo/emplno"));
  105. submit("TRRPS04999"); // 부서관리자인지 체크
  106. model.setValue("/root/send/search/emplno","");
  107. if( model.getValue("/root/init/deptadmin/teamyn") == "Y") {
  108. ipt_chrgteamnm.disabled = false;
  109. ipt_chrgunitnm.disabled = false;
  110. btn_team.disabled = false;
  111. btn_unit.disabled = false;
  112. }
  113. else if (model.getValue("/root/init/deptadmin/unityn") == "Y") {
  114. ipt_chrgteamnm.disabled = true;
  115. btn_team.disabled = true;
  116. ipt_chrgunitnm.disabled = false;
  117. btn_unit.disabled = false;
  118. }
  119. else {
  120. ipt_chrgteamnm.disabled = true;
  121. ipt_chrgunitnm.disabled = true;
  122. btn_team.disabled = true;
  123. btn_unit.disabled = true;
  124. }
  125. model.refresh();
  126. }
  127. var oldRow = 0;
  128. function fInitialize()
  129. {
  130. //그리드 초기화 작업
  131. model.removenode("/root/main");
  132. model.makeNode("/root/main/educinfo");
  133. misfMsterDetailSet(grd_educinfolist,null, "TRRPE00801" ,"Y");
  134. var nowyy = new Date();
  135. ipt_appyy.value = nowyy.getYear(); // 년도설정
  136. ipt_apptoyy.value = nowyy.getYear(); // 년도설정
  137. misfComboComCdListMulti("Z0007","grd_educinfolist.instcd");
  138. rpsEducSetComboList("M01-002,M01-001","cmb_educflag,grd_cmceduclist.mainbdunit", "Y");
  139. if ( DUTY_EDU_YN == "Y" || DUTY_RESP_YN == "Y" || DUTY_PART_YN == "Y" ){ // 교육, 복무위임, 복무 담당자는 모든 권한을 가진다.
  140. ipt_chrgdeptnm.disabled = false;
  141. ipt_chrgteamnm.disabled = false;
  142. ipt_chrgunitnm.disabled = false;
  143. btn_dept.disabled = false;
  144. btn_team.disabled = false;
  145. btn_unit.disabled = false;
  146. if ( DUTY_EDU_YN != "Y" ) {
  147. ipt_instcd.disabled = true;
  148. btn_instcd.disabled = true;
  149. }
  150. }
  151. else {
  152. model.setValue(ipt_emplno.attribute("ref"), model.getValue("/root/init/emplinfo/emplno"));
  153. model.setValue(ipt_emplnm.attribute("ref"), model.getValue("/root/init/emplinfo/emplnm"));
  154. fCheckDisabled(); // 관리자인지 체크하여 기본 조회부분의 활성화/비활성화를 결정한다.
  155. }
  156. model.toggle("case1");
  157. grd_educinfolist.selectionMode = "byrow";
  158. // btn_search.dispatch("DOMActivate");
  159. model.refresh();
  160. }
  161. ]]>
  162. </script>
  163. </xhtml:head>
  164. <xhtml:body style="margin-left:8; margin-right:8; ">
  165. <group id="group1" style="left:0px; top:0px; width:1190px; height:13px; ">
  166. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">교육경력조회</caption>
  167. </group>
  168. <group id="group2" scroll="auto" style="left:0px; top:13px; width:1195px; height:732px; ">
  169. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1188px; height:56px; background-color:#fffbf2; border-color:#ffd799; "/>
  170. <line id="line8" class="line_1" style="x1:0px; y1:85px; x2:1191px; y2:85px; "/>
  171. <caption id="caption29" class="tit_2" style="left:5px; top:71px; width:169px; height:13px; ">개인정보</caption>
  172. <button id="btn_search" class="btn1_letter2" style="left:1120px; top:27px; width:56px; height:22px; ">
  173. <caption>조회</caption>
  174. <script type="javascript" ev:event="DOMActivate">
  175. <![CDATA[
  176. if(ipt_appyy.value == "") {
  177. messageBox("년도는","I003");
  178. model.setFocus("ipt_apntyy");
  179. }
  180. else {
  181. model.removenode("/root/main");
  182. model.makeNode("/root/main/educinfo");
  183. model.makeNode("/root/main/educcarerlist");
  184. submit("TRRPS00801");
  185. if( ipt_emplno.value == "" ) {
  186. grd_educinfolist.insertRow(1);
  187. grd_educinfolist.valueMatrix(grd_educinfolist.row, grd_educinfolist.colRef("dutunitnm") ) = "- 전 체 -";
  188. }
  189. }
  190. ]]>
  191. </script>
  192. </button>
  193. <line id="line13" class="line_4" style="x1:1110px; y1:14px; x2:1110px; y2:62px; "/>
  194. <caption id="cap_appyy" class="search_name" style="left:45px; top:17px; width:90px; height:17px; ">년 도 :</caption>
  195. <input id="ipt_appyy" ref="/root/send/info/appyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:121px; top:17px; width:77px; height:19px; text-align:center; "/>
  196. <caption id="cap_dutunit" class="search_name" style="left:755px; top:40px; width:90px; height:17px; ">부 서 :</caption>
  197. <caption id="cap_emplno" class="search_name" style="left:755px; top:17px; width:94px; height:17px; ">사원번호 :</caption>
  198. <input id="ipt_emplno" ref="/root/send/info/emplno" class="input_search" navindex="20" style="left:842px; top:17px; width:70px; height:19px; ">
  199. <script type="javascript" ev:event="xforms-value-changed">
  200. <![CDATA[
  201. var recv_list = "emplno,emplnm";
  202. rpbfValidationCheck("emplno", recv_list);
  203. model.refresh();
  204. ]]>
  205. </script>
  206. </input>
  207. <button id="btn_emplsearch" class="icon_search" style="left:914px; top:17px; width:16px; height:16px; ">
  208. <caption/>
  209. <script type="javascript" ev:event="DOMActivate">
  210. <![CDATA[
  211. var recv_list = "emplno,emplnm";
  212. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N","N");
  213. model.refresh();
  214. ]]>
  215. </script>
  216. </button>
  217. <input id="ipt_emplnm" ref="/root/send/info/emplnm" class="input_search" navindex="21" style="left:932px; top:17px; width:85px; height:19px; ">
  218. <script type="javascript" ev:event="xforms-value-changed">
  219. <![CDATA[
  220. var recv_list = "emplno,emplnm";
  221. rpbfValidationCheck("emplnm", recv_list);
  222. model.refresh();
  223. ]]>
  224. </script>
  225. </input>
  226. <button id="btn_saveexcel" class="btn2_letter4" visibility="visible" style="left:1121px; top:264px; width:64px; height:19px; ">
  227. <caption>엑셀저장</caption>
  228. <script type="javascript" ev:event="DOMActivate">
  229. <![CDATA[
  230. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  231. if (fileName != "")
  232. {
  233. //1. 그리드 파일 CSV파일로 임시저장 => CSV로 저장하는 이유는 여러개의 시트에 저장이 가능하기 때문입니다.(xls파일은 여러개의 시트에 저장 불가능)
  234. grd_cmceduclist.saveExcel("C:\\Temp\\sheet1.xls","colhiddenextend:true");
  235. grd_depteduclist.saveExcel("C:\\Temp\\sheet2.xls","colhiddenextend:true");
  236. grd_outeduclist.saveExcel("C:\\Temp\\sheet3.xls","colhiddenextend:true");
  237. //2. 임시로 저장된 엑셀파일을 하나로 합치는 과정
  238. // excel application 실행함
  239. tfexcel.launchnewinstance(0);
  240. //실행된 excel application에서 새로운 workbook을 생성
  241. tfexcel.createworkbook();
  242. //1번째에 시트를 추가하고 시트 이름을 "1차전형"으로 한다.
  243. var nResult1 = tfexcel.addsheet(1, "CMC교육");
  244. nResult1 = tfexcel.activatesheet(1);
  245. if(nResult1 <0) {
  246. alert("오류발생");
  247. return;
  248. }
  249. //로딩
  250. tfexcel.loadCSV("C:\\Temp\\sheet1.xls");
  251. //2번째에 시트를 추가하고 시트 이름을 "2차전형"으로 한다.
  252. var nResult2 = tfexcel.addsheet(2, "부서교육");
  253. nResult2 = tfexcel.activatesheet(2);
  254. if(nResult2 <0) {
  255. alert("오류발생");
  256. return;
  257. }
  258. //로딩
  259. tfexcel.loadCSV("C:\\Temp\\sheet2.xls");
  260. //3번째에 시트를 추가하고 시트 이름을 "3차전형"으로 한다.
  261. var nResult2 = tfexcel.addsheet(3, "외부교육");
  262. nResult2 = tfexcel.activatesheet(3);
  263. if(nResult2 <0) {
  264. alert("오류발생");
  265. return;
  266. }
  267. //로딩
  268. tfexcel.loadCSV("C:\\Temp\\sheet3.xls");
  269. //workbook을 저장.
  270. tfexcel.save(fileName);
  271. //엑셀 종료(필수)
  272. tfexcel.close();
  273. }
  274. ]]>
  275. </script>
  276. </button>
  277. <line id="line1" class="line_1" visibility="hidden" style="x1:0px; y1:643px; x2:197px; y2:643px; "/>
  278. <line id="line2" class="line_2" visibility="hidden" style="x1:0px; y1:670px; x2:197px; y2:670px; "/>
  279. <line id="line3" class="line_2" visibility="hidden" style="x1:0px; y1:694px; x2:197px; y2:694px; "/>
  280. <line id="line5" class="line_3" visibility="hidden" style="x1:0px; y1:718px; x2:197px; y2:718px; "/>
  281. <input id="input7" class="input_search" visibility="hidden" style="left:286px; top:673px; width:100px; height:19px; "/>
  282. <input id="input8" class="input_search" visibility="hidden" style="left:286px; top:697px; width:100px; height:19px; "/>
  283. <caption id="caption21" class="cell_1" visibility="hidden" style="left:406px; top:672px; width:80px; height:23px; vertical-align:middle; ">선 택</caption>
  284. <caption id="caption22" class="cell_1" visibility="hidden" style="left:406px; top:648px; width:80px; height:23px; vertical-align:middle; ">필 수</caption>
  285. <caption id="caption11" class="cell_1" visibility="hidden" style="left:203px; top:672px; width:80px; height:23px; vertical-align:middle; ">선 택</caption>
  286. <caption id="caption12" class="cell_1" visibility="hidden" style="left:203px; top:648px; width:80px; height:23px; vertical-align:middle; ">필 수</caption>
  287. <caption id="caption24" class="cell_1" visibility="hidden" style="left:406px; top:696px; width:80px; height:23px; vertical-align:middle; ">합 계</caption>
  288. <caption id="caption13" class="cell_1" visibility="hidden" style="left:203px; top:696px; width:80px; height:23px; vertical-align:middle; ">합 계</caption>
  289. <input id="input15" class="input_search" visibility="hidden" style="left:489px; top:649px; width:100px; height:19px; "/>
  290. <caption id="caption47" class="cell_1" visibility="hidden" style="left:0px; top:648px; width:80px; height:23px; vertical-align:middle; ">필 수</caption>
  291. <caption id="caption5" class="cell_1" visibility="hidden" style="left:0px; top:672px; width:80px; height:23px; vertical-align:middle; ">선 택</caption>
  292. <input id="input16" class="input_search" visibility="hidden" style="left:489px; top:673px; width:100px; height:19px; "/>
  293. <input id="input1" class="input_search" visibility="hidden" style="left:82px; top:650px; width:100px; height:19px; "/>
  294. <input id="input17" class="input_search" visibility="hidden" style="left:489px; top:697px; width:100px; height:19px; "/>
  295. <input id="input2" class="input_search" visibility="hidden" style="left:82px; top:674px; width:100px; height:19px; "/>
  296. <caption id="caption7" class="cell_1" visibility="hidden" style="left:0px; top:696px; width:80px; height:23px; vertical-align:middle; ">합 계</caption>
  297. <input id="input3" class="input_search" visibility="hidden" style="left:82px; top:698px; width:100px; height:19px; "/>
  298. <input id="input6" class="input_search" visibility="hidden" style="left:286px; top:649px; width:100px; height:19px; "/>
  299. <caption id="caption27" class="tit_2" visibility="hidden" style="left:5px; top:628px; width:80px; height:13px; ">필요학점</caption>
  300. <caption id="caption14" visibility="hidden" style="left:184px; top:698px; width:15px; height:20px; vertical-align:middle; ">점</caption>
  301. <caption id="caption8" visibility="hidden" style="left:184px; top:651px; width:15px; height:20px; vertical-align:middle; ">점</caption>
  302. <caption id="caption9" visibility="hidden" style="left:184px; top:674px; width:15px; height:20px; vertical-align:middle; ">점</caption>
  303. <caption id="caption15" visibility="hidden" style="left:388px; top:698px; width:15px; height:20px; vertical-align:middle; ">점</caption>
  304. <caption id="caption16" visibility="hidden" style="left:388px; top:651px; width:15px; height:20px; vertical-align:middle; ">점</caption>
  305. <caption id="caption17" visibility="hidden" style="left:388px; top:674px; width:15px; height:20px; vertical-align:middle; ">점</caption>
  306. <caption id="caption18" visibility="hidden" style="left:591px; top:698px; width:15px; height:20px; vertical-align:middle; ">점</caption>
  307. <caption id="caption19" visibility="hidden" style="left:591px; top:651px; width:15px; height:20px; vertical-align:middle; ">점</caption>
  308. <caption id="caption23" visibility="hidden" style="left:591px; top:674px; width:15px; height:20px; vertical-align:middle; ">점</caption>
  309. <line id="line4" class="line_1" visibility="hidden" style="x1:202px; y1:643px; x2:399px; y2:643px; "/>
  310. <line id="line6" class="line_2" visibility="hidden" style="x1:202px; y1:670px; x2:399px; y2:670px; "/>
  311. <line id="line9" class="line_2" visibility="hidden" style="x1:202px; y1:694px; x2:399px; y2:694px; "/>
  312. <line id="line10" class="line_3" visibility="hidden" style="x1:202px; y1:718px; x2:399px; y2:718px; "/>
  313. <line id="line11" class="line_2" visibility="hidden" style="x1:406px; y1:694px; x2:603px; y2:694px; "/>
  314. <line id="line12" class="line_3" visibility="hidden" style="x1:406px; y1:718px; x2:603px; y2:718px; "/>
  315. <line id="line14" class="line_1" visibility="hidden" style="x1:406px; y1:643px; x2:603px; y2:643px; "/>
  316. <line id="line15" class="line_2" visibility="hidden" style="x1:406px; y1:670px; x2:603px; y2:670px; "/>
  317. <caption id="caption25" class="tit_2" visibility="hidden" style="left:207px; top:628px; width:80px; height:13px; ">이수학점</caption>
  318. <caption id="caption26" class="tit_2" visibility="hidden" style="left:411px; top:628px; width:80px; height:13px; ">잔여학점</caption>
  319. <caption id="caption2" class="search_name" style="left:389px; top:17px; width:86px; height:17px; ">기 관 :</caption>
  320. <datagrid id="grd_educinfolist" nodeset="/root/main/educinfo/educinfolist" caption="기관^부(실)^부(실)코드^과(팀)^과(팀)코드^소속부서코드^부서^직위코드^직 위^직책코드^직 책^신직급코드^신직급^년차^사원번호^성 명^교육구분" colsep="^" colwidth="170, 130, 100, 150, 100, 80, 150, 50, 100, 50, 120, 50, 80, 50, 100, 90, 60" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="select" rowsep="|" selectionmode="byrow" style="left:0px; top:90px; width:1188px; height:133px; ">
  321. <col disabled="true" ref="instcd" type="combo">
  322. <choices>
  323. <itemset>
  324. <label/>
  325. <value/>
  326. </itemset>
  327. </choices>
  328. </col>
  329. <col ref="dutdeptnm"/>
  330. <col ref="dutdeptcd" visibility="hidden"/>
  331. <col ref="dutteamnm"/>
  332. <col ref="dutteamcd" visibility="hidden"/>
  333. <col ref="dutunitcd" type="input" visibility="hidden"/>
  334. <col ref="dutunitnm"/>
  335. <col ref="jobposcd" visibility="hidden"/>
  336. <col ref="jobposnm"/>
  337. <col ref="jobrespcd" visibility="hidden"/>
  338. <col ref="jobrespnm"/>
  339. <col ref="njobgradcd" visibility="hidden"/>
  340. <col ref="njobgradnm"/>
  341. <col ref="anual"/>
  342. <col ref="emplno"/>
  343. <col ref="emplnm"/>
  344. <col ref="educlrgcd" visibility="hidden"/>
  345. <script type="javascript" ev:event="ondblclick">
  346. <![CDATA[
  347. model.removenode("/root/main/educcarer");
  348. model.makeNode("/root/main/educcarer");
  349. var row = grd_educinfolist.row;
  350. model.setValue("/root/send/info/emplnum",model.getValue("/root/main/educinfo/educinfolist["+row+"]/emplno"));
  351. submit("TRRPS00802");
  352. if (model.getValue("/root/send/info/emplnum") == "" ) {
  353. grd_cmceduclist.colHidden(grd_cmceduclist.colRef("emplno")) = false;
  354. grd_cmceduclist.colHidden(grd_cmceduclist.colRef("emplnm")) = false;
  355. grd_depteduclist.colHidden(grd_depteduclist.colRef("emplno")) = false;
  356. grd_depteduclist.colHidden(grd_depteduclist.colRef("emplnm")) = false;
  357. grd_outeduclist.colHidden(grd_outeduclist.colRef("emplno")) = false;
  358. grd_outeduclist.colHidden(grd_outeduclist.colRef("emplnm")) = false;
  359. }
  360. else {
  361. grd_cmceduclist.colHidden(grd_cmceduclist.colRef("emplno")) = true;
  362. grd_cmceduclist.colHidden(grd_cmceduclist.colRef("emplnm")) = true;
  363. grd_depteduclist.colHidden(grd_depteduclist.colRef("emplno")) = true;
  364. grd_depteduclist.colHidden(grd_depteduclist.colRef("emplnm")) = true;
  365. grd_outeduclist.colHidden(grd_outeduclist.colRef("emplno")) = true;
  366. grd_outeduclist.colHidden(grd_outeduclist.colRef("emplnm")) = true;
  367. }
  368. ]]>
  369. </script>
  370. </datagrid>
  371. <button id="btn_instcd" class="icon_search" style="left:652px; top:17px; width:16px; height:16px; ">
  372. <caption/>
  373. <script type="javascript" ev:event="DOMActivate">
  374. <![CDATA[
  375. var recv_list = "instcd,instnm";
  376. misfOpenPopUpList("03", ipt_instnm,"Z0007", recv_list, "", "") ;
  377. model.refresh();
  378. ]]>
  379. </script>
  380. </button>
  381. <input id="ipt_instnm" ref="/root/send/info/instnm" class="input_search" appearance="input" style="left:465px; top:17px; width:185px; height:19px; ">
  382. <script type="javascript" ev:event="xforms-value-changed">
  383. <![CDATA[
  384. if( ipt_instnm.value.getByteLength() == '0' ) {
  385. ipt_instcd.value = "" ;
  386. }
  387. model.refresh();
  388. ]]>
  389. </script>
  390. </input>
  391. <input id="ipt_instcd" ref="/root/send/info/instcd" disabled="true" visibility="hidden" style="left:550px; top:17px; width:50px; height:19px; "/>
  392. <switch id="switch1" style="left:0px; top:284px; width:1185px; height:441px; ">
  393. <case id="case1" selected="true" style="left:0px; top:0px; width:1188px; height:439px; ">
  394. <datagrid id="grd_cmceduclist" nodeset="/root/main/educcarer/cmceduclist" caption="년 도^주체단위^교육코드^주체기관^사원번호^이름^교육구분^교 육 명^차수^교육기간^교육기간^교육시간일정^총시간^이수학점^이수여부|년 도^주체단위^교육코드^주체기관^사원번호^이름^교육구분^교 육 명^차수^From^To^교육시간일정^총시간^이수학점^이수여부" colsep="^" colwidth="49, 70, 100, 159, 100, 100, 102, 263, 53, 93, 93, 100, 55, 75, 65" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:0px; top:0px; width:1175px; height:433px; ">
  395. <col ref="appyy" visibility="hidden" style="text-align:center; "/>
  396. <col disabled="true" ref="mainbdunit" type="combo" style="text-align:center; ">
  397. <choices>
  398. <itemset>
  399. <label/>
  400. <value/>
  401. </itemset>
  402. </choices>
  403. </col>
  404. <col ref="educcd" visibility="hidden"/>
  405. <col ref="instnm" style="text-align:center; "/>
  406. <col ref="emplno" visibility="hidden"/>
  407. <col ref="emplnm" visibility="hidden"/>
  408. <col ref="educflag" style="text-align:center; "/>
  409. <col ref="educprocsnm"/>
  410. <col ref="educdg" style="text-align:center; "/>
  411. <col ref="educfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  412. <col ref="eductodd" format="yyyy-mm-dd" style="text-align:center; "/>
  413. <col ref="eductime" format="99:99-99:99" style="text-align:center; "/>
  414. <col ref="eductm" style="text-align:center; "/>
  415. <col ref="studypoint" visibility="hidden" style="text-align:center; "/>
  416. <col disabled="true" ref="cmpltcursstdyyn" type="combo" style="text-align:center; ">
  417. <choices>
  418. <itemset nodeset="/root/init/item">
  419. <label ref="label"/>
  420. <value ref="value"/>
  421. </itemset>
  422. </choices>
  423. </col>
  424. </datagrid>
  425. </case>
  426. <case id="case2">
  427. <datagrid id="grd_depteduclist" nodeset="/root/main/educcarer/depteduclist" caption="년 도^교육코드^주체기관^사원번호^이름^교육구분^교 육 명^차수^교육기간^교육기간^교육시간일정^교육&#xA;총시간^이수학점^이수유효기간^이수여부|년 도^교육코드^주체기관^사원번호^이름^교육구분^교 육 명^차수^From^To^교육시간일정^교육&#xA;총시간^이수학점^이수유효기간^이수여부" colsep="^" colwidth="49, 100, 159, 100, 100, 133, 404, 53, 93, 93, 100, 55, 75, 100, 65" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:0px; top:0px; width:1181px; height:435px; ">
  428. <col ref="appyy" visibility="hidden" style="text-align:center; "/>
  429. <col ref="educcd" visibility="hidden"/>
  430. <col ref="instnm" visibility="hidden" style="text-align:center; "/>
  431. <col ref="emplno" visibility="hidden"/>
  432. <col ref="emplnm" visibility="hidden"/>
  433. <col ref="educflag" style="text-align:center; "/>
  434. <col ref="educprocsnm"/>
  435. <col ref="educdg" style="text-align:center; "/>
  436. <col ref="educfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  437. <col ref="eductodd" format="yyyy-mm-dd" style="text-align:center; "/>
  438. <col ref="eductime" format="99:99-99:99" style="text-align:center; "/>
  439. <col ref="eductm" style="text-align:center; "/>
  440. <col ref="studypoint" visibility="hidden" style="text-align:center; "/>
  441. <col ref="valiterm" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  442. <col disabled="true" ref="cmpltcursstdyyn" type="combo" style="text-align:center; ">
  443. <choices>
  444. <itemset nodeset="/root/init/item">
  445. <label ref="label"/>
  446. <value ref="value"/>
  447. </itemset>
  448. </choices>
  449. </col>
  450. </datagrid>
  451. </case>
  452. <case id="case3" style="left:0px; top:0px; width:1195px; height:475px; ">
  453. <datagrid id="grd_outeduclist" nodeset="/root/main/educcarer/outeduclist" caption="년 도^교육코드^주체기관^사원번호^이름^교육구분^교 육 명^교육기간^교육기간^교육시간일정^교육&#xA;총시간^교육일수^교육장소^이수학점^이수유효기간^보고서&#xA;작성여부^공가여부^공가여부^등록비지원여부^등록비지원여부|년 도^교육코드^주체기관^사원번호^이름^교육구분^교 육 명^From^To^교육시간일정^교육&#xA;총시간^교육일수^교육장소^이수학점^이수유효기간^보고서&#xA;작성여부^유^무^유^무" colsep="^" colwidth="49, 100, 201, 100, 100, 143, 263, 93, 93, 100, 55, 40, 100, 75, 100, 65, 45, 45, 45, 45" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:0px; top:0px; width:1181px; height:435px; ">
  454. <col ref="appyy" visibility="hidden" style="text-align:center; "/>
  455. <col ref="educcd" visibility="hidden"/>
  456. <col ref="instnm" style="text-align:center; "/>
  457. <col ref="emplno" visibility="hidden"/>
  458. <col ref="emplnm" visibility="hidden"/>
  459. <col ref="educflag" style="text-align:center; "/>
  460. <col ref="educprocsnm"/>
  461. <col ref="educfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  462. <col ref="eductodd" format="yyyy-mm-dd" style="text-align:center; "/>
  463. <col ref="eductime" visibility="hidden" style="text-align:center; "/>
  464. <col ref="eductm" style="text-align:center; "/>
  465. <col ref="educdayno" style="text-align:center; "/>
  466. <col ref="educplce" style="text-align:center; "/>
  467. <col ref="studypoint" visibility="hidden" style="text-align:center; "/>
  468. <col ref="valiterm" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  469. <col disabled="true" ref="cmpltcursstdyyn" type="combo" style="text-align:center; ">
  470. <choices>
  471. <item>
  472. <label>작성</label>
  473. <value>Y</value>
  474. </item>
  475. <item>
  476. <label>미작성</label>
  477. <value>N</value>
  478. </item>
  479. </choices>
  480. </col>
  481. <col checkvalue="Y,N" ref="offcholidayy" type="checkbox"/>
  482. <col checkvalue="Y,N" ref="offcholidayn" type="checkbox"/>
  483. <col checkvalue="Y,N" ref="rgstamty" type="checkbox"/>
  484. <col checkvalue="Y,N" ref="rgstamtn" type="checkbox"/>
  485. </datagrid>
  486. </case>
  487. </switch>
  488. <button id="tab_cmceduc" class="btn_sw" group="tab1" selected="true" style="left:0px; top:262px; width:90px; height:22px; ">
  489. <caption>기관교육</caption>
  490. <toggle case="case1" ev:event="onclick"/>
  491. </button>
  492. <button id="tab_depteduc" class="btn_sw" group="tab1" style="left:90px; top:262px; width:90px; height:22px; ">
  493. <caption>부서교육</caption>
  494. <toggle case="case2" ev:event="onclick"/>
  495. </button>
  496. <button id="tab_outeduc" class="btn_sw" group="tab1" style="left:180px; top:262px; width:90px; height:22px; ">
  497. <caption>외부교육</caption>
  498. <toggle case="case3" ev:event="onclick"/>
  499. </button>
  500. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:228px; width:1188px; height:29px; background-color:#fffbf2; border-color:#ffd799; "/>
  501. <line id="line7" class="line_4" style="x1:1110px; y1:230px; x2:1110px; y2:254px; "/>
  502. <button id="button4" class="btn1_letter2" style="left:1120px; top:232px; width:56px; height:22px; ">
  503. <caption>조회</caption>
  504. <script type="javascript" ev:event="DOMActivate">
  505. <![CDATA[
  506. model.removenode("/root/main/educcarer");
  507. model.makeNode("/root/main/educcarer");
  508. var row = grd_educinfolist.row;
  509. model.setValue("/root/send/info/emplnum",model.getValue("/root/main/educinfo/educinfolist["+row+"]/emplno"));
  510. submit("TRRPS00802");
  511. ]]>
  512. </script>
  513. </button>
  514. <caption id="caption1" class="search_name" style="left:20px; top:234px; width:86px; height:17px; ">이수 여부:</caption>
  515. <select1 id="radio1" ref="/root/send/info/cmpltcursstdyyn" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:109px; top:235px; width:230px; height:15px; border-style:none; ">
  516. <choices>
  517. <item>
  518. <label>전체</label>
  519. <value/>
  520. </item>
  521. <item>
  522. <label>이수</label>
  523. <value>Y</value>
  524. </item>
  525. <item>
  526. <label>미이수</label>
  527. <value>N</value>
  528. </item>
  529. </choices>
  530. </select1>
  531. <caption id="cap_educflag" class="search_name" visibility="hidden" style="left:622px; top:234px; width:86px; height:17px; ">교육구분:</caption>
  532. <select1 id="cmb_educflag" ref="/root/send/info/educflag" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:705px; top:233px; width:120px; height:19px; ">
  533. <choices>
  534. <itemset>
  535. <label/>
  536. <value/>
  537. </itemset>
  538. </choices>
  539. <script type="javascript" ev:event="xforms-value-changed">
  540. <![CDATA[
  541. grd_educinfolist.dispatch("ondblclick");
  542. model.refresh();
  543. ]]>
  544. </script>
  545. </select1>
  546. <input id="ipt_apptoyy" ref="/root/send/info/apptoyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:217px; top:17px; width:77px; height:19px; text-align:center; "/>
  547. <caption id="caption3" style="left:202px; top:17px; width:20px; height:20px; ">~</caption>
  548. <caption id="caption4" class="search_name" style="left:390px; top:40px; width:86px; height:17px; ">과(팀) :</caption>
  549. <caption id="caption10" class="search_name" style="left:45px; top:40px; width:86px; height:17px; ">부(실) :</caption>
  550. <button id="btn_unit" class="icon_search" disabled="true" style="left:1001px; top:41px; width:16px; height:16px; ">
  551. <caption/>
  552. <script type="javascript" ev:event="DOMActivate">
  553. <![CDATA[
  554. var unitcd = ipt_chrgunitcd.value;
  555. var unitnm = ipt_chrgunitnm.value;
  556. rpsfEducOpenPopUpList("07", ipt_chrgunitnm, "", "chrgunitcd,chrgunitnm", ipt_instcd.value, "instcd");
  557. if( ipt_chrgunitnm.value != "" ) {
  558. if ( DUTY_EDU_YN == "Y" || DUTY_RESP_YN == "Y" || DUTY_PART_YN == "Y" ){
  559. // unit이 달라지면 상위 부서도 가져온다..
  560. model.setValue("/root/send/info/grdunitcd", ipt_chrgunitcd.value);
  561. model.setValue("/root/send/info/posinstcd", ipt_instcd.value);
  562. model.setValue("/root/send/info/emplno", "" );
  563. submit("TRRPS04000");
  564. model.setValue("/root/send/info/chrgdeptnm", model.getValue("/root/init/emplinfo/dutdeptnm"));
  565. model.setValue("/root/send/info/chrgdeptcd", model.getValue("/root/init/emplinfo/dutdeptcd"));
  566. model.setValue("/root/send/info/chrgteamnm", model.getValue("/root/init/emplinfo/dutteamnm"));
  567. model.setValue("/root/send/info/chrgteamcd", model.getValue("/root/init/emplinfo/dutteamcd"));
  568. model.refresh();
  569. }
  570. else {
  571. fCheckDisabled(); // 관리자인지 체크한다.
  572. // unit이 달라지면 상위 부서도 가져온다..
  573. model.setValue("/root/send/info/grdunitcd", ipt_chrgunitcd.value);
  574. model.setValue("/root/send/info/posinstcd", ipt_instcd.value);
  575. model.setValue("/root/send/info/emplno", "" );
  576. submit("TRRPS04000");
  577. // if( !btn_search.disabled &&
  578. // model.getValue("/root/send/info/chrgdeptcd") == model.getValue("/root/init/emplinfo/dutdeptcd") &&
  579. // model.getValue("/root/send/info/chrgteamcd") == model.getValue("/root/init/emplinfo/dutteamcd") ) {
  580. model.setValue("/root/send/info/chrgdeptnm", model.getValue("/root/init/emplinfo/dutdeptnm"));
  581. model.setValue("/root/send/info/chrgdeptcd", model.getValue("/root/init/emplinfo/dutdeptcd"));
  582. model.setValue("/root/send/info/chrgteamnm", model.getValue("/root/init/emplinfo/dutteamnm"));
  583. model.setValue("/root/send/info/chrgteamcd", model.getValue("/root/init/emplinfo/dutteamcd"));
  584. // }
  585. /* else {
  586. messageBox("당신의 관리부서가 아닙니다. 확인바랍니다.","I999");
  587. ipt_chrgunitcd.value = unitcd;
  588. ipt_chrgunitnm.value = unitnm;
  589. }
  590. */
  591. }
  592. }
  593. model.refresh();
  594. ]]>
  595. </script>
  596. </button>
  597. <button id="btn_dept" class="icon_search" disabled="true" style="left:278px; top:41px; width:16px; height:16px; ">
  598. <caption/>
  599. <script type="javascript" ev:event="DOMActivate">
  600. <![CDATA[
  601. rpsfEducOpenPopUpList("05", ipt_chrgdeptnm, "", "chrgdeptcd,chrgdeptnm", ipt_instcd.value, "instcd");
  602. // 부(실)을 변경하면 과(팀), 부서는 모두 공백으로 변경한다.
  603. model.setValue("/root/send/info/chrgteamnm", "");
  604. model.setValue("/root/send/info/chrgteamcd", "");
  605. model.setValue("/root/send/info/chrgunitnm", "");
  606. model.setValue("/root/send/info/chrgunitcd", "");
  607. model.refresh();
  608. ]]>
  609. </script>
  610. </button>
  611. <input id="ipt_chrgunitnm" ref="/root/send/info/chrgunitnm" class="input_search" disabled="true" appearance="input" style="left:842px; top:40px; width:157px; height:19px; ">
  612. <script type="javascript" ev:event="xforms-value-changed">
  613. <![CDATA[
  614. if( ipt_chrgunitnm.value.getByteLength() == '0' ) {
  615. ipt_chrgunitcd.value = "" ;
  616. }
  617. model.refresh();
  618. ]]>
  619. </script>
  620. </input>
  621. <input id="ipt_chrgdeptnm" ref="/root/send/info/chrgdeptnm" class="input_search" disabled="true" visibility="visible" appearance="input" style="left:120px; top:40px; width:156px; height:19px; ">
  622. <script type="javascript" ev:event="xforms-value-changed">
  623. <![CDATA[
  624. if( ipt_chrgdeptnm.value.getByteLength() == '0' ) {
  625. ipt_chrgdeptcd.value = "" ;
  626. }
  627. model.refresh();
  628. ]]>
  629. </script>
  630. </input>
  631. <input id="ipt_chrgunitcd" ref="/root/send/info/chrgunitcd" disabled="true" visibility="hidden" style="left:917px; top:40px; width:55px; height:19px; text-align:center; "/>
  632. <input id="ipt_chrgdeptcd" ref="/root/send/info/chrgdeptcd" disabled="true" visibility="hidden" style="left:205px; top:40px; width:50px; height:19px; "/>
  633. <button id="btn_team" class="icon_search" disabled="true" style="left:652px; top:41px; width:16px; height:16px; ">
  634. <caption/>
  635. <script type="javascript" ev:event="DOMActivate">
  636. <![CDATA[
  637. rpsfEducOpenPopUpList("06", ipt_chrgteamnm, "", "chrgteamcd,chrgteamnm", ipt_instcd.value, "instcd");
  638. // 과(팀)을 변경하면 부서는 모두 공백으로 변경한다.
  639. model.setValue("/root/send/info/chrgunitnm", "");
  640. model.setValue("/root/send/info/chrgunitcd", "");
  641. model.refresh();
  642. ]]>
  643. </script>
  644. </button>
  645. <input id="ipt_chrgteamnm" ref="/root/send/info/chrgteamnm" class="input_search" disabled="true" visibility="visible" appearance="input" style="left:465px; top:40px; width:185px; height:19px; ">
  646. <script type="javascript" ev:event="xforms-value-changed">
  647. <![CDATA[
  648. if( ipt_chrgteamnm.value.getByteLength() == '0' ) {
  649. ipt_chrgteamcd.value = "" ;
  650. }
  651. model.refresh();
  652. ]]>
  653. </script>
  654. </input>
  655. <input id="ipt_chrgteamcd" ref="/root/send/info/chrgteamcd" disabled="true" visibility="hidden" style="left:520px; top:40px; width:50px; height:19px; "/>
  656. </group>
  657. <object id="tfexcel" clsid="{fe8d1001-6a9d-424d-ae2a-301493bb12da}" style="left:0px; top:0px; width:0px; height:0px; "/>
  658. </xhtml:body>
  659. </xhtml:html>