SMRPA03100_연금보험인사정보.xrw 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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. <insurancemanlist>
  11. <rrgstno1/>
  12. <rrgstno2/>
  13. <name/>
  14. <instcd/>
  15. <updtdd/>
  16. <retiredd/>
  17. <oldinstcd/>
  18. </insurancemanlist>
  19. </main>
  20. <send>
  21. <savelist>
  22. <insurancemanlist/>
  23. </savelist>
  24. <search>
  25. <rrgstno1/>
  26. <rrgstno2/>
  27. <instcd/>
  28. <name/>
  29. </search>
  30. </send>
  31. <init>
  32. </init>
  33. <temp/>
  34. </root>
  35. </instance>
  36. <script type="javascript" ev:event="xforms-ready">
  37. <![CDATA[
  38. fInitialize();
  39. misfGridInit(grd_insurancemanlist);
  40. misfMsterDetailSet(grd_insurancemanlist,null, "TRRPA03101" ,"Y");
  41. rpaComboInstBase(cmb_instcd,getUserInfo("dutplceinstcd"),"Y");
  42. rpaComboInstBase(cmb_instcd_s,getUserInfo("dutplceinstcd"));
  43. misfComboCopyItemSet(cmb_instcd_s, "", grd_insurancemanlist, "instcd");
  44. var instcd = getUserInfo("dutplceinstcd");
  45. // cmb_instcd.value=instcd;
  46. btn_save.disabled = !(checkAuth("X"));
  47. //misfComboComCdListMulti("Z0007,R0099,R0112,R0130","cmb_instcd,cmb_paydeduflag,cmb_SalDfrayFlag,grd_paydedulist.timsamtflag");
  48. ]]>
  49. </script>
  50. <submission id="TRRPA03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/insurancemanlist"/>
  51. <submission id="TXRPA03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savelist" resultref="/root/temp"/>
  52. </model>
  53. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  55. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  56. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  57. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  58. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  59. <script type="javascript" src="../../../mis/insurancemngtweb/js/RPA001.js"/>
  60. <script type="javascript">
  61. <![CDATA[
  62. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  63. function fInitialize() {
  64. model.removeNodeset("/root/main/insurancemanlist");
  65. model.resetInstanceNode("/root/send");
  66. model.refresh();
  67. }
  68. ]]>
  69. </script>
  70. </xhtml:head>
  71. <xhtml:body>
  72. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  73. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">연금 보험 인사정보 등록</caption>
  74. </group>
  75. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  76. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  77. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:17px; width:56px; height:22px; ">
  78. <caption>조회</caption>
  79. <script type="javascript" ev:event="DOMActivate">
  80. <![CDATA[
  81. misfMsterDetailRetrieve();
  82. ]]>
  83. </script>
  84. </button>
  85. <line id="line13" class="line_4" style="x1:1110px; y1:17px; x2:1110px; y2:39px; "/>
  86. <line id="line1" class="line_1" style="x1:0px; y1:69px; x2:1194px; y2:69px; "/>
  87. <caption id="caption1" class="tit_2" style="left:5px; top:54px; width:198px; height:13px; ">연금 보험 인사정보</caption>
  88. <button id="btn_grdaddmedpayformlist" class="btn2_letter3" style="left:1086px; top:48px; width:53px; height:19px; ">
  89. <caption>행추가</caption>
  90. <script type="javascript" ev:event="DOMActivate">
  91. <![CDATA[
  92. misfGridIUD(grd_insurancemanlist, "A");
  93. ]]>
  94. </script>
  95. </button>
  96. <button id="btn_grddelmedpayformlist" class="btn2_letter3" style="left:1142px; top:48px; width:53px; height:19px; ">
  97. <caption>행삭제</caption>
  98. <script type="javascript" ev:event="DOMActivate">
  99. <![CDATA[
  100. misfGridIUD(grd_insurancemanlist, "D");
  101. ]]>
  102. </script>
  103. </button>
  104. <caption id="cap_emplno" class="search_name" style="left:246px; top:19; width:86px; height:17px; ">주민번호 :</caption>
  105. <datagrid id="grd_insurancemanlist" nodeset="/root/main/insurancemanlist" caption="주민번호^주민번호^성명^기관^임용일자^퇴직일자^이전기관코드|앞자리^뒷자리^성명^기관^임용일자^퇴직일자^이전기관코드" colsep="^" colwidth="100, 100, 100, 150, 120, 120, 100" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:74px; width:1195px; height:660px; ">
  106. <col disabled="true" ref="rrgstno1" type="input" maxlength="6" _key="true" style="text-align:center; "/>
  107. <col disabled="true" ref="rrgstno2" type="input" maxlength="7" _key="true" style="text-align:center; "/>
  108. <col ref="name" type="input" maxlength="20" _key="true" style="text-align:center; "/>
  109. <col id="instcd" ref="instcd" type="combo" _key="true">
  110. <choices>
  111. <itemset>
  112. <label/>
  113. <value/>
  114. </itemset>
  115. </choices>
  116. </col>
  117. <col ref="updtdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  118. <col ref="retiredd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  119. <col ref="oldinstcd" visibility="hidden"/>
  120. <script type="javascript" ev:event="onaftersort">
  121. <![CDATA[
  122. grd_insurancemanlist.gridToInstance();
  123. ]]>
  124. </script>
  125. </datagrid>
  126. <input id="ipt_rrgstno1" ref="/root/send/search/rrgstno1" class="input_default" navindex="20" maxlength="6" style="left:331px; top:18; width:100px; height:19px; "/>
  127. <input id="ipt_rrgstno2" ref="/root/send/search/rrgstno2" class="input_default" navindex="20" maxlength="7" style="left:455px; top:18; width:100px; height:19px; "/>
  128. <caption id="caption2" class="search_name" style="left:581px; top:19; width:86px; height:17px; ">성 명 :</caption>
  129. <input id="ipt_name" ref="/root/send/search/name" class="input_default" navindex="20" imemode="hangul" maxlength="20" style="left:666px; top:18; width:123px; height:19px; ">
  130. <script type="javascript" ev:event="onkeyup">
  131. <![CDATA[
  132. inputEnterKey("btn_search", "DOMActivate");
  133. ]]>
  134. </script>
  135. </input>
  136. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" appearance="minimal" style="left:100; top:18; width:120; height:19px; ">
  137. <choices>
  138. <itemset nodeset="/root/main/init">
  139. <label ref="cnstnm"/>
  140. <value ref="cnstcd"/>
  141. </itemset>
  142. </choices>
  143. </select1>
  144. <caption id="caption3" class="search_name" style="left:15px; top:19; width:85px; height:17px; ">기 관 :</caption>
  145. <caption id="caption309" style="left:435px; top:20px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
  146. <select1 id="cmb_instcd_s" ref="/root/send/search/instcd" class="combo_default" visibility="hidden" appearance="minimal" style="left:820px; top:20px; width:120px; height:19px; ">
  147. <choices>
  148. <itemset nodeset="/root/main/init">
  149. <label ref="cnstnm"/>
  150. <value ref="cnstcd"/>
  151. </itemset>
  152. </choices>
  153. </select1>
  154. </group>
  155. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  156. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3; width:56px; height:22px; ">
  157. <caption>저장</caption>
  158. <script type="javascript" ev:event="DOMActivate">
  159. <![CDATA[
  160. var updtdata = getGridUpdateData(grd_insurancemanlist);
  161. if (updtdata == "" ) {
  162. messageBox("변경된 데이터가","I004");
  163. return;
  164. }
  165. if(!checkKeyColumn("grd_insurancemanlist"))return;
  166. var rrgstno1=model.getValue("/root/main/insurancemanlist/rrgstno1");
  167. var rrgstno2=model.getValue("/root/main/insurancemanlist/rrgstno2");
  168. if(rrgstno1.length !=6 || rrgstno2.length !=7){
  169. messageBox("주민등록번호 입력형식이 ","E004");
  170. return;
  171. }
  172. misfSave("TXRPA03101");
  173. ]]>
  174. </script>
  175. </button>
  176. <button id="btn_init" class="btn4_letter3" style="left:1069px; top:3; width:68px; height:22px; ">
  177. <caption>초기화</caption>
  178. <script type="javascript" ev:event="DOMActivate">
  179. <![CDATA[
  180. var updtdata = getGridUpdateData(grd_insurancemanlist);
  181. if (updtdata != "") {
  182. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
  183. if (ret != 6) { // not OK
  184. return;
  185. }
  186. }
  187. fInitialize();
  188. ]]>
  189. </script>
  190. </button>
  191. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  192. </group>
  193. </xhtml:body>
  194. </xhtml:html>