SMRPV08000_업적평가결과출력.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <?xml-stylesheet href="C:/CMCProject/application/webapps/com/commonweb/css/common.css" type="text/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="TRRPV08001" 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. rpvfComboValuCdList(model.getValue(ipt_valuyy.attribute("ref")),"FSTSCNDHFYYFLAG","cmb_fstscndhfyyflag");
  67. rpvfComboInstCdList("cmb_instcd");
  68. model.setValue(cmb_instcd.attribute("ref"), model.getValue("/root/target/instcd"));
  69. model.setValue(ipt_deptcd.attribute("ref"), model.getValue("/root/target/deptcd"));
  70. model.setValue(ipt_deptnm.attribute("ref"), model.getValue("/root/target/deptnm"));
  71. // 사용자 기본설정.
  72. // model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
  73. // model.setValue(ipt_deptcd.attribute("ref"), getUserInfo("dutplcecd"));
  74. // model.setValue(ipt_deptnm.attribute("ref"), getUserInfo("dutplcenm"));
  75. // model.setValue(ipt_emplnos.attribute("ref"), getUserInfo("userid"));
  76. // model.setValue(ipt_emplnms.attribute("ref"), getUserInfo("usernm"));
  77. // alert(getUserInfo("dutplceinstcd"));
  78. // alert(getUserInfo("userid"));
  79. rpvfGetUserAuth(getUserInfo("dutplceinstcd"), getUserInfo("userid"));
  80. if(DUTY_VALU_YN =='Y')
  81. {
  82. cmb_instcd.disabled = false;
  83. ipt_deptcd.disabled = false;
  84. ipt_deptnm.disabled = false;
  85. btn_deptcd.disabled = false;
  86. ipt_emplnos.disabled = false;
  87. btn_emplno.disabled = false;
  88. ipt_emplnms.disabled = false;
  89. }
  90. else
  91. {
  92. cmb_instcd.disabled = true;
  93. ipt_deptcd.disabled = true;
  94. ipt_deptnm.disabled = true;
  95. btn_deptcd.disabled = true;
  96. ipt_emplnos.disabled = true;
  97. btn_emplno.disabled = true;
  98. ipt_emplnms.disabled = true;
  99. }
  100. //리포트 생성.
  101. makeReportPreview(0,75,1195,665);
  102. model.refresh();
  103. btn_search.dispatch("DOMActivate");
  104. }
  105. ]]>
  106. </script>
  107. </xhtml:head>
  108. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  109. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  110. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">업적평가 결과출력</caption>
  111. </group>
  112. <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  113. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  114. <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; "/>
  115. <line id="line13" class="line_4" style="x1:1120px; y1:5px; x2:1120px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  116. <caption id="cap_valuyy" class="search_name" style="left:4px; top:10px; width:90px; height:17px; ">조회년도 :</caption>
  117. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:8px; width:56px; height:22px; ">
  118. <caption>조회</caption>
  119. <script type="javascript" ev:event="DOMActivate">
  120. <![CDATA[
  121. if(!isRequiredControls("ipt_valuyy", "cmb_fstscndhfyyflag")) return;
  122. model.removenode("/root/main");
  123. model.makeNode("/root/main");
  124. submit("TRRPV08001");
  125. if(model.getValue("/root/send/printgubun") == "SMRPV06000")
  126. {
  127. //업적 본인평가에서 호출시 rex 폼 전환.
  128. exeReportPreview("RPRPV08002", "XMLSTR");
  129. }else{
  130. exeReportPreview("RPRPV08001", "XMLSTR");
  131. }
  132. model.refresh();
  133. ]]>
  134. </script>
  135. </button>
  136. <input id="ipt_valuyy" ref="/root/send/valuyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:92px; top:10px; width:55px; height:19px; text-align:center; "/>
  137. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" visibility="visible" appearance="minimal" style="left:211px; top:8px; width:119px; height:19px; ">
  138. <choices>
  139. <itemset>
  140. <label/>
  141. <value/>
  142. </itemset>
  143. </choices>
  144. </select1>
  145. <caption id="cap_instcd" class="search_name" visibility="visible" style="left:150px; top:9px; width:61px; height:17px; vertical-align:middle; ">기관 :</caption>
  146. <select1 id="cmb_fstscndhfyyflag" ref="/root/send/fstscndhfyyflag" class="combo_s_essential" appearance="minimal" style="left:417px; top:7px; width:68px; height:19px; ">
  147. <choices>
  148. <itemset>
  149. <label/>
  150. <value/>
  151. </itemset>
  152. </choices>
  153. </select1>
  154. <caption id="cap_fstscndhfyyflag" class="search_name" style="left:335px; top:8px; width:81px; height:17px; vertical-align:middle; ">상하반기:</caption>
  155. <input id="ipt_deptnm" ref="/root/send/deptnm" class="input_search" visibility="visible" style="left:556px; top:7px; width:89px; height:19px; text-align:center; ">
  156. <script type="javascript" ev:event="xforms-value-changed">
  157. <![CDATA[
  158. misfValidationCheck("02", "", "deptcd,deptnm" );
  159. model.refresh();
  160. ]]>
  161. </script>
  162. </input>
  163. <input id="ipt_deptcd" ref="/root/send/deptcd" class="input_s_essential" visibility="hidden" style="left:556px; top:7px; width:84px; height:19px; text-align:center; ">
  164. <script type="javascript" ev:event="xforms-value-changed">
  165. <![CDATA[
  166. misfValidationCheck("02", "", "deptcd,deptnm" );
  167. model.refresh();
  168. ]]>
  169. </script>
  170. </input>
  171. <caption id="cap_deptcd" class="search_name" visibility="visible" style="left:493px; top:7px; width:63px; height:17px; ">부서 :</caption>
  172. <button id="btn_deptcd" class="icon_search" visibility="visible" style="left:650px; top:10px; width:16px; height:16px; ">
  173. <caption/>
  174. <script type="javascript" ev:event="DOMActivate">
  175. <![CDATA[
  176. var recv_list = "deptcd,deptnm";
  177. var instcd = cmb_instcd.value;
  178. rpvfOpenDeptCdHelp(ipt_deptcd,recv_list, instcd, "instcd");
  179. model.refresh();
  180. //misfOpenPopUpList("02", ipt_deptcd,"", "deptcd,deptnm", cmb_instcd.value, "instcd");
  181. //model.refresh();
  182. ]]>
  183. </script>
  184. </button>
  185. <caption id="cap_emplnos" class="search_name" style="left:670px; top:9px; width:94px; height:17px; font-weight:bold; ">평가자:</caption>
  186. <input id="ipt_emplnos" ref="/root/send/emplno" class="input_default" editable="true" style="left:745px; top:9px; width:65px; height:19px; ">
  187. <script type="javascript" ev:event="xforms-value-changed">
  188. <![CDATA[
  189. var recv_list = "emplno,emplnm" ;
  190. rpbfValidationCheck("EMPLNO", recv_list);
  191. model.refresh();
  192. ]]>
  193. </script>
  194. </input>
  195. <input id="ipt_emplnms" ref="/root/send/emplnm" class="input_default" editable="true" style="left:833px; top:9px; width:57px; height:19px; "/>
  196. <button id="btn_emplno" class="icon_search" style="left:814px; top:10px; width:16px; height:16px; ">
  197. <caption/>
  198. <script type="javascript" ev:event="DOMActivate">
  199. <![CDATA[
  200. var recv_list = "emplno,emplnm" ;
  201. rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"1","N");
  202. model.refresh();
  203. ]]>
  204. </script>
  205. </button>
  206. <caption id="caption1" class="search_name" style="left:890px; top:9px; width:94px; height:17px; font-weight:bold; ">피평가자:</caption>
  207. <button id="btn_emplnof" class="icon_search" style="left:1039px; top:10px; width:16px; height:16px; ">
  208. <caption/>
  209. <script type="javascript" ev:event="DOMActivate">
  210. <![CDATA[
  211. var recv_list = "emplnof,emplnmf" ;
  212. rpbfOpenPopUpList("SPRPB00101", ipt_emplnof, recv_list,"1","N");
  213. model.refresh();
  214. ]]>
  215. </script>
  216. </button>
  217. <input id="ipt_emplnof" ref="/root/send/emplnof" class="input_default" editable="true" style="left:970px; top:9px; width:65px; height:19px; ">
  218. <script type="javascript" ev:event="xforms-value-changed">
  219. <![CDATA[
  220. var recv_list = "emplnof,emplnmf" ;
  221. rpbfValidationCheck("EMPLNO", recv_list,"N", "emplno,emplnm");
  222. model.refresh();
  223. ]]>
  224. </script>
  225. </input>
  226. <input id="ipt_emplnmf" ref="/root/send/emplnmf" class="input_default" editable="true" style="left:1058px; top:9px; width:57px; height:19px; "/>
  227. </group>
  228. <caption id="caption22" class="tit_2" style="left:5px; top:54px; width:144px; height:13px; ">업적평가 결과 내역</caption>
  229. <line id="line19" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
  230. </group>
  231. <group id="group2" style="left:0px; top:12px; width:1195px; height:27px; ">
  232. <line id="line16" class="line_2" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  233. <button id="btn_clear" class="btn4_letter3" style="left:1127px; top:3; width:68px; height:22px; ">
  234. <caption>초기화</caption>
  235. <script type="javascript" ev:event="DOMActivate">
  236. <![CDATA[
  237. window.reload() ;
  238. ]]>
  239. </script>
  240. </button>
  241. </group>
  242. </xhtml:body>
  243. </xhtml:html>