SMRWP22001_가족수당신청현황.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  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. <fmlyheader>
  11. <emplno/>
  12. <emplnm/>
  13. <empfirsebornyn/>
  14. <empmarryyn/>
  15. <spousejob/>
  16. <spousephone/>
  17. <rregno/>
  18. <jobkindcd/>
  19. <jobkindnm/>
  20. <jobposcd/>
  21. <jobposnm/>
  22. <dutplcedeptcd/>
  23. <dutplcedeptnm/>
  24. <fstappntdd/>
  25. <retiredd/>
  26. <residncaddr/>
  27. <residnczipcd1/>
  28. <residnczipcd2/>
  29. <mpphonno/>
  30. <cntctel/>
  31. <hosinseqno/>
  32. <chkaprl/>
  33. </fmlyheader>
  34. </main>
  35. <send>
  36. <save>
  37. </save>
  38. <emplno/>
  39. <emplnm/>
  40. <dutunitcd/>
  41. <dutunitnm/>
  42. <srchfrmdd/>
  43. <srchendd/>
  44. <srchaprlflag/>
  45. <data2>
  46. <emplno/>
  47. </data2>
  48. </send>
  49. <temp>
  50. <data2/>
  51. </temp>
  52. <init>
  53. </init>
  54. <hidden>
  55. <savelist>
  56. <fmlyheader/>
  57. </savelist>
  58. </hidden>
  59. </root>
  60. </instance>
  61. <submission id="TRRWP22002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main"/>
  62. <submission id="TXRWP22003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/savelist" replace="instance" resultref="/root/temp"/>
  63. </model>
  64. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  65. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  66. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  67. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  68. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  69. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  70. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  71. <script type="javascript" ev:event="xforms-ready">
  72. <![CDATA[
  73. fInitialize();
  74. ]]>
  75. </script>
  76. <script type="javascript">
  77. <![CDATA[
  78. function fInitialize()
  79. {
  80. misfGridInit(dtg_fmlyheader);
  81. model.setValue("/root/send/srchfrmdd", getCurrentDate().substring(0,6)+"01" );
  82. model.setValue("/root/send/srchendd", getCurrentDate() );
  83. model.setValue("/root/send/srchaprlflag", "" );
  84. misfComboComCdListMulti("R0077","dtg_fmlyheader.relation");
  85. var logindeptcd = getUserInfo("dutplcecd");
  86. var loginid = getUserInfo("userid");
  87. if( logindeptcd == "4020323000" || logindeptcd == "4020327000" || loginid == "97089" ){ //4020300000
  88. btn_save.disabled = false;
  89. }else{
  90. btn_save.disabled = true;
  91. }
  92. btn_search.dispatch("DOMActivate");
  93. model.refresh();
  94. }
  95. function fSave(){
  96. var len = getNodesetCount("/root/main/fmlymaster");
  97. var updtdata_h = getGridUpdateData(dtg_fmlyheader);
  98. if (updtdata_h == "" ){
  99. messageBox("변경된 데이터가","I004");
  100. return;
  101. }
  102. model.makeValue("/root/hidden/savelist/fmlyheader",dtg_fmlyheader.getUpdateData() );
  103. if( submit("TXRWP22003") ){
  104. messageBox("저장되었습니다.", "I000");
  105. btn_search.dispatch("DOMActivate");
  106. }
  107. model.refresh();
  108. }
  109. ]]>
  110. </script>
  111. </xhtml:head>
  112. <xhtml:body style="margin-left:8; margin-right:8; ">
  113. <group id="group2" scroll="auto" style="left:0px; top:25px; width:1195px; height:744px; ">
  114. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:2px; width:1195px; height:40px; "/>
  115. <line id="line207" class="line_1" style="x1:0px; y1:71px; x2:1192px; y2:70px; "/>
  116. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1113px; top:10px; width:56px; height:22px; text-align:left; ">
  117. <caption>조회</caption>
  118. <script type="javascript" ev:event="DOMActivate">
  119. <![CDATA[
  120. if(model.getValue("/root/send/srchfrmdd") == "" || model.getValue("/root/send/srchendd") == "" )
  121. {
  122. messageBox("조회 신청기간은 필수입력입니다.", "E999");
  123. return;
  124. }
  125. submit("TRRWP22002");
  126. model.refresh();
  127. ]]>
  128. </script>
  129. </button>
  130. <line id="line3" class="line_4" style="x1:1080px; y1:8px; x2:1080px; y2:36px; border-color:#ffe4bb; border-left-style:solid; "/>
  131. <datagrid id="dtg_fmlyheader" nodeset="/root/main/fmlyheader" caption="신청일자^신청구분^사원번호^사원명^부서명^가족관계^가족명^신고사유^승인여부^승인일자^승인자^비고^부서코드" colsep="^" colwidth="100, 59, 79, 82, 130, 72, 79, 137, 69, 100, 100, 145, 100, 100, 100" dataheight="25" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:73px; width:1193px; height:667px; ">
  132. <col disabled="true" ref="aplctndate" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  133. <col disabled="true" ref="aplctnflag" type="combo" style="text-align:center; ">
  134. <choices>
  135. <item>
  136. <label>추가</label>
  137. <value>1</value>
  138. </item>
  139. <item>
  140. <label>상실</label>
  141. <value>2</value>
  142. </item>
  143. </choices>
  144. </col>
  145. <col disabled="true" ref="emplno" style="text-align:center; "/>
  146. <col disabled="true" ref="emplnm" style="text-align:center; "/>
  147. <col disabled="true" ref="dutplcedeptnm" style="text-align:center; "/>
  148. <col disabled="true" editmode="inputsearch" ref="relation" type="combo" style="text-align:center; ">
  149. <choices>
  150. <itemset>
  151. <label/>
  152. <value/>
  153. </itemset>
  154. </choices>
  155. </col>
  156. <col disabled="true" ref="relname" style="text-align:center; "/>
  157. <col disabled="true" ref="reason" style="text-align:left; "/>
  158. <col ref="approveflag" type="combo" style="text-align:center; ">
  159. <choices>
  160. <item>
  161. <label>확인완료</label>
  162. <value>Y</value>
  163. </item>
  164. <item>
  165. <label>확인중</label>
  166. <value>N</value>
  167. </item>
  168. </choices>
  169. </col>
  170. <col disabled="true" ref="approvedate" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  171. <col disabled="true" ref="approver" style="text-align:center; "/>
  172. <col disabled="true" ref="note" style="text-align:left; "/>
  173. <col ref="approverid" visibility="hidden" style="text-align:center; "/>
  174. <col ref="dutplcedeptcd" visibility="hidden"/>
  175. <col ref="rregno" visibility="hidden"/>
  176. <script type="javascript" ev:event="xforms-value-changed">
  177. <![CDATA[
  178. if( dtg_fmlyheader.colAttribute(dtg_fmlyheader.col,"ref") == "approveflag" ){
  179. if( model.getValue( "/root/main/fmlyheader[" + dtg_fmlyheader.row + "]/approveflag") == "1"){ //확인완료
  180. model.setValue( "/root/main/fmlyheader[" + dtg_fmlyheader.row + "]/approvedate", getCurrentDate());
  181. model.setValue( "/root/main/fmlyheader[" + dtg_fmlyheader.row + "]/approverid", getUserInfo("userid"));
  182. model.setValue( "/root/main/fmlyheader[" + dtg_fmlyheader.row + "]/approver", getUserInfo("usernm"));
  183. }else{
  184. model.setValue( "/root/main/fmlyheader[" + dtg_fmlyheader.row + "]/approvedate", "" );
  185. model.setValue( "/root/main/fmlyheader[" + dtg_fmlyheader.row + "]/approverid", "" );
  186. model.setValue( "/root/main/fmlyheader[" + dtg_fmlyheader.row + "]/approver", "" );
  187. }
  188. }
  189. ]]>
  190. </script>
  191. <script type="javascript" ev:event="ondblclick">
  192. <![CDATA[
  193. model.setValue("/root/send/data2/emplno", model.getValue("/root/main/fmlyheader[" + dtg_fmlyheader.row + "]/emplno"));
  194. modal("../../../mis/paybnusmngtweb/xrw/SMRWP22000", "1","150", "150", "SMRWP22000", "/root/send/data2", "/root/temp/data2");
  195. ]]>
  196. </script>
  197. </datagrid>
  198. <caption id="caption1" class="search_name" style="left:395px; top:14px; width:86px; height:17px; ">사원번호 :</caption>
  199. <input id="ipt_emplnm" ref="/root/send/emplnm" class="input_search" disabled="true" navindex="3" style="left:580px; top:12px; width:150px; height:19px; "/>
  200. <button id="btn_emplno" class="icon_search" style="left:560px; top:13px; width:16px; height:16px; ">
  201. <caption/>
  202. <script type="javascript" ev:event="DOMActivate">
  203. <![CDATA[
  204. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm,dutunitcd,dutunitnm", "", "N");
  205. model.refresh();
  206. ]]>
  207. </script>
  208. </button>
  209. <input id="ipt_emplno" ref="/root/send/emplno" class="input_search" navindex="3" style="left:486px; top:12px; width:70px; height:19px; text-align:center; ">
  210. <script type="javascript" ev:event="onkeypress">
  211. <![CDATA[
  212. if(event.keyCode == 13)
  213. {
  214. if(ipt_emplno.value == ipt_emplno.currentText) return;
  215. ipt_emplno.value = ipt_emplno.currentText;
  216. rpbfValidationCheck("EMPLNO", "emplno,emplnm,dutunitcd,dutunitnm");
  217. model.refresh();
  218. // btn_search.dispatch("DOMActivate");
  219. }
  220. ]]>
  221. </script>
  222. <script type="javascript" ev:event="xforms-value-changed">
  223. <![CDATA[
  224. rpbfValidationCheck("EMPLNO", "emplno,emplnm,dutunitcd,dutunitnm");
  225. model.refresh();
  226. // btn_search.dispatch("DOMActivate");
  227. ]]>
  228. </script>
  229. </input>
  230. <caption id="caption15" class="tit_2" style="left:0px; top:50px; width:230px; height:13px; ">부양가족수당 신청현황LIST</caption>
  231. <caption id="caption2" class="search_name" style="left:20px; top:15px; width:90px; height:17px; ">신청기간 :</caption>
  232. <input id="ipt_enddd" ref="/root/send/srchendd" class="input_s_essential" navindex="14" inputtype="date" style="left:247px; top:12px; width:110px; height:19px; "/>
  233. <caption id="caption3" style="left:224px; top:11px; width:20px; height:25px; font-size:10pt; font-weight:bold; text-align:center; ">~</caption>
  234. <input id="ipt_fromdd" ref="/root/send/srchfrmdd" class="input_s_essential" navindex="14" inputtype="date" style="left:111px; top:12px; width:110px; height:19px; "/>
  235. <caption id="caption4" class="search_name" style="left:755px; top:14px; width:140px; height:17px; ">총무팀확인여부 :</caption>
  236. <select1 id="cmb_aprlflag" ref="/root/send/srchaprlflag" class="combo_search" navindex="1" appearance="minimal" style="left:890px; top:11px; width:100px; height:19px; ">
  237. <choices>
  238. <item>
  239. <label>전체</label>
  240. <value/>
  241. </item>
  242. <item>
  243. <label>확인완료</label>
  244. <value>Y</value>
  245. </item>
  246. <item>
  247. <label>확인중</label>
  248. <value>N</value>
  249. </item>
  250. </choices>
  251. </select1>
  252. </group>
  253. <group id="grp_btn" scroll="auto" style="left:0px; top:0px; width:1195px; height:27px; ">
  254. <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  255. <button id="btn_save" class="btn4_letter2" navindex="5" style="left:1135px; top:3px; width:56px; height:22px; ">
  256. <caption>저장</caption>
  257. <script type="javascript" ev:event="DOMActivate">
  258. <![CDATA[
  259. fSave();
  260. ]]>
  261. </script>
  262. </button>
  263. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:13px; ">부양가족수당 신청현황</caption>
  264. <button id="button6" class="btn4_letter5" navindex="5" style="left:1041px; top:3px; width:92px; height:22px; ">
  265. <caption>신청HELP</caption>
  266. <script type="javascript" ev:event="DOMActivate">
  267. <![CDATA[
  268. modal("SPRWP00907");
  269. ]]>
  270. </script>
  271. </button>
  272. </group>
  273. </xhtml:body>
  274. </xhtml:html>