SMRPV08200_업적역량평가결과출력.xrw 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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. <valuempllist/>
  13. </main>
  14. <send>
  15. <result>
  16. <valuyy/>
  17. <instcd/>
  18. <deptcd/>
  19. <deptnm/>
  20. <emplno/>
  21. <concrcd/>
  22. <emplnm/>
  23. </result>
  24. </send>
  25. <init/>
  26. <temp/>
  27. </root>
  28. </instance>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. fInitialize();
  32. model.refresh();
  33. ]]>
  34. </script>
  35. <submission id="TRRPV08201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/result" resultref="/root/main/result"/>
  36. </model>
  37. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  39. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  40. <script type="javascript" src="../../../mis/valuationmngtweb/js/RPV001.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  42. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  43. <script type="javascript">
  44. <![CDATA[
  45. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  46. function fInitialize() {
  47. model.resetInstanceNode("/root/main");
  48. model.resetInstanceNode("/root/send");
  49. // 현재 년도 설정.
  50. model.setValue(ipt_valuyy.attribute("ref"), getCurrentDate().toDate().getDateFormat("YYYY"));
  51. rpvfComboInstCdList("cmb_instcd");
  52. addComboItem( "cmb_instcd", "[-- 전체 --]", "", "above");
  53. model.setValue(ipt_emplno.attribute("ref"), getUserInfo("userid"));
  54. model.setValue(ipt_emplnm.attribute("ref"), getUserInfo("usernm"));
  55. model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
  56. //model.setValue(ipt_deptnm.attribute("ref"), getUserInfo("dutplcenm"));
  57. rpvfGetUserAuth(getUserInfo("dutplceinstcd"), getUserInfo("userid"));
  58. if(DUTY_VALU_YN =='Y')
  59. {
  60. if (getUserInfo("dutplceinstcd") == "001") {
  61. cmb_instcd.disabled = false;
  62. ipt_deptnm.disabled = false;
  63. btn_deptcd.disabled = false;
  64. ipt_emplno.disabled = false;
  65. btn_emplno.disabled = false;
  66. ipt_emplnm.disabled = false;
  67. }
  68. else {
  69. cmb_instcd.disabled = true;
  70. ipt_deptnm.disabled = false;
  71. btn_deptcd.disabled = false;
  72. ipt_emplno.disabled = false;
  73. btn_emplno.disabled = false;
  74. ipt_emplnm.disabled = false;
  75. }
  76. }
  77. else
  78. {
  79. cmb_instcd.disabled = true;
  80. ipt_deptnm.disabled = true;
  81. btn_deptcd.disabled = true;
  82. ipt_emplno.disabled = true;
  83. btn_emplno.disabled = true;
  84. ipt_emplnm.disabled = true;
  85. }
  86. // 사용자 기본설정.
  87. // var curdate = getCurrentDate();
  88. // rpvfComboConCrList("cmb_concrcd" , getUserInfo("userid") , curdate.substr(0, 4));
  89. // cmb_concrcd.select(0);
  90. //리포트 생성.
  91. makeReportPreview(0,75,1195,665);
  92. model.refresh();
  93. }
  94. ]]>
  95. </script>
  96. </xhtml:head>
  97. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  98. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  99. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">업적역량 평가 결과출력</caption>
  100. </group>
  101. <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  102. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  103. <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; "/>
  104. <line id="line13" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  105. <caption id="cap_valuyy" class="search_name" style="left:10; top:10px; width:90px; height:17px; ">조회년도 :</caption>
  106. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:8px; width:56px; height:22px; ">
  107. <caption>조회</caption>
  108. <script type="javascript" ev:event="DOMActivate">
  109. <![CDATA[
  110. if(!isRequiredControls("ipt_valuyy")) return;
  111. model.removenode("/root/main");
  112. model.makeNode("/root/main");
  113. submit("TRRPV08201");
  114. exeReportPreview("RPRPV08201", "XMLSTR");
  115. model.refresh();
  116. ]]>
  117. </script>
  118. </button>
  119. <input id="ipt_valuyy" ref="/root/send/result/valuyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:105px; top:9px; width:80px; height:19px; text-align:center; ">
  120. <script type="javascript" ev:event="xforms-value-changed">
  121. <![CDATA[
  122. var instcd = cmb_instcd.value;
  123. rpvfComboInstCdList("cmb_instcd",ipt_valuyy.value);
  124. cmb_instcd.value = instcd;
  125. model.refresh();
  126. ]]>
  127. </script>
  128. </input>
  129. <select1 id="cmb_instcd" ref="/root/send/result/instcd" class="combo_s_essential" visibility="visible" appearance="minimal" style="left:270px; top:9px; width:194px; height:19px; ">
  130. <choices>
  131. <itemset>
  132. <label/>
  133. <value/>
  134. </itemset>
  135. </choices>
  136. </select1>
  137. <caption id="cap_instcd" class="search_name" visibility="visible" style="left:209px; top:10px; width:61px; height:17px; vertical-align:middle; ">기관 :</caption>
  138. <input id="ipt_deptnm" ref="/root/send/result/deptnm" class="input_search" visibility="hidden" style="left:925px; top:10px; width:125px; height:19px; text-align:center; ">
  139. <script type="javascript" ev:event="xforms-value-changed">
  140. <![CDATA[
  141. misfValidationCheck("02", "", "deptcd,deptnm" );
  142. model.refresh();
  143. ]]>
  144. </script>
  145. </input>
  146. <input id="ipt_deptcd" ref="/root/send/result/deptcd" class="input_search" visibility="hidden" style="left:920px; top:10px; width:84px; height:19px; text-align:center; ">
  147. <script type="javascript" ev:event="xforms-value-changed">
  148. <![CDATA[
  149. misfValidationCheck("02", "", "deptcd,deptnm" );
  150. model.refresh();
  151. ]]>
  152. </script>
  153. </input>
  154. <caption id="cap_deptcd" class="search_name" visibility="hidden" style="left:800px; top:10px; width:63px; height:17px; ">부서 :</caption>
  155. <button id="btn_deptcd" class="icon_search" visibility="hidden" style="left:1060px; top:5px; width:16px; height:16px; ">
  156. <caption/>
  157. <script type="javascript" ev:event="DOMActivate">
  158. <![CDATA[
  159. var recv_list = "deptcd,deptnm";
  160. misfOpenPopUpList("02", ipt_deptcd,"", recv_list, cmb_instcd.value, "instcd");
  161. model.refresh();
  162. ]]>
  163. </script>
  164. </button>
  165. <select1 id="cmb_concrcd" ref="/root/send/result/concrcd" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:870px; top:8px; width:78px; height:19px; ">
  166. <choices>
  167. <itemset>
  168. <label/>
  169. <value/>
  170. </itemset>
  171. </choices>
  172. <script type="javascript" ev:event="xforms-value-changed">
  173. <![CDATA[
  174. var concrcd = cmb_concrcd.value;
  175. var condata = concrcd.split("-");
  176. cmb_instcd.value = condata[0];
  177. ipt_deptcd.value = condata[1];
  178. model.refresh();
  179. ]]>
  180. </script>
  181. </select1>
  182. <input id="ipt_emplnm" ref="/root/send/result/emplnm" class="input_search" style="left:686px; top:9px; width:80px; height:19px; ">
  183. <script type="javascript" ev:event="xforms-value-changed">
  184. <![CDATA[
  185. rpbfValidationCheck("EMPLNM", "emplno,emplnm");
  186. model.refresh();
  187. ]]>
  188. </script>
  189. </input>
  190. <caption id="cap_emplno" class="search_name" style="left:489px; top:10px; width:94px; height:17px; font-weight:bold; ">평가자사번:</caption>
  191. <button id="btn_emplno" class="icon_search" style="left:667px; top:9px; width:16px; height:16px; ">
  192. <caption/>
  193. <script type="javascript" ev:event="DOMActivate">
  194. <![CDATA[
  195. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm", "", "N", "N","emplno,emplnm");
  196. model.refresh();
  197. ]]>
  198. </script>
  199. </button>
  200. <input id="ipt_emplno" ref="/root/send/result/emplno" class="input_search" style="left:584px; top:9px; width:80px; height:19px; ">
  201. <script type="javascript" ev:event="xforms-value-changed">
  202. <![CDATA[
  203. rpbfValidationCheck("EMPLNO", "emplno,emplnm");
  204. model.refresh();
  205. ]]>
  206. </script>
  207. </input>
  208. </group>
  209. <caption id="caption22" class="tit_2" style="left:5px; top:54px; width:162px; height:14px; ">업적역량 평가 결과 내역</caption>
  210. <line id="line19" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
  211. </group>
  212. <group id="group2" style="left:0px; top:12px; width:1195px; height:27px; ">
  213. <line id="line16" class="line_2" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  214. <button id="btn_clear" class="btn4_letter3" style="left:1127px; top:3; width:68px; height:22px; ">
  215. <caption>초기화</caption>
  216. <script type="javascript" ev:event="DOMActivate">
  217. <![CDATA[
  218. window.reload() ;
  219. ]]>
  220. </script>
  221. </button>
  222. </group>
  223. </xhtml:body>
  224. </xhtml:html>