SMRPB19200_1차평가관리.xrw 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>1차평가관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <promotnflaglist>
  11. <emplno/>
  12. <emplnm/>
  13. <deptnm/>
  14. <entcodd/>
  15. <jobrespnm/>
  16. <jobposnm/>
  17. <jobkindnm/>
  18. <ojobgradnm/>
  19. <njobgradnm/>
  20. <payclscd/>
  21. <flag/>
  22. <gradeyn1/>
  23. <gradeyn2/>
  24. <assessor1/>
  25. <assessornm1/>
  26. <assessor2/>
  27. <assessornm2/>
  28. <deptcd/>
  29. <year/>
  30. <ojobgradcd/>
  31. <njobgradcd/>
  32. <jobkindcd/>
  33. <jobposcd/>
  34. </promotnflaglist>
  35. <asmtinfo>
  36. <gigan/>
  37. <giganyn/>
  38. </asmtinfo>
  39. <list>
  40. <astemplinfo>
  41. <elemlrg/>
  42. <elemmdl/>
  43. <elemnm/>
  44. <cmt/>
  45. <asmta1score/>
  46. <asmtb1score/>
  47. <asmtc1score/>
  48. <asmtd1score/>
  49. <asmte1score/>
  50. <elemgrd/>
  51. <score/>
  52. <year/>
  53. <emplno/>
  54. <flag/>
  55. <asmta1yn/>
  56. <asmtb1yn/>
  57. <asmtc1yn/>
  58. <asmtd1yn/>
  59. <asmte1yn/>
  60. <score1/>
  61. <opinion1/>
  62. </astemplinfo>
  63. </list>
  64. <list1>
  65. <deptinfo>
  66. <grade_a/>
  67. <grade_b/>
  68. <grade_c/>
  69. <grade_d/>
  70. <grade_e/>
  71. <inwon/>
  72. <grade_a1/>
  73. <grade_b1/>
  74. <grade_c1/>
  75. <grade_d1/>
  76. <grade_e1/>
  77. <grade_aper/>
  78. <grade_bper/>
  79. <grade_cper/>
  80. <grade_dper/>
  81. <grade_eper/>
  82. </deptinfo>
  83. </list1>
  84. </main>
  85. <send>
  86. <retrparams>
  87. <instcd/>
  88. <year/>
  89. <flag/>
  90. <dutunitcd/>
  91. <dutunitnm/>
  92. <deptgb/>
  93. <emplno/>
  94. <emplnm/>
  95. <grade/>
  96. <avrscore/>
  97. <opinion1/>
  98. </retrparams>
  99. <execdata>
  100. <astemplinfo/>
  101. </execdata>
  102. </send>
  103. <send1>
  104. <year/>
  105. <emplno/>
  106. <flag/>
  107. </send1>
  108. <hidden/>
  109. </root>
  110. </instance>
  111. <script type="javascript" ev:event="xforms-ready">
  112. <![CDATA[
  113. misfGridInit(grd_promotnflaglist);
  114. misfGridInit(datagrid1);
  115. misfGetAndSetUserInfo();
  116. model.setValue("/root/send/retrparams/deptgb", "2");
  117. model.setValue("/root/send/retrparams/grade", "1");
  118. model.setValue("/root/send/retrparams/year", getCurrentDate().substr(0, 4));
  119. model.setValue("/root/send/retrparams/dutunitcd", DUT_TEAM_CD);
  120. model.setValue("/root/send/retrparams/dutunitnm", DUT_TEAM_NM);
  121. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","Y");
  122. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  123. submit("TRRPB19202");
  124. if (model.getValue("/root/main/asmtinfo/giganyn") != "Y"){
  125. btn_save.disabled = true;
  126. }
  127. model.refresh();
  128. ]]>
  129. </script>
  130. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  131. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  132. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  133. <script type="javascript" src="../../../mis/promotnmngtweb/js/RPH001.js"/>
  134. <script type="javascript" src="../../../mis/purccommonweb/js/PURC.js"/>
  135. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  136. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  137. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  138. <script type="javascript" src="../../../mis/valuationmngtweb/js/RPV001.js"/>
  139. <script type="javascript">
  140. <![CDATA[
  141. function fEnableUpdateButton() {
  142. btn_insert.disabled = true;
  143. btn_update.disabled = false;
  144. }
  145. function fEnableInsertButton(){
  146. btn_insert.disabled = false;
  147. btn_update.disabled = true;
  148. ipt_emplno_d.disabled=false;
  149. ipt_emplnm_d.disabled=false;
  150. btn_emplno.disabled=false;
  151. ipt_gradupym_d.disabled = false;
  152. }
  153. function readfunc1(){
  154. model.setValue("/root/send1/year", model.getValue("/root/send/retrparams/year"));
  155. model.setValue("/root/send1/emplno", model.getValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/emplno"));
  156. model.setValue("/root/send1/flag", model.getValue("/root/main/promotnflaglist[" + grd_promotnflaglist.row + "]/flag"));
  157. if (submit("TRRPB19203")){
  158. model.setValue("/root/send/retrparams/avrscore", model.getValue("/root/main/list/astemplinfo[" + 1 + "]/score1"));
  159. model.setValue("/root/send/retrparams/opinion1", model.getValue("/root/main/list/astemplinfo[" + 1 + "]/opinion1"));
  160. datagrid1.mergecells = "bycol";
  161. datagrid1.mergeCol(0) = false;
  162. datagrid1.mergeCol(1) = true;
  163. datagrid1.mergeCol(2) = false;
  164. datagrid1.mergeCol(3) = false;
  165. datagrid1.mergeCol(4) = false;
  166. datagrid1.mergeCol(5) = false;
  167. datagrid1.mergeCol(6) = false;
  168. datagrid1.mergeCol(7) = false;
  169. datagrid1.mergeCol(8) = false;
  170. datagrid1.mergeCol(9) = false;
  171. datagrid1.mergeCol(10) = false;
  172. datagrid1.mergeCol(11) = false;
  173. datagrid1.merge();
  174. }
  175. model.refresh();
  176. }
  177. ]]>
  178. </script>
  179. <submission id="TRRPB19201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/main/promotnflaglist"/>
  180. <submission id="TRRPB19202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/main/asmtinfo"/>
  181. <submission id="TRRPB19204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/main/list1/deptinfo"/>
  182. <submission id="TRRPB19203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send1" resultref="/root/main/list/astemplinfo"/>
  183. <submission id="TXRPB19201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/execdata" resultref="/root/hidden"/>
  184. </model>
  185. </xhtml:head>
  186. <xhtml:body guideline="2,474;2,590;2,591;1,1434;" style="margin-left:8; margin-right:8; ">
  187. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  188. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">1차 평가관리</caption>
  189. </group>
  190. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:732px; ">
  191. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  192. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:19px; width:56px; height:22px; ">
  193. <caption>조회</caption>
  194. <script type="javascript" ev:event="DOMActivate">
  195. <![CDATA[
  196. misfGridInit(grd_promotnflaglist);
  197. misfGridInit(datagrid1);
  198. submit("TRRPB19201");
  199. submit("TRRPB19204");
  200. ]]>
  201. </script>
  202. </button>
  203. <line id="line13" class="line_4" style="x1:1110px; y1:17px; x2:1110px; y2:46px; "/>
  204. <caption id="caption278" class="tit_2" style="left:5px; top:59px; width:113px; height:14px; ">평가대상자 목록</caption>
  205. <line id="line207" class="line_1" style="x1:179px; y1:78px; x2:1191px; y2:78px; "/>
  206. <!--datagrid id="promotnflaglist" nodeset="/root/main/promotnflaglist" caption="기관^부서" colwidth="60, 65" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" colsep="^" style="left:0px; top:74px; width:1195px; height:433px; ">
  207. <col ref="instcd"/>
  208. <col ref="deptcd"/>
  209. </datagrid-->
  210. <button id="button19" class="btn2_letter4" visibility="hidden" style="left:1120px; top:55px; width:64px; height:19px; ">
  211. <caption>엑셀저장</caption>
  212. <script type="javascript" ev:event="DOMActivate">
  213. <![CDATA[
  214. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  215. if (fileName != "")
  216. {
  217. grd_promotnflaglist.saveExcel(fileName, "SheetName", true, true, "", "");
  218. }
  219. ]]>
  220. </script>
  221. </button>
  222. <!--button id="button3" class="btn2_letter3" style="left:955px; top:48px; width:53px; height:19px; ">
  223. <caption>행추가</caption>
  224. <script type="javascript" ev:event="DOMActivate">
  225. <![CDATA[
  226. ]]>
  227. </script>
  228. </button>
  229. <button id="button4" class="btn2_letter3" style="left:1010px; top:48px; width:53px; height:19px; ">
  230. <caption>행삭제</caption>
  231. <script type="javascript" ev:event="DOMActivate">
  232. <![CDATA[
  233. ]]>
  234. </script>
  235. </button-->
  236. <datagrid id="grd_promotnflaglist" nodeset="/root/main/promotnflaglist" caption="사원번호^성명^근무부서^입사일자^직책^직위^직종^직급^신직급^호봉^평가유형^1차평가^2차평가^1차평가자^1차평가자명^2차평가자^2차평가자명^caption1^caption2^caption3^caption4^caption5^caption6" colsep="^" colwidth="72, 62, 132, 74, 87, 83, 91, 76, 85, 42, 108, 53, 51, 80, 77, 72, 79, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:83px; width:175px; height:647px; ">
  237. <col ref="emplno" style="text-align:center; "/>
  238. <col ref="emplnm"/>
  239. <col ref="deptnm" visibility="hidden"/>
  240. <col ref="entcodd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  241. <col ref="jobrespnm" visibility="hidden"/>
  242. <col ref="jobposnm" visibility="hidden"/>
  243. <col ref="jobkindnm" visibility="hidden"/>
  244. <col ref="ojobgradnm" visibility="hidden"/>
  245. <col ref="njobgradnm" visibility="hidden"/>
  246. <col ref="payclscd" visibility="hidden" style="text-align:center; "/>
  247. <col ref="flag" type="combo" visibility="hidden" style="left:0px; top:0px; width:0px; height:0px; ">
  248. <choices>
  249. <item>
  250. <label>팀장,과장,실장용</label>
  251. <value>A</value>
  252. </item>
  253. <item>
  254. <label>계장급용</label>
  255. <value>B</value>
  256. </item>
  257. <item>
  258. <label>간호직용</label>
  259. <value>C</value>
  260. </item>
  261. <item>
  262. <label>의료기사직,직원용</label>
  263. <value>D</value>
  264. </item>
  265. </choices>
  266. </col>
  267. <col checkvalue="Y,N" ref="gradeyn1" type="checkbox" visibility="hidden"/>
  268. <col checkvalue="Y,N" ref="gradeyn2" type="checkbox" visibility="hidden"/>
  269. <col ref="assessor1" type="inputbutton" visibility="hidden" style="text-align:right; vertical-align:middle; "/>
  270. <col ref="assessornm1" visibility="hidden"/>
  271. <col ref="assessor2" type="inputbutton" visibility="hidden" style="text-align:right; vertical-align:middle; "/>
  272. <col ref="assessornm2" visibility="hidden"/>
  273. <col ref="deptcd" visibility="hidden"/>
  274. <col ref="year" visibility="hidden"/>
  275. <col ref="ojobgradcd" visibility="hidden"/>
  276. <col ref="njobgradcd" visibility="hidden"/>
  277. <col ref="jobkindcd" visibility="hidden"/>
  278. <col ref="jobposcd" visibility="hidden"/>
  279. <script type="javascript" ev:event="onclick">
  280. <![CDATA[
  281. if (isDataCell()) {
  282. readfunc1();
  283. }
  284. ]]>
  285. </script>
  286. </datagrid>
  287. <select1 id="cmb_instcd" ref="/root/send/retrparams/instcd" class="combo_search" navindex="1" appearance="minimal" style="left:100px; top:18px; width:110px; height:19px; ">
  288. <choices>
  289. <itemset>
  290. <label/>
  291. <value/>
  292. </itemset>
  293. </choices>
  294. </select1>
  295. <caption id="caption1" class="search_name" style="left:272px; top:19px; width:86px; height:17px; ">평가년도 :</caption>
  296. <input id="ipt_appfromdd" ref="/root/send/retrparams/year" class="input_s_essential" navindex="2" inputtype="date" format="yyyy" style="left:362px; top:18px; width:93px; height:19px; text-align:center; ">
  297. <script type="javascript" ev:event="xforms-value-changed">
  298. <![CDATA[
  299. submit("TRRPB19201");
  300. if (model.getValue("/root/main/asmtinfo/giganyn") != "Y"){
  301. btn_save.disabled = true;
  302. }
  303. btn_search.dispatch("DOMActivate");
  304. ]]>
  305. </script>
  306. </input>
  307. <caption id="caption2" class="search_name" style="left:10px; top:19px; width:86px; height:17px; ">소속기관 :</caption>
  308. <button id="btn_dutdept" class="icon_search" disabled="true" visibility="hidden" style="left:692px; top:20px; width:16px; height:16px; ">
  309. <caption/>
  310. <script type="javascript" ev:event="DOMActivate">
  311. <![CDATA[
  312. // misfOpenPopUpList("02", ipt_dutdeptcd, "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd");
  313. misfOpenPopUpList("02", ipt_dutdeptcd,"","dutunitcd,dutunitnm", cmb_instcd.value + "," + ipt_appfromdd.value+"31", "instcd,basedd");
  314. model.setValue("/root/send/retrparams/appdd", model.getValue("/root/send/retrparams/dutym"));
  315. model.setValue("/root/send/retrparams/dutplcedeptcd", model.getValue("/root/send/retrparams/dutunitcd"));
  316. model.setValue("/root/send/retrparams/flag", "1");
  317. model.setValue("/root/send/retrparams2/instcd", model.getValue("/root/send/retrparams/instcd"));
  318. model.setValue("/root/send/retrparams2/dutunitcd", model.getValue("/root/send/retrparams/dutunitcd"));
  319. model.setValue("/root/send/retrparams2/dutym", model.getValue("/root/send/retrparams/dutym"));
  320. submit("TRRPD00105");
  321. model.refresh();
  322. ]]>
  323. </script>
  324. </button>
  325. <select1 id="combo1" ref="/root/send/retrparams/deptgb" visibility="hidden" appearance="minimal" style="left:805px; top:18px; width:100px; height:19px; ">
  326. <choices>
  327. <item>
  328. <label>근무지</label>
  329. <value>1</value>
  330. </item>
  331. <item>
  332. <label>소속부서</label>
  333. <value>2</value>
  334. </item>
  335. <item>
  336. <label>소속과(팀)</label>
  337. <value>3</value>
  338. </item>
  339. <item>
  340. <label>소속부(실)</label>
  341. <value>4</value>
  342. </item>
  343. </choices>
  344. <script type="javascript" ev:event="xforms-value-changed">
  345. <![CDATA[
  346. model.setValue("/root/send/retrparams2/deptgb", model.getValue("/root/send/retrparams/deptgb"));
  347. submit("TRRPD00105");
  348. ]]>
  349. </script>
  350. </select1>
  351. <caption id="caption8" class="search_name" visibility="hidden" style="left:524px; top:19px; width:99px; height:17px; ">관리부서 :</caption>
  352. <input id="ipt_dutdeptnm" ref="/root/send/retrparams/dutunitnm" class="input_search" disabled="true" visibility="hidden" style="left:715px; top:18px; width:85px; height:19px; ">
  353. <script type="javascript" ev:event="xforms-value-changed">
  354. <![CDATA[
  355. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd");
  356. model.setValue("/root/send/retrparams/appdd", model.getValue("/root/send/retrparams/dutym"));
  357. model.setValue("/root/send/retrparams/dutplcedeptcd", model.getValue("/root/send/retrparams/dutunitcd"));
  358. model.setValue("/root/send/retrparams/flag", "1");
  359. model.setValue("/root/send/retrparams2/instcd", model.getValue("/root/send/retrparams/instcd"));
  360. model.setValue("/root/send/retrparams2/dutunitcd", model.getValue("/root/send/retrparams/dutunitcd"));
  361. model.setValue("/root/send/retrparams2/dutym", model.getValue("/root/send/retrparams/dutym"));
  362. submit("TRRPD00105");
  363. model.refresh();
  364. ]]>
  365. </script>
  366. <script type="javascript" ev:event="onkeypress">
  367. <![CDATA[
  368. if(event.keyCode == 13)
  369. {
  370. ipt_dutdeptnm.value = ipt_dutdeptnm.currentText;
  371. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd");
  372. model.setValue("/root/send/retrparams/appdd", model.getValue("/root/send/retrparams/dutym"));
  373. model.setValue("/root/send/retrparams/dutplcedeptcd", model.getValue("/root/send/retrparams/dutunitcd"));
  374. model.setValue("/root/send/retrparams/flag", "1");
  375. model.setValue("/root/send/retrparams2/instcd", model.getValue("/root/send/retrparams/instcd"));
  376. model.setValue("/root/send/retrparams2/dutunitcd", model.getValue("/root/send/retrparams/dutunitcd"));
  377. model.setValue("/root/send/retrparams2/dutym", model.getValue("/root/send/retrparams/dutym"));
  378. submit("TRRPD00105");
  379. model.refresh();
  380. }
  381. ]]>
  382. </script>
  383. </input>
  384. <input id="ipt_dutdeptcd" ref="/root/send/retrparams/dutunitcd" class="input_search" disabled="true" visibility="hidden" maxlength="10" style="left:612px; top:18px; width:75px; height:19px; text-align:center; ">
  385. <script type="javascript" ev:event="xforms-value-changed">
  386. <![CDATA[
  387. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd");
  388. model.setValue("/root/send/retrparams/appdd", model.getValue("/root/send/retrparams/dutym"));
  389. model.setValue("/root/send/retrparams/dutplcedeptcd", model.getValue("/root/send/retrparams/dutunitcd"));
  390. model.setValue("/root/send/retrparams/flag", "1");
  391. model.setValue("/root/send/retrparams2/instcd", model.getValue("/root/send/retrparams/instcd"));
  392. model.setValue("/root/send/retrparams2/dutunitcd", model.getValue("/root/send/retrparams/dutunitcd"));
  393. model.setValue("/root/send/retrparams2/dutym", model.getValue("/root/send/retrparams/dutym"));
  394. submit("TRRPD00105");
  395. model.refresh();
  396. ]]>
  397. </script>
  398. <script type="javascript" ev:event="onkeypress">
  399. <![CDATA[
  400. if(event.keyCode == 13)
  401. {
  402. ipt_dutdeptcd.value = ipt_dutdeptcd.currentText;
  403. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd");
  404. model.setValue("/root/send/retrparams/appdd", model.getValue("/root/send/retrparams/dutym"));
  405. model.setValue("/root/send/retrparams/dutplcedeptcd", model.getValue("/root/send/retrparams/dutunitcd"));
  406. model.setValue("/root/send/retrparams/flag", "1");
  407. model.setValue("/root/send/retrparams2/instcd", model.getValue("/root/send/retrparams/instcd"));
  408. model.setValue("/root/send/retrparams2/dutunitcd", model.getValue("/root/send/retrparams/dutunitcd"));
  409. model.setValue("/root/send/retrparams2/dutym", model.getValue("/root/send/retrparams/dutym"));
  410. submit("TRRPD00105");
  411. model.refresh();
  412. }
  413. ]]>
  414. </script>
  415. </input>
  416. <select1 id="combo2" visibility="hidden" appearance="minimal" style="left:950px; top:18px; width:100px; height:19px; ">
  417. <choices>
  418. <item>
  419. <label>1차평가</label>
  420. <value>1</value>
  421. </item>
  422. <item>
  423. <label>2차평가</label>
  424. <value>2</value>
  425. </item>
  426. </choices>
  427. </select1>
  428. <caption id="caption3" ref="/root/main/asmtinfo/gigan" style="left:325px; top:51px; width:500px; height:25px; font-size:12pt; font-weight:bold; color:#ff0000; ">caption3</caption>
  429. <line id="line1" class="line_1" style="x1:0px; y1:78px; x2:175px; y2:78px; "/>
  430. <caption id="caption4" class="tit_2" style="left:180px; top:59px; width:113px; height:14px; ">평가내역</caption>
  431. <caption id="caption5" style="left:945px; top:55px; width:64px; height:20px; font-weight:bold; ">합계점수 :</caption>
  432. <output id="output1" ref="/root/send/retrparams/avrscore" format="###" style="left:1014px; top:55px; width:70px; height:19px; font-size:13pt; font-weight:bold; color:#0000ff; text-align:left; "/>
  433. <datagrid id="datagrid1" nodeset="/root/main/list/astemplinfo" class="datagrid2" autoresize="true" caption="평가요소(대)^평가요소^평가요소명칭^평가내용^A점수^B점수^C점수^D점수^E점수^1차평가^평가점수^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10" colsep="^" colwidth="116, 35, 124, 287, 40, 42, 42, 42, 42, 122, 67, 21, 17, 21, 17, 14, 17, 22, 13, 18, 24" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:179px; top:83px; width:1015px; height:484px; font-size:12pxpt; ">
  434. <col disabled="true" ref="elemlrg" type="combo" style="font-size:10pt; text-align:left; ">
  435. <choices>
  436. <item>
  437. <label>업무실적</label>
  438. <value>1</value>
  439. </item>
  440. <item>
  441. <label>업무수행능력</label>
  442. <value>2</value>
  443. </item>
  444. <item>
  445. <label>업무수행태도</label>
  446. <value>3</value>
  447. </item>
  448. <item>
  449. <label>업무성과</label>
  450. <value>4</value>
  451. </item>
  452. </choices>
  453. </col>
  454. <col ref="elemmdl" visibility="hidden" style="font-size:10pt; "/>
  455. <col ref="elemnm" style="font-size:10pt; "/>
  456. <col ref="cmt" style="font-size:10pt; "/>
  457. <col ref="asmta1score" format="(-)###" style="font-size:10pt; text-align:center; "/>
  458. <col ref="asmtb1score" format="(-)###" style="font-size:10pt; text-align:center; "/>
  459. <col ref="asmtc1score" format="(-)###" style="font-size:10pt; text-align:center; "/>
  460. <col ref="asmtd1score" format="(-)###" style="font-size:10pt; text-align:center; "/>
  461. <col ref="asmte1score" format="(-)###" style="font-size:10pt; text-align:center; "/>
  462. <col ref="elemgrd" type="combo" style="font-size:10pt; text-align:center; ">
  463. <choices>
  464. <item>
  465. <label>A등급</label>
  466. <value>A</value>
  467. </item>
  468. <item>
  469. <label>B등급</label>
  470. <value>B</value>
  471. </item>
  472. <item>
  473. <label>C등급</label>
  474. <value>C</value>
  475. </item>
  476. <item>
  477. <label>D등급</label>
  478. <value>D</value>
  479. </item>
  480. <item>
  481. <label>E등급</label>
  482. <value>E</value>
  483. </item>
  484. </choices>
  485. </col>
  486. <col ref="score" format="(-)###" style="font-size:10pt; text-align:center; "/>
  487. <col ref="year" visibility="hidden"/>
  488. <col ref="emplno" visibility="hidden"/>
  489. <col ref="flag" visibility="hidden"/>
  490. <col ref="asmta1yn" visibility="hidden"/>
  491. <col ref="asmtb1yn" visibility="hidden"/>
  492. <col ref="asmtc1yn" visibility="hidden"/>
  493. <col ref="asmtd1yn" visibility="hidden"/>
  494. <col ref="asmte1yn" visibility="hidden"/>
  495. <col ref="score1" visibility="hidden"/>
  496. <col ref="opinion1" visibility="hidden"/>
  497. <script type="javascript" ev:event="xforms-value-changed">
  498. <![CDATA[
  499. if (datagrid1.colAttribute(datagrid1.col,"ref") == "elemgrd" ) {
  500. var elemgrd = model.getValue("/root/main/list/astemplinfo[" + datagrid1.row + "]/elemgrd");
  501. if (elemgrd == "E"){
  502. if (model.getValue("/root/main/list/astemplinfo[" + datagrid1.row + "]/asmte1score") == "" || model.getValue("/root/main/list/astemplinfo[" + datagrid1.row + "]/asmte1score") == "0"){
  503. model.setValue("/root/main/list/astemplinfo[" + datagrid1.row + "]/elemgrd", "");
  504. model.refresh();
  505. messageBox(datagrid1.row + "의 1차평가에서 E등급은 선택할 수 없습니다.", "E999", "");
  506. return;
  507. }
  508. }
  509. if (elemgrd == "A"){
  510. model.setValue("/root/main/list/astemplinfo[" + datagrid1.row + "]/score", model.getValue("/root/main/list/astemplinfo[" + datagrid1.row + "]/asmta1score"));
  511. }else if (elemgrd == "B"){
  512. model.setValue("/root/main/list/astemplinfo[" + datagrid1.row + "]/score", model.getValue("/root/main/list/astemplinfo[" + datagrid1.row + "]/asmtb1score"));
  513. }else if (elemgrd == "C"){
  514. model.setValue("/root/main/list/astemplinfo[" + datagrid1.row + "]/score", model.getValue("/root/main/list/astemplinfo[" + datagrid1.row + "]/asmtc1score"));
  515. }else if (elemgrd == "D"){
  516. model.setValue("/root/main/list/astemplinfo[" + datagrid1.row + "]/score", model.getValue("/root/main/list/astemplinfo[" + datagrid1.row + "]/asmtd1score"));
  517. }else if (elemgrd == "E"){
  518. model.setValue("/root/main/list/astemplinfo[" + datagrid1.row + "]/score", model.getValue("/root/main/list/astemplinfo[" + datagrid1.row + "]/asmte1score"));
  519. }
  520. }
  521. var avrscore = 0;
  522. var score = 0;
  523. for (var i = 1; i < datagrid1.rows; i ++){
  524. score = model.getValue("/root/main/list/astemplinfo[" + i + "]/score");
  525. if (isNaN(score) || score == ""){
  526. score = 0;
  527. }
  528. avrscore = parseInt(avrscore) + parseInt(score);
  529. }
  530. model.setValue("/root/send/retrparams/avrscore", avrscore);
  531. model.refresh();
  532. ]]>
  533. </script>
  534. </datagrid>
  535. <caption id="caption7" style="left:185px; top:580px; width:165px; height:20px; font-weight:bold; ">★ 평정자의견(40자이내) :</caption>
  536. <input id="input1" ref="/root/send/retrparams/opinion1" maxlength="80" style="left:352px; top:580px; width:560px; height:19px; ">
  537. <script type="javascript" ev:event="xforms-value-changed">
  538. <![CDATA[
  539. datagrid1.rowStatus(1) = 2;
  540. model.refresh();
  541. ]]>
  542. </script>
  543. </input>
  544. <caption id="caption9" style="left:245px; top:670px; width:100px; height:20px; text-align:center; background-color:#99ccff; ">1차 평가인원</caption>
  545. <caption id="caption10" style="left:245px; top:640px; width:100px; height:20px; text-align:center; background-color:#99ccff; ">기준 평가분포율</caption>
  546. <caption id="caption11" style="left:370px; top:610px; width:60px; height:20px; text-align:center; background-color:#99ccff; ">대상인원</caption>
  547. <caption id="caption12" style="left:470px; top:610px; width:60px; height:20px; text-align:center; background-color:#99ccff; ">A등급</caption>
  548. <caption id="caption13" style="left:570px; top:610px; width:60px; height:20px; text-align:center; background-color:#99ccff; ">B등급</caption>
  549. <caption id="caption14" style="left:665px; top:610px; width:60px; height:20px; text-align:center; background-color:#99ccff; ">C등급</caption>
  550. <caption id="caption15" style="left:760px; top:610px; width:60px; height:20px; text-align:center; background-color:#99ccff; ">D등급</caption>
  551. <caption id="caption16" style="left:860px; top:610px; width:60px; height:20px; text-align:center; background-color:#99ccff; ">E등급</caption>
  552. <caption id="caption17" style="left:245px; top:700px; width:100px; height:20px; text-align:center; background-color:#99ccff; ">1차 평가분포도</caption>
  553. <output id="output2" ref="/root/main/list1/deptinfo/grade_a" style="left:470px; top:640px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  554. <output id="output3" ref="/root/main/list1/deptinfo/grade_b" style="left:570px; top:640px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  555. <output id="output4" ref="/root/main/list1/deptinfo/grade_c" style="left:665px; top:640px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  556. <output id="output5" ref="/root/main/list1/deptinfo/grade_d" style="left:760px; top:640px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  557. <output id="output6" ref="/root/main/list1/deptinfo/grade_e" style="left:860px; top:640px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  558. <output id="output7" ref="/root/main/list1/deptinfo/grade_c1" style="left:665px; top:670px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  559. <output id="output8" ref="/root/main/list1/deptinfo/grade_d1" style="left:760px; top:670px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  560. <output id="output9" ref="/root/main/list1/deptinfo/grade_e1" style="left:860px; top:670px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  561. <output id="output10" ref="/root/main/list1/deptinfo/grade_a1" style="left:470px; top:670px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  562. <output id="output11" ref="/root/main/list1/deptinfo/grade_b1" style="left:570px; top:670px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  563. <output id="output12" ref="/root/main/list1/deptinfo/inwon" style="left:370px; top:670px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  564. <output id="output13" ref="/root/main/list1/deptinfo/grade_aper" style="left:470px; top:700px; width:60px; height:19px; text-align:center; background-color:#ffffcc; "/>
  565. <output id="output14" ref="/root/main/list1/deptinfo/grade_bper" style="left:570px; top:700px; width:60px; height:19px; text-align:center; background-color:#ffffcc; "/>
  566. <output id="output15" ref="/root/main/list1/deptinfo/grade_cper" style="left:665px; top:700px; width:60px; height:19px; text-align:center; background-color:#ffffcc; "/>
  567. <output id="output16" ref="/root/main/list1/deptinfo/grade_dper" style="left:760px; top:700px; width:60px; height:19px; text-align:center; background-color:#ffffcc; "/>
  568. <output id="output17" ref="/root/main/list1/deptinfo/grade_eper" style="left:860px; top:700px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  569. <caption id="caption18" style="left:535px; top:700px; width:20px; height:20px; ">%</caption>
  570. <caption id="caption19" style="left:635px; top:700px; width:20px; height:20px; ">%</caption>
  571. <caption id="caption20" style="left:730px; top:700px; width:20px; height:20px; ">%</caption>
  572. <caption id="caption21" style="left:825px; top:700px; width:20px; height:20px; ">%</caption>
  573. <caption id="caption22" style="left:925px; top:700px; width:20px; height:20px; ">%</caption>
  574. <output id="output18" ref="/root/main/list1/deptinfo/grade_c" style="left:665px; top:640px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  575. <output id="output19" ref="/root/main/list1/deptinfo/grade_d" style="left:760px; top:640px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  576. <output id="output20" ref="/root/main/list1/deptinfo/grade_a1" style="left:470px; top:670px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  577. <output id="output21" ref="/root/main/list1/deptinfo/grade_e" style="left:860px; top:640px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  578. <output id="output22" ref="/root/main/list1/deptinfo/grade_b1" style="left:570px; top:670px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  579. <output id="output23" ref="/root/main/list1/deptinfo/grade_c1" style="left:665px; top:670px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  580. <output id="output24" ref="/root/main/list1/deptinfo/inwon" style="left:370px; top:670px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  581. <output id="output25" ref="/root/main/list1/deptinfo/grade_d1" style="left:760px; top:670px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  582. <output id="output26" ref="/root/main/list1/deptinfo/grade_aper" style="left:470px; top:700px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  583. <output id="output27" ref="/root/main/list1/deptinfo/grade_e1" style="left:860px; top:670px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  584. <output id="output28" ref="/root/main/list1/deptinfo/grade_bper" style="left:570px; top:700px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  585. <output id="output29" ref="/root/main/list1/deptinfo/grade_cper" style="left:665px; top:700px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  586. <output id="output30" ref="/root/main/list1/deptinfo/grade_dper" style="left:760px; top:700px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  587. <output id="output31" ref="/root/main/list1/deptinfo/grade_a" style="left:470px; top:640px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  588. <output id="output32" ref="/root/main/list1/deptinfo/grade_b" style="left:570px; top:640px; width:60px; height:19px; font-weight:bold; text-align:center; background-color:#ffffcc; "/>
  589. </group>
  590. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:28px; ">
  591. <line id="line4" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  592. <button id="btn_save" class="btn4_letter2" style="left:1130px; top:3px; width:56px; height:22px; ">
  593. <caption>저장</caption>
  594. <script type="javascript" ev:event="DOMActivate">
  595. <![CDATA[
  596. var score1 = 0;
  597. for (var i = 1; i < datagrid1.rows; i ++){
  598. var score = model.getValue("/root/main/list/astemplinfo[" + i + "]/score");
  599. if (isNaN(score)){
  600. score = 0;
  601. }
  602. score1 = parseInt(score1) + parseInt(score);
  603. }
  604. for (var i = 1; i < datagrid1.rows; i ++){
  605. var elemgrd = model.getValue("/root/main/list/astemplinfo[" + i + "]/elemgrd");
  606. if (elemgrd == ""){
  607. messageBox(i + "번째에 대한 평가내역을 선택한 후 처리하시기 바랍니다.", "E999", "");
  608. return;
  609. }
  610. model.setValue("/root/main/list/astemplinfo[" + i + "]/opinion1", model.getValue("/root/send/retrparams/opinion1"));
  611. model.setValue("/root/main/list/astemplinfo[" + i + "]/score1", score1);
  612. model.refresh();
  613. }
  614. var updtdata = getGridUpdateData(datagrid1);
  615. if (updtdata == "" ) {
  616. messageBox("변경된 데이터가","I004");
  617. return;
  618. }
  619. var ret = messageBox("저장합니다.","Q003");
  620. if (ret != 6) { // not OK
  621. return;
  622. } else {
  623. model.setValue("/root/send/execdata/astemplinfo", updtdata);
  624. var irow = grd_promotnflaglist.row;
  625. if (submit("TXRPB19201")){
  626. submit("TRRPB19204");
  627. grd_promotnflaglist.row = irow;
  628. readfunc1();
  629. }
  630. }
  631. ]]>
  632. </script>
  633. </button>
  634. </group>
  635. </xhtml:body>
  636. </xhtml:html>