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