SMRTH00800_신청확인및발급.xrw 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071
  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. <crtfctkind>
  11. <crtfctkindlist>
  12. <status/>
  13. </crtfctkindlist>
  14. </crtfctkind>
  15. <crtfctkindtmp>
  16. <crtfctkindlist>
  17. <crtfctkind/>
  18. <issinstcd/>
  19. <frmrmert/>
  20. <trngflag/>
  21. <issresn/>
  22. <isscnt/>
  23. <amt/>
  24. <acptmthd/>
  25. <zipcd1/>
  26. <zipcd2/>
  27. <addr/>
  28. <emailid/>
  29. <emailaddr/>
  30. <etcemailaddr/>
  31. <telno/>
  32. <emplno/>
  33. </crtfctkindlist>
  34. </crtfctkindtmp>
  35. <tmplist>
  36. <issno/>
  37. </tmplist>
  38. <crtfctprnlist>
  39. <cmpltschediscontnulist/>
  40. <intndutvalulist/>
  41. <trngprcscmplt/>
  42. <cmpltcrtfctenglist/>
  43. <residutvaluenglist/>
  44. <outtriprecommendlist/>
  45. </crtfctprnlist>
  46. </main>
  47. <send>
  48. <search>
  49. <emplno/>
  50. <fromdd/>
  51. <todd/>
  52. <emplnm/>
  53. <issinstcd/>
  54. <appflag/>
  55. <crtfctkind/>
  56. </search>
  57. <save>
  58. <crtfctkind_mst/>
  59. </save>
  60. <crtfctkindlist/>
  61. <yynum/>
  62. <issinstnm/>
  63. <photimg/>
  64. <req>
  65. <emplno/>
  66. <checkflag/>
  67. <issinstcd/>
  68. <professor/>
  69. <director/>
  70. <issinstnm2/>
  71. <yy/>
  72. <supinfqurtyyflag/>
  73. <trngflag/>
  74. </req>
  75. </send>
  76. <init>
  77. <appflag>
  78. <label>전체</label>
  79. <value/>
  80. <label>신청</label>
  81. <value>1</value>
  82. <label>확인</label>
  83. <value>2</value>
  84. <label>출력</label>
  85. <value>3</value>
  86. </appflag>
  87. <deptcond/>
  88. </init>
  89. <hidden>
  90. <crtfctkind_search>
  91. <cdnm/>
  92. <cdid/>
  93. </crtfctkind_search>
  94. </hidden>
  95. <temp>
  96. </temp>
  97. </root>
  98. </instance>
  99. <submission id="TRRTH00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/crtfctkind/crtfctkindlist"/>
  100. <submission id="TRRTH00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/hidden"/>
  101. <submission id="TRRTH00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/hidden"/>
  102. <submission id="TRRTH00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/tmplist"/>
  103. <submission id="TXRTH00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/crtfctkindlist" resultref="/root/temp"/>
  104. <submission id="TXRTH00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/crtfctkindlist" resultref="/root/temp"/>
  105. <submission id="TRRTH00605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/crtfctkindtmp/crtfctkindlist" resultref="/root/main/tmplist"/>
  106. <submission id="TRRTC00302" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/deptcond"/>
  107. <submission id="TRRTH00607" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/crtfctprnlist/cmpltschediscontnulist"/>
  108. <submission id="TRRTH00609" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/crtfctprnlist/intndutvalulist"/>
  109. <submission id="TRRTH00608" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/crtfctprnlist/trngprcscmplt"/>
  110. <submission id="TRRTP00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/reflist"/>
  111. <submission id="TRRTH00612" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/crtfctprnlist/cmpltcrtfctenglist"/>
  112. <submission id="TRRTH00613" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req/emplno" resultref="/root/main/crtfctprnlist/cmpltcrtfctenglist"/>
  113. <submission id="TRRTH00614" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req/emplno" resultref="/root/main/crtfctprnlist/residutvaluenglist"/>
  114. <submission id="TRRTH00615" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/crtfctprnlist/cmpltcrtfctenglist"/>
  115. <submission id="TRRTH00616" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req/issinstcd" resultref="/root/temp"/>
  116. <submission id="TRRTH00620" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/crtfctprnlist/outtriprecommendlist"/>
  117. </model>
  118. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  119. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  120. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  121. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  122. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  123. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  124. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  125. <script type="javascript" ev:event="xforms-ready">
  126. <![CDATA[
  127. fCheckAuth();
  128. misfGridInit(grd_crtfctkindlist);
  129. misfMsterDetailSet(grd_crtfctkindlist, null, "TRRTH00601", "Y");
  130. var curdate = getCurrentDate();
  131. var cvtdate = curdate.toDate("YYYYMMDD");
  132. model.setValue(ipt_fromdd_search.attribute("ref") , cvtdate.getAddDate(-10,"D").getDateFormat("YYYYMMDD"));
  133. ipt_todd_search.value = curdate;
  134. submit("TRRTC00302");
  135. submit("TRRTH00604");
  136. var node = instance1.selectSingleNode("/root/hidden/crtfctkind_search").length;
  137. for(var i=1 ; i<=node ; i++)
  138. {
  139. model.makeValue("/root/main/crtfctkindlist[" + i + "]/cdnm", model.getValue("/root/hidden/crtfctkind_search[" + i + "]/cdnm"));
  140. model.makeValue("/root/main/crtfctkindlist[" + i + "]/cdid", model.getValue("/root/hidden/crtfctkind_search[" + i + "]/cdid"));
  141. }
  142. // misfComboComCdListMulti 보다 먼저 사용해야함 아니면 노드가 사라짐
  143. misfGridComboComCdList("Z0007",grd_crtfctkindlist,"dutplceinst");
  144. misfGridComboComCdList("Z0007",grd_crtfctkindlist,"orginstcd");
  145. misfGridComboComCdList("R0305",grd_crtfctkindlist,"issinstcd");
  146. misfGridComboComCdList("R0234",grd_crtfctkindlist,"frmrmert");
  147. misfGridComboComCdList("R0062",grd_crtfctkindlist,"trngflag");
  148. misfGridComboComCdList("R0062",grd_crtfctkindlist,"jobposnm");
  149. rszfComboComCdListMultiS("grd_crtfctkindlist.issinstcd","전체","", "above" );
  150. rszfComboComCdListMultiS("grd_crtfctkindlist.issinstcd","가톨릭중앙의료원","001", "above" );
  151. misfComboComCdListMulti("R0305,R0131,R0305,R0062", "cmb_issinstcd_search,cmb_emailaddr,cmb_issinstcd,cmb_trngflag");
  152. addComboItem( "cmb_crtfctkind_search", "전체", "", "above");
  153. addComboItem( "cmb_issinstcd_search", "가톨릭중앙의료원", "001", "above");
  154. addComboItem( "cmb_issinstcd_search", "전체", "", "above");
  155. addComboItem( "cmb_issinstcd", "가톨릭중앙의료원", "001", "above");
  156. rdo_acptmthd.select(0);
  157. cmb_issinstcd_search.value = getUserInfo("dutplceinstcd");
  158. btn_search.dispatch("DOMActivate");
  159. model.refresh();
  160. ]]>
  161. </script>
  162. <script type="javascript">
  163. <![CDATA[
  164. //========================================================================================
  165. //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
  166. //========================================================================================
  167. function fCheckAuth() {
  168. btn_search.disabled =!checkAuth("R");
  169. btn_save.disabled = !checkAuth("X");
  170. // 출력권한("P")이 있는 사람(수련부) 권한세팅
  171. if(checkAuth("P") == true)
  172. {
  173. group2.visible = checkAuth("P");
  174. ipt_emplno_search.disabled = !checkAuth("P");
  175. btn_emplno.disabled = !checkAuth("P");
  176. }
  177. // 출력권한 없는(사용자) 사람 권한 세팅
  178. else if(checkAuth("P") == false)
  179. {
  180. group2.visible = !checkAuth("P");
  181. ipt_emplno_search.disabled = checkAuth("P");
  182. btn_emplno.disabled = checkAuth("P");
  183. }
  184. }
  185. // DB에 발급 번호 생성
  186. function fIssnoCreate(check){
  187. rdo_appcnfm.value = 'Y';
  188. rdo_issyn.value = 'Y';
  189. if(check)
  190. {
  191. // ipt_emplno.value = ipt_emplno_search.value;
  192. var curdate = getCurrentDate();
  193. ipt_issdd.value = curdate;
  194. ipt_cnfmdd.value = curdate;
  195. }
  196. misfGridRowStatusChange(grd_crtfctkindlist, "/root/main/crtfctkind" , "/root/main/crtfctkindtmp");
  197. grd_crtfctkindlist.refresh();
  198. misfSave("TXRTH00601");
  199. }
  200. // 연번호 생성후 출력
  201. function fYynumCreate(){
  202. var sIssdd = ipt_issdd.value.substr(0,4);
  203. model.setValue("/root/send/yynum", sIssdd + "-" + ipt_issnotmp.value);
  204. model.setValue("/root/send/req/emplno" ,grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("emplno")));
  205. model.setValue("/root/send/req/issinstcd" ,model.getValue("/root/main/crtfctkindtmp/crtfctkindlist/issinstcd"));
  206. // 수료(예정)증명서
  207. if((cmb_crtfctkind.value == '01') ||
  208. (cmb_crtfctkind.value == '17') ||
  209. (cmb_crtfctkind.value == '18') ||
  210. (cmb_crtfctkind.value == '19') ||
  211. (cmb_crtfctkind.value == '20'))
  212. {
  213. model.setValue("/root/send/req/checkflag" , cmb_crtfctkind.value)
  214. model.setValue("/root/send/req/issinstnm2" , grd_crtfctkindlist.labelMatrix(grd_crtfctkindlist.row, 6));
  215. submit("TRRTH00607");
  216. //직인이미지
  217. fRetrImage();
  218. if (cmb_crtfctkind.value == '01'){
  219. var sPrnNum = "RPRTH00601";
  220. }else if ((cmb_crtfctkind.value == '17')||(cmb_crtfctkind.value == '19')){
  221. var sPrnNum = "RPRTH00612";
  222. }else if ((cmb_crtfctkind.value == '18')||(cmb_crtfctkind.value == '20')){
  223. var sPrnNum = "RPRTH00613";
  224. }
  225. }
  226. // 수련 중단 증명서
  227. else if(cmb_crtfctkind.value == '02')
  228. {
  229. model.setValue("/root/send/req/checkflag" , cmb_crtfctkind.value);
  230. model.setValue("/root/send/req/issinstcd", "001");
  231. submit("TRRTH00607");
  232. //직인이미지
  233. fRetrImage();
  234. var sPrnNum = "RPRTH00601";
  235. }
  236. // 수련 과정 이수 (예정) 증명서
  237. else if(cmb_crtfctkind.value == '03')
  238. {
  239. model.setValue("/root/send/req/checkflag" , cmb_crtfctkind.value);
  240. submit("TRRTH00608");
  241. var sPrnNum = "RPRTH00603";
  242. }
  243. // 인턴근무평가표
  244. else if(cmb_crtfctkind.value == '04')
  245. {
  246. model.setValue("/root/send/req/yy", grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("yy")));
  247. model.setValue("/root/send/req/supinfqurtyyflag", grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("supinfqurtyyflag")));
  248. submit("TRRTH00609");
  249. var sPrnNum = "RPRTH00604";
  250. }
  251. // 레지던트근무평가표
  252. else if(cmb_crtfctkind.value == '05')
  253. {
  254. // model.setValue("/root/send/req/emplno", model.getValue("/root/send/search/emplno"));
  255. submit("TRRTP00303");
  256. var sPrnNum = "RPRTP00303";
  257. }
  258. //재직증명서
  259. else if(cmb_crtfctkind.value == '06')
  260. {
  261. // model.setValue("/root/send/req/issinstcd" ,model.getValue("/root/main/crtfctkindtmp/crtfctkindlist/issinstcd"));
  262. model.setValue("/root/send/req/checkflag" , cmb_crtfctkind.value);
  263. model.setValue("/root/send/req/issinstnm2" , grd_crtfctkindlist.labelMatrix(grd_crtfctkindlist.row, 6));
  264. submit("TRRTH00607");
  265. //직인이미지
  266. fRetrImage();
  267. var sPrnNum = "RPRTH00601";
  268. }
  269. // 수료증명서(영문)-인턴
  270. else if(cmb_crtfctkind.value == '07')
  271. {
  272. model.setValue("/root/send/req/checkflag" , cmb_crtfctkind.value);
  273. submit("TRRTH00612");
  274. var sPrnNum = "RPRTH00610";
  275. }
  276. // 수료증명서(영문)-레지던트
  277. else if(cmb_crtfctkind.value == '08')
  278. {
  279. model.setValue("/root/send/req/checkflag" , cmb_crtfctkind.value);
  280. submit("TRRTH00612");
  281. var sPrnNum = "RPRTH00610";
  282. }
  283. // 수료증명서(영문)-인턴&레지던트
  284. else if(cmb_crtfctkind.value == '09')
  285. {
  286. model.setValue("/root/send/req/checkflag" , cmb_crtfctkind.value);
  287. submit("TRRTH00612");
  288. var sPrnNum = "RPRTH00610";
  289. }
  290. // 수료예정증명서(영문)-인턴&레지던트
  291. else if(cmb_crtfctkind.value == '10' || cmb_crtfctkind.value == '11')
  292. {
  293. model.setValue("/root/send/req/checkflag" , cmb_crtfctkind.value);
  294. submit("TRRTH00612");
  295. var sPrnNum = "RPRTH00614";
  296. }
  297. // 인턴근무평가표(영문)
  298. else if(cmb_crtfctkind.value == '13')
  299. {
  300. model.setValue("/root/send/req/yy", grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("yy")));
  301. model.setValue("/root/send/req/supinfqurtyyflag", grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("supinfqurtyyflag")));
  302. model.setValue("/root/send/req/checkflag" , cmb_crtfctkind.value);
  303. submit("TRRTH00609");
  304. var sPrnNum = "RPRTH00608";
  305. }
  306. // 레지던트근무평가표(영문)
  307. else if(cmb_crtfctkind.value == '14')
  308. {
  309. model.setValue("/root/send/req/checkflag" , cmb_crtfctkind.value);
  310. submit("TRRTH00614");
  311. var sPrnNum = "RPRTH00603";
  312. }
  313. // 재직증명서(영문)
  314. else if(cmb_crtfctkind.value == '15')
  315. {
  316. model.setValue("/root/send/req/checkflag" , cmb_crtfctkind.value);
  317. submit("TRRTH00613");
  318. var sPrnNum = "RPRTH00611";
  319. }
  320. // 근무(레지던트, 인턴)예정 증명서
  321. else if(cmb_crtfctkind.value == '16')
  322. {
  323. model.setValue("/root/send/req/trngflag" , model.getValue("/root/main/crtfctkind/crtfctkindlist["+(grd_crtfctkindlist.row+1-grd_crtfctkindlist.fixedRows)+"]/trngflag"));
  324. submit("TRRTH00615");
  325. var sPrnNum = "RPRTH00607";
  326. }
  327. // 국외여행허가추천서
  328. else if(cmb_crtfctkind.value == '21')
  329. {
  330. submit("TRRTH00620");
  331. var sPrnNum = "RPRTH00620";
  332. }
  333. //model.setValue("/root/send/issinstnm", cmb_issinstcd.label);
  334. if(ipt_director.value == '')
  335. {
  336. model.setValue("/root/send/issinstnm", grd_crtfctkindlist.labelMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("dutplceinst")));
  337. }
  338. else
  339. {
  340. model.setValue("/root/send/issinstnm", ipt_director.value);
  341. }
  342. exeReportPreview(sPrnNum,"XMLSTR");
  343. //로컬에 파일도 같이 생성
  344. //exeReportPreview(sPrnNum, "XMLSTR" , "", "false" ,"false" ,"false", "bmp","c:\Test.bmp",0, "true","","","","","","","","","","","" );
  345. btn_search.dispatch("DOMActivate");
  346. }
  347. //증명서 출력시 직인이미지노드 타입을 base64 encoding data셋팅한다.
  348. function fRetrImage() {
  349. var imgSrc = "/root/send/photimg";
  350. submit("TRRTH00616");
  351. model.setValue(imgSrc, model.getValue("/root/temp/photimg"));
  352. var imgSrc = "/root/send/photimg";
  353. setImageRefInstance(imgSrc);
  354. }
  355. ]]>
  356. </script>
  357. </xhtml:head>
  358. <xhtml:body guideline="2,646;2,658;">
  359. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  360. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">재증명신청 확인 및 발급</caption>
  361. </group>
  362. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  363. <button id="button16" class="btn3_letter4" style="left:0px; top:3; width:80px; height:22px; ">
  364. <caption>화면이동</caption>
  365. </button>
  366. <button id="btn_save" class="btn4_letter2" visibility="hidden" style="left:1139px; top:3px; width:56px; height:22px; ">
  367. <caption>신청</caption>
  368. <script type="javascript" ev:event="DOMActivate">
  369. <![CDATA[
  370. if(cmb_issinstcd.value == "" || cmb_issinstcd.value == null)
  371. {
  372. var sFlag = messageBox("발급기관을 현 소속기관으로 하겠습니다.","Q003");
  373. if(sFlag == 6)
  374. {
  375. model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/issinstcd",getUserInfo("dutplceinstcd"));
  376. }
  377. else if(sFlag == 7)
  378. {
  379. messageBox("발급기관을 ","C002");
  380. return;
  381. }
  382. }
  383. // 전공의들의 전공과 현 직위를 가지고 온다
  384. model.setValue("/root/send/req/emplno" ,grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("emplno")));
  385. alert(model.getValue("/root/send/req/emplno"))
  386. submit("TRRTH00602");
  387. var sFrmemert = model.getValue("/root/main/tmplist/frmrmert");
  388. var sTrngflag = model.getValue("/root/main/tmplist/trngflag");
  389. model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/frmrmert", sFrmemert);
  390. model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/trngflag", sTrngflag);
  391. // model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/emplno", ipt_emplno_search.value);
  392. cmb_frmrmert.refresh();
  393. cmb_trngflag.refresh();
  394. // ipt_emplno.refresh();
  395. // misfGridIUD(grd_crtfctkindlist, "A");
  396. // model.copyNode("/root/main/crtfctkind/crtfctkindlist[" + grd_crtfctkindlist.row + "]", "/root/main/crtfctkindtmp/crtfctkindlist");
  397. // ipt_emplno.value = ipt_emplno_search.value;
  398. misfGridRowStatusChange(grd_crtfctkindlist, "/root/main/crtfctkind" , "/root/main/crtfctkindtmp");
  399. grd_crtfctkindlist.refresh();
  400. misfSave("TXRTH00601");
  401. btn_search.dispatch("DOMActivate");
  402. ]]>
  403. </script>
  404. </button>
  405. <line id="line1" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  406. </group>
  407. <group id="group3" scroll="auto" style="left:0; top:38; width:1195px; height:744px; ">
  408. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:61px; background-color:#fffbf2; border-color:#ffd799; "/>
  409. <caption id="caption19" class="search_name" style="left:455px; top:46px; width:96px; height:17px; ">발급 기관 :</caption>
  410. <line id="line12" class="line_1" style="x1:0px; y1:100px; x2:1195; y2:100px; "/>
  411. <datagrid id="grd_crtfctkindlist" nodeset="/root/main/crtfctkind/crtfctkindlist" caption="발급&#xA;번호^신청일자^사번^성명^현상태^발급기관^전공과목^I/R^현직위^소속병원^근무병원^증명서종류^신청&#xA;상태^신청확인^상태^확인내용^발급일자^발급여부^신청년월^신청번호^통수^금액^전화번호^수령방법^발급사유^E-mail^우편번호^우편번호^주소^연도^상하반기 구분|발급&#xA;번호^신청일자^사번^성명^현상태^발급기관^전공과목^I/R^현직위^소속병원^근무병원^증명서종류^신청&#xA;상태^신청확인^상태^확인내용^발급일자^발급여부^신청년월^신청번호^통수^금액^전화번호^수령방법^발급사유^E-mail^우편번호^우편번호^주소^연도^상하반기 구분" colsep="^" colwidth="40, 70, 60, 70, 70, 100, 75, 70, 100, 100, 120, 95, 50, 80, 90, 100, 90, 65, 100, 80, 100, 100, 90, 100, 100, 160, 50, 50, 231, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:105px; width:1195px; height:490; ">
  412. <col ref="issno" visibility="visible" style="text-align:right; padding-right:10; ">
  413. <![CDATA[//]]>
  414. </col>
  415. <col ref="appdd" format="yyyy-mm-dd" style="text-align:center; "/>
  416. <col ref="emplno" style="text-align:center; "/>
  417. <col ref="emplnm" style="text-align:center; "/>
  418. <col ref="preststatcd" visibility="hidden" style="text-align:center; "/>
  419. <col ref="issinstcd" type="combo" visibility="visible" style="text-align:center; ">
  420. <choices>
  421. <itemset>
  422. <label/>
  423. <value/>
  424. </itemset>
  425. </choices>
  426. </col>
  427. <col ref="frmrmert" type="combo" visibility="hidden" style="left:430px; top:43px; width:75px; height:23px; text-align:center; ">
  428. <choices>
  429. <itemset>
  430. <label/>
  431. <value/>
  432. </itemset>
  433. </choices>
  434. </col>
  435. <col ref="trngflag" type="combo" visibility="visible" style="text-align:center; ">
  436. <choices>
  437. <itemset>
  438. <label/>
  439. <value/>
  440. </itemset>
  441. </choices>
  442. </col>
  443. <col ref="jobposnm" type="combo" visibility="hidden" style="text-align:center; ">
  444. <choices>
  445. <itemset>
  446. <label/>
  447. <value/>
  448. </itemset>
  449. </choices>
  450. </col>
  451. <col ref="orginstcd" type="combo" visibility="hidden">
  452. <choices>
  453. <itemset>
  454. <label/>
  455. <value/>
  456. </itemset>
  457. </choices>
  458. </col>
  459. <col ref="dutplceinst" type="combo" visibility="visible" style="text-align:center; ">
  460. <choices>
  461. <itemset>
  462. <label/>
  463. <value/>
  464. </itemset>
  465. </choices>
  466. </col>
  467. <col ref="crtfctkind" type="combo" style="text-align:center; ">
  468. <choices>
  469. <itemset nodeset="/root/hidden/crtfctkind_search">
  470. <label ref="cdnm"/>
  471. <value ref="cdid"/>
  472. </itemset>
  473. </choices>
  474. </col>
  475. <col ref="appflag" type="combo" visibility="visible" style="text-align:center; ">
  476. <choices>
  477. <itemset nodeset="/root/init/appflag">
  478. <label ref="label"/>
  479. <value ref="value"/>
  480. </itemset>
  481. </choices>
  482. </col>
  483. <col ref="appcnfm" type="combo" visibility="hidden" style="text-align:center; ">
  484. <choices>
  485. <item>
  486. <label>예</label>
  487. <value>Y</value>
  488. </item>
  489. <item>
  490. <label>아니오</label>
  491. <value>N</value>
  492. </item>
  493. </choices>
  494. </col>
  495. <col ref="cnfmdd" visibility="visible" format="yyyy-mm-dd" style="text-align:center; "/>
  496. <col ref="cnfmcnts" visibility="visible"/>
  497. <col ref="issdd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  498. <col ref="issyn" type="combo" style="text-align:center; ">
  499. <choices>
  500. <item>
  501. <label>발급</label>
  502. <value>Y</value>
  503. </item>
  504. <item>
  505. <label>미발급</label>
  506. <value>N</value>
  507. </item>
  508. </choices>
  509. </col>
  510. <col ref="appym" visibility="hidden" format="yyyy-mm" style="text-align:center; "/>
  511. <col ref="seqno" visibility="hidden" style="text-align:right; "/>
  512. <col ref="isscnt" visibility="hidden"/>
  513. <col ref="amt" visibility="hidden"/>
  514. <col ref="telno" visibility="visible" style="text-align:center; "/>
  515. <col ref="acptmthd" type="combo" visibility="visible" style="text-align:center; ">
  516. <choices>
  517. <item>
  518. <label>직접수령</label>
  519. <value>1</value>
  520. </item>
  521. <item>
  522. <label>우편수령</label>
  523. <value>2</value>
  524. </item>
  525. </choices>
  526. </col>
  527. <col ref="issresn" visibility="visible"/>
  528. <col ref="email" visibility="visible" style="text-align:center; "/>
  529. <col ref="zipcd1" visibility="visible"/>
  530. <col ref="zipcd2" visibility="visible"/>
  531. <col ref="addr" type="input" visibility="visible"/>
  532. <col ref="yy" type="output" visibility="visible"/>
  533. <col ref="supinfqurtyyflag" type="output" visibility="visible"/>
  534. <script type="javascript" ev:event="onaftersort">
  535. <![CDATA[
  536. grd_crtfctkindlist.gridToInstance();
  537. ]]>
  538. </script>
  539. <script type="javascript" ev:event="onrowchanged">
  540. <![CDATA[
  541. grd_crtfctkindlist.rebuildStyle();
  542. grd_crtfctkindlist.rowstyle(grd_crtfctkindlist.row, "data", "background-color") = "#ffeebb";
  543. model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
  544. model.refresh();
  545. model.copyNode("/root/main/crtfctkindtmp/crtfctkindlist","/root/main/crtfctkind/crtfctkindlist[" + (grd_crtfctkindlist.row - grd_crtfctkindlist.fixedRows + 1) + "]");
  546. ipt_issnotmp.value = ipt_issno.value;
  547. model.refresh();
  548. ]]>
  549. </script>
  550. </datagrid>
  551. <caption id="caption20" class="search_name" style="left:819; top:19px; width:101px; height:17px; ">신청상태 :</caption>
  552. <caption id="caption21" class="search_name" style="left:455; top:20px; width:99px; height:17px; ">증명서종류 :</caption>
  553. <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1125px; top:29px; width:56px; height:22px; text-align:left; ">
  554. <caption>조회</caption>
  555. <script type="javascript" ev:event="DOMActivate">
  556. <![CDATA[
  557. if(ipt_fromdd_search.value == "")
  558. {
  559. if(ipt_todd_search.value != "")
  560. {
  561. messageBox("신청일자가 ","E016");
  562. return;
  563. }
  564. }
  565. else if(ipt_todd_search.value == "")
  566. {
  567. if(ipt_fromdd_search.value != "")
  568. {
  569. messageBox("신청일자가 ","E016");
  570. return;
  571. }
  572. }
  573. misfMsterDetailRetrieve();
  574. //submit("TRRTH00601");
  575. misfSetReadOnlyCol(grd_crtfctkindlist,"issinstcd,frmrmert,trngflag,orginstcd,dutplceinst,crtfctkind,preststatcd,appcnfm,issyn,emailaddr,appflag,jobposnm",true);
  576. var sSearchData = grd_crtfctkindlist.rows - grd_crtfctkindlist.fixedRows;
  577. cap_search.value = "총 " + sSearchData + "건이 등록되어있습니다.";
  578. model.refresh();
  579. ]]>
  580. </script>
  581. </button>
  582. <line id="line13" class="line_4" style="x1:1110px; y1:18px; x2:1110px; y2:61px; border-color:#ffe4bb; border-left-style:solid; "/>
  583. <select1 id="cmb_crtfctkind_search" ref="/root/send/search/crtfctkind" class="combo_s_essential" appearance="minimal" style="left:554; top:19; width:159; height:19px; ">
  584. <choices>
  585. <itemset nodeset="/root/main/crtfctkindlist">
  586. <label ref="cdnm"/>
  587. <value ref="cdid"/>
  588. </itemset>
  589. </choices>
  590. </select1>
  591. <select1 id="cmb_appflag_search" ref="/root/send/search/appflag" class="combo_s_essential" appearance="minimal" style="left:904; top:19; width:110; height:19px; ">
  592. <choices>
  593. <itemset nodeset="/root/init/appflag">
  594. <label ref="label"/>
  595. <value ref="value"/>
  596. </itemset>
  597. </choices>
  598. </select1>
  599. <select1 id="cmb_issinstcd_search" ref="/root/send/search/issinstcd" class="combo_s_essential" appearance="minimal" style="left:554; top:45px; width:159px; height:19px; ">
  600. <choices>
  601. <itemset>
  602. <label/>
  603. <value/>
  604. </itemset>
  605. </choices>
  606. </select1>
  607. <input id="ipt_fromdd_search" ref="/root/send/search/fromdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:101px; top:44px; width:100px; height:19px; "/>
  608. <caption id="caption24" style="left:205px; top:46px; width:15px; height:20px; font-weight:bold; ">~</caption>
  609. <input id="ipt_todd_search" ref="/root/send/search/todd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:220px; top:44px; width:100px; height:19px; "/>
  610. <caption id="caption25" class="search_name" style="left:15px; top:45px; width:99px; height:17px; ">신청일자 :</caption>
  611. <button id="btn_emplno" class="icon_search" disabled="true" style="left:169; top:20px; width:16px; height:16px; ">
  612. <caption/>
  613. <script type="javascript" ev:event="DOMActivate">
  614. <![CDATA[
  615. var recv_list = "emplno,emplnm";
  616. rpbfOpenPopUpList("SPRPB00101", ipt_emplno_search, recv_list,"","N");
  617. model.refresh();
  618. ]]>
  619. </script>
  620. </button>
  621. <caption id="cap_emplno_search" class="search_name" style="left:15px; top:20px; width:87px; height:17px; ">사 번 :</caption>
  622. <input id="ipt_emplnm_search" ref="/root/send/search/emplnm" class="input_search" disabled="true" style="left:188; top:19; width:132; height:19px; "/>
  623. <input id="ipt_emplno_search" ref="/root/send/search/emplno" class="input_search" disabled="true" style="left:101; top:19; width:65px; height:19px; "/>
  624. <group id="group4" visibility="hidden" style="left:5px; top:245px; width:420px; height:280px; ">
  625. <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:30px; top:105px; width:420px; height:275px; "/>
  626. <line id="line8" class="line_2" style="x1:5px; y1:197px; x2:415px; y2:197px; "/>
  627. <line id="line9" class="line_2" style="x1:5px; y1:221px; x2:415px; y2:221px; "/>
  628. <input id="ipt_amt" ref="/root/main//crtfctkindtmp/crtfctkindlist/amt" disabled="false" maxlength="9" format="999999999" style="left:283px; top:127px; width:105px; height:19px; "/>
  629. <input id="ipt_etcemailaddr" ref="/root/main/crtfctkindtmp/crtfctkindlist/etcemailaddr" disabled="false" style="left:279px; top:223px; width:131px; height:19px; "/>
  630. <select1 id="cmb_frmrmert" ref="/root/main/crtfctkindtmp/crtfctkindlist/frmrmert" appearance="minimal" style="left:90px; top:80px; width:100px; height:19px; ">
  631. <choices>
  632. <itemset nodeset="/root/init/deptcond">
  633. <label ref="depthngnm"/>
  634. <value ref="orddeptcd"/>
  635. </itemset>
  636. </choices>
  637. </select1>
  638. <select1 id="rdo_acptmthd" ref="/root/main//crtfctkindtmp/crtfctkindlist/acptmthd" disabled="false" appearance="full" cols="2" overflow="visible" style="left:92px; top:151px; width:110px; height:20px; text-align:center; vertical-align:middle; border-style:none; ">
  639. <choices>
  640. <item>
  641. <label>1.직접</label>
  642. <value>1</value>
  643. </item>
  644. <item>
  645. <label>2.우편</label>
  646. <value>2</value>
  647. </item>
  648. </choices>
  649. </select1>
  650. <line id="line10" class="line_2" style="x1:5px; y1:245px; x2:415px; y2:245px; "/>
  651. <input id="ipt_telno" ref="/root/main/crtfctkindtmp/crtfctkindlist/telno" disabled="false" style="left:92px; top:247px; width:123px; height:19px; "/>
  652. <caption id="caption30" class="cell_1" style="left:5px; top:126px; width:85px; height:23px; vertical-align:middle; ">통 수</caption>
  653. <line id="line23" class="line_2" style="x1:5px; y1:53px; x2:415px; y2:53px; "/>
  654. <caption id="caption31" class="cell_1" style="left:5px; top:150px; width:85px; height:23px; vertical-align:middle; ">수령 방법</caption>
  655. <caption id="caption1" class="cell_1" style="left:195px; top:126px; width:85px; height:23px; vertical-align:middle; ">금액</caption>
  656. <caption id="caption32" class="cell_1" style="left:5px; top:174px; width:85px; height:23px; vertical-align:middle; ">우편 번호</caption>
  657. <input id="ipt_isscnt" ref="/root/main/crtfctkindtmp/crtfctkindlist/isscnt" disabled="false" maxlength="2" format="99" style="left:92px; top:127px; width:100px; height:19px; "/>
  658. <input id="ipt_issresn" ref="/root/main/crtfctkindtmp/crtfctkindlist/issresn" disabled="false" style="left:92px; top:103px; width:317px; height:19px; "/>
  659. <line id="line195" class="line_3" style="x1:5px; y1:270px; x2:415px; y2:270px; "/>
  660. <caption id="caption2" class="cell_1" style="left:5px; top:78px; width:85px; height:23px; vertical-align:middle; ">전공</caption>
  661. <input id="ipt_emailid" ref="/root/main/crtfctkindtmp/crtfctkindlist/emailid" disabled="false" style="left:92px; top:223px; width:83px; height:19px; "/>
  662. <caption id="caption33" style="left:154px; top:176px; width:20px; height:20px; text-align:center; ">~</caption>
  663. <line id="line14" class="line_1" style="x1:5px; y1:25px; x2:415px; y2:25px; "/>
  664. <select1 id="cmb_trngflag" ref="/root/main/crtfctkindtmp/crtfctkindlist/trngflag" appearance="minimal" style="left:285px; top:80px; width:100px; height:19px; ">
  665. <choices>
  666. <itemset>
  667. <label/>
  668. <value/>
  669. </itemset>
  670. </choices>
  671. </select1>
  672. <caption id="caption34" class="cell_1" style="left:5px; top:198px; width:85px; height:23px; vertical-align:middle; ">주소</caption>
  673. <caption id="caption4" style="left:392px; top:128px; width:20px; height:20px; font-weight:bold; ">원</caption>
  674. <caption id="caption35" class="cell_1" style="left:5px; top:222px; width:85px; height:23px; vertical-align:middle; ">E-Mail</caption>
  675. <caption id="caption5" class="cell_1" style="left:195px; top:78px; width:85px; height:23px; vertical-align:middle; ">현직위</caption>
  676. <select1 id="cmb_emailaddr" ref="/root/main/crtfctkindtmp/crtfctkindlist/emailaddr" disabled="false" appearance="minimal" style="left:178px; top:223px; width:100px; height:19px; ">
  677. <choices>
  678. <itemset>
  679. <label/>
  680. <value/>
  681. </itemset>
  682. </choices>
  683. </select1>
  684. <input id="ipt_zipcd1" ref="/root/main/crtfctkindtmp/crtfctkindlist/zipcd1" disabled="false" maxlength="3" format="999" style="left:92px; top:175px; width:60px; height:19px; "/>
  685. <select1 id="cmb_crtfctkind" ref="/root/main/crtfctkindtmp/crtfctkindlist/crtfctkind" class="combo_essential" disabled="false" appearance="minimal" style="left:92px; top:31px; width:150px; height:19px; ">
  686. <choices>
  687. <itemset nodeset="/root/hidden/crtfctkind_search">
  688. <label ref="cdnm"/>
  689. <value ref="cdid"/>
  690. </itemset>
  691. </choices>
  692. </select1>
  693. <caption id="cap_crtfctkind" class="cell_1" style="left:5px; top:30px; width:85px; height:23px; vertical-align:middle; ">증명서종류</caption>
  694. <caption id="caption15" class="cell_1" style="left:5px; top:246px; width:85px; height:23px; vertical-align:middle; ">전화번호</caption>
  695. <input id="ipt_zipcd2" ref="/root/main/crtfctkindtmp/crtfctkindlist/zipcd2" disabled="false" maxlength="3" format="999" style="left:175px; top:175px; width:60px; height:19px; "/>
  696. <caption id="caption16" class="tit_2" style="left:5px; top:10px; width:144px; height:13px; ">증명서 신청 메뉴</caption>
  697. <line id="line3" class="line_2" style="x1:5px; y1:77px; x2:415px; y2:77px; "/>
  698. <line id="line4" class="line_2" style="x1:5px; y1:101px; x2:415px; y2:101px; "/>
  699. <caption id="caption28" class="cell_1" style="left:5px; top:54px; width:85px; height:23px; vertical-align:middle; ">발급기관</caption>
  700. <line id="line5" class="line_2" style="x1:5px; y1:125px; x2:415px; y2:125px; "/>
  701. <caption id="caption29" class="cell_1" style="left:5px; top:102px; width:85px; height:23px; vertical-align:middle; ">발급사유</caption>
  702. <line id="line6" class="line_2" style="x1:5px; y1:149px; x2:415px; y2:149px; "/>
  703. <input id="ipt_addr" ref="/root/main/crtfctkindtmp/crtfctkindlist/addr" disabled="false" style="left:92px; top:199px; width:318px; height:19px; "/>
  704. <select1 id="cmb_issinstcd" ref="/root/main/crtfctkindtmp/crtfctkindlist/issinstcd" class="combo_essential" disabled="false" appearance="minimal" style="left:92px; top:55px; width:150px; height:19px; ">
  705. <choices>
  706. <itemset>
  707. <label/>
  708. <value/>
  709. </itemset>
  710. </choices>
  711. </select1>
  712. <line id="line7" class="line_2" style="x1:5px; y1:173px; x2:415px; y2:173px; "/>
  713. </group>
  714. <group id="group2" visibility="hidden" style="left:0px; top:604; width:1195px; height:135; ">
  715. <shape id="roundrect4" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:1195; height:130; "/>
  716. <input id="ipt_preststatcd" ref="/root/main/crtfctkindtmp/crtfctkindlist/preststatcd" visibility="hidden" style="left:1170px; top:50px; width:20px; height:19px; "/>
  717. <select1 id="rdo_issyn" ref="/root/main/crtfctkindtmp/crtfctkindlist/issyn" disabled="true" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:92px; top:53; width:98px; height:20px; border-style:none; ">
  718. <choices>
  719. <item>
  720. <label>예</label>
  721. <value>Y</value>
  722. </item>
  723. <item>
  724. <label>아니요</label>
  725. <value>N</value>
  726. </item>
  727. </choices>
  728. <script type="javascript" ev:event="xforms-value-changed">
  729. <![CDATA[
  730. if(rdo_issyn.value == 'Y')
  731. {
  732. ipt_issdd.disabled = false;
  733. var curdate = getCurrentDate();
  734. ipt_issdd.value = curdate;
  735. rdo_appcnfm.value = 'Y';
  736. rdo_appflag.value = '3';
  737. }
  738. else if(rdo_issyn.value == 'N')
  739. {
  740. if(rdo_appcnfm.value = 'Y')
  741. rdo_appflag.value = '2';
  742. else if(rdo_appcnfm.value = 'N')
  743. rdo_appflag.value = '1';
  744. }
  745. ]]>
  746. </script>
  747. </select1>
  748. <input id="ipt_issdd" ref="/root/main/crtfctkindtmp/crtfctkindlist/issdd" disabled="true" visibility="visible" inputtype="date" style="left:345px; top:53; width:105px; height:19px; "/>
  749. <input id="ipt_issno" ref="/root/main/crtfctkindtmp/crtfctkindlist/issno" disabled="true" visibility="hidden" style="left:945px; top:50px; width:20px; height:19px; "/>
  750. <button id="button4" class="btn2_letter2" style="left:1060px; top:2px; width:42px; height:19px; ">
  751. <caption>확인</caption>
  752. <script type="javascript" ev:event="DOMActivate">
  753. <![CDATA[
  754. if(rdo_appflag.value == "2"){
  755. messageBox("이미 확인된 데이터", "E008 ");
  756. return;
  757. }
  758. else if(rdo_appflag.value == "3"){
  759. messageBox("이미 출력된 데이터", "E008");
  760. return;
  761. }
  762. if(!isRequiredControls("cmb_crtfctkind"))return;
  763. if(!isRequiredControls("ipt_cnfmcnts"))return;
  764. rdo_appcnfm.value = 'Y';
  765. var curdate = getCurrentDate();
  766. ipt_cnfmdd.value = curdate;
  767. rdo_appflag.value = '2';
  768. misfGridRowStatusChange(grd_crtfctkindlist, "/root/main/crtfctkind" , "/root/main/crtfctkindtmp");
  769. grd_crtfctkindlist.refresh();
  770. misfSave("TXRTH00601");
  771. btn_search.dispatch("DOMActivate");
  772. ]]>
  773. </script>
  774. </button>
  775. <select1 id="rdo_appflag" ref="/root/main/crtfctkindtmp/crtfctkindlist/appflag" disabled="true" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:92px; top:29; width:163px; height:20px; border-style:none; ">
  776. <choices>
  777. <item>
  778. <label>신청</label>
  779. <value>1</value>
  780. </item>
  781. <item>
  782. <label>확인</label>
  783. <value>2</value>
  784. </item>
  785. <item>
  786. <label>출력</label>
  787. <value>3</value>
  788. </item>
  789. </choices>
  790. </select1>
  791. <input id="ipt_seqno" ref="/root/main/crtfctkindtmp/crtfctkindlist/seqno" visibility="hidden" style="left:1120px; top:50px; width:20px; height:19px; "/>
  792. <input id="ipt_issnotmp" ref="/root/main/tmplist/issno" visibility="hidden" style="left:970px; top:50px; width:20px; height:19px; "/>
  793. <input id="ipt_cnfmdd" ref="/root/main/crtfctkindtmp/crtfctkindlist/cnfmdd" disabled="true" visibility="visible" inputtype="date" style="left:345px; top:101; width:105px; height:19px; "/>
  794. <input id="ipt_jobposnm" ref="/root/main/crtfctkindtmp/crtfctkindlist/jobposnm" visibility="hidden" style="left:1045px; top:50px; width:20px; height:19px; "/>
  795. <caption id="caption3" class="tit_2" style="left:5px; top:7; width:144px; height:13px; ">관리자 메뉴</caption>
  796. <caption id="caption13" class="cell_1" style="left:5px; top:27; width:85px; height:23px; vertical-align:middle; ">신청상태</caption>
  797. <input id="ipt_dutplceinst" ref="/root/main/crtfctkindtmp/crtfctkindlist/dutplceinst" visibility="hidden" style="left:1020px; top:50px; width:20px; height:19px; "/>
  798. <input id="ipt_appdd" ref="/root/main/crtfctkindtmp/crtfctkindlist/appdd" disabled="true" visibility="visible" inputtype="date" style="left:345px; top:77; width:105px; height:19px; "/>
  799. <input id="ipt_emplno" ref="/root/main/crtfctkindtmp/crtfctkindlist/emplno" visibility="hidden" style="left:1070px; top:50px; width:20px; height:19px; "/>
  800. <input id="ipt_name" ref="/root/main/crtfctkindtmp/crtfctkindlist/name" visibility="hidden" style="left:1145px; top:50px; width:20px; height:19px; "/>
  801. <line id="line2" class="line_1" style="x1:5; y1:22; x2:1190; y2:22; "/>
  802. <select1 id="rdo_appcnfm" ref="/root/main/crtfctkindtmp/crtfctkindlist/appcnfm" disabled="true" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:92px; top:77; width:100px; height:20px; border-style:none; ">
  803. <choices>
  804. <item>
  805. <label>예</label>
  806. <value>Y</value>
  807. </item>
  808. <item>
  809. <label>아니요</label>
  810. <value>N</value>
  811. </item>
  812. </choices>
  813. <script type="javascript" ev:event="xforms-value-changed">
  814. <![CDATA[
  815. if(rdo_appcnfm.value == 'Y')
  816. {
  817. ipt_cnfmdd.disabled = false;
  818. ipt_cnfmcnts.disabled = false;
  819. var curdate = getCurrentDate();
  820. ipt_cnfmdd.value = curdate;
  821. rdo_appflag.value = '2';
  822. }
  823. else if(rdo_appcnfm.value == 'N')
  824. {
  825. ipt_cnfmdd.disabled = true;
  826. ipt_cnfmcnts.disabled = true;
  827. ipt_cnfmdd.value = "";
  828. rdo_appflag.value = '1';
  829. }
  830. ]]>
  831. </script>
  832. </select1>
  833. <input id="ipt_orginstcd" ref="/root/main/crtfctkindtmp/crtfctkindlist/orginstcd" visibility="hidden" style="left:995px; top:50px; width:20px; height:19px; "/>
  834. <caption id="cap_cnfmcnts" class="cell_1" style="left:257px; top:27; width:85px; height:23px; vertical-align:middle; ">확인내용</caption>
  835. <input id="ipt_appym" ref="/root/main/crtfctkindtmp/crtfctkindlist/appym" visibility="hidden" style="left:1095px; top:50px; width:20px; height:19px; "/>
  836. <input id="ipt_cnfmcnts" ref="/root/main/crtfctkindtmp/crtfctkindlist/cnfmcnts" disabled="false" style="left:345px; top:29; width:845; height:19px; "/>
  837. <line id="line11" class="line_3" style="x1:5px; y1:123; x2:1190px; y2:123; "/>
  838. <caption id="caption7" class="cell_1" style="left:5px; top:51px; width:85px; height:23px; vertical-align:middle; ">발급여부</caption>
  839. <caption id="caption8" class="cell_1" style="left:5px; top:75px; width:85px; height:23px; vertical-align:middle; ">신청확인</caption>
  840. <caption id="caption10" class="cell_1" style="left:257px; top:51px; width:85px; height:23px; vertical-align:middle; ">발급일자</caption>
  841. <caption id="caption11" class="cell_1" style="left:257px; top:75px; width:85px; height:23px; vertical-align:middle; ">신청일자</caption>
  842. <caption id="caption12" class="cell_1" style="left:257px; top:99px; width:85px; height:23px; vertical-align:middle; ">확인일자</caption>
  843. <button id="button1" class="btn2_letter2" style="left:1150px; top:2px; width:42px; height:19px; ">
  844. <caption>발급</caption>
  845. <script type="javascript" ev:event="DOMActivate">
  846. <![CDATA[
  847. if(!isRequiredControls("cmb_crtfctkind"))return;
  848. var sIssno = grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("issyn"));
  849. var sCrtfctkind = cmb_crtfctkind.value;
  850. if(sCrtfctkind =='07' || sCrtfctkind == '08' || sCrtfctkind == '09' || sCrtfctkind == '10' || sCrtfctkind == '11' || sCrtfctkind == '12' || sCrtfctkind == '13' || sCrtfctkind == '14' || sCrtfctkind == '15')
  851. {
  852. ipt_professor.value = "";
  853. ipt_director.value = "";
  854. group5.visible = true;
  855. if(cmb_issinstcd.value == '001')
  856. {
  857. cap_professor.visible = true;
  858. ipt_professor.visible = true;
  859. model.setFocus("ipt_professor");
  860. }
  861. else
  862. {
  863. cap_professor.visible = false;
  864. ipt_professor.visible = false;
  865. model.setFocus("pt_director");
  866. }
  867. group3.disabled = true;
  868. }
  869. else
  870. {
  871. // 발급되지 않은 데이터
  872. if(sIssno == "N")
  873. {
  874. // DB에 발급번호 생성
  875. fIssnoCreate(true);
  876. // 사번, 신청년월, 신청번호로 발급번호 가지고 오기
  877. submit("TRRTH00605");
  878. // 연번호 생성후 출력
  879. fYynumCreate();
  880. }
  881. // 발급된 데이터
  882. else if(sIssno == "Y")
  883. {
  884. // 사번, 신청년월, 신청번호로 발급번호 가지고 오기
  885. submit("TRRTH00605");
  886. fYynumCreate();
  887. }
  888. btn_search.dispatch("DOMActivate");
  889. }
  890. ]]>
  891. </script>
  892. </button>
  893. <button id="button3" class="btn2_letter2" style="left:1105px; top:2px; width:42px; height:19px; ">
  894. <caption>취소</caption>
  895. <script type="javascript" ev:event="DOMActivate">
  896. <![CDATA[
  897. if(rdo_appflag.value == '3')
  898. {
  899. messageBox("이미 출력된 데이터는 수정 ", "E001");
  900. }
  901. else
  902. {
  903. if(!isRequiredControls("cmb_crtfctkind"))return;
  904. rdo_appcnfm.value = 'N';
  905. ipt_cnfmcnts.value = "";
  906. ipt_cnfmdd.value = "";
  907. rdo_appflag.value = '1';
  908. misfGridRowStatusChange(grd_crtfctkindlist, "/root/main/crtfctkind" , "/root/main/crtfctkindtmp");
  909. grd_crtfctkindlist.refresh();
  910. misfSave("TXRTH00601");
  911. btn_search.dispatch("DOMActivate");
  912. }
  913. ]]>
  914. </script>
  915. </button>
  916. </group>
  917. <input id="ipt_checkflag" ref="/root/send/req/checkflag" visibility="hidden" style="left:345px; top:75px; width:100px; height:19px; "/>
  918. <caption id="cap_search" class="tit_2" style="left:5px; top:82px; width:200px; height:13px; ">총 0건이 등록되어있습니다.</caption>
  919. </group>
  920. <group id="group5" visibility="hidden" style="left:1000px; top:205px; width:195px; height:80px; ">
  921. <shape id="roundrect3" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:195px; height:80px; "/>
  922. <input id="ipt_professor" ref="/root/send/req/professor" style="left:91; top:6; width:100px; height:19px; "/>
  923. <input id="ipt_director" ref="/root/send/req/director" style="left:91; top:31; width:100px; height:19px; "/>
  924. <caption id="cap_professor" class="cell_1" style="left:5; top:5px; width:85px; height:23px; vertical-align:middle; ">기획조정실장</caption>
  925. <caption id="cap_director" class="cell_1" style="left:5; top:30px; width:85px; height:23px; vertical-align:middle; ">병원장</caption>
  926. <button id="btn_nameok" class="btn2_letter2" style="left:102px; top:55px; width:42px; height:19px; ">
  927. <caption>확인</caption>
  928. <script type="javascript" ev:event="DOMActivate">
  929. <![CDATA[
  930. var sIssno = grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("issyn"));
  931. if(cmb_issinstcd.value == '001')
  932. {
  933. if(!isRequiredControls("ipt_professor")) return;
  934. if(!isRequiredControls("ipt_director"))return;
  935. }
  936. else
  937. {
  938. if(!isRequiredControls("ipt_director"))return;
  939. }
  940. group5.visible = false;
  941. // 발급되지 않은 데이터
  942. if(sIssno == "N")
  943. {
  944. // DB에 발급번호 생성
  945. fIssnoCreate(true);
  946. // 사번, 신청년월, 신청번호로 발급번호 가지고 오기
  947. submit("TRRTH00605");
  948. // 연번호 생성후 출력
  949. fYynumCreate();
  950. }
  951. // 발급된 데이터
  952. else if(sIssno == "Y")
  953. {
  954. // 사번, 신청년월, 신청번호로 발급번호 가지고 오기
  955. submit("TRRTH00605");
  956. fYynumCreate();
  957. }
  958. group3.disabled = false;
  959. ]]>
  960. </script>
  961. </button>
  962. <button id="button2" class="btn2_letter2" style="left:147px; top:55px; width:42px; height:19px; ">
  963. <caption>취소</caption>
  964. <script type="javascript" ev:event="DOMActivate">
  965. <![CDATA[
  966. group5.visible = false;
  967. group3.disabled = false;
  968. ]]>
  969. </script>
  970. </button>
  971. </group>
  972. </xhtml:body>
  973. </xhtml:html>