SMRPA00200_휴양소신청.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  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. <gvnoffcorddetl>
  11. <gvnoffcorddetllist/>
  12. </gvnoffcorddetl>
  13. <gvnoffcorddetldata>
  14. <gvnoffcorddetllist/>
  15. </gvnoffcorddetldata>
  16. <rpsplcelist>
  17. <emplno/>
  18. <seqno/>
  19. <rpsplceuseyy/>
  20. <rpsplcecd/>
  21. <instcd/>
  22. <acompstcnt/>
  23. <acompstrel/>
  24. <intphno/>
  25. <tretyn/>
  26. <aprvyn/>
  27. <cmt/>
  28. <emplnm/>
  29. </rpsplcelist>
  30. </main>
  31. <send>
  32. <rpsplcelist/>
  33. </send>
  34. <temp/>
  35. </root>
  36. </instance>
  37. <script type="javascript">
  38. <![CDATA[
  39. var GVN_TARGET_NODE = "/root/main/gvnoffcorddetldata";
  40. var GVN_SOURCE_NODE = "/root/main/gvnoffcorddetl";
  41. ]]>
  42. </script>
  43. <script type="javascript" ev:event="xforms-ready">
  44. <![CDATA[
  45. misfGridInit(grd_gvnoffcorddetllist);
  46. var userid =getUserInfo("userid");
  47. var usernm=getUserInfo("usernm");
  48. var instcdnm = getUserInfo("dutplceinstnm");
  49. var deptnm = getUserInfo("dutplcenm");
  50. ipt_emplno.value=userid;
  51. ipt_emplno_i.value=userid;
  52. ipt_emplnm.value=usernm;
  53. ipt_emplnm_i.value=usernm;
  54. ipt_posdeptnm.value=deptnm;
  55. ipt_posinstnm.value=instcdnm;
  56. model.refresh();
  57. ]]>
  58. </script>
  59. <submission id="TXRPA00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  60. <submission id="TRRPA00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rpsplcelist"/>
  61. </model>
  62. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  64. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  65. <script type="javascript" src="../../../mis/pubwelfmngtweb/js/RPS001.js"/>
  66. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  67. <script type="javascript">
  68. <![CDATA[
  69. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  70. function fInitialize() {
  71. model.removeNodeset("/root/main/gvnoffcorddetl/gvnoffcorddetllist");
  72. model.resetInstanceNode("/root/main/rpsplcelist");
  73. model.refresh();
  74. }
  75. function fDeleteSelectedRows(grd,markonly) {
  76. var rowIdx;
  77. if (grd.selectedRows > 0) {
  78. var selectedRows = Array(grd.selectedRows);
  79. for(i=0;i<grd.selectedRows;i++) {
  80. selectedRows[i] = grd.selectedRow(i);
  81. }
  82. if (markonly != null && markonly == true) { // mark delete
  83. for(i=selectedRows.length-1;i>=0;i--) {
  84. rowIdx = selectedRows[i];
  85. if(grd.rowstatus(rowIdx) == 1 ) { // just inserted row
  86. grd.deleterow(rowIdx,false);
  87. } else {
  88. grd.addStatus(rowIdx,"delete");
  89. }
  90. }
  91. } else {
  92. for(i=selectedRows.length-1;i>=0;i--) {
  93. rowIdx = selectedRows[i];
  94. grd.deleterow(rowIdx,false);
  95. }
  96. }
  97. }
  98. }
  99. ]]>
  100. </script>
  101. </xhtml:head>
  102. <xhtml:body>
  103. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  104. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">휴양소신청</caption>
  105. </group>
  106. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  107. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  108. <line id="line205" class="line_2" style="x1:0px; y1:120px; x2:304px; y2:120px; "/>
  109. <line id="line206" class="line_2" style="x1:0px; y1:144px; x2:304px; y2:144px; "/>
  110. <line id="line1" class="line_2" style="x1:0px; y1:168px; x2:304px; y2:168px; "/>
  111. <line id="line204" class="line_2" style="x1:0px; y1:96px; x2:304px; y2:96px; "/>
  112. <line id="line203" class="line_1" style="x1:0px; y1:69px; x2:304px; y2:69px; "/>
  113. <line id="line2" class="line_2" style="x1:0px; y1:240px; x2:304px; y2:240px; "/>
  114. <line id="line3" class="line_2" style="x1:0px; y1:288px; x2:304px; y2:288px; "/>
  115. <line id="line4" class="line_2" style="x1:0px; y1:312px; x2:304px; y2:312px; "/>
  116. <button id="button1" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  117. <caption>조회</caption>
  118. <script type="javascript" ev:event="DOMActivate">
  119. <![CDATA[
  120. if(ipt_emplno_i.value!=""){
  121. submit("TRRPA00201");
  122. }
  123. ]]>
  124. </script>
  125. </button>
  126. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  127. <line id="line5" class="line_3" style="x1:0px; y1:384px; x2:304px; y2:384px; "/>
  128. <line id="line6" class="line_2" style="x1:0px; y1:336px; x2:304px; y2:336px; "/>
  129. <line id="line7" class="line_2" style="x1:0px; y1:360px; x2:304px; y2:360px; "/>
  130. <line id="line8" class="line_2" style="x1:0px; y1:192px; x2:304px; y2:192px; "/>
  131. <line id="line9" class="line_2" style="x1:0px; y1:216px; x2:304px; y2:216px; "/>
  132. <caption id="caption5" class="search_name" style="left:15px; top:19px; width:85px; height:17px; ">사 번 :</caption>
  133. <input id="ipt_emplnm_i" ref="/root/main/rpsplcelist/emplnm" class="input_default" disabled="true" style="left:168px; top:75px; width:125px; height:19px; "/>
  134. <line id="line10" class="line_2" style="x1:0px; y1:264px; x2:304px; y2:264px; "/>
  135. <input id="input7" class="input_default" style="left:85px; top:220px; width:220px; height:19px; "/>
  136. <input id="input8" class="input_default" style="left:85px; top:196px; width:70px; height:19px; "/>
  137. <caption id="caption1" class="search_n_b" style="left:189px; top:149px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  138. <input id="input11" class="input_default" style="left:85px; top:292px; width:220px; height:19px; "/>
  139. <caption id="caption10" class="cell_1" style="left:0px; top:266px; width:82px; height:23px; vertical-align:middle; ">동반자수</caption>
  140. <caption id="caption2" class="cell_1" style="left:0px; top:338px; width:82px; height:23px; vertical-align:middle; ">처리여부</caption>
  141. <input id="input12" class="input_default" style="left:85px; top:316px; width:220px; height:19px; "/>
  142. <caption id="caption11" class="cell_1" style="left:0px; top:122px; width:82px; height:23px; vertical-align:middle; ">직위</caption>
  143. <caption id="caption3" class="cell_1" style="left:0px; top:362px; width:82px; height:23px; vertical-align:middle; ">비고</caption>
  144. <select1 id="combo2" class="combo_default" appearance="minimal" style="left:85px; top:172px; width:220px; height:19px; ">
  145. <choices>
  146. <item>
  147. <label>combo1</label>
  148. <value>combo1</value>
  149. </item>
  150. </choices>
  151. </select1>
  152. <caption id="caption12" class="cell_1" style="left:0px; top:170px; width:82px; height:23px; vertical-align:middle; ">휴양시설명</caption>
  153. <caption id="caption13" class="cell_1" style="left:0px; top:290px; width:82px; height:23px; vertical-align:middle; ">관계</caption>
  154. <caption id="caption4" class="cell_1" style="left:0px; top:242px; width:82px; height:23px; vertical-align:middle; ">가격</caption>
  155. <caption id="caption14" class="cell_1" style="left:0px; top:314px; width:82px; height:23px; vertical-align:middle; ">구내전화번호</caption>
  156. <input id="input15" class="input_default" style="left:85px; top:268px; width:220px; height:19px; "/>
  157. <caption id="caption283" class="tit_2" style="left:5px; top:54px; width:134px; height:13px; ">휴양시설이용신청서</caption>
  158. <caption id="caption15" class="cell_1" style="left:0px; top:194px; width:82px; height:23px; vertical-align:middle; ">숙박일</caption>
  159. <input id="input1" class="input_s_essential" inputtype="date" style="left:85px; top:148px; width:100px; height:19px; "/>
  160. <caption id="caption16" style="left:156px; top:196px; width:30px; height:20px; vertical-align:middle; ">일</caption>
  161. <caption id="caption7" class="cell_1" style="left:0px; top:218px; width:82px; height:23px; vertical-align:middle; ">평형</caption>
  162. <input id="input2" class="input_s_essential" inputtype="date" style="left:205px; top:148px; width:100px; height:19px; "/>
  163. <input id="input3" class="input_default" style="left:85px; top:364px; width:220px; height:19px; "/>
  164. <select1 id="radio4" ref="/root/hidden/refe/acptgbn" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:85px; top:341px; width:110px; height:16px; text-align:center; border-style:none; ">
  165. <choices>
  166. <item>
  167. <label>승인</label>
  168. <value>M</value>
  169. </item>
  170. <item>
  171. <label>미승인</label>
  172. <value>F</value>
  173. </item>
  174. </choices>
  175. </select1>
  176. <caption id="caption17" class="cell_1" style="left:0px; top:146px; width:82px; height:23px; vertical-align:middle; ">신청기간</caption>
  177. <caption id="caption8" class="cell_1" style="left:0px; top:74px; width:82px; height:23px; vertical-align:middle; ">사번</caption>
  178. <caption id="caption9" class="cell_1" style="left:0px; top:98px; width:82px; height:23px; vertical-align:middle; ">근무기관</caption>
  179. <input id="input6" class="input_default" style="left:85px; top:244px; width:220px; height:19px; "/>
  180. <datagrid id="grd_gvnoffcorddetllist" nodeset="/root/main/gvnoffcorddetl/gvnoffcorddetllist" visibility="hidden" caption="사번^성명^기관^기관코드^부서^직위명" colsep="^" colwidth="68, 89, 88, 100, 68, 68" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:330px; top:80px; width:410px; height:81px; ">
  181. <col ref="emplno" type="output"/>
  182. <col ref="emplnm" type="output"/>
  183. <col ref="dutplceinstnm" type="output"/>
  184. <col ref="dutplceinst"/>
  185. <col ref="posdeptnm" type="output"/>
  186. <col ref="jobposnm" type="output"/>
  187. </datagrid>
  188. <input id="ipt_emplnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/emplnm" class="input_essential" disabled="true" navindex="21" style="left:195px; top:18px; width:125px; height:19px; ">
  189. <script type="javascript" ev:event="xforms-value-changed">
  190. <![CDATA[
  191. var emplnm = ipt_emplnm.value;
  192. if (grd_gvnoffcorddetllist.rowStatus(grd_gvnoffcorddetllist.row) != "1") {
  193. misfGridIUD(grd_gvnoffcorddetllist, "A");
  194. model.copyNode(GVN_TARGET_NODE + "/gvnoffcorddetllist" ,GVN_SOURCE_NODE + "/gvnoffcorddetllist[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]" );
  195. //rpbfGvnoffcordEditYNSet(grd_gvnoffcordcdlist.nodeset, GVN_TARGET_NODE + "/gvnoffcorddetllist");
  196. }
  197. model.setValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/emplnm", emplnm);
  198. /* 인사정보 Validation Check
  199. misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  200. var recv_list = "emplno,emplnm,dutplceinstnm,dutplceinst,posdeptnm,jobposnm";
  201. rpbfValidationCheck("EMPLNM", recv_list);
  202. model.refresh();
  203. ]]>
  204. </script>
  205. </input>
  206. <input id="ipt_emplno" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/emplno" class="input_essential" navindex="20" style="left:100px; top:18px; width:69px; height:19px; ">
  207. <script type="javascript" ev:event="xforms-value-changed">
  208. <![CDATA[
  209. /* 인사정보 Validation Check
  210. misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  211. var emplno = ipt_emplno.value;
  212. if (grd_gvnoffcorddetllist.rowStatus(grd_gvnoffcorddetllist.row) != "1") {
  213. misfGridIUD(grd_gvnoffcorddetllist, "A");
  214. model.copyNode(GVN_TARGET_NODE + "/gvnoffcorddetllist" ,GVN_SOURCE_NODE + "/gvnoffcorddetllist[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]" );
  215. // rpbfGvnoffcordEditYNSet(grd_gvnoffcordcdlist.nodeset, GVN_TARGET_NODE + "/gvnoffcorddetllist");
  216. }
  217. model.setValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/emplno", emplno);
  218. var recv_list = "emplno,emplnm,dutplceinstnm,dutplceinst,posdeptnm,jobposnm";
  219. rpbfValidationCheck("EMPLNO", recv_list);
  220. model.refresh();
  221. fInitialize()
  222. ipt_emplno_i.value=ipt_emplno.value;
  223. ipt_emplnm_i.value=ipt_emplnm.value;
  224. ]]>
  225. </script>
  226. </input>
  227. <button id="btn_emplsearch" class="icon_search" style="left:175px; top:20px; width:16px; height:16px; ">
  228. <caption/>
  229. <script type="javascript" ev:event="DOMActivate">
  230. <![CDATA[
  231. /* 사원번호 Help 화면 Open
  232. misfOpenPopUpList(화면종류Code, OPEN하는 Control, 공통코드, 리턴받을 Instance명) */
  233. if (grd_gvnoffcorddetllist.rowStatus(grd_gvnoffcorddetllist.row) != "1") {
  234. misfGridIUD(grd_gvnoffcorddetllist, "A");
  235. model.copyNode(GVN_TARGET_NODE + "/gvnoffcorddetllist" ,GVN_SOURCE_NODE + "/gvnoffcorddetllist[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]" );
  236. // rpbfGvnoffcordEditYNSet(grd_gvnoffcordcdlist.nodeset, GVN_TARGET_NODE + "/gvnoffcorddetllist");
  237. }
  238. var recv_list = "emplno,emplnm,dutplceinstnm,dutplceinst,posdeptnm,jobposnm";
  239. rpbfOpenPopUpList("SMRPA03000", ipt_emplno, recv_list,"","N");
  240. model.refresh();
  241. fInitialize()
  242. ipt_emplno_i.value=ipt_emplno.value;
  243. ipt_emplnm_i.value=ipt_emplnm.value;
  244. ]]>
  245. </script>
  246. </button>
  247. <input id="ipt_emplno_i" ref="/root/main/rpsplcelist/emplno" class="input_default" disabled="true" style="left:85px; top:75px; width:75px; height:19px; "/>
  248. <input id="ipt_dutplceinstnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/dutplceinstnm" class="input_default" disabled="true" style="left:85px; top:99px; width:208px; height:19px; "/>
  249. <input id="ipt_jobposnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/jobposnm" class="input_default" disabled="true" style="left:85px; top:123px; width:208px; height:19px; "/>
  250. <input id="ipt_posdeptnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/posdeptnm" class="input_default" visibility="hidden" style="left:330px; top:55px; width:208px; height:19px; "/>
  251. <input id="ipt_seqno" ref="/root/main/rpsplcelist/seqno" class="input_default" style="left:320px; top:195px; width:70px; height:19px; "/>
  252. <input id="ipt_dutplceinst" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/dutplceinst" class="input_default" disabled="true" style="left:405px; top:195px; width:208px; height:19px; "/>
  253. </group>
  254. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  255. <button id="button8" class="btn3_letter4" style="left:0px; top:3px; width:80px; height:22px; ">
  256. <caption>화면이동</caption>
  257. </button>
  258. <button id="button36" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
  259. <caption>입력</caption>
  260. </button>
  261. <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  262. </group>
  263. </xhtml:body>
  264. </xhtml:html>