SMRTS01100_사랑나눔교육스케줄관리.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493
  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. <humnatremplist/>
  11. <reflist>
  12. <list/>
  13. </reflist>
  14. </main>
  15. <hidden>
  16. </hidden>
  17. <temp>
  18. <scheflag/>
  19. </temp>
  20. <init/>
  21. <send>
  22. <req>
  23. <yy/>
  24. <deptcd/>
  25. <dgno/>
  26. <supinfqurtyyflag/>
  27. <capa/>
  28. <emplno/>
  29. <emplnm/>
  30. </req>
  31. <humnatremplist/>
  32. </send>
  33. </root>
  34. </instance>
  35. <script type="javascript" ev:event="xforms-ready">
  36. <![CDATA[
  37. submit("TRRTS00602");
  38. misfGridInit(grd_humnatremplist);
  39. // misfMsterDetailSet(grd_humnatrcapastat, null, "TRRTS01101", "Y");
  40. misfMsterDetailSet(grd_humnatremplist, null , "TRRTS01102", "Y");
  41. var today = getCurrentDate();
  42. var cur_mm = parseInt(today.substring(4, 6));
  43. var cur_yy = parseInt(today.substring(0, 4));
  44. /*if (cur_mm < 3)
  45. {
  46. cur_yy--;
  47. }*/
  48. model.setValue("/root/send/req/yy", cur_yy);
  49. ipt_yy.refresh();
  50. //fCheckAuth();
  51. ]]>
  52. </script>
  53. <submission id="TRRTS01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/humnatrcapastat"/>
  54. <submission id="TRRTS01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/humnatremplist"/>
  55. <submission id="TRRTS00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdept" resultref="/root/main/tisorddeptcdlist"/>
  56. <submission id="TXRTS01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/exe"/>
  57. <submission id="TXRTS01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/humnatremplist" resultref="/root/hidden"/>
  58. <submission id="TXRTS01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/humnatremplist" resultref="/root/hidden"/>
  59. </model>
  60. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  63. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  64. <script type="javascript" src="../../../mis/tistrngeducplanmngtweb/js/SMRTS00600.js"/>
  65. <script type="javascript" src="../../../mis/tistrngeducbaseinfomngtweb/js/RTC001.js"/>
  66. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  67. <script type="javascript">
  68. <![CDATA[
  69. /*var gMastUser = false;
  70. function fCheckAuth() {
  71. btn_search.disabled = !checkAuth("R") ;
  72. btn_save.disabled = !checkAuth("X") ;
  73. gMastUser = checkAuth("P") ;
  74. if (!gMastUser)
  75. {
  76. var sPosdeptcd = getUserInfo("posdeptcd");
  77. // 내과 세부분과일시 내과로 세팅
  78. if(sPosdeptcd == "2010300000" || sPosdeptcd == "2010400000" || sPosdeptcd == "2010500000" || sPosdeptcd == "2010600000" || sPosdeptcd == "2010700000" || sPosdeptcd == "2010800000" || sPosdeptcd == "2010900000" || sPosdeptcd == "2011000000" || sPosdeptcd == "2011100000")
  79. {
  80. model.setValue("/root/send/req/deptcd", "2010000000");
  81. }
  82. else
  83. {
  84. model.setValue("/root/send/req/deptcd", getUserInfo("posdeptcd"));
  85. }
  86. cmb_deptcd.refresh();
  87. // model.setValue("/root/send/req/deptcd", getUserInfo("posdeptcd"));
  88. // cmb_deptcd.disabled = true;
  89. ipt_yy.disabled = true;
  90. rtsfCheckTermFlag('03',cmb_deptcd.value);
  91. var from = model.getValue("/root/updtsche/list/schefrom");
  92. var to = model.getValue("/root/updtsche/list/scheto");
  93. var frommm=from.substring(0,2);
  94. var fromdd=from.substring(2,4);
  95. var tomm=to.substring(0,2);
  96. var todd=to.substring(2,4);
  97. var today = getCurrentDate();
  98. var cur_yy = parseInt(today.substring(0, 4));
  99. var fromyymmdd=cur_yy+from;
  100. var toyymmdd=cur_yy+to;
  101. var schefromto= "교육스케줄 입력기간은 "+cur_yy+"년 "+ frommm+"월 "+fromdd+"일 "+"~ "+ cur_yy+"년 "+ tomm+"월 "+todd+"일 까지 입니다.";
  102. out_scheflag.value=schefromto;
  103. if( parseInt(today) >= parseInt(fromyymmdd) && parseInt(today) <= parseInt(toyymmdd) ){
  104. btn_save.disabled=false;
  105. }else{
  106. btn_save.disabled=true;;
  107. }
  108. }
  109. }
  110. function fDefaultDeptSetting(control)
  111. {
  112. var sPosdeptcd = getUserInfo("posdeptcd");
  113. var sDeptcd = control.value;
  114. // 주임교수이면서 핵의학과 교수일때
  115. if(checkAuth("X") && sPosdeptcd == "2180000000")
  116. {
  117. if(sDeptcd == "2180000000" || sDeptcd == "2160000000")
  118. {}
  119. else
  120. {
  121. messageBox(control.label+ "을 선택", "E001");
  122. control.value = sPosdeptcd;
  123. // model.setValue("/root/send/deptcd", sPosdeptcd); // 진료과 설정
  124. }
  125. }
  126. // 주임교수이면서 치과 교수일때
  127. else if(checkAuth("X") && sPosdeptcd == "2240000000")
  128. {
  129. if(sDeptcd == "2240000000" || sDeptcd == "2240500000" || sDeptcd == "2240200000" || sDeptcd == "2240400000")
  130. {}
  131. else
  132. {
  133. messageBox(control.label+ "을 선택", "E001");
  134. control.value = sPosdeptcd;
  135. // model.setValue("/root/send/deptcd", sPosdeptcd); // 진료과 설정
  136. }
  137. }
  138. else if(checkAuth("X") && sPosdeptcd == "2010300000" || sPosdeptcd == "2010400000" || sPosdeptcd == "2010500000" || sPosdeptcd == "2010600000" || sPosdeptcd == "2010700000" || sPosdeptcd == "2010800000" || sPosdeptcd == "2010900000" || sPosdeptcd == "2011000000" || sPosdeptcd == "2011100000")
  139. {
  140. if(sDeptcd != "2010000000")
  141. {
  142. messageBox(control.label+ "을 선택", "E001");
  143. sPosdeptcd = "2010000000";
  144. control.value = sPosdeptcd;
  145. // model.setValue("/root/send/deptcd", sPosdeptcd); // 진료과 설정
  146. }
  147. }
  148. else
  149. {
  150. if(checkAuth("P"))
  151. {}
  152. else
  153. {
  154. if(sPosdeptcd != sDeptcd)
  155. {
  156. messageBox(control.label+ "을 선택", "E001");
  157. control.value = sPosdeptcd;
  158. }
  159. }
  160. }
  161. model.refresh();
  162. }*/
  163. ]]>
  164. </script>
  165. </xhtml:head>
  166. <xhtml:body>
  167. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  168. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">사랑나눔교육 스케줄관리</caption>
  169. </group>
  170. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  171. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1195px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
  172. <input id="ipt_yy" ref="/root/send/req/yy" class="input_s_essential" style="left:93px; top:14px; width:55px; height:19px; "/>
  173. <caption id="cap_yy" class="search_name" style="left:5px; top:15px; width:86px; height:17px; ">년 도 :</caption>
  174. <datagrid id="grd_humnatrcapastat" nodeset="/root/main/humnatrcapastat" caption="년도^차수^교육시작일^교육종료일^정원^해당과 신청 인원^남자신청인원^여자신청인원^총신청인원" colsep="^" colwidth="80, 80, 100, 100, 90, 100, 90, 90, 90" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:70px; width:1190px; height:230px; ">
  175. <col ref="yy" style="text-align:center; "/>
  176. <col ref="dgno" style="text-align:center; "/>
  177. <col ref="educfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  178. <col ref="eductodd" format="yyyy-mm-dd" style="text-align:center; "/>
  179. <col ref="capa" style="text-align:center; "/>
  180. <col ref="deptcnt" style="text-align:center; "/>
  181. <col ref="mancnt" style="text-align:center; "/>
  182. <col ref="femcnt" style="text-align:center; "/>
  183. <col ref="totcnt" style="text-align:center; "/>
  184. <script type="javascript" ev:event="onrowchanged">
  185. <![CDATA[
  186. ipt_emplno.value = "";
  187. ipt_emplnm.value = "";
  188. var dgno = grd_humnatrcapastat.valueMatrix(grd_humnatrcapastat.row, grd_humnatrcapastat.colRef("dgno"));
  189. if (dgno != "")
  190. {
  191. model.setValue("/root/send/req/dgno", dgno);
  192. model.setValue("/root/send/req/capa", grd_humnatrcapastat.valueMatrix(grd_humnatrcapastat.row, grd_humnatrcapastat.colRef("capa")));
  193. grd_humnatremplist.nodeset = "/root/main/humnatremplist";
  194. btn_grd_search.dispatch("DOMActivate");
  195. }
  196. //misfMsterDetailRetrieve();
  197. ]]>
  198. </script>
  199. </datagrid>
  200. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:12px; width:56px; height:22px; text-align:left; ">
  201. <caption>조회</caption>
  202. <script type="javascript" ev:event="DOMActivate">
  203. <![CDATA[
  204. if ( !isRequiredControls("ipt_yy") ) {
  205. return false;
  206. }
  207. grd_humnatremplist.nodeset = "/root/main/humnatremplist";
  208. misfGridInit(grd_humnatremplist);
  209. submit("TRRTS01101");
  210. ]]>
  211. </script>
  212. </button>
  213. <line id="line82" class="line_4" style="x1:1115px; y1:10px; x2:1115px; y2:36px; border-color:#ffe4bb; border-left-style:solid; "/>
  214. <select1 id="cmb_deptcd" ref="/root/send/req/deptcd" class="combo_search" appearance="minimal" style="left:238px; top:14px; width:100px; height:19px; ">
  215. <choices>
  216. <itemset nodeset="/root/main/tisorddeptcdlist">
  217. <label ref="deptnm"/>
  218. <value ref="deptcd"/>
  219. </itemset>
  220. </choices>
  221. <script type="javascript" ev:event="xforms-value-changed">
  222. <![CDATA[
  223. //fDefaultDeptSetting(cmb_deptcd);
  224. btn_search.dispatch("DOMActivate");
  225. ]]>
  226. </script>
  227. </select1>
  228. <caption id="cap_deptcd" class="search_name" style="left:163px; top:15px; width:75px; height:17px; ">임상과 :</caption>
  229. <caption id="caption5" class="tit_2" style="left:5px; top:48px; width:140px; height:13px; font-size:10pt; ">교육 신청 현황</caption>
  230. <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:1190px; y2:66px; "/>
  231. <button id="btn_grd_search" class="btn2_letter2" visibility="hidden" style="left:1080px; top:45px; width:112px; height:19px; ">
  232. <caption>그리드조회</caption>
  233. <script type="javascript" ev:event="DOMActivate">
  234. <![CDATA[
  235. openLoadingBar("교육 신청 대상자");
  236. misfMsterDetailRetrieve();
  237. closeLoadingBar();
  238. for(i=grd_humnatremplist.fixedRows; i < grd_humnatremplist.rows;i++){
  239. var jobtype = grd_humnatremplist.valueMatrix(i,grd_humnatremplist.colRef("jobtype"));
  240. if( jobtype == 'S'){
  241. grd_humnatremplist.rowStyle(i, "all", "background-color") = "white";
  242. }else{
  243. grd_humnatremplist.rowStyle(i, "all", "background-color") ="#ffff99";
  244. }
  245. }
  246. ]]>
  247. </script>
  248. </button>
  249. <switch id="switch1" style="left:0; top:330px; width:1190; height:405; ">
  250. <case id="case1" selected="true">
  251. <caption id="caption1" class="tit_2" style="left:5px; top:4px; width:140px; height:13px; font-size:10pt; ">교육 신청 대상자</caption>
  252. <line id="line2" class="line_1" style="x1:0px; y1:22px; x2:1180; y2:23px; "/>
  253. <button id="button5" class="btn2_letter4" style="left:1004px; top:1px; 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. grd_humnatremplist.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:true;rowhiddenextend:false;exportfalsecols:0,0;col_1:value;");
  260. }
  261. ]]>
  262. </script>
  263. </button>
  264. <datagrid id="grd_humnatremplist" nodeset="/root/main/humnatremplist" caption="신청^순번^년도^작업방식^입력종류코드^입력종류^차수^차수^교육시작일^교육종료일^사번^임상과코드^임상과^년차^이름^성별^E-mail^핸드폰^가운사이즈^평가결과^현근무병원^교육참가병원^3월^04월^05월^06월^07월^08월^09월^10월^11월^12월^01월^02월^참석여부^기존차수^일정변경횟수^변경사유^교육자격년도^변경구분코드^변경구분" colsep="^" colwidth="50, 50, 57, 67, 98, 73, 45, 53, 88, 91, 85, 85, 131, 60, 60, 60, 248, 133, 91, 76, 129, 145, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 72, 71, 100, 114, 92, 100, 100" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:27px; width:1180; height:370px; ">
  265. <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
  266. <col ref="seqno" style="text-align:center; "/>
  267. <col ref="yy" visibility="visible" style="text-align:center; "/>
  268. <col ref="jobtype" visibility="hidden" style="text-align:center; "/>
  269. <col ref="inptflag" visibility="hidden" style="text-align:center; "/>
  270. <col ref="inptdesc" style="text-align:center; "/>
  271. <col ref="dgno" visibility="hidden"/>
  272. <col ref="dgnodesc" style="text-align:center; "/>
  273. <col ref="educfromdd" format="yyyy/mm/dd" style="text-align:center; "/>
  274. <col ref="eductodd" format="yyyy/mm/dd" style="text-align:center; "/>
  275. <col ref="emplno" style="text-align:center; "/>
  276. <col ref="deptcd" visibility="hidden" style="text-align:center; "/>
  277. <col ref="deptnm" style="text-align:left; padding-left:10; border-top-style:none; "/>
  278. <col ref="anual" style="text-align:center; "/>
  279. <col ref="name" style="text-align:center; "/>
  280. <col ref="gndr" style="text-align:center; "/>
  281. <col ref="email" style="text-align:left; padding-left:10; "/>
  282. <col ref="mpphonno" style="text-align:left; padding-left:10; "/>
  283. <col ref="gownsize" style="text-align:center; "/>
  284. <col ref="valuerslt" style="text-align:center; "/>
  285. <col ref="dutinstnm" style="text-align:left; padding-left:10; "/>
  286. <col ref="eduinstnm" style="text-align:left; padding-left:10; "/>
  287. <col ref="instmm03" style="text-align:center; "/>
  288. <col ref="instmm04" style="text-align:center; "/>
  289. <col ref="instmm05" style="text-align:center; "/>
  290. <col ref="instmm06" style="text-align:center; "/>
  291. <col ref="instmm07" style="text-align:center; "/>
  292. <col ref="instmm08" style="text-align:center; "/>
  293. <col ref="instmm09" style="text-align:center; "/>
  294. <col ref="instmm10" style="text-align:center; "/>
  295. <col ref="instmm11" style="text-align:center; "/>
  296. <col ref="instmm12" style="text-align:center; "/>
  297. <col ref="instmm01" style="text-align:center; "/>
  298. <col ref="instmm02" style="text-align:center; "/>
  299. <col checkvalue="Y,N" ref="entryyn" type="checkbox" style="text-align:center; "/>
  300. <col ref="olddgno" style="text-align:center; "/>
  301. <col ref="schecvrtcnt" style="text-align:center; "/>
  302. <col ref="cmt" style="text-align:center; "/>
  303. <col ref="educqualyy" style="text-align:center; "/>
  304. <col ref="chngflag" visibility="hidden" style="text-align:center; "/>
  305. <col ref="chngdesc" style="text-align:center; "/>
  306. <script type="javascript" ev:event="onaftersort">
  307. <![CDATA[
  308. grd_humnatremplist.gridToInstance();
  309. ]]>
  310. </script>
  311. </datagrid>
  312. <button id="button2" class="btn2_letter8" style="left:746px; top:1px; width:108px; height:19px; ">
  313. <caption>교육 대상자 관리</caption>
  314. <script type="javascript" ev:event="DOMActivate">
  315. <![CDATA[
  316. modal("SMRTS01150","","40","40","popup", "" ,"");
  317. ]]>
  318. </script>
  319. </button>
  320. <button id="btn_brngfwrd" class="btn2_letter11" style="left:859px; top:1px; width:141px; height:19px; ">
  321. <caption>교육 미참석자 이월 작업</caption>
  322. <script type="javascript" ev:event="DOMActivate">
  323. <![CDATA[
  324. var retMes = messageBox("이월 작업을 하시겠습니까?", "Q999");
  325. if ( retMes != 6) {
  326. return;
  327. }
  328. for(var i = grd_humnatremplist.fixedRows ; i < grd_humnatremplist.rows ; i++ ){
  329. var entryyn = grd_humnatremplist.valueMatrix(i, grd_humnatremplist.colRef("entryyn"));
  330. var jobtype = grd_humnatremplist.valueMatrix(i, grd_humnatremplist.colRef("jobtype"));
  331. if (entryyn == "N" && jobtype == "S"){
  332. grd_humnatremplist.rowStatus(i) = 1;
  333. }
  334. }
  335. var updtdata = getGridUpdateData(grd_humnatremplist);
  336. misfSave("TXRTS01103");
  337. btn_search.dispatch("DOMActivate");
  338. ]]>
  339. </script>
  340. </button>
  341. <button id="button1" class="btn2_letter2" style="left:1135px; top:1px; width:42px; height:19px; ">
  342. <caption>저장</caption>
  343. <script type="javascript" ev:event="DOMActivate">
  344. <![CDATA[
  345. var retMes = messageBox("저장 하시겠습니까?", "Q999");
  346. if ( retMes != 6) {
  347. return;
  348. }
  349. var updtdata = getGridUpdateData(grd_humnatremplist);
  350. if (updtdata == "")
  351. {
  352. messageBox("변경된 데이터가","I004");
  353. return;
  354. }
  355. for(var i = grd_humnatremplist.fixedRows ; i < grd_humnatremplist.rows ; i++ ){
  356. var chkyn = grd_humnatremplist.valueMatrix(i, grd_humnatremplist.colRef("chkyn"));
  357. var jobtype = grd_humnatremplist.valueMatrix(i, grd_humnatremplist.colRef("jobtype"));
  358. if (chkyn == "Y" && jobtype == "I"){
  359. grd_humnatremplist.rowStatus(i) = 1;
  360. }
  361. }
  362. misfSave("TXRTS01102");
  363. btn_search.dispatch("DOMActivate");
  364. ]]>
  365. </script>
  366. </button>
  367. <button id="btn_grddelgrntpsn1" class="btn2_letter3" style="left:1074px; top:1px; width:53px; height:19px; ">
  368. <caption>행삭제</caption>
  369. <script type="javascript" ev:event="DOMActivate">
  370. <![CDATA[
  371. var jobtype = grd_humnatremplist.valueMatrix(grd_humnatremplist.row, grd_humnatremplist.colRef("jobtype"));
  372. if( jobtype == 'S'){
  373. misfGridIUD(grd_humnatremplist, "D");
  374. }
  375. ]]>
  376. </script>
  377. </button>
  378. </case>
  379. </switch>
  380. <button id="button60" class="btn_sw" group="tab" selected="true" style="left:0px; top:307; width:95px; height:22px; ">
  381. <caption>신청대상자</caption>
  382. <toggle case="case1" ev:event="onclick"/>
  383. </button>
  384. <output id="out_scheflag" ref="/root/temp/scheflag" style="left:155px; top:45px; width:455px; height:15px; font-weight:bold; color:#0000ff; "/>
  385. <caption id="caption2" style="left:960px; top:16px; width:135px; height:15px; ">교육 확정자</caption>
  386. <caption id="caption7" style="left:855px; top:16px; width:135px; height:15px; ">교육 후보자</caption>
  387. <output id="output1" style="left:935px; top:15px; width:20px; height:19px; background-color:white; border-style:solid; "/>
  388. <output id="output2" style="left:830px; top:15px; width:20px; height:19px; background-color:#ffff99; border-style:solid; "/>
  389. <caption id="caption4" style="left:645px; top:310px; width:540px; height:15px; text-align:right; ">(사랑나눔교육일정변경에서) 변경된 data가 변경차수에서도 비선정 되었을 경우 이월처리됨.</caption>
  390. <caption id="caption3" style="left:140px; top:336px; width:400px; height:15px; text-align:left; ">Auto : 시스템 임의로 지정 , manu : 관리자 지정</caption>
  391. <button id="btn_helppsn" class="icon_search" style="left:530px; top:14px; width:16px; height:16px; ">
  392. <caption/>
  393. <script type="javascript" ev:event="DOMActivate">
  394. <![CDATA[
  395. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm", "ipt_systemflag","N");
  396. ipt_emplno.refresh();
  397. ipt_emplnm.refresh();
  398. if (ipt_emplno.value == ""){
  399. grd_humnatremplist.nodeset = "/root/main/humnatremplist";
  400. for(i=grd_humnatremplist.fixedRows; i < grd_humnatremplist.rows;i++){
  401. var jobtype = grd_humnatremplist.valueMatrix(i,grd_humnatremplist.colRef("jobtype"));
  402. if( jobtype == 'S'){
  403. grd_humnatremplist.rowStyle(i, "all", "background-color") = "white";
  404. }else{
  405. grd_humnatremplist.rowStyle(i, "all", "background-color") ="#ffff99";
  406. }
  407. }
  408. grd_humnatremplist.refresh();
  409. }else{
  410. grd_humnatremplist.nodeset = "/root/main/humnatremplist[emplno='"+ipt_emplno.value+"']";
  411. var jobtype = grd_humnatremplist.valueMatrix(grd_humnatremplist.fixedRows , grd_humnatremplist.colRef("jobtype"));
  412. if( jobtype == 'S'){
  413. grd_humnatremplist.rowStyle(grd_humnatremplist.fixedRows, "all", "background-color") = "white";
  414. }else{
  415. grd_humnatremplist.rowStyle(grd_humnatremplist.fixedRows, "all", "background-color") ="#ffff99";
  416. }
  417. grd_humnatremplist.refresh();
  418. }
  419. ]]>
  420. </script>
  421. </button>
  422. <input id="ipt_emplnm" ref="/root/send/req/emplnm" class="output_search" style="left:548px; top:14px; width:90px; height:19px; "/>
  423. <caption id="caption13" class="search_name" style="left:355px; top:15px; width:85px; height:17px; ">사 번 :</caption>
  424. <input id="ipt_emplno" ref="/root/send/req/emplno" class="input_search" style="left:443px; top:14px; width:85px; height:19px; ">
  425. <script type="javascript" ev:event="onkeypress">
  426. <![CDATA[
  427. inputEnterKey("btn_search", "DOMActivate");
  428. ]]>
  429. </script>
  430. </input>
  431. </group>
  432. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; "/>
  433. </xhtml:body>
  434. </xhtml:html>