SMRPB19400_3차평가관리.xrw 27 KB

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