SMRPV08100_역량평가결과출력.xrw 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <?xml-stylesheet type="text/css" href="C:/CMCProject/application/webapps/com/commonweb/css/common.css" ?>
  4. <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">
  5. <xhtml:head>
  6. <xhtml:title>역량평가 결과출력</xhtml:title>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <result/>
  12. </main>
  13. <send>
  14. <valuyy/>
  15. <instcd/>
  16. <deptcd/>
  17. <deptnm/>
  18. <emplno/>
  19. <emplnm/>
  20. <emplnof/>
  21. <emplnmf/>
  22. <fstscndflag/>
  23. </send>
  24. <init/>
  25. <temp>
  26. <target/>
  27. </temp>
  28. <target/>
  29. </root>
  30. </instance>
  31. <script type="javascript" ev:event="xforms-ready">
  32. <![CDATA[
  33. fInitialize();
  34. model.refresh();
  35. ]]>
  36. </script>
  37. <submission id="TRRPV08101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/result"/>
  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="../../../mis/miscommonweb/js/MIS.js"/>
  42. <script type="javascript" src="../../../mis/valuationmngtweb/js/RPV001.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  44. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  45. <script type="javascript">
  46. <![CDATA[
  47. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  48. function fInitialize() {
  49. model.resetInstanceNode("/root/main");
  50. model.resetInstanceNode("/root/send");
  51. // 현재 년도 설정.
  52. model.setValue(ipt_valuyy.attribute("ref"), getCurrentDate().toDate().getDateFormat("YYYY"));
  53. rpvfComboInstCdList("cmb_instcd");
  54. // 사용자 기본설정.
  55. //model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
  56. // model.setValue(ipt_deptcd.attribute("ref"), getUserInfo("dutplcecd"));
  57. // model.setValue(ipt_deptnm.attribute("ref"), getUserInfo("dutplcenm"));
  58. model.setValue("/root/send/valuyy", model.getValue("/root/temp/target/valuyy"));
  59. model.setValue("/root/send/emplno", model.getValue("/root/temp/target/emplno"));
  60. model.setValue("/root/send/emplnm", model.getValue("/root/temp/target/emplnm"));
  61. model.setValue("/root/send/fstscndflag", model.getValue("/root/temp/target/fstscndflag"));
  62. model.setValue(cmb_instcd.attribute("ref"), model.getValue("/root/temp/target/instcd"));
  63. model.setValue(ipt_deptcd.attribute("ref"), model.getValue("/root/temp/target/deptcd"));
  64. model.setValue(ipt_deptnm.attribute("ref"), model.getValue("/root/temp/target/deptnm"));
  65. var instcd = getUserInfo("dutplceinstcd");
  66. var emplno = getUserInfo("userid");
  67. rpvfGetUserAuth(instcd,emplno);
  68. if(DUTY_VALU_YN =='Y'){
  69. cmb_instcd.disabled = false;
  70. ipt_deptnm.disabled = false;
  71. btn_deptcd.disabled = false;
  72. ipt_emplnos.disabled = false;
  73. ipt_emplnms.disabled = false;
  74. btn_emplno.disabled = false;
  75. }else{
  76. cmb_instcd.disabled = true;
  77. ipt_deptnm.disabled = true;
  78. btn_deptcd.disabled = true;
  79. ipt_emplnos.disabled = true;
  80. ipt_emplnms.disabled = true;
  81. btn_emplno.disabled = true;
  82. }
  83. //리포트 생성.
  84. makeReportPreview(0,75,1195,665);
  85. model.refresh();
  86. }
  87. ]]>
  88. </script>
  89. </xhtml:head>
  90. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  91. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  92. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">역량평가 결과출력</caption>
  93. </group>
  94. <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  95. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  96. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  97. <line id="line13" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  98. <caption id="cap_valuyy" class="search_name" style="left:10; top:10px; width:90px; height:17px; ">조회년도 :</caption>
  99. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:8px; width:56px; height:22px; ">
  100. <caption>조회</caption>
  101. <script type="javascript" ev:event="DOMActivate">
  102. <![CDATA[
  103. //if(!isRequiredControls("ipt_valuyy", "cmb_instcd", "ipt_deptcd")) return;
  104. if(!isRequiredControls("ipt_valuyy", "cmb_instcd")) return;
  105. model.removenode("/root/main");
  106. model.makeNode("/root/main");
  107. submit("TRRPV08101");
  108. exeReportPreview("RPRPV08101", "XMLSTR");
  109. model.refresh();
  110. ]]>
  111. </script>
  112. </button>
  113. <input id="ipt_valuyy" ref="/root/send/valuyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:105px; top:9px; width:80px; height:19px; text-align:center; "/>
  114. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:311px; top:8px; width:164px; height:19px; ">
  115. <choices>
  116. <itemset>
  117. <label/>
  118. <value/>
  119. </itemset>
  120. </choices>
  121. </select1>
  122. <caption id="cap_instcd" class="search_name" style="left:250px; top:9px; width:61px; height:17px; vertical-align:middle; ">기관 :</caption>
  123. <input id="ipt_deptnm" ref="/root/send/deptnm" class="input_search" visibility="hidden" style="left:925px; top:10px; width:160px; height:19px; text-align:center; ">
  124. <script type="javascript" ev:event="xforms-value-changed">
  125. <![CDATA[
  126. misfValidationCheck("36", "", "deptcd,deptnm", cmb_instcd.value, "instcd");
  127. model.refresh();
  128. ]]>
  129. </script>
  130. </input>
  131. <input id="ipt_deptcd" ref="/root/send/deptcd" class="input_s_essential" visibility="hidden" style="left:929px; top:8px; width:84px; height:19px; text-align:center; ">
  132. <script type="javascript" ev:event="xforms-value-changed">
  133. <![CDATA[
  134. misfValidationCheck("36", "", "deptcd,deptnm", cmb_instcd.value, "instcd");
  135. model.refresh();
  136. ]]>
  137. </script>
  138. </input>
  139. <caption id="cap_deptcd" class="search_name" visibility="hidden" style="left:862px; top:10px; width:63px; height:17px; ">부서 :</caption>
  140. <button id="btn_deptcd" class="icon_search" visibility="hidden" style="left:1088px; top:11px; width:16px; height:16px; ">
  141. <caption/>
  142. <script type="javascript" ev:event="DOMActivate">
  143. <![CDATA[
  144. rpvfOpenDeptCdHelp(ipt_deptnm, "deptcd,deptnm", cmb_instcd.value, "instcd");
  145. model.refresh();
  146. ]]>
  147. </script>
  148. </button>
  149. <input id="ipt_emplnof" ref="/root/send/emplnof" class="input_default" editable="true" style="left:890px; top:8px; width:65px; height:19px; ">
  150. <script type="javascript" ev:event="xforms-value-changed">
  151. <![CDATA[
  152. var recv_list = "emplnof,emplnmf" ;
  153. rpbfValidationCheck("EMPLNO", recv_list,"N", "emplno,emplnm");
  154. model.refresh();
  155. ]]>
  156. </script>
  157. </input>
  158. <input id="ipt_emplnmf" ref="/root/send/emplnmf" class="input_default" editable="true" style="left:978px; top:8px; width:57px; height:19px; "/>
  159. <caption id="cap_emplnos" class="search_name" style="left:535px; top:9px; width:94px; height:17px; font-weight:bold; ">평가자:</caption>
  160. <caption id="caption1" class="search_name" style="left:810px; top:9px; width:94px; height:17px; font-weight:bold; ">피평가자:</caption>
  161. <button id="btn_emplnof" class="icon_search" style="left:959px; top:8px; width:16px; height:16px; ">
  162. <caption/>
  163. <script type="javascript" ev:event="DOMActivate">
  164. <![CDATA[
  165. var recv_list = "emplnof,emplnmf" ;
  166. rpbfOpenPopUpList("SPRPB00101", ipt_emplnof, recv_list,"1","N");
  167. model.refresh();
  168. ]]>
  169. </script>
  170. </button>
  171. <button id="btn_emplno" class="icon_search" style="left:679px; top:8px; width:16px; height:16px; ">
  172. <caption/>
  173. <script type="javascript" ev:event="DOMActivate">
  174. <![CDATA[
  175. var recv_list = "emplno,emplnm" ;
  176. rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"1","N");
  177. model.refresh();
  178. ]]>
  179. </script>
  180. </button>
  181. <input id="ipt_emplnos" ref="/root/send/emplno" class="input_default" editable="true" style="left:610px; top:8px; width:65px; height:19px; ">
  182. <script type="javascript" ev:event="xforms-value-changed">
  183. <![CDATA[
  184. var recv_list = "emplno,emplnm" ;
  185. rpbfValidationCheck("EMPLNO", recv_list);
  186. model.refresh();
  187. ]]>
  188. </script>
  189. </input>
  190. <input id="ipt_emplnms" ref="/root/send/emplnm" class="input_default" editable="true" style="left:698px; top:8px; width:57px; height:19px; "/>
  191. </group>
  192. <caption id="caption22" class="tit_2" style="left:5px; top:54px; width:144px; height:14px; ">역량평가 결과 내역</caption>
  193. <line id="line19" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
  194. </group>
  195. <group id="group2" style="left:0px; top:12px; width:1195px; height:27px; ">
  196. <line id="line16" class="line_2" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  197. <button id="btn_clear" class="btn4_letter3" style="left:1127px; top:3; width:68px; height:22px; ">
  198. <caption>초기화</caption>
  199. <script type="javascript" ev:event="DOMActivate">
  200. <![CDATA[
  201. window.reload() ;
  202. ]]>
  203. </script>
  204. </button>
  205. </group>
  206. </xhtml:body>
  207. </xhtml:html>