SMRPB12000_증명서발급대장.xrw 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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. <crtfctprntregst/>
  11. </main>
  12. <init/>
  13. <send>
  14. <payinstnm/>
  15. <instcd/>
  16. <crtfctkind/>
  17. <fromdd/>
  18. <usernm/>
  19. <todd/>
  20. </send>
  21. <hidden/>
  22. </root>
  23. </instance>
  24. <script type="javascript" ev:event="xforms-ready">
  25. <![CDATA[
  26. // misfComboComCdListMulti("Z0007", "cmb_instcd");
  27. // addComboItem( "cmb_instcd", "가톨릭중앙의료원", "001", "above");
  28. makeReportPreview(0,110,1195,650);
  29. var curdate = getCurrentDate();
  30. var cvtdate = curdate.toDate("YYYYMMDD");
  31. model.setValue(ipt_fromdd.attribute("ref") , cvtdate.getAddDate(-10,"D").getDateFormat("YYYYMMDD"));
  32. ipt_todd.value = curdate;
  33. misfComboInstCdListMulti("cmb_instcd", ipt_fromdd.value,"","Y");
  34. model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관 설정
  35. model.setValue("/root/send/usernm", getUserInfo("usernm")); // 사용자 정보 설정
  36. model.refresh();
  37. ]]>
  38. </script>
  39. <submission id="TRRPB12001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/crtfctprntregst"/>
  40. </model>
  41. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  44. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  45. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  46. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  47. </xhtml:head>
  48. <xhtml:body style="margin-left:8; margin-right:8; ">
  49. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  50. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">증명서 발급대장</caption>
  51. </group>
  52. <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
  53. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  54. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:17px; width:56px; height:22px; ">
  55. <caption>조회</caption>
  56. <script type="javascript" ev:event="DOMActivate">
  57. <![CDATA[
  58. if(ipt_fromdd.value == "" || ipt_todd.value == "")
  59. {
  60. messageBox("발행기간을 ","I007");
  61. return;
  62. }
  63. if(ipt_fromdd.value.length < 8 || ipt_todd.value.length < 8)
  64. {
  65. messageBox("발행기간을 ","I007");
  66. return;
  67. }
  68. submit("TRRPB12001");
  69. ipt_payinstnm.value = cmb_instcd.label;
  70. exeReportPreview("RPRPB12001", "XMLSTR");
  71. ]]>
  72. </script>
  73. </button>
  74. <line id="line13" class="line_4" style="x1:1120px; y1:10px; x2:1120px; y2:44px; "/>
  75. <caption id="cap_payinst" class="search_name" style="left:230px; top:19px; width:86px; height:17px; ">발행기간:</caption>
  76. <caption id="caption22" class="search_name" style="left:10px; top:19px; width:85px; height:17px; ">발급기관:</caption>
  77. <caption id="caption28" class="tit_2" style="left:5px; top:53px; width:144px; height:14px; ">증명서 발급대장</caption>
  78. <line id="line193" class="line_1" style="x1:2px; y1:66px; x2:1192px; y2:66px; "/>
  79. <input id="ipt_payinstnm" ref="/root/send/payinstnm" visibility="hidden" style="left:125px; top:45px; width:30px; height:19px; "/>
  80. <caption id="cap_crtfctkind" class="search_name" style="left:560px; top:19px; width:99px; height:17px; ">증명서 종류:</caption>
  81. <select1 id="cmb_instcd" ref="/root/send/instcd" appearance="minimal" style="left:90px; top:18px; width:125px; height:19px; ">
  82. <choices>
  83. <itemset>
  84. <label/>
  85. <value/>
  86. </itemset>
  87. </choices>
  88. </select1>
  89. <input id="ipt_fromdd" ref="/root/send/fromdd" inputtype="date" format="yyyy-mm-dd" style="left:310px; top:18; width:100px; height:19px; ">
  90. <script type="javascript" ev:event="xforms-value-changed">
  91. <![CDATA[
  92. var instcd = cmb_instcd.value;
  93. model.removeNodeset(cmb_instcd.attribute("ref"));
  94. model.makeNode("/root/send/instcd");
  95. misfComboInstCdListMulti("cmb_instcd", ipt_fromdd.value,"","Y");
  96. cmb_instcd.value = instcd;
  97. model.refresh();
  98. ]]>
  99. </script>
  100. </input>
  101. <input id="ipt_todd" ref="/root/send/todd" inputtype="date" format="yyyy-mm-dd" style="left:425px; top:18px; width:100px; height:19px; "/>
  102. <caption id="caption1" style="left:410px; top:20px; width:15px; height:20px; text-align:center; ">~</caption>
  103. <select1 id="cmb_crtfctkind" ref="/root/send/crtfctkind" appearance="minimal" style="left:660px; top:18px; width:120px; height:19px; ">
  104. <choices>
  105. <item>
  106. <label>전체</label>
  107. <value/>
  108. </item>
  109. <item>
  110. <label>재직증명서</label>
  111. <value>1</value>
  112. </item>
  113. <item>
  114. <label>경력증명서</label>
  115. <value>2</value>
  116. </item>
  117. <item>
  118. <label>출장증명서</label>
  119. <value>3</value>
  120. </item>
  121. </choices>
  122. </select1>
  123. <input id="input1" ref="/root/send/usernm" visibility="hidden" style="left:160px; top:45px; width:100px; height:19px; "/>
  124. </group>
  125. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
  126. </xhtml:body>
  127. </xhtml:html>