SMRPB00200_노무관리.xrw 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901
  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>노무관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <lbrumaster>
  11. <lbrunionlist>
  12. <emplno/>
  13. <name/>
  14. <dutplceinstnm/>
  15. <dutplcedeptnm/>
  16. <gndrnm/>
  17. <jobposnm/>
  18. <jobkindnm/>
  19. <entcodd/>
  20. <lbrunionjobrespnm/>
  21. <preststatnm/>
  22. <gndr/>
  23. <dutplcedeptcd/>
  24. <dutplceinst/>
  25. <dutdeptcd/>
  26. <dutdeptnm/>
  27. <jobposcd/>
  28. <jobkindcd/>
  29. <lbrunionrgstyn/>
  30. <lbrunionrgstdd/>
  31. <lbrunionjobresp/>
  32. <lbrunionsecssdd/>
  33. <asgnmpostndd/>
  34. <todd/>
  35. <rgstflag/>
  36. <rgstflagnm/>
  37. <cmt/>
  38. </lbrunionlist>
  39. </lbrumaster>
  40. <lbrudetail>
  41. <rpbhlbrulist>
  42. <rgstflagnm/>
  43. <dutplceinstnm/>
  44. <lbrunionrgstdd/>
  45. <lbrunionsecssdd/>
  46. <asgnmpostndd/>
  47. <todd/>
  48. <lbrunionjobrespnm/>
  49. <cmt/>
  50. <emplno/>
  51. <rgstflag/>
  52. <lbrunionjobresp/>
  53. <dutplceinst/>
  54. <seqno/>
  55. </rpbhlbrulist>
  56. </lbrudetail>
  57. <lbrujobresp>
  58. <jobresplist>
  59. <emplno/>
  60. <seqno/>
  61. <lbrunionrgstdd/>
  62. <asgnmpostndd/>
  63. <todd/>
  64. <cmt/>
  65. <rgstflag/>
  66. <lbrunionjobresp/>
  67. <fstrgstdt/>
  68. <dutplceinstnm/>
  69. <dutplceinst/>
  70. <lbrunionjobrespnm/>
  71. </jobresplist>
  72. </lbrujobresp>
  73. <item>
  74. <lbrunionrgstdd/>
  75. <lbrunionsecssdd/>
  76. <asgnmpostndd/>
  77. <todd/>
  78. <cmt/>
  79. <emplno/>
  80. <rgstflag/>
  81. <lbrunionjobresp/>
  82. <name/>
  83. <dutplceinstnm/>
  84. <dutdeptnm/>
  85. <gndr/>
  86. <preststatnm/>
  87. <rgstflagnm/>
  88. <lbrunionjobrespnm/>
  89. <lbrunionrgstyn/>
  90. <dutplceinst/>
  91. </item>
  92. <imsiitem>
  93. <emplno/>
  94. <lbrunionrgstyn/>
  95. <lbrunionrgstdd/>
  96. <lbrunionsecssdd/>
  97. <lbrunionjobresp/>
  98. <lbrunionjobrespnm/>
  99. <asgnmpostndd/>
  100. <todd/>
  101. </imsiitem>
  102. </main>
  103. <send>
  104. <sendmaster>
  105. <emplno/>
  106. <emplnm/>
  107. <lbrunionjobresp_s/>
  108. <dutplceinst_s/>
  109. <rgstflag_s/>
  110. <dutplcedeptcd_s/>
  111. <entcodd_s/>
  112. <lbrunionjobposyn_s/>
  113. <dutdeptcd_s/>
  114. <dutdeptnm_s/>
  115. <dutplcedeptnm_s/>
  116. <preststatcd_s/>
  117. </sendmaster>
  118. <lbrumaster>
  119. <emplno/>
  120. </lbrumaster>
  121. <lbrudetail>
  122. <emplno/>
  123. <lbrunionrgstdd/>
  124. <lbrunionrgstdd_s/>
  125. <emplno_s/>
  126. </lbrudetail>
  127. <savelist>
  128. <lbrunionlist/>
  129. <rpbhlbrulist/>
  130. </savelist>
  131. </send>
  132. <temp/>
  133. <init>
  134. <rgstflag/>
  135. <cur_row_m/>
  136. <radio1>
  137. <label>노조가입</label>
  138. <value>Y</value>
  139. <label>노조미가입</label>
  140. <value>N</value>
  141. <label>전체</label>
  142. <value/>
  143. </radio1>
  144. <radio2>
  145. <label>노조가입</label>
  146. <value>001</value>
  147. <label>노조탈퇴</label>
  148. <value>002</value>
  149. <label>직위보임</label>
  150. <value>003</value>
  151. <label>직위종료</label>
  152. <value>004</value>
  153. </radio2>
  154. <radio3>
  155. <label>남</label>
  156. <value>M</value>
  157. <label>여</label>
  158. <value>F</value>
  159. </radio3>
  160. <checkbox1>
  161. <label>노조간부여부</label>
  162. <value>Y</value>
  163. </checkbox1>
  164. </init>
  165. </root>
  166. </instance>
  167. <script type="javascript" ev:event="xforms-ready">
  168. <![CDATA[
  169. fInitialize();
  170. misfGridInit(grd_lbrunionlist);
  171. misfGridInit(grd_rpbhlbrulist);
  172. misfGridInit(grd_jobresplist);
  173. misfComboComCdList('R0074', cmb_lbrunionjobresp_s,'Y');
  174. // misfComboComCdList('Z0007', cmb_dutplceinst_s,'Y');
  175. misfComboInstCdListMulti("cmb_dutplceinst_s", getCurrentDate(),"","Y");
  176. misfComboComCdList('R0146', cmb_preststatcd_s,'Y');
  177. misfComboComCdList('R0074', cmb_lbrunionjobresp);
  178. misfMsterDetailSet(grd_lbrunionlist,null, "TRRPB00201" ,"Y");
  179. misfMsterDetailSet(grd_rpbhlbrulist,grd_lbrunionlist, "TRRPB00202","Y") ;
  180. misfMsterDetailSet(grd_jobresplist,grd_lbrunionlist, "TRRPB00203","Y" );
  181. btn_save.disabled = !(checkAuth("X"));
  182. var instcd = getUserInfo("dutplceinstcd");
  183. if(instcd=='001'){
  184. cmb_dutplceinst_s.disabled=false;
  185. }else{
  186. cmb_dutplceinst_s.disabled=true;
  187. }
  188. cmb_dutplceinst_s.value=instcd;
  189. rdo_rgstflag_s.value="Y";
  190. model.refresh();
  191. ]]>
  192. </script>
  193. <submission id="TRRPB00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sendmaster" resultref="/root/main/lbrumaster"/>
  194. <submission id="TRRPB00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/lbrumaster" resultref="/root/main/lbrudetail"/>
  195. <submission id="TXRPB00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savelist" resultref="/root/temp"/>
  196. <submission id="TRRPB00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/lbrudetail" resultref="/root/main/lbrujobresp"/>
  197. </model>
  198. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  199. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  200. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  201. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  202. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  203. <script type="javascript">
  204. <![CDATA[
  205. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  206. function fInitialize() {
  207. fEnableInsertButton();
  208. model.removeNodeset("/root/main/lbrumaster/lbrunionlist");
  209. model.removeNodeset("/root/main/lbrudetail/rpbhlbrulist");
  210. model.removeNodeset("/root/main/lbrudetail/jobresplist");
  211. model.resetInstanceNode("/root/send");
  212. model.resetInstanceNode("/root/main/item");
  213. model.refresh();
  214. }
  215. function fEnableInsertButton() {
  216. btn_insert.disabled = true;
  217. btn_update.disabled = true;
  218. }
  219. function fEnableUpdateButton() {
  220. btn_update.disabled = false;
  221. }
  222. function fdoubleCheck(cur_row){
  223. var rgstflag=rdo_rgstflag.value;
  224. var lbrunionrgstdd=model.getValue(grd_lbrunionlist.attribute("nodeset")+"["+cur_row+"]/lbrunionrgstdd");
  225. var lbrunionsecssdd=model.getValue(grd_lbrunionlist.attribute("nodeset")+"["+cur_row+"]/lbrunionsecssdd");
  226. var asgnmpostndd=model.getValue(grd_lbrunionlist.attribute("nodeset")+"["+cur_row+"]/asgnmpostndd");
  227. var lbrunionjobresp=model.getValue(grd_lbrunionlist.attribute("nodeset")+"["+cur_row+"]/lbrunionjobresp");
  228. var todd=ipt_todd.value;
  229. if(rgstflag =="001"){
  230. for(var i=1;i<=grd_rpbhlbrulist.rows-1;i++){
  231. rgstflag_check = model.getValue(grd_rpbhlbrulist.attribute("nodeset")+"["+i+"]/rgstflag");
  232. rgstdd_check=model.getValue(grd_rpbhlbrulist.attribute("nodeset")+"["+i+"]/lbrunionrgstdd");
  233. if(rgstflag =="001" && rgstflag_check =="001" && rgstdd_check == ipt_lbrunionrgstdd.value){
  234. messageBox("노조가입일이","E006");
  235. return false;
  236. }
  237. if(rgstflag_check =="001" && lbrunionsecssdd !="" && ipt_lbrunionrgstdd.value < lbrunionsecssdd){
  238. messageBox("이미 가입된 사원","E008");
  239. return false;
  240. }
  241. }
  242. }else{
  243. for(var i=1;i<=grd_jobresplist.rows-1;i++){
  244. rgstflag_check = model.getValue(grd_jobresplist.attribute("nodeset")+"["+i+"]/rgstflag");
  245. rgstdd_check=model.getValue(grd_jobresplist.attribute("nodeset")+"["+i+"]/lbrunionrgstdd");
  246. todd_check=model.getValue(grd_jobresplist.attribute("nodeset")+"["+i+"]/todd");
  247. postndd_check=model.getValue(grd_jobresplist.attribute("nodeset")+"["+i+"]/asgnmpostndd");
  248. if(rgstflag_check =="003" && postndd_check==ipt_asgnmpostndd.value && todd_check !=""){
  249. messageBox("노조직위를 종료한 후 직위보임을 ","C001");
  250. return false;
  251. }
  252. if(rgstflag=="003" && rgstflag_check =="003" && todd_check =="" && ipt_asgnmpostndd.value !=""){
  253. messageBox("노조직위를 종료한 후 직위보임을 ","C001");
  254. return false;
  255. }
  256. }
  257. }
  258. if(rgstflag=="001" && lbrunionsecssdd =="" && lbrunionrgstdd !=""){
  259. messageBox("이미 가입된 사원","E008");
  260. return false;
  261. }
  262. if(rgstflag=="003" && lbrunionrgstdd =="" || rgstflag=="003" && lbrunionsecssdd !=""){
  263. messageBox("직위보임은 노조가입 ","E010");
  264. ipt_asgnmpostndd.value="";
  265. cmb_lbrunionjobresp.value="";
  266. return false;
  267. }
  268. if(rgstflag=="002" && lbrunionrgstdd ==""){
  269. messageBox("이미 탈퇴한 사원","E008");
  270. return false;
  271. }
  272. if(rgstflag=="004" && lbrunionjobresp==""){
  273. messageBox("종료할 직위가","I005");
  274. return false;
  275. }
  276. return true;
  277. }
  278. function fnullCheck(cur_row){
  279. var lbrunionrgstdd=ipt_lbrunionrgstdd.value;
  280. var lbrunionsecssdd=ipt_lbrunionsecssdd.value;
  281. var asgnmpostndd=ipt_asgnmpostndd.value;
  282. var todd=ipt_todd.value;
  283. var lbrunionjobresp=cmb_lbrunionjobresp.value;
  284. var rgstflag=rdo_rgstflag.value;
  285. if(ipt_emplno.value==""){
  286. messageBox("사원번호는","I003");
  287. return false;
  288. }
  289. if(rgstflag=="001" && lbrunionrgstdd ==""){
  290. messageBox("가입일자는","I003");
  291. return false;
  292. }else if(rgstflag=="002" && lbrunionsecssdd ==""){
  293. messageBox("탈퇴일자는","I003");
  294. return false;
  295. }else if(rgstflag=="003" && asgnmpostndd ==""){
  296. messageBox("직위보임일자는","I003");
  297. return false;
  298. }else if(rgstflag=="003" && lbrunionjobresp ==""){
  299. messageBox("노조직위는","I003");
  300. return false;
  301. }else if(rgstflag=="004" && todd ==""){
  302. messageBox("직위종료일은","I003");
  303. return false;
  304. }else if(rgstflag=="002" && lbrunionrgstdd >lbrunionsecssdd){
  305. messageBox("노조탈퇴일은 노조가입일 ","E012");
  306. return false;
  307. }else if(rgstflag=="004" && asgnmpostndd >todd){
  308. messageBox("직위종료일은 직위보임일 ","E012");
  309. return false;
  310. }else if(rgstflag=="003" && lbrunionrgstdd > asgnmpostndd){
  311. messageBox("직위보임일은 노조가입일 ","E012");
  312. return false;
  313. }else if(rgstflag=="002" && lbrunionsecssdd !=""){
  314. for(var i=1;i<=grd_jobresplist.rows-1;i++){
  315. rgstflag_check = model.getValue(grd_jobresplist.attribute("nodeset")+"["+i+"]/rgstflag");
  316. rgstdd_check=model.getValue(grd_jobresplist.attribute("nodeset")+"["+i+"]/lbrunionrgstdd");
  317. todd_check=model.getValue(grd_jobresplist.attribute("nodeset")+"["+i+"]/todd");
  318. if(rgstflag_check =="003" && rgstdd_check == ipt_lbrunionrgstdd.value && todd_check !="" && todd_check >ipt_lbrunionsecssdd.value){
  319. messageBox("노조직위종료일이 노조 탈퇴일을 ","E003");
  320. return false;
  321. }
  322. }
  323. }
  324. return true;
  325. }
  326. function fChangeGridValue(cur_row) {
  327. var asgnmpostndd=model.getValue(grd_lbrunionlist.attribute("nodeset")+"["+cur_row+"]/asgnmpostndd");
  328. if(rdo_rgstflag.value=="001"){
  329. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_row + "]/lbrunionrgstdd",ipt_lbrunionrgstdd.value);
  330. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_row + "]/lbrunionrgstyn","Y");
  331. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_row + "]/lbrunionsecssdd","");
  332. // grd_rpbhlbrulist.valueMatrix(cur_row, grd_rpbhlbrulist.colRef("lbrunionrgstdd")) = ipt_lbrunionrgstdd.value
  333. }
  334. if(rdo_rgstflag.value=="002"){
  335. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_row + "]/lbrunionsecssdd",ipt_lbrunionsecssdd.value);
  336. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_row + "]/lbrunionrgstyn","N");
  337. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_row + "]/lbrunionjobresp","");
  338. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_row + "]/lbrunionjobrespnm","");
  339. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_row + "]/asgnmpostndd","");
  340. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_row + "]/todd","");
  341. }
  342. if(rdo_rgstflag.value=="003"){
  343. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_row + "]/lbrunionjobresp",cmb_lbrunionjobresp.value);
  344. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_row + "]/lbrunionjobrespnm",cmb_lbrunionjobresp.label);
  345. }
  346. if(rdo_rgstflag.value=="004"){
  347. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_row + "]/lbrunionjobresp","");
  348. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_row + "]/lbrunionjobrespnm","");
  349. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_row + "]/todd","");
  350. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_row + "]/asgnmpostndd","");
  351. }
  352. }
  353. function fChangeGridValueDetail(cur_row,str,cur_m_row) {
  354. var lbrunionrgstdd=model.getValue(grd_lbrunionlist.attribute("nodeset")+"["+cur_m_row+"]/lbrunionrgstdd");
  355. var emplno=model.getValue(grd_lbrunionlist.attribute("nodeset")+"["+cur_m_row+"]/emplno");
  356. if(str =='rpb'){ //노조가입히스토리 추가
  357. if(rdo_rgstflag.value=="002" ){ //노조탈퇴일경우
  358. for(var i=1;i<=grd_rpbhlbrulist.rows-1;i++){
  359. check1 = model.getValue(grd_rpbhlbrulist.attribute("nodeset")+"["+i+"]/lbrunionrgstdd");
  360. if(check1 == ipt_lbrunionrgstdd.value) {
  361. model.setValue("/root/main/lbrudetail/rpbhlbrulist[" + i + "]/lbrunionsecssdd",ipt_lbrunionsecssdd.value); //구분
  362. }
  363. }
  364. }
  365. model.setValue("/root/main/lbrudetail/rpbhlbrulist[" + cur_row + "]/rgstflagnm",rdo_rgstflag.label); //구분
  366. model.setValue("/root/main/lbrudetail/rpbhlbrulist[" + cur_row + "]/rgstflag",rdo_rgstflag.value);
  367. }else{ //직위보임 히스토리 추가
  368. if(rdo_rgstflag.value=="002" ){ //노조탈퇴일경우 직위보임을 탈퇴일로 종료한다.
  369. for(var i=1;i<=grd_jobresplist.rows-1;i++){
  370. check1 = model.getValue(grd_rpbhlbrulist.attribute("nodeset")+"["+i+"]/lbrunionrgstdd");
  371. if(ipt_lbrunionrgstdd.value==asgnmpostndd !=""){
  372. model.setValue("/root/main/lbrujobresp/jobresplist[" + cur_row + "]/todd",ipt_lbrunionsecssdd.value);
  373. }
  374. }
  375. }
  376. model.setValue("/root/main/lbrujobresp/jobresplist[" + cur_row + "]/rgstflagnm",rdo_rgstflag.label); //구분
  377. model.setValue("/root/main/lbrujobresp/jobresplist[" + cur_row + "]/rgstflag",rdo_rgstflag.value);
  378. model.setValue("/root/main/lbrujobresp/jobresplist[" + cur_row + "]/lbrunionjobrespnm",cmb_lbrunionjobresp.label); //노조직위
  379. model.setValue("/root/main/lbrujobresp/jobresplist[" + cur_row + "]/lbrunionrgstdd",lbrunionrgstdd); //가입일
  380. ipt_lbrunionrgstdd_s.value=lbrunionrgstdd;
  381. ipt_emplno_ss.value=emplno;
  382. }
  383. }
  384. ]]>
  385. </script>
  386. </xhtml:head>
  387. <xhtml:body style="margin-left:8; margin-right:8; ">
  388. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  389. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">노무관리</caption>
  390. </group>
  391. <caption id="caption10" style="left:725px; top:705px; width:350px; height:25px; vertical-align:middle; ">상태 : 가입, 탈퇴, 보임</caption>
  392. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  393. <line id="line204" class="line_2" style="x1:0px; y1:661px; x2:671px; y2:661px; "/>
  394. <line id="line209" class="line_3" style="x1:0px; y1:733px; x2:671px; y2:733px; "/>
  395. <line id="line206" class="line_2" style="x1:0px; y1:709px; x2:671px; y2:709px; "/>
  396. <line id="line205" class="line_2" style="x1:0px; y1:685px; x2:671px; y2:685px; "/>
  397. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:61px; "/>
  398. <caption id="caption2" class="search_name" style="left:15px; top:20px; width:89px; height:17px; ">근무기관 :</caption>
  399. <caption id="caption278" class="tit_2" style="left:5px; top:80px; width:162px; height:13px; ">인원현황</caption>
  400. <line id="line207" class="line_1" style="x1:0px; y1:95px; x2:705px; y2:95px; "/>
  401. <datagrid id="grd_lbrunionlist" nodeset="/root/main/lbrumaster/lbrunionlist" caption="사번^성명^근무기관^근무부서^가입^직위^현상태^입사일자^노조직위^직종" colsep="^" colwidth="61, 62, 85, 95, 40, 69, 70, 79, 99, 60, 100, 70, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:100px; width:705px; height:508px; ">
  402. <col ref="emplno" style="text-align:center; "/>
  403. <col ref="name" style="text-align:center; "/>
  404. <col ref="dutplceinstnm"/>
  405. <col ref="dutdeptnm"/>
  406. <col ref="lbrunionrgstyn" style="text-align:center; "/>
  407. <col ref="jobposnm"/>
  408. <col ref="preststatnm"/>
  409. <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
  410. <col ref="lbrunionjobrespnm"/>
  411. <col ref="jobkindnm" visibility="hidden"/>
  412. <col ref="gndr" visibility="hidden"/>
  413. <col ref="dutplcedeptcd" visibility="hidden"/>
  414. <col ref="dutplceinst" visibility="hidden"/>
  415. <col ref="dutdeptcd" visibility="hidden"/>
  416. <col ref="dutdeptnm" visibility="hidden"/>
  417. <col ref="jobposcd" visibility="hidden"/>
  418. <col ref="jobkindcd" visibility="hidden"/>
  419. <col ref="gndrnm" visibility="hidden"/>
  420. <col ref="lbrunionrgstdd" visibility="hidden"/>
  421. <col ref="lbrunionjobresp" visibility="hidden"/>
  422. <col ref="lbrunionsecssdd" visibility="hidden"/>
  423. <col ref="asgnmpostndd" visibility="hidden"/>
  424. <col ref="todd" visibility="hidden"/>
  425. <col ref="rgstflag" visibility="hidden"/>
  426. <col ref="rgstflagnm" visibility="hidden"/>
  427. <col ref="cmt" visibility="hidden"/>
  428. <script type="javascript" ev:event="onrowchanged">
  429. <![CDATA[
  430. var cur_row = grd_lbrunionlist.row;
  431. if ( cur_row > 0 ) {
  432. model.copyNode("/root/main/item","/root/main/lbrumaster/lbrunionlist["+cur_row+"]");
  433. model.refresh();
  434. }
  435. misfMsterDetailRetrieve();
  436. ]]>
  437. </script>
  438. <script type="javascript" ev:event="onaftersort">
  439. <![CDATA[
  440. grd_lbrunionlist.gridToInstance();
  441. ]]>
  442. </script>
  443. </datagrid>
  444. <caption id="caption11" class="cell_1" style="left:296px; top:639px; width:82px; height:23px; vertical-align:middle; ">근무기관</caption>
  445. <caption id="caption8" class="cell_1" style="left:0px; top:639px; width:82px; height:23px; vertical-align:middle; ">사번</caption>
  446. <caption id="caption283" class="tit_2" style="left:5px; top:619px; width:118px; height:13px; ">등록 및 수정사항</caption>
  447. <caption id="caption9" class="cell_1" style="left:0px; top:663px; width:82px; height:23px; vertical-align:middle; ">노조가입일</caption>
  448. <caption id="caption17" class="cell_1" style="left:0px; top:687px; width:82px; height:23px; vertical-align:middle; ">노조직위</caption>
  449. <caption id="caption12" class="cell_1" style="left:296px; top:663px; width:82px; height:23px; vertical-align:middle; ">노조탈퇴일</caption>
  450. <caption id="caption29" class="cell_1" style="left:296px; top:687px; width:82px; height:23px; vertical-align:middle; ">직위보임일</caption>
  451. <line id="line203" class="line_1" style="x1:0px; y1:634px; x2:671px; y2:634px; "/>
  452. <input id="ipt_lbrunionsecssdd" ref="/root/main/item/lbrunionsecssdd" class="input_s_essential" inputtype="date" style="left:381px; top:665px; width:102px; height:19px; "/>
  453. <input id="ipt_asgnmpostndd" ref="/root/main/item/asgnmpostndd" class="input_s_essential" inputtype="date" style="left:381px; top:689px; width:102px; height:19px; "/>
  454. <caption id="caption18" class="cell_1" style="left:486px; top:639px; width:82px; height:23px; vertical-align:middle; ">근무지부서</caption>
  455. <caption id="caption19" class="cell_1" style="left:486px; top:663px; width:82px; height:23px; vertical-align:middle; ">남여구분</caption>
  456. <caption id="caption22" class="cell_1" style="left:486px; top:687px; width:82px; height:23px; vertical-align:middle; ">직위종료일</caption>
  457. <caption id="caption3" class="search_name" style="left:239px; top:19px; width:86px; height:17px; ">근무부서 :</caption>
  458. <caption id="caption4" class="search_name" style="left:15px; top:46px; width:86px; height:17px; ">입사일자 :</caption>
  459. <input id="ipt_dutplcedeptcd_s" ref="/root/send/sendmaster/dutdeptcd_s" class="input_search" style="left:324px; top:18px; width:65px; height:19px; "/>
  460. <input id="ipt_dutplcedeptnm_s" ref="/root/send/sendmaster/dutdeptnm_s" class="input_search" style="left:413px; top:18px; width:120px; height:19px; "/>
  461. <input id="ipt_lbrunionrgstdd" ref="/root/main/item/lbrunionrgstdd" class="input_s_essential" inputtype="date" style="left:84px; top:665px; width:209px; height:19px; "/>
  462. <select1 id="cmb_lbrunionjobresp" ref="/root/main/item/lbrunionjobresp" class="combo_search" appearance="minimal" style="left:84px; top:689px; width:209px; height:19px; ">
  463. <choices>
  464. <itemset>
  465. <label/>
  466. <value/>
  467. </itemset>
  468. </choices>
  469. </select1>
  470. <select1 id="rdo_gndr" ref="/root/main/item/gndr" class="radio_search" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:570px; top:666px; width:81px; height:16px; text-align:center; border-style:none; ">
  471. <choices>
  472. <itemset nodeset="/root/init/radio3">
  473. <label ref="label"/>
  474. <value ref="value"/>
  475. </itemset>
  476. </choices>
  477. </select1>
  478. <input id="ipt_todd" ref="/root/main/item/todd" class="input_s_essential" inputtype="date" style="left:570px; top:689px; width:100px; height:19px; "/>
  479. <select id="ckb_lbrunionjobposyn_s" ref="/root/send/sendmaster/lbrunionjobposyn_s" class="checkbox_search" overflow="visible" appearance="full" style="left:760px; top:20px; width:95px; height:15px; ">
  480. <choices>
  481. <itemset nodeset="/root/init/checkbox1">
  482. <label ref="label"/>
  483. <value ref="value"/>
  484. </itemset>
  485. </choices>
  486. </select>
  487. <input id="ipt_entcodd_s" ref="/root/send/sendmaster/entcodd_s" class="input_s_essential" inputtype="date" style="left:100; top:44; width:100px; height:19px; "/>
  488. <caption id="caption7" class="search_name" style="left:558px; top:19px; width:86px; height:17px; ">노조직위 :</caption>
  489. <select1 id="cmb_lbrunionjobresp_s" ref="/root/send/sendmaster/lbrunionjobresp_s" class="combo_search" appearance="minimal" style="left:643px; top:18px; width:100px; height:19px; ">
  490. <choices>
  491. <itemset>
  492. <label/>
  493. <value/>
  494. </itemset>
  495. </choices>
  496. </select1>
  497. <caption id="caption13" class="tit_2" style="left:715px; top:80px; width:162px; height:13px; ">노조가입자 히스토리</caption>
  498. <line id="line2" class="line_1" style="x1:710; y1:95px; x2:1195px; y2:95px; "/>
  499. <datagrid id="grd_rpbhlbrulist" nodeset="/root/main/lbrudetail/rpbhlbrulist" caption="구분^근무기관^가입일^탈퇴일^비고" colsep="^" colwidth="60, 121, 80, 80, 95, 100, 100, 100" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:710px; top:100px; width:485px; height:240px; ">
  500. <col ref="rgstflagnm" visibility="hidden"/>
  501. <col ref="dutplceinstnm"/>
  502. <col ref="lbrunionrgstdd" format="yyyy-mm-dd" _key="true" style="text-align:center; "/>
  503. <col ref="lbrunionsecssdd" format="yyyy-mm-dd" style="text-align:center; "/>
  504. <col ref="cmt"/>
  505. <col ref="emplno" visibility="hidden" _key="true"/>
  506. <col ref="rgstflag" visibility="hidden"/>
  507. <col ref="dutplceinst" visibility="hidden"/>
  508. <script type="javascript" ev:event="onclick">
  509. <![CDATA[
  510. var cur_m_row = grd_rpbhlbrulist.row; // 추가된 행 번호 가져오기
  511. var lbrunionrgstdd=model.getValue(grd_rpbhlbrulist.attribute("nodeset")+"["+cur_m_row+"]/lbrunionrgstdd");
  512. var emplno=model.getValue(grd_rpbhlbrulist.attribute("nodeset")+"["+cur_m_row+"]/emplno");
  513. model.setValue("/root/send/lbrudetail/lbrunionrgstdd",lbrunionrgstdd);
  514. model.setValue("/root/send/lbrudetail/emplno",emplno);
  515. submit("TRRPB00203");
  516. ]]>
  517. </script>
  518. </datagrid>
  519. <button id="btn_excelsave_detail" class="btn2_letter4" style="left:1130px; top:74px; width:64px; height:19px; ">
  520. <caption>엑셀저장</caption>
  521. <script type="javascript" ev:event="DOMActivate">
  522. <![CDATA[
  523. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  524. if (fileName != "")
  525. {
  526. grd_rpbhlbrulist.saveExcel(fileName, "SheetName", true, true, "", "");
  527. }
  528. ]]>
  529. </script>
  530. </button>
  531. <button id="btn_excelsave_master" class="btn2_letter4" style="left:641px; top:74px; width:64px; height:19px; ">
  532. <caption>엑셀저장</caption>
  533. <script type="javascript" ev:event="DOMActivate">
  534. <![CDATA[
  535. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  536. if (fileName != "")
  537. {
  538. grd_lbrunionlist.saveExcel(fileName, "SheetName", true, true, "", "");
  539. }
  540. ]]>
  541. </script>
  542. </button>
  543. <select1 id="rdo_rgstflag_s" ref="/root/send/sendmaster/rgstflag_s" class="radio_search" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:760px; top:45px; width:204px; height:16px; text-align:center; border-style:none; ">
  544. <choices>
  545. <itemset nodeset="/root/init/radio1">
  546. <label ref="label"/>
  547. <value ref="value"/>
  548. </itemset>
  549. </choices>
  550. </select1>
  551. <caption id="caption14" class="cell_1" style="left:0px; top:711px; width:82px; height:23px; vertical-align:middle; ">비고</caption>
  552. <input id="input9" ref="/root/main/item/cmt" class="input_search" style="left:84px; top:713px; width:586px; height:19px; "/>
  553. <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1125px; top:29px; width:56px; height:22px; text-align:left; ">
  554. <caption>조회</caption>
  555. <script type="javascript" ev:event="DOMActivate">
  556. <![CDATA[
  557. misfMsterDetailRetrieve();
  558. model.refresh();
  559. ]]>
  560. </script>
  561. </button>
  562. <line id="line3" class="line_4" style="x1:1110px; y1:18px; x2:1110px; y2:61px; border-color:#ffe4bb; border-left-style:solid; "/>
  563. <input id="ipt_emplno" ref="/root/main/item/emplno" class="input_search" disabled="true" style="left:84px; top:641px; width:69px; height:19px; "/>
  564. <input id="ipt_name" ref="/root/main/item/name" class="input_search" disabled="true" style="left:154px; top:641px; width:139px; height:19px; "/>
  565. <input id="ipt_dutdeptnm" ref="/root/main/item/dutplceinstnm" class="input_search" style="left:381px; top:641px; width:102px; height:19px; "/>
  566. <input id="ipt_dutplceinstnm" ref="/root/main/item/dutdeptnm" class="input_search" style="left:570px; top:641px; width:100px; height:19px; "/>
  567. <button id="btn_update" class="btn2_letter2" navindex="13" style="left:573px; top:613px; width:42px; height:19px; ">
  568. <caption>수정</caption>
  569. <script type="javascript" ev:event="DOMActivate">
  570. <![CDATA[
  571. var cur_m_row = grd_lbrunionlist.row;
  572. var updtdata = getGridUpdateData(grd_lbrunionlist);
  573. model.copyNode("/root/main/imsiitem","/root/main/lbrumaster/lbrunionlist["+cur_m_row+"]");
  574. ipt_cur_row.value=cur_m_row;
  575. if (!fnullCheck(cur_m_row)) return;
  576. if (cur_m_row > 0) {
  577. // 그리드에 추가
  578. fChangeGridValue(cur_m_row);
  579. // 그리드의 레이블을 변경한다.
  580. grd_lbrunionlist.addStatus(cur_m_row,"update"); // 행을 업데이트 상태로 변경
  581. }
  582. var lbrunionrgstdd=model.getValue(grd_lbrunionlist.attribute("nodeset")+"["+cur_m_row+"]/lbrunionrgstdd");
  583. var emplno=model.getValue(grd_lbrunionlist.attribute("nodeset")+"["+cur_m_row+"]/emplno");
  584. if(rdo_rgstflag.value=="002" && ipt_lbrunionsecssdd.value!=""){
  585. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_m_row + "]/lbrunionrgstyn","N");
  586. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_m_row + "]/lbrunionrgstyn","N");
  587. for(var i=1;i<=grd_rpbhlbrulist.rows-1;i++){
  588. rgstflag_check = model.getValue(grd_rpbhlbrulist.attribute("nodeset")+"["+i+"]/rgstflag");
  589. rgstdd_check=model.getValue(grd_rpbhlbrulist.attribute("nodeset")+"["+i+"]/lbrunionrgstdd");
  590. if(rgstflag_check =="001" && rgstdd_check == ipt_lbrunionrgstdd.value){
  591. model.setValue("/root/main/lbrudetail/rpbhlbrulist[" + i + "]/lbrunionsecssdd",ipt_lbrunionsecssdd.value);
  592. grd_rpbhlbrulist.addStatus(i,"update");
  593. }
  594. }
  595. for(var i=1;i<=grd_jobresplist.rows-1;i++){
  596. rgstflag_check = model.getValue(grd_jobresplist.attribute("nodeset")+"["+i+"]/rgstflag");
  597. rgstdd_check=model.getValue(grd_jobresplist.attribute("nodeset")+"["+i+"]/lbrunionrgstdd");
  598. todd_check=model.getValue(grd_jobresplist.attribute("nodeset")+"["+i+"]/todd");
  599. postndd_check=model.getValue(grd_jobresplist.attribute("nodeset")+"["+i+"]/asgnmpostndd");
  600. if(rgstflag_check =="003" && rgstdd_check == ipt_lbrunionrgstdd.value && postndd_check==ipt_asgnmpostndd.value && todd_check==""){
  601. model.setValue("/root/main/lbrujobresp/jobresplist[" + i + "]/todd",ipt_lbrunionsecssdd.value);//탈퇴 자동 직위종료
  602. grd_jobresplist.addStatus(i,"update"); // 행을 업데이트 상태로 변경
  603. }
  604. }
  605. }
  606. if(rdo_rgstflag.value=="004" && ipt_todd.value!=""){
  607. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_m_row + "]/lbrunionjobrespnm","");
  608. model.setValue("/root/main/lbrumaster/lbrunionlist[" + cur_m_row + "]/lbrunionjobresp","");
  609. for(var i=1;i<=grd_jobresplist.rows-1;i++){
  610. rgstflag_check = model.getValue(grd_jobresplist.attribute("nodeset")+"["+i+"]/rgstflag");
  611. rgstdd_check=model.getValue(grd_jobresplist.attribute("nodeset")+"["+i+"]/lbrunionrgstdd");
  612. if(rgstflag_check =="003" && rgstdd_check == ipt_lbrunionrgstdd.value){
  613. model.setValue("/root/main/lbrujobresp/jobresplist[" + i + "]/todd",ipt_todd.value);
  614. grd_jobresplist.addStatus(i,"update"); // 행을 업데이트 상태로 변경
  615. }
  616. }
  617. }
  618. ipt_lbrunionrgstdd_s.value=lbrunionrgstdd;
  619. ipt_emplno_ss.value=emplno;
  620. // 그리드에 추가
  621. fEnableUpdateButton();
  622. model.refresh();
  623. ]]>
  624. </script>
  625. </button>
  626. <button id="btn_delete" class="btn2_letter3" navindex="14" style="left:618px; top:613px; width:53px; height:19px; ">
  627. <caption>지우기</caption>
  628. <script type="javascript" ev:event="onclick">
  629. <![CDATA[
  630. model.resetInstanceNode("/root/main/item");
  631. model.refresh();
  632. ]]>
  633. </script>
  634. </button>
  635. <select1 id="cmb_dutplceinst_s" ref="/root/send/sendmaster/dutplceinst_s" class="combo_search" appearance="minimal" style="left:100; top:18; width:100px; height:19px; ">
  636. <choices>
  637. <itemset>
  638. <label/>
  639. <value/>
  640. </itemset>
  641. </choices>
  642. </select1>
  643. <button id="btn_deptcdhelp" class="icon_search" visibility="hidden" style="left:485px; top:72px; width:16px; height:16px; ">
  644. <caption/>
  645. <script type="javascript" ev:event="DOMActivate">
  646. <![CDATA[
  647. var precv_list = "dutplcedeptcd_s" + "," + "dutplcedeptnm_s";
  648. //alert(precv_list);
  649. misfOpenPopUpList("02", ipt_dutplcedeptcd_s, "", precv_list);
  650. model.refresh();
  651. ]]>
  652. </script>
  653. </button>
  654. <input id="ipt_preststatnm" ref="/root/main/item/preststatnm" visibility="hidden" style="left:685px; top:665px; width:99px; height:19px; "/>
  655. <button id="but_prsdempno_s" class="icon_search" style="left:393px; top:45px; width:16px; height:16px; ">
  656. <caption/>
  657. <script type="javascript" ev:event="onclick">
  658. <![CDATA[
  659. var recv_list = "emplno" + "," + "emplnm";
  660. //rpbfOpenPopUpList("SPRPB00101", grd_congraamtreqlist, recv_list,"","N","Y");
  661. var instcd=getUserInfo("dutplceinstcd");
  662. if(instcd =='001'){
  663. instyn='N';
  664. }else{
  665. instyn='Y';
  666. }
  667. rpbfOpenPopUpList("SPRPB00101", ipt_emplno_s,recv_list,"ipt_systemflag",instyn);
  668. model.refresh();
  669. ]]>
  670. </script>
  671. </button>
  672. <input id="ipt_emplno_s" ref="/root/send/sendmaster/emplno" class="input_search" style="left:324px; top:44px; width:65px; height:19px; "/>
  673. <input id="ipt_emplnm_s" ref="/root/send/sendmaster/emplnm" class="input_search" disabled="true" style="left:413px; top:44px; width:120px; height:19px; "/>
  674. <caption id="caption5" class="search_name" style="left:239px; top:45px; width:87px; height:17px; ">사 번 :</caption>
  675. <button id="btn_depthelp" class="icon_search" style="left:393px; top:20px; width:16px; height:16px; ">
  676. <caption/>
  677. <script type="javascript" ev:event="DOMActivate">
  678. <![CDATA[
  679. var precv_list = "dutdeptcd_s" + "," + "dutdeptnm_s";
  680. //alert(precv_list);
  681. misfOpenPopUpList("02", ipt_dutdeptcd_s, "", precv_list,cmb_dutplceinst_s.value,"instcd");
  682. model.refresh();
  683. ]]>
  684. </script>
  685. </button>
  686. <input id="input1" ref="/root/send/sendmaster/dutplcedeptnm_s" class="input_search" visibility="hidden" style="left:505px; top:70px; width:120px; height:19px; "/>
  687. <input id="ipt_dutdeptcd_s" ref="/root/send/sendmaster/dutplcedeptcd_s" class="input_search" visibility="hidden" style="left:416px; top:70px; width:65px; height:19px; "/>
  688. <button id="btn_insert" class="btn2_letter2" navindex="12" style="left:529px; top:613px; width:42px; height:19px; ">
  689. <caption>추가</caption>
  690. <script type="javascript" ev:event="DOMActivate">
  691. <![CDATA[
  692. var updtdata = getGridUpdateData(grd_lbrunionlist);
  693. var cur_m_row = grd_lbrunionlist.row;
  694. if (updtdata == "" ) {
  695. model.copyNode("/root/main/imsiitem","/root/main/lbrumaster/lbrunionlist["+cur_m_row+"]");
  696. ipt_cur_row.value=cur_m_row;
  697. }
  698. if (!fdoubleCheck(cur_m_row)) return;
  699. if (!fnullCheck(cur_m_row)) return;
  700. if (cur_m_row > 0) {
  701. // 그리드의 레이블을 변경한다.
  702. fChangeGridValue(cur_m_row);
  703. //grd_lbrunionlist.cellStyle("background-image", grd_lbrunionlist.row, 1) = "../../../com/commonweb/images/icon_u.gif";
  704. grd_lbrunionlist.addStatus(cur_m_row,"update"); // 행을 업데이트 상태로 변경
  705. model.refresh();
  706. }
  707. if(rdo_rgstflag.value=="003"){
  708. grd_jobresplist.addItem(); // 입력할 행 추가.
  709. var cur_j_row = grd_jobresplist.row; // 추가된 행 번호 가져오기
  710. // 그리드에 추가
  711. model.copyNode("/root/main/lbrujobresp/jobresplist["+cur_j_row+"]","/root/main/item");
  712. fChangeGridValueDetail(cur_j_row,'job',cur_m_row); // 그리드의 레이블을 변경한다.
  713. }else if(rdo_rgstflag.value=="001"){
  714. grd_rpbhlbrulist.addItem(); // 입력할 행 추가.
  715. var cur_row = grd_rpbhlbrulist.row; // 추가된 행 번호 가져오기
  716. // 그리드에 추가
  717. model.copyNode("/root/main/lbrudetail/rpbhlbrulist["+cur_row+"]","/root/main/item");
  718. fChangeGridValueDetail(cur_row,'rpb',cur_m_row); // 그리드의 레이블을 변경한다.
  719. //fEnableUpdateButton();
  720. }
  721. model.refresh();
  722. ]]>
  723. </script>
  724. </button>
  725. <select1 id="cmb_preststatcd_s" ref="/root/send/sendmaster/preststatcd_s" class="combo_search" appearance="minimal" style="left:642px; top:44px; width:100px; height:19px; ">
  726. <choices>
  727. <itemset>
  728. <label/>
  729. <value/>
  730. </itemset>
  731. </choices>
  732. </select1>
  733. <caption id="caption16" class="search_name" style="left:560px; top:45px; width:86px; height:17px; ">현 상 태 :</caption>
  734. <select1 id="rdo_rgstflag" ref="/root/init/rgstflag" class="radio_search" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:215px; top:615px; width:291px; height:16px; text-align:center; border-style:none; ">
  735. <choices>
  736. <itemset nodeset="/root/init/radio2">
  737. <label ref="label"/>
  738. <value ref="value"/>
  739. </itemset>
  740. </choices>
  741. <script type="javascript" ev:event="onclick">
  742. <![CDATA[
  743. /* var updtdata = getGridUpdateData(grd_lbrunionlist);
  744. if (updtdata != "" ) {
  745. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 작업을","Q003");
  746. if (ret != 6) { // not OK
  747. rdo_rgstflag.value="";
  748. return;
  749. }
  750. }*/
  751. var check_val=rdo_rgstflag.value;
  752. if(check_val=="001"){
  753. ipt_lbrunionsecssdd.value="";
  754. btn_insert.disabled=false;
  755. btn_update.disabled=true;
  756. ipt_lbrunionrgstdd.disabled=false;
  757. ipt_lbrunionsecssdd.disabled=true;
  758. cmb_lbrunionjobresp.disabled=true;
  759. ipt_asgnmpostndd.disabled=true;
  760. ipt_todd.disabled=true;
  761. }else if(check_val=="002"){
  762. btn_insert.disabled=true;
  763. btn_update.disabled=false;
  764. ipt_lbrunionrgstdd.disabled=true;
  765. ipt_lbrunionsecssdd.disabled=false;
  766. cmb_lbrunionjobresp.disabled=true;
  767. ipt_asgnmpostndd.disabled=true;
  768. ipt_todd.disabled=true;
  769. }else if(check_val=="003"){
  770. ipt_todd.value="";
  771. btn_insert.disabled=false;
  772. btn_update.disabled=true;
  773. ipt_lbrunionrgstdd.disabled=true;
  774. ipt_lbrunionsecssdd.disabled=true;
  775. cmb_lbrunionjobresp.disabled=false;
  776. ipt_asgnmpostndd.disabled=false;
  777. ipt_todd.disabled=true;
  778. }else if(check_val=="004"){
  779. btn_insert.disabled=true;
  780. btn_update.disabled=false;
  781. ipt_lbrunionrgstdd.disabled=true;
  782. ipt_lbrunionsecssdd.disabled=true;
  783. cmb_lbrunionjobresp.disabled=true;
  784. ipt_asgnmpostndd.disabled=true;
  785. ipt_todd.disabled=false;
  786. }
  787. ]]>
  788. </script>
  789. </select1>
  790. <input id="ipt_lbrunionjobrespnm" ref="/root/main/item/lbrunionjobrespnm" class="input_search" visibility="hidden"/>
  791. <input id="ipt_lbrunionjobresp" ref="/root/main/item/dutplceinst" visibility="hidden"/>
  792. <input id="ipt_emplno_m" ref="/root/main/imsiitem/emplno" visibility="hidden"/>
  793. <input id="ipt_lbrunionrgstyn_m" ref="/root/main/imsiitem/lbrunionrgstyn" visibility="hidden"/>
  794. <input id="ipt_lbrunionrgstdd_m" ref="/root/main/imsiitem/lbrunionrgstdd" visibility="hidden"/>
  795. <input id="ipt_lbrunionsecssdd_m" ref="/root/main/imsiitem/lbrunionsecssdd" visibility="hidden"/>
  796. <input id="ipt_lbrunionjobresp_m" ref="/root/main/imsiitem/lbrunionjobresp" visibility="hidden"/>
  797. <input id="ipt_lbrunionjobrespnm_m" ref="/root/main/imsiitem/lbrunionjobrespnm" visibility="hidden"/>
  798. <input id="ipt_asgnmpostndd_m" ref="/root/main/imsiitem/asgnmpostndd" visibility="hidden"/>
  799. <input id="ipt_todd_m" ref="/root/main/imsiitem/todd" visibility="hidden"/>
  800. <input id="ipt_cur_row" ref="/root/init/cur_row_m" class="input_search" visibility="hidden"/>
  801. <datagrid id="grd_jobresplist" nodeset="/root/main/lbrujobresp/jobresplist" caption="일련번호^근무기관^가입일^노조직위^보임일^종료일^비고^사원번호^구분^직위코드^수정일" colsep="^" colwidth="48, 121, 37, 79, 80, 80, 103, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" ref="/root/main/lbrujobresp/jobresplist" style="left:710px; top:368px; width:485px; height:240px; ">
  802. <col ref="seqno" visibility="hidden"/>
  803. <col ref="dutplceinstnm"/>
  804. <col ref="lbrunionrgstdd" visibility="hidden" format="yyyy-mm-dd"/>
  805. <col ref="lbrunionjobrespnm"/>
  806. <col ref="asgnmpostndd" format="yyyy-mm-dd" style="text-align:center; "/>
  807. <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
  808. <col ref="cmt"/>
  809. <col ref="emplno" visibility="hidden" _key="true"/>
  810. <col ref="rgstflag" visibility="hidden"/>
  811. <col ref="lbrunionjobresp" visibility="hidden"/>
  812. <col ref="fstrgstdt" visibility="hidden"/>
  813. </datagrid>
  814. <button id="btn_excelsave_detail2" class="btn2_letter4" style="left:1130px; top:342px; width:64px; height:19px; ">
  815. <caption>엑셀저장</caption>
  816. <script type="javascript" ev:event="DOMActivate">
  817. <![CDATA[
  818. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  819. if (fileName != "")
  820. {
  821. grd_rpbhlbrulist.saveExcel(fileName, "SheetName", true, true, "", "");
  822. }
  823. ]]>
  824. </script>
  825. </button>
  826. <caption id="caption15" class="tit_2" style="left:714px; top:349px; width:162px; height:13px; ">노조직위보임 히스토리</caption>
  827. <input id="ipt_lbrunionrgstdd_s" ref="/root/send/lbrudetail/lbrunionrgstdd_s" class="input_search" visibility="hidden" style="left:685px; top:641px; width:100px; height:19px; "/>
  828. <input id="ipt_emplno_ss" ref="/root/send/lbrudetail/emplno_s" class="input_search" visibility="hidden" style="left:790px; top:641px; width:100px; height:19px; "/>
  829. <line id="line1" class="line_1" style="x1:710px; y1:363px; x2:1195px; y2:363px; "/>
  830. </group>
  831. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  832. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
  833. <caption>저장</caption>
  834. <script type="javascript" ev:event="DOMActivate">
  835. <![CDATA[
  836. misfSave("TXRPB00201");
  837. // submit("TRRPB00203");
  838. misfMsterDetailRetrieve();
  839. ipt_lbrunionrgstdd_s.value="";
  840. ipt_emplno_ss.value="";
  841. model.refresh();
  842. ]]>
  843. </script>
  844. </button>
  845. <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  846. </group>
  847. <button id="btn_init" class="btn4_letter3" style="left:1069px; top:15px; width:68px; height:22px; ">
  848. <caption>초기화</caption>
  849. <script type="javascript" ev:event="DOMActivate">
  850. <![CDATA[
  851. misfGridInit(grd_lbrunionlist);
  852. misfGridInit(grd_rpbhlbrulist);
  853. model.resetInstanceNode("/root/send");
  854. model.resetInstanceNode("/root/main/item");
  855. model.resetInstanceNode("/root/main/imsiitem");
  856. ipt_cur_row.value="";
  857. var instcd = getUserInfo("dutplceinstcd");
  858. cmb_dutplceinst_s.value=instcd;
  859. rdo_rgstflag_s.value="Y";
  860. rdo_rgstflag.value="";
  861. model.refresh();
  862. ]]>
  863. </script>
  864. </button>
  865. </xhtml:body>
  866. </xhtml:html>