SMRTS00200_레지던트수련계획관리(X).xrw 63 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195
  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>레지던트 수련계획 관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <intntrnghospplanlist/>
  11. <eduplanlist/>
  12. <templist>
  13. <guidmedispcldremplno/>
  14. <drname/>
  15. <guidmedispclinstcd/>
  16. <guidmedispclinstnm/>
  17. </templist>
  18. <codelist>
  19. <deptlist/>
  20. </codelist>
  21. <isnteduplan>
  22. <edulist/>
  23. </isnteduplan>
  24. </main>
  25. <send>
  26. <condition>
  27. <yy/>
  28. <supinfqurtyyflag>1</supinfqurtyyflag>
  29. <emplno/>
  30. <anual>1</anual>
  31. <passsbjcd/>
  32. <name/>
  33. <posinstcd/>
  34. <mainguidhosp/>
  35. <edupasssbjcd/>
  36. <eduinstcd/>
  37. <plandatayn/>
  38. <apprtcdrflag/>
  39. <jobposcd/>
  40. <yychangyn/>
  41. <refanual/>
  42. <preststatcd/>
  43. <eduyy/>
  44. </condition>
  45. <save>
  46. <intntrnghospplanlist/>
  47. </save>
  48. <intntrnghospplanlist>
  49. <emplno/>
  50. <yy/>
  51. <supinfqurtyyflag/>
  52. </intntrnghospplanlist>
  53. </send>
  54. <init>
  55. <yychang>
  56. <label>수련년도변경여부</label>
  57. <value>Y</value>
  58. </yychang>
  59. <retireyn>
  60. <label>전체</label>
  61. <value/>
  62. <label>퇴사</label>
  63. <value>06</value>
  64. <label>정상</label>
  65. <value/>
  66. </retireyn>
  67. <supinfqurtyyflag>
  68. <label>1</label>
  69. <value>1</value>
  70. <label>2</label>
  71. <value>2</value>
  72. </supinfqurtyyflag>
  73. <planinstcd/>
  74. <cmb_posinstcd>
  75. <comcodelist/>
  76. </cmb_posinstcd>
  77. <parentidx/>
  78. <planmmcd/>
  79. <planmmnm/>
  80. <eduplan>
  81. <eduplanlist/>
  82. </eduplan>
  83. <codesend>
  84. <instcd/>
  85. </codesend>
  86. <chgcol>
  87. <chgyn>Y</chgyn>
  88. <chgsup>1</chgsup>
  89. </chgcol>
  90. </init>
  91. <hidden>
  92. <instcd/>
  93. </hidden>
  94. <temp>
  95. <datayn/>
  96. <emplnoyn/>
  97. <passyn/>
  98. <towdatayn/>
  99. </temp>
  100. </root>
  101. </instance>
  102. <submission id="TXRTS00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
  103. <submission id="TRRTS00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/temp"/>
  104. <submission id="TRRTS00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/intntrnghospplanlist"/>
  105. <submission id="TRRTS00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/eduplanlist"/>
  106. <submission id="TXRTS00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
  107. <submission id="TXRTS00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/temp"/>
  108. <submission id="TRRTS00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init/codesend" resultref="/root/main/codelist"/>
  109. </model>
  110. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  111. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  112. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  113. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  114. <script type="javascript" src="../../../mis/dligclaznsmngtweb/js/RPD001.js"/>
  115. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  116. <script type="javascript" src="../../../mis/tistrngeducbaseinfomngtweb/js/RTC001.js"/>
  117. <script type="javascript" ev:event="xforms-ready">
  118. <![CDATA[
  119. gFromMonthColIdx0 = grd_intntrnghospplanlist.colRef("mardeptcd");
  120. gFromMonthColIdx1 = grd_intntrnghospplanlist.colRef("demardeptcd");
  121. gFromMonthColIdx2 = grd_intntrnghospplanlist.colRef("edmardeptcd");
  122. //사용자 권한
  123. fCheckAuth();
  124. // 그리드 초기화
  125. misfGridInit(grd_intntrnghospplanlist);
  126. misfGridInit(grd_instedulist);
  127. fmisfMsterDetailSet(grd_intntrnghospplanlist, null, "TRRTS00201", "Y");
  128. misfComboComCdList('R0305',cmb_mainguidhosp,"Y");
  129. misfComboComCdList('R0281',cmb_refanual);
  130. misfComboComCdList('R0146',cmb_preststatcd,"Y");
  131. misfComboComCdList('R0237',cmb_supinfqurtyyflag);
  132. misfComboComCdList('R0281',cmb_anual);
  133. // misfComboCopyItemSet(cmb_posinstcd, "/root/send/condition/posinstcd", cmb_mainguidhosp,"/root/send/condition/mainguidhosp");
  134. submit("TRRTS00205");
  135. var curDate = getCurrentDate().toDate().getDateFormat("YYYYMMDD");
  136. var isDate = curDate.toDate().getAddDate(2,'M').getDateFormat("YYYY");
  137. model.setValue("/root/send/condition/yy", isDate);
  138. model.refresh();
  139. //var deptcd = getUserInfo("dutplcecd");
  140. //cmb_passsbjcd.value= deptcd;
  141. //그리드의 타이틀을 누르면 sort되는 기능
  142. // grd_intntrnghospplanlist.explorerbar = "sort";
  143. cmb_refanual.value='4';
  144. ]]>
  145. </script>
  146. <script type="javascript">
  147. <![CDATA[
  148. //========================================================================================
  149. //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
  150. //========================================================================================
  151. function fCheckAuth() {
  152. btn_search.disabled = !checkAuth("R") ;
  153. btn_save.disabled = !checkAuth("X") ;
  154. }
  155. function fmisValueChange(){
  156. var cur_row=grd_intntrnghospplanlist.row;
  157. var posdeptcd=grd_intntrnghospplanlist.valueMatrix(cur_row, grd_intntrnghospplanlist.colRef("posdeptcd"));
  158. var demardeptcd=grd_intntrnghospplanlist.valueMatrix(cur_row, grd_intntrnghospplanlist.colRef("demardeptcd"));
  159. if (grd_intntrnghospplanlist.col == "40" ){
  160. if(posdeptcd=="2010000000"){
  161. if(demardeptcd =="MG" || demardeptcd =="MC" ||demardeptcd =="MP" ||demardeptcd =="MN" ||demardeptcd =="MH" ||demardeptcd =="MO" ||demardeptcd =="MI" ||demardeptcd =="MR"){
  162. }else{
  163. grd_intntrnghospplanlist.valueMatrix(cur_row, grd_intntrnghospplanlist.colRef("demardeptcd"))="";
  164. }
  165. }
  166. }
  167. /*<col disabled="true" ref="demardeptcd" type="input" maxlength="2" style="text-align:center; "/>
  168. <col disabled="true" ref="deaprdeptcd" type="input" style="text-align:center; "/>
  169. <col disabled="true" ref="demaydeptcd" type="input" style="text-align:center; "/>
  170. <col disabled="true" ref="dejundeptcd" type="input" style="text-align:center; "/>
  171. <col disabled="true" ref="dejuldeptcd" type="input" style="text-align:center; "/>
  172. <col disabled="true" ref="deaugdeptcd" type="input" style="text-align:center; "/>
  173. <col disabled="true" ref="desepdeptcd" type="input" style="text-align:center; "/>
  174. <col disabled="true" ref="deoctdeptcd" type="input" style="text-align:center; "/>
  175. <col disabled="true" ref="denovdeptcd" type="input" style="text-align:center; "/>
  176. <col disabled="true" ref="dedecdeptcd" type="input" style="text-align:center; "/>
  177. <col disabled="true" ref="dejandeptcd" type="input" style="text-align:center; "/>
  178. <col disabled="true" ref="defebdeptcd" type="input" style="text-align:center; "/>*/
  179. }
  180. function fmisEmpButtonClick(){
  181. var par_row = grd_intntrnghospplanlist.row;
  182. if (grd_intntrnghospplanlist.col == 11) {//사원번호 버튼을 눌렀을 때
  183. var bf_dremplno = grd_intntrnghospplanlist.valueMatrix(par_row, grd_intntrnghospplanlist.colRef("guidmedispcldremplno"));
  184. var recv_list = "guidmedispclinstcd,guidmedispclinstnm,drname,guidmedispcldremplno";
  185. misfOpenPopUpList("35", ipt_dremplno,"",recv_list);
  186. var dremplno = ipt_dremplno.value;
  187. var drname = ipt_drname.value;
  188. var guidmedispclinstcd = ipt_guidmedispclinstcd.value;
  189. var guidmedispclinstnm = ipt_guidmedispclinstnm.value;
  190. if(bf_dremplno != dremplno && dremplno !=""){
  191. grd_intntrnghospplanlist.addStatus(par_row,"update");
  192. }
  193. grd_intntrnghospplanlist.valueMatrix(par_row, grd_intntrnghospplanlist.colRef("drname")) = drname;
  194. grd_intntrnghospplanlist.valueMatrix(par_row, grd_intntrnghospplanlist.colRef("guidmedispclinstcd")) = guidmedispclinstcd;
  195. grd_intntrnghospplanlist.valueMatrix(par_row, grd_intntrnghospplanlist.colRef("guidmedispclinstnm")) = guidmedispclinstnm;
  196. grd_intntrnghospplanlist.valueMatrix(par_row, grd_intntrnghospplanlist.colRef("guidmedispcldremplno")) = dremplno;
  197. //신청일자 및 시간 유효성 체크
  198. for(i=grd_intntrnghospplanlist.fixedRows; i < grd_intntrnghospplanlist.rows ; i++){
  199. var emplno = grd_intntrnghospplanlist.valueMatrix(par_row,6);
  200. var emplno_ch = grd_intntrnghospplanlist.valueMatrix(i, grd_intntrnghospplanlist.colRef("emplno"));
  201. if(emplno == emplno_ch && grd_intntrnghospplanlist.valueMatrix(i, grd_intntrnghospplanlist.colRef("guidmedispcldremplno")) =="" && dremplno !=""){
  202. grd_intntrnghospplanlist.valueMatrix(i, grd_intntrnghospplanlist.colRef("drname"))=drname;
  203. grd_intntrnghospplanlist.valueMatrix(i, grd_intntrnghospplanlist.colRef("guidmedispclinstcd"))=guidmedispclinstcd;
  204. grd_intntrnghospplanlist.valueMatrix(i, grd_intntrnghospplanlist.colRef("guidmedispclinstnm"))=guidmedispclinstnm;
  205. grd_intntrnghospplanlist.valueMatrix(i, grd_intntrnghospplanlist.colRef("guidmedispcldremplno"))=dremplno;
  206. grd_intntrnghospplanlist.addStatus(i,"update");
  207. }
  208. }
  209. ipt_dremplno.value = "";
  210. ipt_drname.value = "";
  211. ipt_guidmedispclinstcd.value = "";
  212. ipt_guidmedispclinstnm.value = "";
  213. }
  214. }
  215. function fmisButtonClick(str_col){
  216. var par_row = grd_intntrnghospplanlist.row;
  217. if (str_col == 74 ||str_col == 75 || str_col == 76 || str_col== 77
  218. ||str_col== 78 ||str_col == 79 ||str_col == 80 ||str_col == 81
  219. ||str_col == 82 ||str_col == 83 ||str_col == 84||str_col == 85) //교육3월 눌렀을때.. 2090000000
  220. {
  221. if(str_col == 74){
  222. var passsbjcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("demardeptcd"));
  223. var eduinstcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("mardeptcd"));
  224. if(eduinstcd =="" ||passsbjcd =="" ){
  225. messageBox("수련계획 해당월의 수련기관(수련부서)을 먼저 ","C001");
  226. misfGridInit(grd_instedulist);
  227. eduGroup.visible = false;
  228. return;
  229. }
  230. model.setValue("/root/init/parentidx",par_row);
  231. model.setValue("/root/init/planmmcd","edmardeptcd");
  232. }else if(str_col == 75){
  233. var passsbjcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("deaprdeptcd"));
  234. var eduinstcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("aprdeptcd"));
  235. if(eduinstcd ==""){
  236. messageBox("수련계획 해당월의 기관을 먼저 ","C001");
  237. misfGridInit(grd_instedulist);
  238. eduGroup.visible = false;
  239. return;
  240. }
  241. model.setValue("/root/init/parentidx",par_row);
  242. model.setValue("/root/init/planmmcd","edaprdeptcd");
  243. }else if(str_col == 76){
  244. var passsbjcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("demaydeptcd"));
  245. var eduinstcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("maydeptcd"));
  246. if(eduinstcd ==""){
  247. messageBox("수련계획 해당월의 기관을 먼저 ","C001");
  248. misfGridInit(grd_instedulist);
  249. eduGroup.visible = false;
  250. return;
  251. }
  252. model.setValue("/root/init/parentidx",par_row);
  253. model.setValue("/root/init/planmmcd","edmaydeptcd");
  254. }else if(str_col == 77){
  255. var passsbjcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("dejundeptcd"));
  256. var eduinstcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("jundeptcd"));
  257. if(eduinstcd ==""){
  258. messageBox("수련계획 해당월의 기관을 먼저 ","C001");
  259. misfGridInit(grd_instedulist);
  260. eduGroup.visible = false;
  261. return;
  262. }
  263. model.setValue("/root/init/parentidx",par_row);
  264. model.setValue("/root/init/planmmcd","edjundeptcd");
  265. }else if(str_col== 78){
  266. var passsbjcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("dejuldeptcd"));
  267. var eduinstcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("juldeptcd"));
  268. if(eduinstcd ==""){
  269. messageBox("수련계획 해당월의 기관을 먼저 ","C001");
  270. misfGridInit(grd_instedulist);
  271. eduGroup.visible = false;
  272. return;
  273. }
  274. model.setValue("/root/init/parentidx",par_row);
  275. model.setValue("/root/init/planmmcd","edjuldeptcd");
  276. }else if(str_col == 79){
  277. var passsbjcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("deaugdeptcd"));
  278. var eduinstcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("augdeptcd"));
  279. if(eduinstcd ==""){
  280. messageBox("수련계획 해당월의 기관을 먼저 ","C001");
  281. misfGridInit(grd_instedulist);
  282. eduGroup.visible = false;
  283. return;
  284. }
  285. model.setValue("/root/init/parentidx",par_row);
  286. model.setValue("/root/init/planmmcd","edaugdeptcd");
  287. }else if(str_col== 80){
  288. var passsbjcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("desepdeptcd"));
  289. var eduinstcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("sepdeptcd"));
  290. if(eduinstcd ==""){
  291. messageBox("수련계획 해당월의 기관을 먼저 ","C001");
  292. misfGridInit(grd_instedulist);
  293. eduGroup.visible = false;
  294. return;
  295. }
  296. model.setValue("/root/init/parentidx",par_row);
  297. model.setValue("/root/init/planmmcd","edsepdeptcd");
  298. }else if(str_col == 81){
  299. var passsbjcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("deoctdeptcd"));
  300. var eduinstcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("octdeptcd"));
  301. if(eduinstcd ==""){
  302. messageBox("수련계획 해당월의 기관을 먼저 ","C001");
  303. misfGridInit(grd_instedulist);
  304. eduGroup.visible = false;
  305. return;
  306. }
  307. model.setValue("/root/init/parentidx",par_row);
  308. model.setValue("/root/init/planmmcd","edoctdeptcd");
  309. }else if(str_col== 82){
  310. var passsbjcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("denovdeptcd"));
  311. var eduinstcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("novdeptcd"));
  312. if(eduinstcd ==""){
  313. messageBox("수련계획 해당월의 기관을 먼저 ","C001");
  314. misfGridInit(grd_instedulist);
  315. eduGroup.visible = false;
  316. return;
  317. }
  318. model.setValue("/root/init/parentidx",par_row);
  319. model.setValue("/root/init/planmmcd","ednovdeptcd");
  320. }else if(str_col == 83){
  321. var passsbjcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("dedecdeptcd"));
  322. var eduinstcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("decdeptcd"));
  323. if(eduinstcd ==""){
  324. messageBox("수련계획 해당월의 기관을 먼저 ","C001");
  325. misfGridInit(grd_instedulist);
  326. eduGroup.visible = false;
  327. return;
  328. }
  329. model.setValue("/root/init/parentidx",par_row);
  330. model.setValue("/root/init/planmmcd","eddecdeptcd");
  331. }else if(str_col== 84){
  332. var passsbjcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("dejandeptcd"));
  333. var eduinstcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("jandeptcd"));
  334. if(eduinstcd =="" ||passsbjcd =="" ){
  335. messageBox("수련계획 해당월의 수련기관(수련부서)을 먼저 ","C001");
  336. misfGridInit(grd_instedulist);
  337. eduGroup.visible = false;
  338. return;
  339. }
  340. model.setValue("/root/init/parentidx",par_row);
  341. model.setValue("/root/init/planmmcd","edjandeptcd");
  342. }else if(str_col == 85){
  343. var passsbjcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("defebdeptcd"));
  344. var eduinstcd = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("febdeptcd"));
  345. if(eduinstcd =="" ||passsbjcd =="" ){
  346. messageBox("수련계획 해당월의 수련기관(수련부서)을 먼저 ","C001");
  347. misfGridInit(grd_instedulist);
  348. eduGroup.visible = false;
  349. return;
  350. }
  351. model.setValue("/root/init/parentidx",par_row);
  352. model.setValue("/root/init/planmmcd","edfebdeptcd");
  353. }
  354. if(eduinstcd =="0"){
  355. messageBox("기관코드가 ","E004");
  356. }else{
  357. // misfGetAndSetUserInfo();
  358. // var dutunitcd = model.getValue("/root/temp/userinfo/dutunitcd");
  359. var yy = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("yy"));
  360. var anual = grd_intntrnghospplanlist.valueMatrix(grd_intntrnghospplanlist.row, grd_intntrnghospplanlist.colRef("anual"));
  361. //model.setValue("/root/send/condition/edupasssbjcd",cmb_passsbjcd.value);
  362. if(grd_instedulist.rows ==1){
  363. model.setValue("/root/send/condition/eduyy",yy);
  364. model.setValue("/root/send/condition/anual",anual);
  365. submit("TRRTS00203");
  366. }
  367. grd_instedulist.nodeset = "/root/main/eduplanlist[instcd='"+eduinstcd+"' and anual='"+ anual +"' and deptcd='"+ passsbjcd +"']";
  368. grd_instedulist.refresh();
  369. var rows = grd_instedulist.rows;
  370. if(rows==1){
  371. messageBox("해당부서에 등록된 교육코드가 ","I004");
  372. misfGridInit(grd_instedulist);
  373. eduGroup.visible = false;
  374. return;
  375. }
  376. eduGroup.attribute("popup") = "true";
  377. eduGroup.attribute("left") = window.screenLeft+150;//event.clientX-100+window.screenLeft;
  378. eduGroup.attribute("top") = window.screenTop+135;//event.clientY-20+window.screenTop;
  379. eduGroup.visible = true;
  380. model.setFocus("groupCombo");
  381. //group2.disabled = true; // addGroup 컨트롤이 나타나면 listGroup 컨트롤을 disabled 시킴
  382. }
  383. }
  384. }
  385. function fsaveCheckValue(){
  386. var iInsCnt = 0;
  387. var iDupCnt = 0;
  388. var bDel = false;
  389. var icolidx= grd_intntrnghospplanlist.colRef("supinfqurtyyflag");
  390. var icolidx1=grd_intntrnghospplanlist.colRef("apprtcdrflag");
  391. var icolidx2=grd_intntrnghospplanlist.colRef("emplno");
  392. var icolidx3=grd_intntrnghospplanlist.colRef("yy");
  393. for(var i=0; i<grd_intntrnghospplanlist.rows; i++)
  394. {
  395. if(grd_intntrnghospplanlist.rowStatus(i) == 1 || grd_intntrnghospplanlist.rowStatus(i) == 3)
  396. {
  397. iInsCnt = i;
  398. break;
  399. }
  400. }
  401. for(var i=iInsCnt; i<grd_intntrnghospplanlist.rows; i++)
  402. {
  403. for(var j=1; j<i; j++)
  404. {
  405. if(grd_intntrnghospplanlist.valueMatrix(i, icolidx) == grd_intntrnghospplanlist.valueMatrix(j, icolidx) && grd_intntrnghospplanlist.valueMatrix(i, icolidx1) == grd_intntrnghospplanlist.valueMatrix(j, icolidx1) && grd_intntrnghospplanlist.valueMatrix(i, icolidx2) == grd_intntrnghospplanlist.valueMatrix(j, icolidx2)
  406. && grd_intntrnghospplanlist.valueMatrix(i, icolidx3) == grd_intntrnghospplanlist.valueMatrix(j, icolidx3))
  407. {
  408. if(grd_intntrnghospplanlist.rowStatus(i) == 1 || grd_intntrnghospplanlist.rowStatus(i) == 3)
  409. { messageBox("데이타가 ","E006");
  410. return false;
  411. }
  412. }
  413. }
  414. }
  415. return true;
  416. }
  417. //acwon
  418. var gFromMonthColIdx0;
  419. var gFromMonthColIdx1;
  420. var gFromMonthColIdx2;
  421. function fChgColBySup()
  422. {
  423. if (model.getValue("/root/init/chgcol/chgyn") == "Y" && model.getValue("/root/init/chgcol/chgsup") != model.getValue("/root/send/condition/supinfqurtyyflag"))
  424. {
  425. model.setValue("/root/init/chgcol/chgsup", model.getValue("/root/send/condition/supinfqurtyyflag"));
  426. var colidx0 = gFromMonthColIdx0;
  427. var colidx1 = gFromMonthColIdx1;
  428. var colidx2 = gFromMonthColIdx2;
  429. var arr_sup0;
  430. var arr_sup1;
  431. var arr_sup2;
  432. var arr_supt;
  433. if (model.getValue("/root/send/condition/supinfqurtyyflag") == "1")
  434. {
  435. arr_sup0 = new Array("mardeptcd", "aprdeptcd", "maydeptcd", "jundeptcd", "juldeptcd", "augdeptcd", "sepdeptcd", "octdeptcd", "novdeptcd", "decdeptcd", "jandeptcd", "febdeptcd");
  436. arr_sup1 = new Array("demardeptcd", "deaprdeptcd", "demaydeptcd", "dejundeptcd", "dejuldeptcd", "deaugdeptcd", "desepdeptcd", "deoctdeptcd", "denovdeptcd", "dedecdeptcd", "dejandeptcd", "defebdeptcd");
  437. arr_sup2 = new Array("edmardeptcd", "edaprdeptcd", "edmaydeptcd", "edjundeptcd", "edjuldeptcd", "edaugdeptcd", "edsepdeptcd", "edoctdeptcd", "ednovdeptcd", "eddecdeptcd", "edjandeptcd", "edfebdeptcd");
  438. arr_supt = new Array("3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월", "1월", "2월");
  439. }
  440. else
  441. {
  442. arr_sup0 = new Array("sepdeptcd", "octdeptcd", "novdeptcd", "decdeptcd", "jandeptcd", "febdeptcd", "mardeptcd", "aprdeptcd", "maydeptcd", "jundeptcd", "juldeptcd", "augdeptcd");
  443. arr_sup1 = new Array("desepdeptcd", "deoctdeptcd", "denovdeptcd", "dedecdeptcd", "dejandeptcd", "defebdeptcd", "demardeptcd", "deaprdeptcd", "demaydeptcd", "dejundeptcd", "dejuldeptcd", "deaugdeptcd");
  444. arr_sup2 = new Array("edsepdeptcd", "edoctdeptcd", "ednovdeptcd", "eddecdeptcd", "edjandeptcd", "edfebdeptcd", "edmardeptcd", "edaprdeptcd", "edmaydeptcd", "edjundeptcd", "edjuldeptcd", "edaugdeptcd");
  445. arr_supt = new Array("9월", "10월", "11월", "12월", "1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월");
  446. }
  447. var idx = 0;
  448. while (idx < 12)
  449. {
  450. grd_intntrnghospplanlist.colAttribute(colidx0 + idx, "ref") = arr_sup0[idx];
  451. grd_intntrnghospplanlist.colAttribute(colidx1 + idx, "ref") = arr_sup1[idx];
  452. grd_intntrnghospplanlist.colAttribute(colidx2 + idx, "ref") = arr_sup2[idx];
  453. grd_intntrnghospplanlist.valueMatrix(0, colidx0 + idx) = arr_supt[idx];
  454. grd_intntrnghospplanlist.valueMatrix(1, colidx0 + idx) = arr_supt[idx];
  455. grd_intntrnghospplanlist.valueMatrix(2, colidx0 + idx) = arr_supt[idx];
  456. idx++;
  457. }
  458. grd_intntrnghospplanlist.refresh();
  459. }
  460. }
  461. ]]>
  462. </script>
  463. </xhtml:head>
  464. <xhtml:body style="margin-left:8; margin-right:8; ">
  465. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  466. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">레지던트 수련 계획 관리</caption>
  467. </group>
  468. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  469. <caption id="caption22" class="tit_2" style="left:5px; top:81px; width:219px; height:14px; ">수련계획 및 교육관리</caption>
  470. <group id="group6" style="left:0px; top:10px; width:1195px; height:90px; vertical-align:top; ">
  471. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:63px; "/>
  472. <caption id="cap_yy" class="search_name" style="left:15px; top:11px; width:125px; height:17px; ">년 도 :</caption>
  473. <caption id="cap_supinfqurtyyflag" class="search_name" style="left:285px; top:11px; width:126px; height:17px; ">상 하 반 기 :</caption>
  474. <caption id="cap_anual" class="search_name" style="left:539px; top:10px; width:109px; height:17px; ">전공의년차 :</caption>
  475. <caption id="cap_passsbjcd" class="search_name" style="left:770px; top:10px; width:109px; height:17px; ">전 공 과 :</caption>
  476. <select1 id="cmb_anual" ref="/root/send/condition/anual" class="combo_s_essential" appearance="minimal" style="left:642px; top:9px; width:100px; height:19px; ">
  477. <choices>
  478. <itemset>
  479. <label/>
  480. <value/>
  481. </itemset>
  482. </choices>
  483. </select1>
  484. <select1 id="cmb_passsbjcd" ref="/root/send/condition/passsbjcd" class="combo_s_essential" appearance="minimal" style="left:864px; top:9px; width:100px; height:19px; ">
  485. <choices>
  486. <itemset nodeset="/root/main/codelist/deptlist">
  487. <label ref="passsbjnm"/>
  488. <value ref="passsbjcd"/>
  489. </itemset>
  490. </choices>
  491. </select1>
  492. <input id="ipt_yy" ref="/root/send/condition/yy" class="input_default" inputtype="date" format="yyyy" style="left:145px; top:9px; width:110px; height:19px; "/>
  493. <caption id="caption2" class="search_name" style="left:15px; top:35px; width:125px; height:17px; ">주지도교육병원 :</caption>
  494. <select1 id="cmb_mainguidhosp" ref="/root/send/condition/mainguidhosp" class="combo_s_essential" appearance="minimal" style="left:145px; top:34px; width:110px; height:19px; ">
  495. <choices>
  496. <itemset>
  497. <label/>
  498. <value/>
  499. </itemset>
  500. </choices>
  501. </select1>
  502. <caption id="caption3" class="search_name" style="left:285px; top:35px; width:110px; height:17px; ">이 름 :</caption>
  503. <caption id="caption4" class="search_name" style="left:539px; top:36px; width:106px; height:17px; ">조회 년차 :</caption>
  504. <line id="line3" class="line_4" style="x1:1110px; y1:8px; x2:1110px; y2:51px; border-color:#ffe4bb; border-left-style:solid; "/>
  505. <select1 id="cmb_supinfqurtyyflag" ref="/root/send/condition/supinfqurtyyflag" class="combo_s_essential" navindex="2" appearance="minimal" style="left:400px; top:9px; width:110px; height:19px; ">
  506. <choices>
  507. <itemset>
  508. <label/>
  509. <value/>
  510. </itemset>
  511. </choices>
  512. </select1>
  513. <input id="input3" ref="/root/send/condition/name" class="input_default" style="left:400px; top:34px; width:110px; height:19px; "/>
  514. <input id="input4" ref="/root/send/condition/emplno" class="input_default" visibility="hidden" style="left:495px; top:65px; width:100px; height:19px; "/>
  515. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:18px; width:56px; height:22px; ">
  516. <caption>조회</caption>
  517. <script type="javascript" ev:event="DOMActivate">
  518. <![CDATA[
  519. //필수 입력 항목 체크(공통 ftHelper.js)
  520. if ( !isRequiredControls("ipt_yy", "cmb_supinfqurtyyflag","cmb_anual","cmb_passsbjcd") ) {
  521. return false;
  522. }
  523. var anual = cmb_anual.value;
  524. model.setValue("/root/send/condition/apprtcdrflag","R");
  525. submit("TRRTS00202");
  526. var datayn=model.getValue("/root/temp/datayn"); // 수련계획 자료등록여부
  527. var emplnoyn= model.getValue("/root/temp/emplnoyn");
  528. var passyn=model.getValue("/root/temp/passyn");
  529. if(anual=='1'){
  530. if(passyn !='Y' && anual=='1'){
  531. messageBox("레지던트 수련계획 1년차 레지던트 합격자가","I004");
  532. return;
  533. }
  534. if(emplnoyn =='Y' && anual=='1' ){
  535. messageBox("사원번호를 먼저 생성한 후 ","C001");
  536. return;
  537. }
  538. model.setValue("/root/send/condition/plandatayn","Y");
  539. }else{
  540. model.setValue("/root/send/condition/plandatayn","R2");
  541. }
  542. fChgColBySup();
  543. if(datayn !='Y'){
  544. submit("TXRTS00202");
  545. submit("TRRTS00201");
  546. }else{
  547. submit("TRRTS00201");
  548. }
  549. if(chk_yychang.value=='Y'){
  550. btn_grdadd.attribute("visibility")="visible";
  551. btn_grddel.attribute("visibility")="visible";
  552. grd_intntrnghospplanlist.colDisabled (4) = false;
  553. grd_intntrnghospplanlist.colDisabled (12) = false;
  554. grd_intntrnghospplanlist.colDisabled (72) = false;
  555. }else{
  556. btn_grdadd.attribute("visibility")="hidden";
  557. btn_grddel.attribute("visibility")="hidden";
  558. grd_intntrnghospplanlist.colDisabled (4) = true;
  559. grd_intntrnghospplanlist.colDisabled (12) = true;
  560. grd_intntrnghospplanlist.colDisabled (72) = true;
  561. }
  562. /* 사원별 rowcolor 표시*/
  563. var iYearv=cmb_refanual.value;
  564. if(cmb_passsbjcd.value == "2230000000" || cmb_passsbjcd.value.substring(0,3)=='224' && iYearv =='4'){
  565. iYearv ='3';
  566. }else{
  567. iYearv =iYearv;
  568. }
  569. var iYear = parseFloat(iYearv);
  570. var sColor = "#ffff99";
  571. icnt = 0;
  572. for(var i = grd_intntrnghospplanlist.fixedRows ; i < grd_intntrnghospplanlist.rows ; i++ )
  573. { var preststatcd = grd_intntrnghospplanlist.valueMatrix(i,grd_intntrnghospplanlist.colRef("preststatcd"));
  574. grd_intntrnghospplanlist.rowHeight(i) = 23;
  575. if(icnt % iYear == 0)
  576. {
  577. if(sColor == "#ffff99")
  578. { if(preststatcd =='4'){
  579. sColor="#ff99ff";
  580. }else{
  581. sColor = "#FFFFFF";
  582. }
  583. }
  584. else
  585. { if(preststatcd =='4'){
  586. sColor="#ff99ff";
  587. }else{
  588. sColor = "#ffff99";
  589. }
  590. }
  591. }
  592. grd_intntrnghospplanlist.rowStyle(i, "all", "background-color") = sColor;
  593. icnt ++;
  594. }
  595. var posdeptcd =grd_intntrnghospplanlist.valueMatrix(3,grd_intntrnghospplanlist.colRef("posdeptcd"));
  596. if(posdeptcd =="2230000000"){
  597. grd_intntrnghospplanlist.colAttribute(14,"maxlength")=2;
  598. grd_intntrnghospplanlist.colAttribute(15,"maxlength")=2;
  599. grd_intntrnghospplanlist.colAttribute(16,"maxlength")=2;
  600. grd_intntrnghospplanlist.colAttribute(17,"maxlength")=2;
  601. grd_intntrnghospplanlist.colAttribute(18,"maxlength")=2;
  602. grd_intntrnghospplanlist.colAttribute(19,"maxlength")=2;
  603. grd_intntrnghospplanlist.colAttribute(20,"maxlength")=2;
  604. grd_intntrnghospplanlist.colAttribute(21,"maxlength")=2;
  605. grd_intntrnghospplanlist.colAttribute(22,"maxlength")=2;
  606. grd_intntrnghospplanlist.colAttribute(23,"maxlength")=2;
  607. grd_intntrnghospplanlist.colAttribute(24,"maxlength")=2;
  608. grd_intntrnghospplanlist.colAttribute(25,"maxlength")=2;
  609. }
  610. /*for(var i = grd_intntrnghospplanlist.fixedRows ; i < grd_intntrnghospplanlist.rows ; i++ )
  611. { var posdeptcd=grd_intntrnghospplanlist.valueMatrix(i, grd_intntrnghospplanlist.colRef("posdeptcd"));
  612. if(posdeptcd=="2010000000" || posdeptcd=="2230000000"){
  613. grd_intntrnghospplanlist.colDisabled (42) = false;
  614. grd_intntrnghospplanlist.colDisabled (43) = false;
  615. grd_intntrnghospplanlist.colDisabled (44) = false;
  616. grd_intntrnghospplanlist.colDisabled (45) = false;
  617. grd_intntrnghospplanlist.colDisabled (46) = false;
  618. grd_intntrnghospplanlist.colDisabled (47) = false;
  619. }
  620. }*/
  621. ]]>
  622. </script>
  623. </button>
  624. <input id="input1" ref="/root/send/condition/edupasssbjcd" visibility="hidden" style="left:725px; top:65px; width:20px; height:19px; "/>
  625. <input id="input2" ref="/root/send/condition/eduinstcd" visibility="hidden" style="left:745px; top:65px; width:20px; height:19px; "/>
  626. <input id="ipt_guidmedispclinstnm" ref="/root/main/templist/guidmedispclinstnm" class="input_search" navindex="2" visibility="hidden" style="left:795px; top:65px; width:20px; height:19px; "/>
  627. <input id="ipt_guidmedispclinstcd" ref="/root/main/templist/guidmedispclinstcd" class="input_search" navindex="2" visibility="hidden" style="left:770px; top:65px; width:20px; height:19px; "/>
  628. <input id="ipt_drname" ref="/root/main/templist/drname" class="input_search" navindex="2" visibility="hidden" style="left:820px; top:65px; width:20px; height:19px; "/>
  629. <input id="ipt_dremplno" ref="/root/main/templist/guidmedispcldremplno" class="input_search" navindex="2" visibility="hidden" style="left:845px; top:65px; width:55px; height:19px; "/>
  630. <input id="input5" ref="/root/send/condition/plandatayn" class="input_search" navindex="2" visibility="hidden" style="left:675px; top:65px; width:20px; height:19px; "/>
  631. <input id="input6" ref="/root/temp/datayn" class="input_search" navindex="2" visibility="hidden" style="left:600px; top:65px; width:30px; height:19px; "/>
  632. <select id="chk_yychang" ref="/root/send/condition/yychangyn" class="checkbox_search" overflow="visible" appearance="full" cellspacing="5" cols="3" style="left:970px; top:36px; width:135px; height:16px; text-align:center; border-style:none; ">
  633. <choices>
  634. <itemset nodeset="/root/init/yychang">
  635. <label ref="label"/>
  636. <value ref="value"/>
  637. </itemset>
  638. </choices>
  639. <script type="javascript" ev:event="xforms-value-changed">
  640. <![CDATA[
  641. if(chk_yychang.value=='Y'){
  642. cmb_refanual.value="";
  643. cmb_refanual.disabled=true;
  644. }else{
  645. cmb_refanual.disabled=false;
  646. }
  647. ]]>
  648. </script>
  649. </select>
  650. <button id="btn_grddel" class="btn2_letter3" visibility="hidden" style="left:960px; top:65px; width:53px; height:19px; ">
  651. <caption>행삭제</caption>
  652. <script type="javascript" ev:event="DOMActivate">
  653. <![CDATA[
  654. var d_row=grd_intntrnghospplanlist.row;
  655. var status = grd_intntrnghospplanlist.rowstatus(d_row);
  656. if (status == 4)
  657. {
  658. grd_intntrnghospplanlist.removeStatus(d_row,"delete");
  659. }
  660. else
  661. {
  662. if (misfCheckDeleteYN(grd_intntrnghospplanlist) == "Y")
  663. {
  664. // 1 : 초기 insert 한상태, 3 : insert한 Row를 Edit 한경우 3으로 변경됨
  665. if(status == 1 || status == 3)
  666. {
  667. grd_intntrnghospplanlist.deleteRow(d_row, true);
  668. }
  669. else
  670. {
  671. grd_intntrnghospplanlist.addStatus(d_row,"delete");
  672. }
  673. }
  674. }
  675. model.refresh();
  676. ]]>
  677. </script>
  678. </button>
  679. <button id="btn_grdadd" class="btn2_letter3" visibility="hidden" style="left:904px; top:65px; width:53px; height:19px; ">
  680. <caption>행추가</caption>
  681. <script type="javascript" ev:event="DOMActivate">
  682. <![CDATA[
  683. //grd_intntrnghospplanlist.addRow();
  684. if(grd_intntrnghospplanlist.rows <4 ){
  685. messageBox("수련년도를 변경할 전공의가 ","I004");
  686. return;
  687. }
  688. var p_row=grd_intntrnghospplanlist.row;
  689. grd_intntrnghospplanlist.insertRow(p_row,"below", "false", "true");
  690. var cur_row=grd_intntrnghospplanlist.row-2;
  691. var oldsupinfqurtyyflag = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/oldsupinfqurtyyflag");
  692. var apprtcdrflag = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/apprtcdrflag");
  693. var rregno = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/rregno");
  694. var name = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/name");
  695. var emplno = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/emplno");
  696. var anual = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/anual");
  697. var dremplno = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"/dremplno");
  698. var guidmedispclinstcd = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/guidmedispclinstcd");
  699. var posdeptcd = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/posdeptcd");
  700. var posdeptnm = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/posdeptnm");
  701. var drname = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/drname");
  702. var yy = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/yy");
  703. var trainplan = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/trainplan");
  704. var armynm = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/armynm");
  705. var guidmedispclinstnm = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/guidmedispclinstnm");
  706. var traindept = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/traindept");
  707. var mainguidhosp = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/mainguidhosp");
  708. var guidmedispcldrlincno = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/guidmedispcldrlincno");
  709. var trainedu = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/trainedu");
  710. var supinfqurtyyflag = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/supinfqurtyyflag");
  711. var passsbjcd = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/passsbjcd");
  712. var apntinfono = model.getValue("/root/main/intntrnghospplanlist["+(cur_row-1)+"]/apntinfono");
  713. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/oldsupinfqurtyyflag",oldsupinfqurtyyflag);
  714. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/apprtcdrflag",apprtcdrflag);
  715. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/rregno",rregno);
  716. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/name",name);
  717. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/emplno",emplno);
  718. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/anual",anual);
  719. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/dremplno",dremplno);
  720. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/guidmedispclinstcd",guidmedispclinstcd);
  721. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/posdeptcd",posdeptcd);
  722. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/posdeptnm",posdeptnm);
  723. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/drname",drname);
  724. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/yy",yy);
  725. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/trainplan",trainplan);
  726. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/armynm",armynm);
  727. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/guidmedispclinstnm",guidmedispclinstnm);
  728. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/traindept",traindept);
  729. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/mainguidhosp",mainguidhosp);
  730. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/guidmedispcldrlincno",guidmedispcldrlincno );
  731. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/trainedu",trainedu);
  732. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/supinfqurtyyflag",supinfqurtyyflag);
  733. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/demardeptcd",passsbjcd);
  734. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/deaprdeptcd",passsbjcd);
  735. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/demaydeptcd",passsbjcd);
  736. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/dejundeptcd",passsbjcd);
  737. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/dejuldeptcd",passsbjcd);
  738. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/deaugdeptcd",passsbjcd);
  739. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/desepdeptcd",passsbjcd);
  740. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/deoctdeptcd",passsbjcd);
  741. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/denovdeptcd",passsbjcd);
  742. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/dedecdeptcd",passsbjcd);
  743. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/dejandeptcd",passsbjcd);
  744. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/defebdeptcd",passsbjcd);
  745. model.setValue("/root/main/intntrnghospplanlist["+cur_row+"]/apntinfono",apntinfono);
  746. grd_intntrnghospplanlist.rowHeight(p_row) = 23;
  747. //grd_intntrnghospplanlist.addStatus(p_row,"insert");
  748. ]]>
  749. </script>
  750. </button>
  751. <select1 id="cmb_refanual" ref="/root/send/condition/refanual" class="combo_s_essential" appearance="minimal" style="left:642px; top:35px; width:100px; height:19px; ">
  752. <choices>
  753. <itemset>
  754. <label/>
  755. <value/>
  756. </itemset>
  757. </choices>
  758. </select1>
  759. <select1 id="cmb_preststatcd" ref="/root/send/condition/preststatcd" class="combo_s_essential" appearance="minimal" style="left:863px; top:35px; width:100px; height:19px; ">
  760. <choices>
  761. <itemset nodeset="/root/main/codelist/deptlist">
  762. <label ref="passsbjnm"/>
  763. <value ref="passsbjcd"/>
  764. </itemset>
  765. </choices>
  766. </select1>
  767. <caption id="caption5" class="search_name" style="left:770px; top:35px; width:109px; height:17px; ">근무상태 :</caption>
  768. <button id="btn_deptview" class="btn2_letter6" visibility="visible" style="left:20px; top:65px; width:78px; height:19px; ">
  769. <caption>과범례 view</caption>
  770. <script type="javascript" ev:event="DOMActivate">
  771. <![CDATA[
  772. if(cmb_passsbjcd.value=="2010000000"){
  773. deptGroup.attribute("popup") = "true";
  774. deptGroup.attribute("left") = window.screenLeft+15;
  775. deptGroup.attribute("top") = window.screenTop+135;
  776. deptGroup.visible = true;
  777. fmdeptGroup.visible = false;
  778. }else if(cmb_passsbjcd.value=="2230000000"){
  779. fmdeptGroup.attribute("popup") = "true";
  780. fmdeptGroup.attribute("left") = window.screenLeft+15;
  781. fmdeptGroup.attribute("top") = window.screenTop+135;
  782. deptGroup.visible = false;
  783. fmdeptGroup.visible = true;
  784. }
  785. instGroup.visible = false;
  786. ]]>
  787. </script>
  788. </button>
  789. <button id="button3" class="btn2_letter7" style="left:120px; top:65px; width:88px; height:19px; ">
  790. <caption>기관범례 view</caption>
  791. <script type="javascript" ev:event="DOMActivate">
  792. <![CDATA[
  793. instGroup.attribute("popup") = "true";
  794. instGroup.attribute("left") = window.screenLeft+120;
  795. instGroup.attribute("top") = window.screenTop+135;
  796. instGroup.visible = true;
  797. deptGroup.visible = false;
  798. ]]>
  799. </script>
  800. </button>
  801. <input id="input7" ref="/root/init/planmmcd" visibility="hidden" style="left:300px; top:65px; width:130px; height:20px; "/>
  802. <select id="checkbox1" ref="/root/init/chgcol/chgyn" overflow="visible" appearance="full" style="left:975px; top:10px; width:130px; height:20px; border-style:none; ">
  803. <choices>
  804. <item>
  805. <label>상하반기 컬럼조정</label>
  806. <value>Y</value>
  807. </item>
  808. </choices>
  809. </select>
  810. </group>
  811. <line id="line19" class="line_1" style="x1:0px; y1:95px; x2:1195px; y2:95px; "/>
  812. <button id="button16" class="btn5_letter8" visibility="hidden" style="left:1015px; top:75px; width:108px; height:19px; ">
  813. <caption>Excel자료Load</caption>
  814. <script type="javascript" ev:event="DOMActivate">
  815. <![CDATA[
  816. var fileName = window.fileDialog("open", "", false);
  817. grd_intntrnghospplanlist.loadExcel(fileName);
  818. for (i=grd_intntrnghospplanlist.fixedRows; i<grd_intntrnghospplanlist.rows; i++)
  819. {
  820. grd_intntrnghospplanlist.rowStatus(i) = 1;
  821. }
  822. ]]>
  823. </script>
  824. </button>
  825. <button id="button1" class="btn2_letter4" style="left:1125px; top:75px; width:64px; height:19px; ">
  826. <caption>엑셀저장</caption>
  827. <script type="javascript" ev:event="DOMActivate">
  828. <![CDATA[
  829. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  830. if (fileName != "") {;
  831. grd_intntrnghospplanlist.saveExcel(fileName, "exporttype:multi");
  832. }
  833. ]]>
  834. </script>
  835. </button>
  836. <multilinegrid id="grd_intntrnghospplanlist" nodeset="/root/main/intntrnghospplanlist" caption="old상하반기^전공의구분^주민번호^상&#xA;하&#xA;반&#xA;기^이름^사원번호^지도전문의사번^지도전문의기관코드^소속부서코드^전공과^지도전문의^년도^구분^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월^1월^2월^현상태^old년도^채용정보번호^전공과코드^변경&#xA;여부|old상하반기^전공의구분^주민번호^상&#xA;하&#xA;반&#xA;기^이름^사원번호^지도전문의사번^지도전문의기관코드^소속부서코드^군보^근무병원^년도^구분^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월^1월^2월^현상태^old년도^채용정보번호^전공과코드^변경&#xA;여부|old상하반기^전공의구분^주민번호^상&#xA;하&#xA;반&#xA;기^이름^사원번호^지도전문의사번^지도전문의기관코드^소속부서코드^주지도병원^사원번호^년차^구분^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월^1월^2월^현상태^old년도^채용정보번호^전공과코드^변경&#xA;여부" colsep="^" colwidth="14, 10, 7, 26, 55, 65, 24, 26, 13, 77, 80, 47, 45, 70, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 23, 13, 21, 19, 40" ellipsis="true" rowheader="update" rowsep="|" tooltip="true" mergecellsfixedrows="bycolrec" style="left:0px; top:100px; width:1194px; height:644px; ">
  837. <row>
  838. <col ref="oldsupinfqurtyyflag" rowspan="3" visibility="hidden" style="text-align:center; "/>
  839. <col ref="apprtcdrflag" rowspan="3" visibility="hidden" style="text-align:center; "/>
  840. <col ref="rregno" rowspan="3" visibility="hidden" style="text-align:center; "/>
  841. <col id="supinfqurtyyflag" disabled="true" ref="supinfqurtyyflag" rowspan="3" type="combo" style="text-align:center; ">
  842. <choices>
  843. <itemset nodeset="/root/init/supinfqurtyyflag">
  844. <label ref="label"/>
  845. <value ref="value"/>
  846. </itemset>
  847. </choices>
  848. </col>
  849. <col ref="name" rowspan="3" style="text-align:center; "/>
  850. <col ref="emplno" rowspan="3" style="text-align:center; "/>
  851. <col ref="mainguidhosp" rowspan="3" visibility="hidden" style="text-align:center; "/>
  852. <col ref="guidmedispclinstcd" rowspan="3" visibility="hidden" style="text-align:center; "/>
  853. <col ref="posdeptcd" rowspan="3" visibility="hidden" style="text-align:center; "/>
  854. <col ref="posdeptnm" type="output" style="text-align:center; "/>
  855. <col ref="drname" type="inputbutton" style="text-align:center; "/>
  856. <col disabled="true" ref="yy" rowspan="2" type="input" format="yyyy" style="text-align:center; "/>
  857. <col ref="trainplan" style="height:25; text-align:center; "/>
  858. <col ref="mardeptcd" type="input" format="#,###" maxlength="2" style="text-align:center; "/>
  859. <col ref="aprdeptcd" type="input" format="#,###" maxlength="2" style="text-align:center; "/>
  860. <col ref="maydeptcd" type="input" format="#,###" maxlength="2" style="text-align:center; "/>
  861. <col ref="jundeptcd" type="input" format="#,###" maxlength="2" style="text-align:center; "/>
  862. <col ref="juldeptcd" type="input" format="#,###" maxlength="2" style="text-align:center; "/>
  863. <col ref="augdeptcd" type="input" format="#,###" maxlength="2" style="text-align:center; "/>
  864. <col ref="sepdeptcd" type="input" format="#,###" maxlength="2" style="text-align:center; "/>
  865. <col ref="octdeptcd" type="input" format="#,###" maxlength="2" style="text-align:center; "/>
  866. <col ref="novdeptcd" type="input" format="#,###" maxlength="2" style="text-align:center; "/>
  867. <col ref="decdeptcd" type="input" format="#,###" maxlength="2" style="text-align:center; "/>
  868. <col ref="jandeptcd" type="input" format="#,###" maxlength="2" style="text-align:center; "/>
  869. <col ref="febdeptcd" type="input" format="#,###" maxlength="2" style="text-align:center; "/>
  870. <col ref="preststatcd" rowspan="3" visibility="hidden" style="text-align:center; "/>
  871. <col ref="oldyy" rowspan="3" visibility="hidden" style="text-align:center; "/>
  872. <col ref="apntinfono" rowspan="3" visibility="hidden" style="text-align:center; "/>
  873. <col ref="passsbjcd" rowspan="3" visibility="hidden" style="text-align:center; "/>
  874. <col checkvalue="Y,N" ref="trainyychangyn" rowspan="3" type="checkbox"/>
  875. </row>
  876. <row>
  877. <col ref="armynm" style="text-align:center; "/>
  878. <col ref="guidmedispclinstnm" style="text-align:center; "/>
  879. <col ref="traindept" style="height:25; text-align:center; "/>
  880. <col imemode="alpha" ref="demardeptcd" type="input" format="LL" maxlength="2" style="text-align:center; "/>
  881. <col imemode="alpha" ref="deaprdeptcd" type="input" format="LL" maxlength="2" style="text-align:center; "/>
  882. <col imemode="alpha" ref="demaydeptcd" type="input" format="LL" maxlength="2" style="text-align:center; "/>
  883. <col imemode="alpha" ref="dejundeptcd" type="input" format="LL" maxlength="2" style="text-align:center; "/>
  884. <col imemode="alpha" ref="dejuldeptcd" type="input" format="LL" maxlength="2" style="text-align:center; "/>
  885. <col imemode="alpha" ref="deaugdeptcd" type="input" format="LL" maxlength="2" style="text-align:center; "/>
  886. <col imemode="alpha" ref="desepdeptcd" type="input" format="LL" maxlength="2" style="text-align:center; "/>
  887. <col imemode="alpha" ref="deoctdeptcd" type="input" format="LL" maxlength="2" style="text-align:center; "/>
  888. <col imemode="alpha" ref="denovdeptcd" type="input" format="LL" maxlength="2" style="text-align:center; "/>
  889. <col imemode="alpha" ref="dedecdeptcd" type="input" format="LL" maxlength="2" style="text-align:center; "/>
  890. <col imemode="alpha" ref="dejandeptcd" type="input" format="LL" maxlength="2" style="text-align:center; "/>
  891. <col imemode="alpha" ref="defebdeptcd" type="input" format="LL" maxlength="2" style="text-align:center; "/>
  892. </row>
  893. <row>
  894. <col ref="mainguidhospnm" style="text-align:center; "/>
  895. <col ref="guidmedispcldremplno" style="text-align:center; "/>
  896. <col ref="anual" type="input" format="#,###" maxlength="1" style="text-align:center; "/>
  897. <col ref="trainedu" style="text-align:center; "/>
  898. <col disabled="true" ref="edmardeptcd" type="input" maxlength="6" style="text-align:center; background-image:../../../com/commonweb/images/icon_btn.gif; background-position:center right; "/>
  899. <col disabled="true" ref="edaprdeptcd" type="inputbutton" maxlength="6" style="text-align:center; background-image:../../../com/commonweb/images/icon_btn.gif; background-position:center right; "/>
  900. <col disabled="true" ref="edmaydeptcd" type="inputbutton" maxlength="6" style="text-align:center; background-image:../../../com/commonweb/images/icon_btn.gif; background-position:center right; "/>
  901. <col ref="edjundeptcd" type="inputbutton" maxlength="6" style="text-align:center; background-image:../../../com/commonweb/images/icon_btn.gif; background-position:center right; "/>
  902. <col ref="edjuldeptcd" type="inputbutton" style="text-align:center; background-image:../../../com/commonweb/images/icon_btn.gif; background-position:center right; "/>
  903. <col ref="edaugdeptcd" type="inputbutton" style="text-align:center; background-image:../../../com/commonweb/images/icon_btn.gif; background-position:center right; "/>
  904. <col ref="edsepdeptcd" type="inputbutton" style="text-align:center; background-image:../../../com/commonweb/images/icon_btn.gif; background-position:center right; "/>
  905. <col ref="edoctdeptcd" type="inputbutton" style="text-align:center; background-image:../../../com/commonweb/images/icon_btn.gif; background-position:center right; "/>
  906. <col ref="ednovdeptcd" type="inputbutton" style="text-align:center; background-image:../../../com/commonweb/images/icon_btn.gif; background-position:center right; "/>
  907. <col ref="eddecdeptcd" type="inputbutton" style="text-align:center; background-image:../../../com/commonweb/images/icon_btn.gif; background-position:center right; "/>
  908. <col ref="edjandeptcd" type="inputbutton" style="text-align:center; background-image:../../../com/commonweb/images/icon_btn.gif; background-position:center right; "/>
  909. <col ref="edfebdeptcd" type="inputbutton" style="text-align:center; background-image:../../../com/commonweb/images/icon_btn.gif; background-position:center right; "/>
  910. </row>
  911. <script type="javascript" ev:event="onbuttonclick">
  912. <![CDATA[
  913. fmisEmpButtonClick(grd_intntrnghospplanlist.col);
  914. grd_intntrnghospplanlist.dispatch("onmouseup");
  915. ]]>
  916. </script>
  917. <script type="javascript" ev:event="onclick">
  918. <![CDATA[
  919. fmisButtonClick(grd_intntrnghospplanlist.col);
  920. grd_intntrnghospplanlist.dispatch("onmouseup");
  921. ]]>
  922. </script>
  923. </multilinegrid>
  924. <group id="fmdeptGroup" visibility="hidden" popup="true" style="left:0px; top:255px; width:315px; height:415px; border-color:#666666; border-width:1px; border-style:solid; ">
  925. <caption id="caption8" style="left:4px; top:4px; width:165px; height:399px; font-family:돋움; font-weight:bold; vertical-align:middle; line-spacing:5; ">
  926. <![CDATA[*MD :내과
  927. *MI : 감염내과
  928. *ME : 내분비내과
  929. *MR : 류마티스내과
  930. *MG : 소화기내과
  931. *MC : 순환기(심장)내과
  932. *MN : 신장내과
  933. *MO : 종양내과
  934. *MH : 혈액내과
  935. *MB : 혈액종양내과
  936. *MP : 호흡기내과
  937. *PD : 소아청소년과
  938. *NU : 신경과
  939. *PY : 정신과
  940. *DR : 피부과
  941. *GS : 외과
  942. *CS : 흉부외과
  943. *OS : 정형외과
  944. *NS : 신경외과
  945. ]]>
  946. </caption>
  947. <button id="button6" class="btn2_letter2" style="left:239px; top:379px; width:42px; height:19px; ">
  948. <caption>닫기</caption>
  949. <script type="javascript" ev:event="DOMActivate">
  950. <![CDATA[
  951. fmdeptGroup.visible = false;
  952. ]]>
  953. </script>
  954. </button>
  955. <caption id="caption10" style="left:159px; top:4px; width:145px; height:370px; font-family:돋움; font-weight:bold; vertical-align:middle; line-spacing:5; ">
  956. <![CDATA[*PS : 성형외과
  957. *GY : 산부인과
  958. *EY : 안과
  959. *ET : 이비인후과
  960. *UR : 비뇨기과
  961. *RM : 재활의학과
  962. *AN : 마취통증의학과
  963. *RD : 영상의학과
  964. *RT : 방사선종양학과
  965. *NM : 핵의학과
  966. *CP : 임상병리과
  967. *AP : 해부병리과
  968. *FM : 가정의학과
  969. *ER : 응급의학과
  970. *OM : 산업의학과
  971. *DT : 치과
  972. *PT : 보철과
  973. *OT : 구강외과
  974. *OD : 교정과]]>
  975. </caption>
  976. </group>
  977. </group>
  978. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  979. <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  980. <button id="btn_save" class="btn4_letter2" style="left:1124px; top:3px; width:56px; height:22px; ">
  981. <caption>저장</caption>
  982. <script type="javascript" ev:event="DOMActivate">
  983. <![CDATA[
  984. var retMes = messageBox("저장 하시겠습니까?", "Q999");
  985. if ( retMes != 6) {
  986. return;
  987. }
  988. if(!checkRequiredColumn("grd_intntrnghospplanlist"))return;
  989. var plandatayn=model.getValue("/root/send/condition/plandatayn");
  990. if(plandatayn == "N"){
  991. for (var i = grd_intntrnghospplanlist.fixedRows; i < grd_intntrnghospplanlist.rows; i++ ) {
  992. grd_intntrnghospplanlist.addStatus(i,"insert");
  993. }
  994. }
  995. if(!fsaveCheckValue())return;
  996. misfSave("TXRTS00201");
  997. model.setValue("/root/send/condition/plandatayn",'Y');
  998. ]]>
  999. </script>
  1000. </button>
  1001. </group>
  1002. <group id="eduGroup" visibility="hidden" popup="true" style="left:275px; top:290px; width:230px; height:295px; border-color:#666666; border-width:1px; border-style:solid; ">
  1003. <datagrid id="grd_instedulist" nodeset="/root/main/eduplanlist" caption="교육코드^교육명" colsep="^" colwidth="58, 123, 100, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:-1px; width:219px; height:255px; ">
  1004. <col ref="educcd"/>
  1005. <col ref="educnm"/>
  1006. <col ref="instcd" visibility="hidden"/>
  1007. <col ref="anual" visibility="hidden"/>
  1008. <col ref="deptcd" visibility="hidden"/>
  1009. <script type="javascript" ev:event="onclick">
  1010. <![CDATA[
  1011. if( grd_instedulist.isCell(event.target) && grd_instedulist.row >= grd_instedulist.fixedRows )
  1012. { var planmmcd = model.getValue("/root/init/planmmcd");
  1013. var cur_row = grd_instedulist.row;
  1014. var par_row = model.getValue("/root/init/parentidx");
  1015. var cdid = grd_instedulist.valueMatrix(grd_instedulist.row, grd_instedulist.colRef("educcd"));
  1016. grd_intntrnghospplanlist.valueMatrix(par_row, grd_intntrnghospplanlist.colRef(planmmcd))=cdid;
  1017. }
  1018. if(planmmcd=="edmardeptcd"){
  1019. str_col=74;
  1020. }else if(planmmcd=="edaprdeptcd"){
  1021. str_col=75;
  1022. }else if(planmmcd =="edmaydeptcd"){
  1023. str_col=76;
  1024. }else if(planmmcd =="edjundeptcd"){
  1025. str_col=77;
  1026. }else if(planmmcd =="edjuldeptcd"){
  1027. str_col=78;
  1028. }else if(planmmcd =="edaugdeptcd"){
  1029. str_col=79;
  1030. }else if(planmmcd =="edsepdeptcd"){
  1031. str_col=80;
  1032. }else if(planmmcd =="edoctdeptcd"){
  1033. str_col=81;
  1034. }else if(planmmcd =="ednovdeptcd"){
  1035. str_col=82;
  1036. }else if(planmmcd =="eddecdeptcd"){
  1037. str_col=83;
  1038. }else if(planmmcd =="edjandeptcd"){
  1039. str_col=84;
  1040. }else if(planmmcd =="edfebdeptcd"){
  1041. str_col=85;
  1042. }
  1043. str_col=str_col+1;
  1044. if(str_col==86){
  1045. misfGridInit(grd_instedulist);
  1046. eduGroup.visible = false;
  1047. }
  1048. fmisButtonClick(str_col);
  1049. grd_instedulist.dispatch("onmouseup");
  1050. ]]>
  1051. </script>
  1052. </datagrid>
  1053. <button id="button2" class="btn2_letter2" style="left:154px; top:264px; width:42px; height:19px; ">
  1054. <caption>닫기</caption>
  1055. <script type="javascript" ev:event="DOMActivate">
  1056. <![CDATA[
  1057. misfGridInit(grd_instedulist);
  1058. eduGroup.visible = false;
  1059. ]]>
  1060. </script>
  1061. </button>
  1062. </group>
  1063. <group id="deptGroup" visibility="hidden" popup="true" style="left:5px; top:270px; width:170px; height:235px; border-color:#666666; border-width:1px; border-style:solid; ">
  1064. <caption id="schedulerCaption" style="left:4px; top:-1px; width:160px; height:210px; font-family:돋움; font-weight:bold; vertical-align:middle; line-spacing:5; ">
  1065. <![CDATA[*MI : 감염내과
  1066. *ME : 내분비내과
  1067. *MR : 류마티스내과
  1068. *MG : 소화기내과
  1069. *MC : 순환기(심장)내과
  1070. *MN : 신장내과
  1071. *MO : 종양내과
  1072. *MH : 혈액내과
  1073. *MB : 혈액종양내과
  1074. *MP : 호흡기내과 ]]>
  1075. </caption>
  1076. <button id="button4" class="btn2_letter2" style="left:94px; top:204px; width:42px; height:19px; ">
  1077. <caption>닫기</caption>
  1078. <script type="javascript" ev:event="DOMActivate">
  1079. <![CDATA[
  1080. deptGroup.visible = false;
  1081. ]]>
  1082. </script>
  1083. </button>
  1084. </group>
  1085. <group id="instGroup" visibility="hidden" popup="true" style="left:40px; top:275px; width:170px; height:275px; border-color:#666666; border-width:1px; border-style:solid; ">
  1086. <caption id="caption7" style="left:4px; top:-1px; width:160px; height:247px; font-family:돋움; font-weight:bold; vertical-align:middle; line-spacing:5; ">
  1087. <![CDATA[* 1 : 성모병원
  1088. * 2 : 강남성모병원
  1089. * 3 : 의정부성모병원
  1090. * 4 : 성가병원
  1091. * 5 : 성바오로병원
  1092. * 6 : 성모자애병원
  1093. * 7 : 성빈센트병원
  1094. * 8 : 대전성모병원
  1095. * 9 : 청주성모병원
  1096. *21 : 강릉동인병원
  1097. *22 : 대림성모
  1098. *23 : 보바스병원
  1099. *24 : 예산명지병원]]>
  1100. </caption>
  1101. <button id="button5" class="btn2_letter2" style="left:94px; top:250px; width:42px; height:19px; ">
  1102. <caption>닫기</caption>
  1103. <script type="javascript" ev:event="DOMActivate">
  1104. <![CDATA[
  1105. instGroup.visible = false;
  1106. ]]>
  1107. </script>
  1108. </button>
  1109. </group>
  1110. </xhtml:body>
  1111. </xhtml:html>