SMRTP00106_면접시간표.xrw 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  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. <intvtmlist/>
  11. </main>
  12. <send>
  13. <apntyy/>
  14. <supinfqurtyyflag/>
  15. <usernm/>
  16. <trngflag/>
  17. <fstlattrmflag/>
  18. <dentyn/>
  19. <prnflag/>
  20. <trngnm/>
  21. <supinfqurtyynm/>
  22. <apntyear/>
  23. <fstlattrmnm/>
  24. </send>
  25. <init>
  26. <prnflag>
  27. <label>공지용</label>
  28. <value>1</value>
  29. <label>행정용</label>
  30. <value>2</value>
  31. </prnflag>
  32. </init>
  33. <hidden/>
  34. <temp/>
  35. </root>
  36. </instance>
  37. <submission id="TRRTP00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/intvtmlist"/>
  38. </model>
  39. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  40. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  43. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  44. <script type="javascript" src="../../../mis/tistrngeducbaseinfomngtweb/js/RTC001.js"/>
  45. <script type="javascript" ev:event="xforms-ready">
  46. <![CDATA[
  47. //사용자 권한
  48. fCheckAuth();
  49. misfComboComCdList('R0238', cmb_fstlattrmflag);
  50. misfComboComCdListMulti("R0237,R0151,R0239", "cmb_supinfqurtyyflag,cmb_trngflag,cmb_dentyn");
  51. cmb_supinfqurtyyflag.select(0);
  52. cmb_fstlattrmflag.select(0);
  53. cmb_trngflag.select(0);
  54. cmb_dentyn.select(0);
  55. cmb_prnflag.select(0);
  56. var today = getCurrentDate();
  57. var cur_mm = parseInt(today.substring(4, 6));
  58. var cur_yy = parseInt(today.substring(0, 4));
  59. if (cur_mm >= 11)
  60. cur_yy++;
  61. model.setValue("/root/send/apntyy", cur_yy);
  62. ipt_apntyy.refresh();
  63. model.setValue("/root/send/usernm", getUserInfo("usernm")); // 사용자 정보 설정
  64. model.refresh();
  65. ]]>
  66. </script>
  67. <script type="javascript">
  68. <![CDATA[
  69. //========================================================================================
  70. //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
  71. //========================================================================================
  72. function fCheckAuth() {
  73. btn_prn.disabled = !checkAuth("R") ;
  74. }
  75. ]]>
  76. </script>
  77. </xhtml:head>
  78. <xhtml:body pagewidth="560" pageheight="220">
  79. <group id="group1" style="left:10; top:0px; width:540; height:13px; ">
  80. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:540; height:14px; ">면접 시간표</caption>
  81. </group>
  82. <group id="group2" scroll="auto" style="left:10; top:38px; width:540; height:110; ">
  83. <group id="group4" style="left:0px; top:10px; width:540; height:90; vertical-align:top; ">
  84. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:540; height:87; background-color:#fffbf2; border-color:#ffd799; "/>
  85. <input id="ipt_apntyy" ref="/root/send/apntyy" class="input_s_essential" format="yyyy" style="left:110; top:8px; width:100px; height:19px; "/>
  86. <caption id="cap_apntyy" class="search_name" style="left:15; top:9px; width:100px; height:17px; ">년 도 :</caption>
  87. <caption id="cap_supinfqurtyyflag" class="search_name" style="left:280; top:9px; width:112px; height:17px; ">상하반기구분 :</caption>
  88. <select1 id="cmb_supinfqurtyyflag" ref="/root/send/supinfqurtyyflag" class="combo_s_essential" appearance="minimal" style="left:395; top:8px; width:100px; height:19px; ">
  89. <choices>
  90. <itemset>
  91. <label/>
  92. <value/>
  93. </itemset>
  94. </choices>
  95. </select1>
  96. <select1 id="cmb_fstlattrmflag" ref="/root/send/fstlattrmflag" class="combo_s_essential" appearance="minimal" style="left:110; top:34; width:100px; height:19px; ">
  97. <choices>
  98. <itemset>
  99. <label/>
  100. <value/>
  101. </itemset>
  102. </choices>
  103. </select1>
  104. <caption id="cap_fstlattrmflag" class="search_name" style="left:15px; top:35px; width:94px; height:17px; ">전후기구분:</caption>
  105. <caption id="caption2" class="search_name" style="left:280px; top:35px; width:109px; height:17px; ">수련의 구분 :</caption>
  106. <select1 id="cmb_trngflag" ref="/root/send/trngflag" class="combo_s_essential" appearance="minimal" style="left:395; top:34; width:100px; height:19px; ">
  107. <choices>
  108. <itemset>
  109. <label/>
  110. <value/>
  111. </itemset>
  112. </choices>
  113. </select1>
  114. <select1 id="cmb_dentyn" ref="/root/send/dentyn" class="combo_s_essential" appearance="minimal" style="left:395; top:60; width:100px; height:19px; ">
  115. <choices>
  116. <itemset>
  117. <label/>
  118. <value/>
  119. </itemset>
  120. </choices>
  121. </select1>
  122. <caption id="cap_dentyn" class="search_name" style="left:280; top:61; width:118px; height:17px; ">과 구 분 :</caption>
  123. <caption id="caption4" class="search_name" style="left:15px; top:61px; width:95px; height:17px; ">구 분 :</caption>
  124. <select1 id="cmb_prnflag" ref="/root/send/prnflag" class="combo_s_essential" appearance="minimal" style="left:110; top:60; width:100px; height:19px; ">
  125. <choices>
  126. <itemset nodeset="/root/init/prnflag">
  127. <label ref="label"/>
  128. <value ref="value"/>
  129. </itemset>
  130. </choices>
  131. </select1>
  132. </group>
  133. </group>
  134. <group id="grp_btn" scroll="auto" style="left:10; top:12px; width:540; height:27px; ">
  135. <button id="button16" class="btn3_letter4" visibility="hidden" style="left:57px; top:3px; width:80px; height:22px; ">
  136. <caption>화면이동</caption>
  137. </button>
  138. <line id="line1" class="line_6" style="x1:0; y1:25; x2:540; y2:25; "/>
  139. <button id="btn_prn" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
  140. <caption>출력</caption>
  141. <script type="javascript" ev:event="DOMActivate">
  142. <![CDATA[
  143. if(!isRequiredControls("ipt_apntyy")) return;
  144. submit("TRRTP00106");
  145. ipt_trngnm.value = cmb_trngflag.label;
  146. var supinfqurtyynm = cmb_supinfqurtyyflag.label
  147. var fstlattrmnm = cmb_fstlattrmflag.label
  148. var apntyy = ipt_apntyy.value
  149. ipt_supinfqurtyynm.value = supinfqurtyynm.substr(0,1)+" "+supinfqurtyynm.substr(1,1)+" "+supinfqurtyynm.substr(2,1);
  150. ipt_fstlattrmnm.value = fstlattrmnm.substr(0,1)+" "+fstlattrmnm.substr(1,1)+" "+fstlattrmnm.substr(2,1);
  151. ipt_apntyear.value = apntyy+"년 ";
  152. if(cmb_prnflag.value == 1)
  153. {
  154. exeReportPreview("RPRTP00146","XMLSTR");
  155. }
  156. else if(cmb_prnflag.value == 2)
  157. {
  158. exeReportPreview("RPRTP00106","XMLSTR");
  159. }
  160. ]]>
  161. </script>
  162. </button>
  163. <input id="ipt_usernm" ref="/root/send/usernm" visibility="hidden" style="left:140px; top:5px; width:65px; height:19px; "/>
  164. <input id="ipt_trngnm" ref="/root/send/trngnm" visibility="hidden" style="left:210px; top:5px; width:55px; height:19px; "/>
  165. <input id="ipt_supinfqurtyynm" ref="/root/send/supinfqurtyynm" visibility="hidden" style="left:210px; top:5px; width:100px; height:19px; "/>
  166. <input id="ipt_apntyear" ref="/root/send/apntyear" visibility="hidden" style="left:210px; top:5px; width:100px; height:19px; "/>
  167. <input id="ipt_fstlattrmnm" ref="/root/send/fstlattrmnm" visibility="hidden" style="left:210px; top:5px; width:100px; height:19px; "/>
  168. </group>
  169. </xhtml:body>
  170. </xhtml:html>