SMRPA11000_건강보험(빈센트).xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet ype="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. <vintheal>
  11. <vintheallist/>
  12. <exceptvintheallist/>
  13. <notvintheallist/>
  14. </vintheal>
  15. <excel>
  16. <excellist/>
  17. </excel>
  18. </main>
  19. <send>
  20. <vintheal>
  21. <instcd/>
  22. <notiym/>
  23. <emplno/>
  24. <emplnm/>
  25. <qryflag>A</qryflag>
  26. </vintheal>
  27. <save>
  28. <vintheallist/>
  29. </save>
  30. <attach>
  31. <file/>
  32. <instcd/>
  33. <srventrcd/>
  34. <contfromdd/>
  35. </attach>
  36. <payapp>
  37. <payym/>
  38. <payitemcd/>
  39. <instcd/>
  40. <cancelyn/>
  41. </payapp>
  42. </send>
  43. <temp/>
  44. <init>
  45. </init>
  46. </root>
  47. </instance>
  48. <submission id="TRRPA11001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/vintheal" resultref="/root/main/vintheal"/>
  49. <submission id="TXRPA11001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
  50. <submission id="TXRPA11002" mediatype="multipart/form-data" method="form-data-post" ref="/root/send/attach" resultref="/root/main/excel"/>
  51. <submission id="TXRWZ00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payapp" resultref="/root/temp"/>
  52. </model>
  53. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/dateHelper.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" ev:event="xforms-ready">
  60. <![CDATA[
  61. fInitialize();
  62. ]]>
  63. </script>
  64. <script type="javascript">
  65. <![CDATA[
  66. function fInitialize()
  67. {
  68. model.removenode(grd_vintheallist.nodeset);
  69. model.removenode(grd_exceptvintheallist.nodeset);
  70. model.removenode(grd_notvintheallist.nodeset);
  71. model.refresh();
  72. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  73. misfMsterDetailSet(grd_vintheallist, null, "TRRPA11001", "Y");
  74. misfMsterDetailSet(grd_exceptvintheallist, null, "TRRPA11001", "N");
  75. misfMsterDetailSet(grd_notvintheallist, null, "TRRPA11001", "N");
  76. var curdate = getCurrentDate();
  77. ipt_notiym.value = curdate.substring(0,6);
  78. cmb_instcd.value = getUserInfo("dutplceinstcd");
  79. btn_payappinsur.disabled = false;
  80. btn_canpayappinsur.disabled = true;
  81. btn_save.disabled = false;
  82. btn_upload.disabled = false;
  83. btn_grdaddvintinsurlist.disabled = false;
  84. btn_alldelete.disabled = false;
  85. btn_grddelvintinsurlist.disabled = false;
  86. model.refresh();
  87. //model.refresh();
  88. }
  89. var fso=new ActiveXObject("Scripting.FileSystemObject");
  90. function fExcelUpload() {
  91. var maxsize = upload1.attribute("filesize");
  92. var filename = window.fileDialog("open", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  93. var filelist = filename.split("|");
  94. model.removeNodeset("/root/main/list/filelist");
  95. model.removeNodeset("/root/send/attach");
  96. //타이틀을 획득한다.
  97. var s = new String(filelist[filelist.length-1]);
  98. var ss = s.split("\\");
  99. if(filename !=""){
  100. //작업 전 row를 추가 >파일명 유/무에 따른 분기>
  101. for(var i = 0 ; i < filelist.length ; i++ ){
  102. grd_attach.addRow(false);
  103. if(filelist[i] == ""){
  104. //alert(grd_attach.rows - 1);
  105. grd_attach.removeRow(false);
  106. grd_attach.refresh();
  107. }else{
  108. grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
  109. //파일크기('tfHelper.checkFileSize' 참조)
  110. var fileCnt = upload1.getFileCount();
  111. var lastIndex = fileCnt - 1;
  112. var fileSize = upload1.getFileSize(lastIndex);
  113. grd_attach.textmatrix(grd_attach.rows - 1,1) = fileSize;
  114. if (!checkFileSize(upload1)){
  115. grd_attach.removeItem();
  116. messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
  117. return;
  118. }
  119. }
  120. }
  121. model.makeValue("/root/send/attach/instcd",cmb_instcd.value);
  122. // model.makeValue("/root/send/attach/srventrcd",cmb_srventrcd.value);
  123. // model.makeValue("/root/send/attach/contfromdd",ipt_fromdd.value);
  124. openLoadingBar("파일업로드 작업중입니다... ") ;
  125. submit("TXRPA11002");
  126. closeLoadingBar();
  127. //btn_search.dispatch("DOMActivate");
  128. }
  129. }
  130. ]]>
  131. </script>
  132. </xhtml:head>
  133. <xhtml:body guideline="2,617;" style="margin-left:8; margin-right:8; ">
  134. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  135. <switch id="switch1" style="left:0px; top:80px; width:1190px; height:655px; ">
  136. <case id="case1" selected="true">
  137. <datagrid id="grd_vintheallist" nodeset="/root/main/vintheal/vintheallist" caption="사번^성명^주민번호^입사일^정산금액^당월고지금액^장기요양정산금액^장기요양당월고지금액^합계^퇴사일^급여반영여부^급여마감여부^고지년월^기관^급여반영일^주민번호OLD|사번^성명^주민번호^입사일^정산금액^당월고지금액^장기요양정산금액^장기요양당월고지금액^합계^퇴사일^급여반영여부^급여마감여부^고지년월^기관^급여반영일^주민번호OLD" colsep="^" colwidth="82, 91, 113, 105, 100, 108, 100, 107, 127, 114, 47, 47, 29, 18, 29, 29" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:2px; top:35px; width:1183px; height:610px; ">
  138. <col ref="emplno"/>
  139. <col ref="emplnm" type="input"/>
  140. <col ref="rrgstno" type="input" format="999999-9999999" style="text-align:center; vertical-align:middle; "/>
  141. <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; vertical-align:middle; "/>
  142. <col ref="calcamt" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  143. <col ref="notiymamt" type="input" format="(-)#,###" style="text-align:right; "/>
  144. <col ref="mtrtcalcamt" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  145. <col ref="mtrtnotiymamt" type="input" format="(-)#,###" style="text-align:right; "/>
  146. <col ref="paytotamt" type="output" format="(-)#,###" style="text-align:right; "/>
  147. <col ref="retiredd" format="yyyy-mm-dd" style="text-align:center; vertical-align:middle; "/>
  148. <col ref="payappyn"/>
  149. <col ref="endyn"/>
  150. <col ref="notiym" visibility="hidden"/>
  151. <col ref="instcd" visibility="hidden"/>
  152. <col ref="payappdd" visibility="hidden"/>
  153. <col ref="oldrrgstno" visibility="hidden"/>
  154. <script type="javascript" ev:event="onrowchanged">
  155. <![CDATA[
  156. misfMsterDetailRetrieve();
  157. ]]>
  158. </script>
  159. </datagrid>
  160. <caption id="caption278" class="tit_2" style="left:5px; top:13px; width:162px; height:13px; ">건강보험 List</caption>
  161. <upload id="upload1" nodeset="/root/send/attach/file" ext="zip" filecount="5" filesize="41943040" validate="true" style="left:720px; top:5px; width:25px; height:20px; "/>
  162. <button id="btn_upload" class="btn5_letter5" style="left:745px; top:5px; width:75px; height:19px; ">
  163. <caption>파일업로드</caption>
  164. <script type="javascript" ev:event="DOMActivate">
  165. <![CDATA[
  166. fExcelUpload();
  167. ]]>
  168. </script>
  169. </button>
  170. <button id="btn_grddelvintinsurlist" class="btn2_letter3" style="left:1064px; top:5px; width:53px; height:19px; ">
  171. <caption>행삭제</caption>
  172. <script type="javascript" ev:event="DOMActivate">
  173. <![CDATA[
  174. misfGridIUD(grd_vintheallist, "D");
  175. ]]>
  176. </script>
  177. </button>
  178. <button id="btn_excelsave" class="btn2_letter4" style="left:1118px; top:5px; width:64px; height:19px; ">
  179. <caption>엑셀저장</caption>
  180. <script type="javascript" ev:event="DOMActivate">
  181. <![CDATA[
  182. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  183. if (fileName != "")
  184. {
  185. grd_vintheallist.saveExcel(fileName);
  186. }
  187. ]]>
  188. </script>
  189. </button>
  190. <button id="btn_grdaddvintinsurlist" class="btn2_letter3" style="left:943px; top:5px; width:53px; height:19px; ">
  191. <caption>행추가</caption>
  192. <script type="javascript" ev:event="DOMActivate">
  193. <![CDATA[
  194. grd_vintheallist.subtotal("clear", 0, 0);
  195. grd_vintheallist.refresh();
  196. misfGridIUD(grd_vintheallist, "A");
  197. ]]>
  198. </script>
  199. </button>
  200. <button id="btn_alldelete" class="btn2_letter4" style="left:999px; top:5px; width:64px; height:19px; ">
  201. <caption>전체삭제</caption>
  202. <script type="javascript" ev:event="DOMActivate">
  203. <![CDATA[
  204. for (var i = grd_vintheallist.fixedRows; i < grd_vintheallist.rows; i++) {
  205. grd_vintheallist.row = i;
  206. misfGridIUD(grd_vintheallist, "D");
  207. }
  208. ]]>
  209. </script>
  210. </button>
  211. <line id="line207" class="line_1" style="x1:0px; y1:31px; x2:1184px; y2:30px; "/>
  212. </case>
  213. <case id="case2">
  214. <datagrid id="grd_exceptvintheallist" nodeset="/root/main/vintheal/exceptvintheallist" caption="사번^성명^입사일^퇴사일^부서^교직구분^직위^직급|사번^성명^입사일^퇴사일^부서^교직구분^직위^직급" colsep="^" colwidth="122, 134, 140, 129, 162, 140, 168, 145" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:35px; width:1185px; height:610px; ">
  215. <col ref="emplno" style="text-align:center; vertical-align:middle; "/>
  216. <col ref="emplnm"/>
  217. <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; vertical-align:middle; "/>
  218. <col ref="retiredd" format="yyyy-mm-dd" style="text-align:center; vertical-align:middle; "/>
  219. <col ref="deptnm"/>
  220. <col ref="prfshipflagnm"/>
  221. <col ref="jobposnm"/>
  222. <col ref="ojobgradnm"/>
  223. </datagrid>
  224. <caption id="caption3" class="tit_2" style="left:5px; top:13px; width:162px; height:14px; ">미 Load List</caption>
  225. <line id="line1" class="line_1" style="x1:0px; y1:31px; x2:1184px; y2:30px; "/>
  226. <button id="btn_extexcelsave" class="btn2_letter4" style="left:1118px; top:5px; width:64px; height:19px; ">
  227. <caption>엑셀저장</caption>
  228. <script type="javascript" ev:event="DOMActivate">
  229. <![CDATA[
  230. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  231. if (fileName != "")
  232. {
  233. grd_exceptvintheallist.saveExcel(fileName);
  234. }
  235. ]]>
  236. </script>
  237. </button>
  238. </case>
  239. <case id="case3">
  240. <button id="btn_saveexcelnotvin" class="btn2_letter4" style="left:1118px; top:5px; width:64px; height:19px; ">
  241. <caption>엑셀저장</caption>
  242. <script type="javascript" ev:event="DOMActivate">
  243. <![CDATA[
  244. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  245. if (fileName != "")
  246. {
  247. grd_notvintheallist.saveExcel(fileName);
  248. }
  249. ]]>
  250. </script>
  251. </button>
  252. <datagrid id="grd_notvintheallist" nodeset="/root/main/vintheal/notvintheallist" caption="사번^성명^주민번호|사번^성명^주민번호" colsep="^" colwidth="122, 134, 140, 129, 162, 140, 168, 145" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:35px; width:1185px; height:610px; ">
  253. <col ref="emplno" style="text-align:center; vertical-align:middle; "/>
  254. <col ref="emplnm"/>
  255. <col ref="rrgstno" format="999999-9999999" style="text-align:center; vertical-align:middle; "/>
  256. </datagrid>
  257. <caption id="caption4" class="tit_2" style="left:5px; top:13px; width:162px; height:14px; ">미 생성 List</caption>
  258. <line id="line2" class="line_1" style="x1:0px; y1:31px; x2:1184px; y2:30px; "/>
  259. </case>
  260. </switch>
  261. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:40px; "/>
  262. <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1125px; top:19px; width:56px; height:22px; text-align:left; ">
  263. <caption>조회</caption>
  264. <script type="javascript" ev:event="DOMActivate">
  265. <![CDATA[
  266. misfMsterDetailRetrieve();
  267. if (grd_vintheallist.rows - grd_vintheallist.fixedRows > 0) {
  268. if (grd_vintheallist.valueMatrix(grd_vintheallist.fixedRows, grd_vintheallist.colRef("endyn")) == "Y") {
  269. btn_payappinsur.disabled = true;
  270. btn_canpayappinsur.disabled = true;
  271. btn_save.disabled = true;
  272. btn_upload.disabled = true;
  273. btn_grdaddvintinsurlist.disabled = true;
  274. btn_alldelete.disabled = true;
  275. btn_grddelvintinsurlist.disabled = true;
  276. }
  277. else if (grd_vintheallist.valueMatrix(grd_vintheallist.fixedRows, grd_vintheallist.colRef("payappyn")) == "Y") {
  278. btn_payappinsur.disabled = true;
  279. btn_canpayappinsur.disabled = false;
  280. btn_save.disabled = true;
  281. btn_upload.disabled = true;
  282. btn_grdaddvintinsurlist.disabled = true;
  283. btn_alldelete.disabled = true;
  284. btn_grddelvintinsurlist.disabled = true;
  285. }
  286. else {
  287. btn_payappinsur.disabled = false;
  288. btn_canpayappinsur.disabled = true;
  289. btn_save.disabled = false;
  290. btn_upload.disabled = false;
  291. btn_grdaddvintinsurlist.disabled = false;
  292. btn_alldelete.disabled = false;
  293. btn_grddelvintinsurlist.disabled = false;
  294. }
  295. }
  296. else {
  297. btn_payappinsur.disabled = false;
  298. btn_canpayappinsur.disabled = true;
  299. btn_save.disabled = false;
  300. btn_upload.disabled = false;
  301. btn_grdaddvintinsurlist.disabled = false;
  302. btn_alldelete.disabled = false;
  303. btn_grddelvintinsurlist.disabled = false;
  304. }
  305. grd_vintheallist.subtotal("sum" ,-1 , grd_vintheallist.colRef("notiymamt"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  306. grd_vintheallist.subtotal("sum" ,-1 , grd_vintheallist.colRef("mtrtnotiymamt"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  307. grd_vintheallist.subtotal("sum" ,-1 , grd_vintheallist.colRef("paytotamt"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  308. grd_vintheallist.subtotal("sum" ,-1 , grd_vintheallist.colRef("mtrtcalcamt"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  309. grd_vintheallist.subtotal("sum" ,-1 , grd_vintheallist.colRef("calcamt"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  310. grd_vintheallist.subtotal("count" ,-1 , grd_vintheallist.colRef("rrgstno"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  311. ]]>
  312. </script>
  313. </button>
  314. <line id="line3" class="line_4" style="x1:1110px; y1:12px; x2:1110px; y2:50px; border-color:#ffe4bb; border-left-style:solid; "/>
  315. <input id="ipt_lbrunionjobrespnm" ref="/root/main/item/lbrunionjobrespnm" class="input_search" visibility="hidden"/>
  316. <input id="ipt_lbrunionjobresp" ref="/root/main/item/dutplceinst" visibility="hidden"/>
  317. <input id="ipt_emplno_m" ref="/root/main/imsiitem/emplno" visibility="hidden"/>
  318. <input id="ipt_lbrunionrgstyn_m" ref="/root/main/imsiitem/lbrunionrgstyn" visibility="hidden"/>
  319. <input id="ipt_lbrunionrgstdd_m" ref="/root/main/imsiitem/lbrunionrgstdd" visibility="hidden"/>
  320. <input id="ipt_lbrunionsecssdd_m" ref="/root/main/imsiitem/lbrunionsecssdd" visibility="hidden"/>
  321. <input id="ipt_lbrunionjobresp_m" ref="/root/main/imsiitem/lbrunionjobresp" visibility="hidden"/>
  322. <input id="ipt_lbrunionjobrespnm_m" ref="/root/main/imsiitem/lbrunionjobrespnm" visibility="hidden"/>
  323. <input id="ipt_asgnmpostndd_m" ref="/root/main/imsiitem/asgnmpostndd" visibility="hidden"/>
  324. <input id="ipt_todd_m" ref="/root/main/imsiitem/todd" visibility="hidden"/>
  325. <input id="ipt_cur_row" ref="/root/init/cur_row_m" class="input_search" visibility="hidden"/>
  326. <select1 id="cmb_instcd" ref="/root/send/vintheal/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:60px; top:20px; width:154px; height:19px; ">
  327. <choices>
  328. <itemset>
  329. <label/>
  330. <value/>
  331. </itemset>
  332. </choices>
  333. </select1>
  334. <caption id="cap_instcd" class="search_name" style="left:5px; top:20px; width:60px; height:17px; ">기관:</caption>
  335. <input id="ipt_notiym" ref="/root/send/vintheal/notiym" class="input_default" disabled="false" inputtype="date" format="yyyy-mm" style="left:320px; top:20px; width:94px; height:19px; text-align:center; vertical-align:middle; "/>
  336. <datagrid id="grd_attach" nodeset="/root/send/attach" class="datagrid1" visibility="hidden" caption="File Name^File Size" colsep="^" colwidth="403, 93" dataheight="23" ellipsis="true" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" style="left:605px; top:430px; width:505px; height:69px; ">
  337. <col ref="file" style="text-align:center; "/>
  338. <col ref="filesize" format="#,###" style="text-align:right; "/>
  339. </datagrid>
  340. <caption id="caption1" class="search_name" style="left:240px; top:20px; width:85px; height:17px; ">고지년월:</caption>
  341. <caption id="caption2" class="search_name" style="left:440px; top:20px; width:63px; height:17px; ">사번 :</caption>
  342. <button id="btn_emplno" class="icon_search" style="left:593px; top:20px; width:16px; height:16px; ">
  343. <caption/>
  344. <script type="javascript" ev:event="DOMActivate">
  345. <![CDATA[
  346. var recv_list = "emplno,emplnm" ;
  347. rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"","N");
  348. model.refresh();
  349. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  350. btn_search.dispatch("DOMActivate");
  351. }
  352. ]]>
  353. </script>
  354. </button>
  355. <input id="ipt_emplnos" ref="/root/send/vintheal/emplno" class="input_default" style="left:501px; top:20px; width:87px; height:19px; ">
  356. <script type="javascript" ev:event="onkeyup">
  357. <![CDATA[
  358. if (ipt_emplnos.currentText != null && ipt_emplnos.currentText != "" ) {
  359. inputEnterKey("ipt_emplnos", "xforms-value-changed");
  360. }
  361. ]]>
  362. </script>
  363. <script type="javascript" ev:event="xforms-value-changed">
  364. <![CDATA[
  365. var recv_list = "emplno,emplnm" ;
  366. rpbfValidationCheck("EMPLNO", recv_list);
  367. model.refresh();
  368. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  369. btn_search.dispatch("DOMActivate");
  370. }
  371. ]]>
  372. </script>
  373. </input>
  374. <input id="ipt_emplnms" ref="/root/send/vintheal/emplnm" class="input_default" style="left:612px; top:20px; width:76px; height:19px; ">
  375. <script type="javascript" ev:event="onkeyup">
  376. <![CDATA[
  377. if (ipt_emplnms.currentText != null && ipt_emplnms.currentText != "" ) {
  378. inputEnterKey("ipt_emplnms", "xforms-value-changed");
  379. }
  380. ]]>
  381. </script>
  382. <script type="javascript" ev:event="xforms-value-changed">
  383. <![CDATA[
  384. var recv_list = "emplno,emplnm" ;
  385. rpbfValidationCheck("EMPLNM", recv_list);
  386. model.refresh();
  387. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  388. btn_search.dispatch("DOMActivate");
  389. }
  390. ]]>
  391. </script>
  392. </input>
  393. <select1 id="radio1" ref="/root/send/vintheal/qryflag" appearance="full" cellspacing="7" cols="3" overflow="visible" style="left:915px; top:20px; width:180px; height:20px; border-style:solid; ">
  394. <choices>
  395. <item>
  396. <label>전체</label>
  397. <value>A</value>
  398. </item>
  399. <item>
  400. <label>재직자</label>
  401. <value>B</value>
  402. </item>
  403. <item>
  404. <label>퇴직자</label>
  405. <value>C</value>
  406. </item>
  407. </choices>
  408. </select1>
  409. <button id="btn_eatsel" class="btn_sw" group="tab" selected="true" style="left:0px; top:60px; width:100px; height:22px; ">
  410. <caption>건강보험내역</caption>
  411. <script type="javascript" ev:event="DOMActivate">
  412. <![CDATA[
  413. model.toggle("case1");
  414. ]]>
  415. </script>
  416. </button>
  417. <button id="button1" class="btn_sw" group="tab" selected="false" style="left:103px; top:60px; width:100px; height:22px; ">
  418. <caption>미LOAD 내역</caption>
  419. <script type="javascript" ev:event="DOMActivate">
  420. <![CDATA[
  421. model.toggle("case2");
  422. ]]>
  423. </script>
  424. </button>
  425. <button id="button2" class="btn_sw" group="tab" selected="false" style="left:206px; top:60px; width:100px; height:22px; ">
  426. <caption>미생성 내역</caption>
  427. <script type="javascript" ev:event="DOMActivate">
  428. <![CDATA[
  429. model.toggle("case3");
  430. ]]>
  431. </script>
  432. </button>
  433. </group>
  434. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  435. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">건강보험 등록</caption>
  436. </group>
  437. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  438. <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  439. <button id="btn_save" class="btn4_letter2" style="left:1134px; top:3px; width:56px; height:22px; ">
  440. <caption>저장</caption>
  441. <script type="javascript" ev:event="DOMActivate">
  442. <![CDATA[
  443. misfSave("TXRPA11001");
  444. if (model.getValue(gvErrorMsgPath + "/type") != "error"){
  445. btn_search.dispatch("DOMActivate");
  446. }
  447. ]]>
  448. </script>
  449. </button>
  450. <button id="btn_payappinsur" class="btn4_letter2" style="left:940px; top:3px; width:56px; height:22px; ">
  451. <caption>확정</caption>
  452. <script type="javascript" ev:event="DOMActivate">
  453. <![CDATA[
  454. model.setValue("/root/send/payapp/payym", ipt_notiym.value);
  455. model.setValue("/root/send/payapp/payitemcd", "60020");
  456. model.setValue("/root/send/payapp/instcd", cmb_instcd.value);
  457. model.setValue("/root/send/payapp/cancelyn", "N");
  458. submit("TXRWZ00303");
  459. btn_search.dispatch("DOMActivate");
  460. ]]>
  461. </script>
  462. </button>
  463. <button id="btn_canpayappinsur" class="btn4_letter4" style="left:1000px; top:3px; width:80px; height:22px; ">
  464. <caption>확정취소</caption>
  465. <script type="javascript" ev:event="DOMActivate">
  466. <![CDATA[
  467. model.setValue("/root/send/payapp/payym", ipt_notiym.value);
  468. model.setValue("/root/send/payapp/payitemcd", "60020");
  469. model.setValue("/root/send/payapp/instcd", cmb_instcd.value);
  470. model.setValue("/root/send/payapp/cancelyn", "Y");
  471. submit("TXRWZ00303");
  472. btn_search.dispatch("DOMActivate");
  473. ]]>
  474. </script>
  475. </button>
  476. </group>
  477. </xhtml:body>
  478. </xhtml:html>