SMRPB20100_계약직평가관리.xrw 25 KB

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