SMRPV08300_지원직군업적평가결과출력.xrw 9.8 KB

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