SMRTP00137_연도별모집현황.xrw 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <apntstatlist/>
  11. </main>
  12. <send>
  13. <yy/>
  14. <usernm/>
  15. <trngflag/>
  16. </send>
  17. <init>
  18. </init>
  19. <hidden/>
  20. <temp>
  21. <trngflag/>
  22. </temp>
  23. </root>
  24. </instance>
  25. <submission id="TRRTP00137" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/apntstatlist"/>
  26. </model>
  27. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  28. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  29. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  30. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  31. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  32. <script type="javascript" src="../../../mis/tistrngeducbaseinfomngtweb/js/RTC001.js"/>
  33. <script type="javascript" ev:event="xforms-ready">
  34. <![CDATA[
  35. //사용자 권한
  36. fCheckAuth();
  37. var today = getCurrentDate();
  38. var cur_mm = parseInt(today.substring(4, 6));
  39. var cur_yy = parseInt(today.substring(0, 4));
  40. if (cur_mm >= 11)
  41. cur_yy++;
  42. model.setValue("/root/send/yy", cur_yy);
  43. ipt_apntyy.refresh();
  44. model.setValue("/root/send/usernm", getUserInfo("usernm")); // 사용자 정보 설정
  45. var sTrngflag = model.getValue("/root/temp/trngflag");
  46. model.setValue("/root/send/trngflag", sTrngflag);
  47. model.refresh();
  48. ]]>
  49. </script>
  50. <script type="javascript">
  51. <![CDATA[
  52. //========================================================================================
  53. //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
  54. //========================================================================================
  55. function fCheckAuth() {
  56. btn_prn.disabled = !checkAuth("P") ;
  57. }
  58. ]]>
  59. </script>
  60. </xhtml:head>
  61. <xhtml:body pagewidth="560" pageheight="120">
  62. <group id="group1" style="left:10; top:0px; width:540; height:13px; ">
  63. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:540px; height:14px; ">연도별 모집현황</caption>
  64. </group>
  65. <group id="group2" scroll="auto" style="left:10; top:38px; width:540; height:60; ">
  66. <group id="group4" style="left:0px; top:10px; width:540; height:40; vertical-align:top; ">
  67. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:540; height:35; background-color:#fffbf2; border-color:#ffd799; "/>
  68. <input id="ipt_apntyy" ref="/root/send/yy" class="input_s_essential" format="yyyy" style="left:110; top:8px; width:100px; height:19px; "/>
  69. <caption id="cap_apntyy" class="search_name" style="left:15; top:9px; width:100px; height:17px; ">년 도 :</caption>
  70. </group>
  71. </group>
  72. <group id="grp_btn" scroll="auto" style="left:10; top:12px; width:540; height:27px; ">
  73. <button id="button16" class="btn3_letter4" visibility="hidden" style="left:57px; top:3px; width:80px; height:22px; ">
  74. <caption>화면이동</caption>
  75. </button>
  76. <line id="line1" class="line_6" style="x1:0; y1:25; x2:540; y2:25; "/>
  77. <button id="btn_prn" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
  78. <caption>출력</caption>
  79. <script type="javascript" ev:event="DOMActivate">
  80. <![CDATA[
  81. if(!isRequiredControls("ipt_apntyy")) return;
  82. submit("TRRTP00137");
  83. exeReportPreview("RPRTP00137","XMLSTR");
  84. ]]>
  85. </script>
  86. </button>
  87. <input id="ipt_usernm" ref="/root/send/usernm" visibility="hidden" style="left:145px; top:5px; width:100px; height:20px; "/>
  88. </group>
  89. </xhtml:body>
  90. </xhtml:html>