SMRTP00135_군전공의명부.xrw 5.9 KB

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