SMRPS04600_오리엔테이션계획입력현황.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  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>SMRPS04500_오리엔테이션프로그램</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <grid>
  11. <educlist/>
  12. <filelist/>
  13. </grid>
  14. </main>
  15. <send>
  16. <search>
  17. <appyy/>
  18. <deptcd/>
  19. <deptnm/>
  20. <teamnm/>
  21. <teamcd/>
  22. <unitnm/>
  23. <unitcd/>
  24. <emplno/>
  25. <instcd/>
  26. <educcd/>
  27. <posinstcd/>
  28. <chrgdeptcd/>
  29. <chrgdeptnm/>
  30. <chrgteamnm/>
  31. <chrgteamcd/>
  32. <chrgunitnm/>
  33. <chrgunitcd/>
  34. <grdunitcd/>
  35. </search>
  36. <save>
  37. <educlist/>
  38. </save>
  39. <contents>
  40. <educgoal/>
  41. <educterm/>
  42. <deptot/>
  43. <jobroleot/>
  44. </contents>
  45. </send>
  46. <init>
  47. </init>
  48. <temp>
  49. <flag/>
  50. </temp>
  51. </root>
  52. </instance>
  53. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  57. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  58. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  59. <script type="javascript" src="../../../mis/educationmngtweb/js/RPS001.js"/>
  60. <script type="javascript" ev:event="xforms-ready">
  61. <![CDATA[
  62. misfGetUserAuth();
  63. fCheckAuth();
  64. fInitialize() ;
  65. ]]>
  66. </script>
  67. <script type="javascript">
  68. <![CDATA[
  69. //========================================================================================
  70. //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
  71. //========================================================================================
  72. function fCheckAuth() {
  73. btn_search.disabled = !checkAuth("R") ;
  74. }
  75. ]]>
  76. </script>
  77. <submission id="TRRPS04000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/init/emplinfo"/>
  78. <submission id="TRRPS04999" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/init/deptadmin"/>
  79. <submission id="TRRPS04601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/grid/educlist"/>
  80. <submission id="TRRPS00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/grid/filelist"/>
  81. </model>
  82. <script type="javascript">
  83. <![CDATA[
  84. function fInitialize() {
  85. var curdate = getCurrentDate();
  86. model.setValue(ipt_appyy.attribute("ref") , curdate.substr(0, 4));
  87. // user정보조회
  88. model.setValue(ipt_emplno.attribute("ref"),getUserInfo("userid"));
  89. submit("TRRPS04000");
  90. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N","N");
  91. cmb_instcd.value = model.getValue("/root/init/emplinfo/dutplceinst");
  92. model.setValue(ipt_deptnm.attribute("ref"),model.getValue("/root/init/emplinfo/dutdeptnm"));
  93. model.setValue(ipt_deptcd.attribute("ref"), model.getValue("/root/init/emplinfo/dutdeptcd"));
  94. model.setValue(ipt_teamnm.attribute("ref"),model.getValue("/root/init/emplinfo/dutteamnm"));
  95. model.setValue(ipt_teamcd.attribute("ref"),model.getValue("/root/init/emplinfo/dutteamcd"));
  96. model.setValue(ipt_unitnm.attribute("ref"), model.getValue("/root/init/emplinfo/dutunitnm"));
  97. model.setValue(ipt_unitcd.attribute("ref"), model.getValue("/root/init/emplinfo/dutunitcd"));
  98. model.refresh();
  99. if ( DUTY_EDU_YN == "Y" || DUTY_RESP_YN == "Y" || getUserInfo("dutplcecd") == "4020500000" ) {
  100. ipt_deptnm.disabled = false;
  101. ipt_teamnm.disabled = false;
  102. ipt_unitnm.disabled = false;
  103. btn_dept.disabled = false;
  104. btn_team.disabled = false;
  105. btn_unit.disabled = false;
  106. }
  107. else {
  108. fCheckDisabled(); // 관리자인지 체크하여 기본 조회부분의 활성화/비활성화를 결정한다.
  109. }
  110. //그리드 초기화 작업
  111. model.removeNodeset(grd_educlist.nodeset);
  112. model.removeNodeset(grd_attach.nodeset);
  113. misfMsterDetailSet(grd_educlist, null, "TRRPS04601", "Y");
  114. // misfMsterDetailSet(grd_attach, grd_educlist, "TRRPS00204", "Y");
  115. grd_educlist.rowHeight(grd_educlist.fixedRows-1) = 50;
  116. model.refresh();
  117. }
  118. function fCheckAdmin() {
  119. // 부서교육관리자로 등록된 사람인지 체크
  120. model.setValue("/root/send/search/instcd", model.getValue("/root/init/emplinfo/dutplceinst"));
  121. model.setValue("/root/send/search/posinstcd", model.getValue("/root/init/emplinfo/dutplceinst"));
  122. submit("TRRPS04999");
  123. if( model.getValue("/root/init/deptadmin/emplno") == ipt_emplno.value ) {
  124. btn_search.disabled = false;
  125. }
  126. else {
  127. // btn_search.disabled = true;
  128. }
  129. model.refresh();
  130. }
  131. function fCheckDisabled () {
  132. model.setValue("/root/send/search/chrgdeptnm",model.getValue("/root/init/emplinfo/dutdeptnm"));
  133. model.setValue("/root/send/search/chrgdeptcd", model.getValue("/root/init/emplinfo/dutdeptcd"));
  134. model.setValue("/root/send/search/chrgteamnm",model.getValue("/root/init/emplinfo/dutteamnm"));
  135. model.setValue("/root/send/search/chrgteamcd",model.getValue("/root/init/emplinfo/dutteamcd"));
  136. model.setValue("/root/send/search/chrgunitnm", model.getValue("/root/init/emplinfo/dutunitnm"));
  137. model.setValue("/root/send/search/chrgunitcd", model.getValue("/root/init/emplinfo/dutunitcd"));
  138. fCheckAdmin();
  139. if( model.getValue("/root/init/deptadmin/teamyn") == "Y") {
  140. ipt_teamnm.disabled = false;
  141. btn_team.disabled = false;
  142. ipt_unitnm.disabled = false;
  143. btn_unit.disabled = false;
  144. }
  145. else if (model.getValue("/root/init/deptadmin/unityn") == "Y") {
  146. ipt_unitnm.disabled = false;
  147. btn_unit.disabled = false;
  148. }
  149. else {
  150. ipt_teamnm.disabled = true;
  151. ipt_unitnm.disabled = true;
  152. btn_team.disabled = true;
  153. btn_unit.disabled = true;
  154. }
  155. model.refresh();
  156. }
  157. ]]>
  158. </script>
  159. </xhtml:head>
  160. <xhtml:body style="margin-left:8; margin-right:8; ">
  161. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  162. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">오리엔테이션계획 입력현황</caption>
  163. </group>
  164. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  165. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:1px; width:1195px; height:34px; background-color:#fffbf2; border-color:#ffd799; "/>
  166. <line id="line8" class="line_1" style="x1:0px; y1:55px; x2:1194px; y2:55px; "/>
  167. <caption id="caption29" class="tit_2" style="left:0px; top:320px; width:169px; height:13px; ">교육목표(부서/직무 OT)</caption>
  168. <button id="btn_search" class="btn1_letter2" style="left:1126px; top:7px; width:56px; height:22px; ">
  169. <caption>조회</caption>
  170. <script type="javascript" ev:event="DOMActivate">
  171. <![CDATA[
  172. if(ipt_appyy.value == "") {
  173. messageBox("년도는","I003");
  174. model.setFocus("ipt_appyy");
  175. }
  176. else {
  177. model.setValue("/root/send/contents/educgoal", "");
  178. model.setValue("/root/send/contents/educterm", "");
  179. model.setValue("/root/send/contents/deptot" , "");
  180. model.setValue("/root/send/contents/jobroleot", "");
  181. misfMsterDetailRetrieve();
  182. model.removeNodeset(grd_attach.nodeset);
  183. model.setValue("/root/send/search/educcd",grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educcd")));
  184. submit("TRRPS00204");
  185. model.refresh();
  186. }
  187. ]]>
  188. </script>
  189. </button>
  190. <line id="line13" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:30px; "/>
  191. <caption id="cap_appyy" class="search_name" style="left:20px; top:9px; width:90px; height:17px; ">년 도 :</caption>
  192. <input id="ipt_appyy" ref="/root/send/search/appyy" class="input_s_essential" inputtype="date" format="yyyy" appearance="input" style="left:102px; top:9px; width:82px; height:19px; text-align:center; "/>
  193. <input id="ipt_unitnm" ref="/root/send/search/unitnm" class="input_search" disabled="true" appearance="input" style="left:960px; top:9px; width:113px; height:19px; text-align:center; ">
  194. <script type="javascript" ev:event="xforms-value-changed">
  195. <![CDATA[
  196. if( ipt_unitnm.value.getByteLength() == '0' ) {
  197. ipt_unitcd.value = "" ;
  198. }
  199. model.refresh();
  200. ]]>
  201. </script>
  202. </input>
  203. <input id="ipt_unitcd" ref="/root/send/search/unitcd" disabled="true" visibility="hidden" style="left:990px; top:21px; width:70px; height:19px; "/>
  204. <caption id="caption8" class="search_name" style="left:900px; top:10px; width:86px; height:17px; ">부서 :</caption>
  205. <input id="ipt_teamnm" ref="/root/send/search/teamnm" class="input_search" disabled="true" visibility="visible" appearance="input" style="left:739px; top:9px; width:117px; height:19px; text-align:center; ">
  206. <script type="javascript" ev:event="xforms-value-changed">
  207. <![CDATA[
  208. if( ipt_teamnm.value.getByteLength() == '0' ) {
  209. ipt_teamcd.value = "" ;
  210. }
  211. model.refresh();
  212. ]]>
  213. </script>
  214. </input>
  215. <input id="ipt_teamcd" ref="/root/send/search/teamcd" disabled="true" visibility="hidden" style="left:784px; top:21px; width:50px; height:19px; "/>
  216. <input id="ipt_deptnm" ref="/root/send/search/deptnm" class="input_search" disabled="true" navindex="3" visibility="visible" style="left:505px; top:9px; width:120px; height:19px; text-align:center; ">
  217. <script type="javascript" ev:event="xforms-value-changed">
  218. <![CDATA[
  219. if( ipt_deptnm.value.getByteLength() == '0' ) {
  220. ipt_deptcd.value = "" ;
  221. }
  222. model.refresh();
  223. ]]>
  224. </script>
  225. </input>
  226. <input id="ipt_deptcd" ref="/root/send/search/deptcd" class="input_search" disabled="true" navindex="2" visibility="hidden" maxlength="10" style="left:565px; top:21px; width:45px; height:19px; text-align:center; "/>
  227. <input id="ipt_emplno" ref="/root/send/search/emplno" visibility="hidden" style="left:800px; top:40px; width:90px; height:19px; "/>
  228. <button id="btn_unit" class="icon_search" disabled="true" style="left:1075px; top:10px; width:16px; height:17px; ">
  229. <caption/>
  230. <script type="javascript" ev:event="DOMActivate">
  231. <![CDATA[
  232. var unitcd = ipt_unitcd.value;
  233. var unitnm = ipt_unitnm.value;
  234. rpsfEducOpenPopUpList("07", ipt_unitnm, "", "unitcd,unitnm", cmb_instcd.value, "instcd");
  235. if ( DUTY_EDU_YN == 'Y' || DUTY_RESP_YN == "Y" || getUserInfo("dutplcecd") == "4020500000" ) {
  236. // unit이 달라지면 상위 부서도 가져온다..
  237. model.setValue("/root/send/search/posinstcd", cmb_instcd.value);
  238. model.setValue("/root/send/search/grdunitcd", ipt_unitcd.value);
  239. model.setValue("/root/send/search/emplno", "" );
  240. submit("TRRPS04000");
  241. model.setValue(ipt_emplno.attribute("ref"),getUserInfo("userid"));
  242. model.setValue("/root/send/search/deptnm", model.getValue("/root/init/emplinfo/dutdeptnm"));
  243. model.setValue("/root/send/search/deptcd", model.getValue("/root/init/emplinfo/dutdeptcd"));
  244. model.setValue("/root/send/search/teamnm", model.getValue("/root/init/emplinfo/dutteamnm"));
  245. model.setValue("/root/send/search/teamcd", model.getValue("/root/init/emplinfo/dutteamcd"));
  246. }
  247. else {
  248. fCheckAdmin(); // 관리자인지 체크한다.
  249. // unit이 달라지면 상위 부서도 가져온다..
  250. model.setValue("/root/send/search/posinstcd", cmb_instcd.value);
  251. model.setValue("/root/send/search/grdunitcd", ipt_unitcd.value);
  252. model.setValue("/root/send/search/emplno", "" );
  253. submit("TRRPS04000");
  254. // if( !btn_search.disabled &&
  255. // model.getValue("/root/send/search/deptcd") == model.getValue("/root/init/emplinfo/dutdeptcd") &&
  256. // model.getValue("/root/send/search/teamcd") == model.getValue("/root/init/emplinfo/dutteamcd") ) {
  257. model.setValue(ipt_emplno.attribute("ref"),getUserInfo("userid"));
  258. model.setValue("/root/send/search/deptnm", model.getValue("/root/init/emplinfo/dutdeptnm"));
  259. model.setValue("/root/send/search/deptcd", model.getValue("/root/init/emplinfo/dutdeptcd"));
  260. model.setValue("/root/send/search/teamnm", model.getValue("/root/init/emplinfo/dutteamnm"));
  261. model.setValue("/root/send/search/teamcd", model.getValue("/root/init/emplinfo/dutteamcd"));
  262. // }
  263. /* else {
  264. messageBox("당신의 관리부서가 아닙니다. 확인바랍니다.","I999");
  265. ipt_unitcd.value = unitcd;
  266. ipt_unitnm.value = unitnm;
  267. }
  268. */
  269. }
  270. model.refresh();
  271. ]]>
  272. </script>
  273. </button>
  274. <caption id="caption1" class="search_name" style="left:667px; top:10px; width:86px; height:17px; ">과(팀) :</caption>
  275. <caption id="caption2" class="search_name" style="left:432px; top:10px; width:86px; height:17px; ">부(실) :</caption>
  276. <button id="btn_team" class="icon_search" disabled="true" style="left:859px; top:11px; width:16px; height:16px; ">
  277. <caption/>
  278. <script type="javascript" ev:event="DOMActivate">
  279. <![CDATA[
  280. rpsfEducOpenPopUpList("06", ipt_teamnm, "", "teamcd,teamnm", cmb_instcd.value, "instcd");
  281. // 과(팀)을 변경하면 부서는 모두 공백으로 변경한다.
  282. model.setValue("/root/send/search/unitnm", "");
  283. model.setValue("/root/send/search/unitcd", "");
  284. model.refresh();
  285. ]]>
  286. </script>
  287. </button>
  288. <button id="btn_dept" class="icon_search" disabled="true" style="left:627px; top:11px; width:16px; height:16px; ">
  289. <caption/>
  290. <script type="javascript" ev:event="DOMActivate">
  291. <![CDATA[
  292. rpsfEducOpenPopUpList("05", ipt_deptnm, "", "deptcd,deptnm", cmb_instcd.value, "instcd");
  293. // 부(실)을 변경하면 과(팀), 부서는 모두 공백으로 변경한다.
  294. model.setValue("/root/send/search/teamnm", "");
  295. model.setValue("/root/send/search/teamcd", "");
  296. model.setValue("/root/send/search/unitnm", "");
  297. model.setValue("/root/send/search/unitcd", "");
  298. model.refresh();
  299. ]]>
  300. </script>
  301. </button>
  302. <caption id="caption3" class="search_name" style="left:200px; top:10px; width:86px; height:17px; ">기 관 :</caption>
  303. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:283px; top:9px; width:135px; height:19px; ">
  304. <choices>
  305. <itemset>
  306. <label/>
  307. <value/>
  308. </itemset>
  309. </choices>
  310. </select1>
  311. <caption id="caption4" class="tit_2" style="left:0px; top:507px; width:169px; height:13px; ">부서OT 교육주요내용</caption>
  312. <caption id="caption5" class="tit_2" style="left:440px; top:505px; width:186px; height:13px; ">직무OT(OJT) 교육주요내용</caption>
  313. <line id="line1" class="line_1" style="x1:0px; y1:520px; x2:1194px; y2:520px; "/>
  314. <line id="line3" class="line_1" style="x1:0px; y1:334px; x2:1194px; y2:334px; "/>
  315. <caption id="caption9" class="tit_2" style="left:600px; top:320px; width:169px; height:13px; ">교육기간(부서/직무 OT)</caption>
  316. <caption id="caption11" class="tit_2" style="left:884px; top:507px; width:182px; height:13px; ">부서/직무 OT 교육일정표</caption>
  317. <datagrid id="grd_attach" nodeset="/root/main/grid/filelist" caption="순번^seqno^수정일^파일명^파일경로^파일크기^파일크기^교육코드^년도^기관" colsep="^" colwidth="35, 100, 88, 261, 76, 100, 50, 100, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" tooltip="true" style="left:880px; top:525px; width:313px; height:160px; ">
  318. <col ref="rownum" style="text-align:center; "/>
  319. <col ref="seqno" visibility="hidden" style="text-align:center; "/>
  320. <col disabled="true" ref="updatedt" visibility="hidden" format="yyyy-mm-dd"/>
  321. <col disabled="true" ref="filenm" style="text-align:center; "/>
  322. <col ref="filepath" visibility="hidden"/>
  323. <col ref="filesz" format="#,###" style="text-align:center; "/>
  324. <col ref="bytes"/>
  325. <col ref="educcd" visibility="hidden"/>
  326. <col ref="appyy" visibility="hidden"/>
  327. <col ref="instcd" visibility="hidden"/>
  328. <script type="javascript" ev:event="ondblclick">
  329. <![CDATA[
  330. var idx = grd_attach.row;
  331. model.copyNode("/root/send/attach","/root/main/grid/filelist["+idx+"]");
  332. var filepath = model.getValue("/root/send/attach/filepath");
  333. var filenm = model.getValue("/root/send/attach/filenm");
  334. var localfile = window.fileDialog("save","|",false,filenm,"","All Files(*.*)|*.*");
  335. if (localfile != "") {
  336. model.download(getActionURL("TRRPS00205")+"&filepath="+filepath,localfile);
  337. var rtn = messageBox("파일을", "Q004");
  338. if( rtn == 6 ) {
  339. window.exec(localfile);
  340. }
  341. }
  342. model.refresh();
  343. ]]>
  344. </script>
  345. </datagrid>
  346. <textarea id="txt_educgoal" ref="/root/send/contents/educgoal" style="left:0px; top:339px; width:596px; height:160px; ">
  347. <script type="javascript" ev:event="xforms-value-changed">
  348. <![CDATA[
  349. if(!isRequiredControls("txt_educgoal")) return;
  350. if( grd_educlist.rows == grd_educlist.fixedRows ) {
  351. misfGridIUD(grd_educlist, "A");
  352. }
  353. else {
  354. grd_educlist.addStatus(grd_educlist.row, "update" );
  355. }
  356. grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educgoal")) = txt_educgoal.value;
  357. model.refresh();
  358. ]]>
  359. </script>
  360. </textarea>
  361. <textarea id="txt_jobroleot" ref="/root/send/contents/jobroleot" style="left:440px; top:525px; width:437px; height:160px; ">
  362. <script type="javascript" ev:event="xforms-value-changed">
  363. <![CDATA[
  364. if(!isRequiredControls("txt_educgoal")) return;
  365. if( grd_educlist.rows == grd_educlist.fixedRows ) {
  366. misfGridIUD(grd_educlist, "A");
  367. }
  368. else {
  369. grd_educlist.addStatus(grd_educlist.row, "update" );
  370. }
  371. grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("jobroleot")) = txt_jobroleot.value;
  372. model.refresh();
  373. ]]>
  374. </script>
  375. </textarea>
  376. <textarea id="txt_educterm" ref="/root/send/contents/educterm" style="left:597px; top:339px; width:596px; height:160px; ">
  377. <script type="javascript" ev:event="xforms-value-changed">
  378. <![CDATA[
  379. if(!isRequiredControls("txt_educgoal")) return;if( grd_educlist.rows == grd_educlist.fixedRows ) {
  380. misfGridIUD(grd_educlist, "A");
  381. }
  382. else {
  383. grd_educlist.addStatus(grd_educlist.row, "update" );
  384. }
  385. grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educterm")) = txt_educterm.value;
  386. model.refresh();
  387. ]]>
  388. </script>
  389. </textarea>
  390. <textarea id="txt_deptot" ref="/root/send/contents/deptot" style="left:0px; top:525px; width:437px; height:160px; ">
  391. <script type="javascript" ev:event="xforms-value-changed">
  392. <![CDATA[
  393. if(!isRequiredControls("txt_educgoal")) return;if( grd_educlist.rows == grd_educlist.fixedRows ) {
  394. misfGridIUD(grd_educlist, "A");
  395. }
  396. else {
  397. grd_educlist.addStatus(grd_educlist.row, "update" );
  398. }
  399. grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("deptot")) = txt_deptot.value;
  400. model.refresh();
  401. ]]>
  402. </script>
  403. </textarea>
  404. <datagrid id="grd_educlist" nodeset="/root/main/grid/educlist" caption="년도^부(실)^과(팀)^부서^교육목표^교육기간^부서OT주요내용^직무OT주요내용^OT교육일정표^교육목표^교육기간^부서OT^직무OT^기관^dept^team^unit^교육코드" colsep="^" colwidth="70, 150, 150, 150, 100, 100, 100, 100, 100, 56, 61, 58, 51, 48, 48, 57, 51, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:60px; width:1193px; height:250px; ">
  405. <col ref="appyy"/>
  406. <col ref="deptnm"/>
  407. <col ref="teamnm"/>
  408. <col ref="unitnm"/>
  409. <col ref="educgoalyn"/>
  410. <col ref="eductermyn"/>
  411. <col ref="deptotyn"/>
  412. <col ref="jobroleotyn"/>
  413. <col ref="filecnt"/>
  414. <col ref="educgoal" visibility="hidden"/>
  415. <col ref="educterm" visibility="hidden"/>
  416. <col ref="deptot" visibility="hidden"/>
  417. <col ref="jobroleot" visibility="hidden"/>
  418. <col ref="instcd" visibility="hidden"/>
  419. <col ref="deptcd" visibility="hidden"/>
  420. <col ref="teamcd" visibility="hidden"/>
  421. <col ref="unitcd" visibility="hidden"/>
  422. <col ref="educcd" visibility="hidden"/>
  423. <script type="javascript" ev:event="onrowchanged">
  424. <![CDATA[
  425. model.setValue("/root/send/contents/educgoal" , grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educgoal")));
  426. model.setValue("/root/send/contents/educterm" , grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educterm")));
  427. model.setValue("/root/send/contents/deptot" , grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("deptot")));
  428. model.setValue("/root/send/contents/jobroleot" , grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("jobroleot")));
  429. model.setValue("/root/send/search/educcd" , grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educcd")));
  430. submit("TRRPS00204");
  431. model.refresh();
  432. ]]>
  433. </script>
  434. </datagrid>
  435. <caption id="caption7" class="tit_2" style="left:0px; top:40px; width:169px; height:14px; ">부서오리엔테이션현황</caption>
  436. </group>
  437. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; "/>
  438. <input id="ipt_flag" ref="/root/temp/flag" visibility="hidden" style="left:775px; top:535px; width:50px; height:19px; ">
  439. <script type="javascript" ev:event="xforms-value-changed">
  440. <![CDATA[
  441. if(ipt_flag.value == "1") {
  442. // 첨부파일 조회
  443. model.removeNodeset(grd_attach.nodeset);
  444. model.makeNode("/root/send/attach");
  445. submit("TRRPS00204");
  446. model.refresh();
  447. }
  448. ]]>
  449. </script>
  450. </input>
  451. </xhtml:body>
  452. </xhtml:html>