SMRPV04500_동료평가조회및평가자변경.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  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. <list>
  11. <valucoleempl>
  12. <valucoleempllist/>
  13. </valucoleempl>
  14. <valuempl>
  15. <valuempllist/>
  16. </valuempl>
  17. </list>
  18. </main>
  19. <send>
  20. <valucoleempl>
  21. <valuyy/>
  22. <colecolname/>
  23. <colegvaluemplno/>
  24. </valucoleempl>
  25. <valuempl>
  26. <valuyy/>
  27. <instcd/>
  28. <deptcd/>
  29. <deptnm/>
  30. <emplno/>
  31. <emplnm/>
  32. <procstat/>
  33. </valuempl>
  34. <save>
  35. <valuempllist/>
  36. </save>
  37. </send>
  38. <init/>
  39. <hidden/>
  40. <temp/>
  41. </root>
  42. </instance>
  43. <script type="javascript" ev:event="xforms-ready">
  44. <![CDATA[
  45. /* Grid 초기화 */
  46. misfGridInit(grd_coleempl);
  47. misfGridInit(grd_valuempl);
  48. /* Submit의 ref에 참조 될 Node들은 꼭 Instance에 생성 해야 함.*/
  49. /* Grid의 Mater, Detail관계 설정
  50. misfMsterDetailSet(관계설정할 Grid, Mater가 될 Grid, submit ID, 저장여부) */
  51. misfMsterDetailSet(grd_coleempl,null, "TRRPV04502" ,"N");
  52. misfMsterDetailSet(grd_valuempl,grd_coleempl, "TRRPV04501" ,"Y");
  53. rpvfComboInstCdList("cmb_instcd");
  54. var curdate = getCurrentDate();
  55. model.setValue(ipt_valuyy.attribute("ref") , curdate.substr(0, 4));
  56. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  57. rpvfComboValuCdList(ipt_valuyy.attribute("ref"), "PROCSTAT,PROCSTAT,PROCSTAT", "cmb_procstat,grd_coleempl.procstat,grd_valuempl.procstat");
  58. model.refresh();
  59. ]]>
  60. </script>
  61. <submission id="TRRPV04501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/valucoleempl" resultref="/root/main/list/valucoleempl"/>
  62. <submission id="TRRPV04502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/valuempl" resultref="/root/main/list/valuempl"/>
  63. <submission id="TXRPV04501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  64. </model>
  65. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  66. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  67. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  68. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  69. <script type="javascript" src="../../../mis/valuationmngtweb/js/RPV001.js"/>
  70. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  71. </xhtml:head>
  72. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  73. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  74. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">동표평가 조회 및 대상자 변경</caption>
  75. </group>
  76. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744; ">
  77. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:10px; width:1195px; height:60px; "/>
  78. <input id="ipt_valuyy" ref="/root/send/valuempl/valuyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:105px; top:18px; width:105px; height:19px; "/>
  79. <caption id="cap_valuyy" class="search_name" style="left:15px; top:19px; width:100px; height:17px; vertical-align:middle; ">기준년도 :</caption>
  80. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  81. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  82. <caption>조회</caption>
  83. <script type="javascript" ev:event="DOMActivate">
  84. <![CDATA[
  85. if ( !isRequiredControls("ipt_valuyy","cmb_instcd") ) {
  86. return false;
  87. }
  88. misfMsterDetailRetrieve();
  89. ]]>
  90. </script>
  91. </button>
  92. <select1 id="cmb_instcd" ref="/root/send/valuempl/instcd" class="combo_s_essential" appearance="minimal" style="left:464px; top:18px; width:191px; height:19px; ">
  93. <choices>
  94. <itemset>
  95. <label/>
  96. <value/>
  97. </itemset>
  98. </choices>
  99. </select1>
  100. <caption id="cap_instcd" class="search_name" style="left:398px; top:19px; width:61px; height:17px; vertical-align:middle; ">기관 :</caption>
  101. <caption id="caption3" class="search_name" style="left:39px; top:44px; width:63px; height:17px; ">부서 :</caption>
  102. <input id="ipt_deptnm" ref="/root/send/valuempl/deptnm" class="input_default" style="left:227px; top:44px; width:125px; height:19px; ">
  103. <script type="javascript" ev:event="xforms-value-changed">
  104. <![CDATA[
  105. misfValidationCheck("02", "", "deptcd,deptnm" );
  106. model.refresh();
  107. ]]>
  108. </script>
  109. </input>
  110. <input id="ipt_deptcd" ref="/root/send/valuempl/deptcd" class="input_default" style="left:103px; top:44px; width:99px; height:19px; ">
  111. <script type="javascript" ev:event="xforms-value-changed">
  112. <![CDATA[
  113. misfValidationCheck("02", "", "deptcd,deptnm" );
  114. model.refresh();5
  115. ]]>
  116. </script>
  117. </input>
  118. <button id="btn_deptcd" class="icon_search" style="left:206px; top:45px; width:16px; height:16px; ">
  119. <caption/>
  120. <script type="javascript" ev:event="DOMActivate">
  121. <![CDATA[
  122. var recv_list = "deptcd,deptnm";
  123. var instcd = cmb_instcd.value;
  124. rpvfOpenDeptCdHelp(ipt_deptcd,recv_list, instcd, "instcd");
  125. model.refresh();
  126. ]]>
  127. </script>
  128. </button>
  129. <datagrid id="grd_valuempl" nodeset="/root/main/list/valucoleempl/valucoleempllist" caption="피평가자사번^피평가자 성명^피평가자부서^진행상태^평가자변경|피평가자사번^피평가자 성명^피평가자부서^진행상태^평가자변경" colsep="^" colwidth="109, 139, 189, 56, 147, 100, 100, 100, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:530px; top:120px; width:664px; height:620px; ">
  130. <col ref="emplno"/>
  131. <col ref="emplnm"/>
  132. <col ref="deptnm"/>
  133. <col disabled="true" ref="procstat" type="combo" class="gridcombo">
  134. <choices>
  135. <itemset>
  136. <label/>
  137. <value/>
  138. </itemset>
  139. </choices>
  140. </col>
  141. <col ref="chgcolegvaluemplnm" type="inputbutton"/>
  142. <col ref="chgcolegvaluemplno" visibility="hidden"/>
  143. <col ref="valuyy" visibility="hidden"/>
  144. <col ref="colecolname" visibility="hidden"/>
  145. <col ref="colegvaluemplno" visibility="hidden"/>
  146. <script type="javascript" ev:event="onbuttonclick">
  147. <![CDATA[
  148. var instcd = model.getValue(cmb_instcd.attribute("ref"));
  149. if(grd_valuempl.col == grd_valuempl.colRef("chgcolegvaluemplnm")){
  150. rpbfOpenPopUpList("SPRPB00101", grd_valuempl, "chgcolegvaluemplno,chgcolegvaluemplnm","","","","emplno,emplnm");
  151. }
  152. grd_valuempl.refresh();
  153. ]]>
  154. </script>
  155. </datagrid>
  156. <caption id="caption1" class="tit_2" style="left:0px; top:99px; width:230px; height:13px; vertical-align:middle; ">동료평가자 List</caption>
  157. <caption id="caption4" class="tit_2" style="left:530px; top:99px; width:230px; height:13px; vertical-align:middle; ">동료평가 피평가자 List</caption>
  158. <line id="line1" class="line_1" style="x1:530px; y1:114px; x2:1194px; y2:114px; "/>
  159. <line id="line2" class="line_1" style="x1:0px; y1:114px; x2:525px; y2:114px; "/>
  160. <datagrid id="grd_coleempl" nodeset="/root/main/list/valuempl/valuempllist" caption="기관^부서^사원번호^성명^진행상태^피평가자수|기관^부서^사원번호^성명^진행상태^피평가자수" colsep="^" colwidth="120, 146, 67, 55, 57, 42, 100, 100, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:120px; width:525px; height:620px; ">
  161. <col ref="instnm"/>
  162. <col ref="deptnm"/>
  163. <col ref="colegvaluemplno"/>
  164. <col ref="colegvaluemplnm"/>
  165. <col disabled="true" ref="procstat" type="combo" class="gridcombo">
  166. <choices>
  167. <itemset>
  168. <label/>
  169. <value/>
  170. </itemset>
  171. </choices>
  172. </col>
  173. <col ref="emplcnt"/>
  174. <col ref="valuyy" visibility="hidden"/>
  175. <col ref="instcd" visibility="hidden"/>
  176. <col ref="colecolname" visibility="hidden"/>
  177. <script type="javascript" ev:event="onrowchanged">
  178. <![CDATA[
  179. misfGridInit(grd_valuempl);
  180. misfMsterDetailRetrieve();
  181. ]]>
  182. </script>
  183. </datagrid>
  184. <button id="btn_emplno" class="icon_search" style="left:868px; top:20px; width:16px; height:16px; ">
  185. <caption/>
  186. <script type="javascript" ev:event="DOMActivate">
  187. <![CDATA[
  188. var recv_list = "emplno,emplnm" ;
  189. rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"1","N");
  190. model.refresh();
  191. ]]>
  192. </script>
  193. </button>
  194. <input id="ipt_emplnos" ref="/root/send/valuempl/emplno" class="input_default" disabled="false" style="left:795px; top:19px; width:70px; height:19px; ">
  195. <script type="javascript" ev:event="xforms-value-changed">
  196. <![CDATA[
  197. var recv_list = "emplno,emplnm" ;
  198. rpbfValidationCheck("EMPLNO", recv_list);
  199. model.refresh();
  200. ]]>
  201. </script>
  202. </input>
  203. <input id="ipt_emplnms" ref="/root/send/valuempl/emplnm" class="input_default" disabled="false" style="left:886px; top:19px; width:114px; height:19px; ">
  204. <script type="javascript" ev:event="xforms-value-changed">
  205. <![CDATA[
  206. var recv_list = "emplno,emplnm" ;
  207. rpbfValidationCheck("EMPLNM", recv_list);
  208. model.refresh();
  209. ]]>
  210. </script>
  211. </input>
  212. <caption id="caption2" class="search_name" style="left:722px; top:20px; width:83px; height:17px; ">평가자 :</caption>
  213. <select1 id="cmb_procstat" ref="/root/send/valuempl/procstat" class="combo_search" appearance="minimal" style="left:463px; top:44px; width:192px; height:19px; ">
  214. <choices>
  215. <itemset>
  216. <label/>
  217. <value/>
  218. </itemset>
  219. </choices>
  220. </select1>
  221. <caption id="cap_procstat" class="search_name" style="left:378px; top:45px; width:81px; height:17px; vertical-align:middle; ">진행상태:</caption>
  222. </group>
  223. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  224. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
  225. <caption>저장</caption>
  226. <script type="javascript" ev:event="DOMActivate">
  227. <![CDATA[
  228. misfSave("TXRPV04501");
  229. return;
  230. if (model.getValue(gvErrorMsgPath + "/type") != "error")
  231. {
  232. btn_search.dispatch("DOMActivate");
  233. }
  234. ]]>
  235. </script>
  236. </button>
  237. <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  238. <button id="button11" class="btn4_letter3" style="left:1069px; top:3px; width:68px; height:22px; ">
  239. <caption>초기화</caption>
  240. </button>
  241. </group>
  242. </xhtml:body>
  243. </xhtml:html>