SMRPB10100_발령내역조회.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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. <gvnoffcordspec>
  11. <gvnoffcordspeclist/>
  12. </gvnoffcordspec>
  13. <gvnoffcorddetlspec>
  14. <gvnoffcorddetlspeclist/>
  15. </gvnoffcorddetlspec>
  16. <gvnospecexcel>
  17. <gvnospecexcellist/>
  18. </gvnospecexcel>
  19. </main>
  20. <send>
  21. <gvnoffcordspec>
  22. <prfshipflag/>
  23. <gvnoffcordddfr/>
  24. <gvnoffcordddto/>
  25. <gvnoffcordflag/>
  26. <instcd/>
  27. <deptcd/>
  28. <deptnm/>
  29. <tretyn/>
  30. <gvnoffcorddetlflag/>
  31. <holyordflag/>
  32. </gvnoffcordspec>
  33. <gvnoffcorddetlspec>
  34. <gvnoffcordno/>
  35. <gvnoffcorddd/>
  36. <gvnoffcorddetlflag/>
  37. <instcd/>
  38. </gvnoffcorddetlspec>
  39. </send>
  40. <init>
  41. <combo1>
  42. <label>확정</label>
  43. <value>Y</value>
  44. <label>미확정</label>
  45. <value>N</value>
  46. </combo1>
  47. </init>
  48. <hidden>
  49. <temp/>
  50. </hidden>
  51. </root>
  52. </instance>
  53. <script type="javascript" ev:event="xforms-ready">
  54. <![CDATA[
  55. misfGridInit(grd_gvnoffcordspec);
  56. misfGridInit(grd_gvnoffcorddetlspec);
  57. misfMsterDetailSet(grd_gvnoffcordspec,null, "TRRPB10101" ,"N");
  58. misfMsterDetailSet(grd_gvnoffcorddetlspec,grd_gvnoffcordspec, "TRRPB10102" ,"N");
  59. var curdate = getCurrentDate();
  60. model.setValue(ipt_gvnoffcordfrdd.attribute("ref") , curdate.substr(0,8));
  61. model.setValue(ipt_gvnoffcordtodd.attribute("ref") , curdate.substr(0,8));
  62. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  63. //misfComboComCdListMulti("Z0007,R0058,R0091,R0090", "cmb_instcd,cmb_prfshipflag,cmb_gvnoffcordflag, cmb_gvnoffcorddetlflag");
  64. misfComboComCdListMulti("R0066,R0058,R0091", "cmb_holyordflag,cmb_prfshipflag,cmb_gvnoffcordflag_s");
  65. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N","Y");
  66. addComboItem( "cmb_holyordflag", "전체", "%", "above");
  67. addComboItem( "cmb_prfshipflag", "전체", "%", "above");
  68. addComboItem( "cmb_gvnoffcordflag_s", "전체", "%", "above");
  69. model.setValue(cmb_holyordflag.attribute("ref"), "%");
  70. model.setValue(cmb_prfshipflag.attribute("ref"), "%");
  71. model.setValue(cmb_gvnoffcordflag_s.attribute("ref"), "%");
  72. model.refresh();
  73. ]]>
  74. </script>
  75. <submission id="TRRPB10101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gvnoffcordspec" resultref="/root/main/gvnoffcordspec"/>
  76. <submission id="TRRPB10102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gvnoffcorddetlspec" resultref="/root/main/gvnoffcorddetlspec"/>
  77. <submission id="TRRPB10103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gvnoffcordspec" resultref="/root/main/gvnospecexcel"/>
  78. </model>
  79. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  80. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  82. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  83. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  84. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  85. </xhtml:head>
  86. <xhtml:body style="margin-left:8; margin-right:8; ">
  87. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  88. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">발령내역조회</caption>
  89. </group>
  90. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  91. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:61px; "/>
  92. <caption id="caption2" class="search_name" style="left:336px; top:20px; width:86px; height:17px; ">발령일자 :</caption>
  93. <caption id="caption3" class="search_name" style="left:886px; top:20px; width:86px; height:17px; ">급여분류 :</caption>
  94. <caption id="caption5" class="search_name" visibility="hidden" style="left:675px; top:45px; width:86px; height:17px; ">처리여부 :</caption>
  95. <select1 id="cmb_prfshipflag" ref="/root/send/gvnoffcordspec/prfshipflag" class="combo_default" appearance="minimal" style="left:971px; top:19px; width:115px; height:19px; ">
  96. <choices>
  97. <itemset>
  98. <label/>
  99. <value/>
  100. </itemset>
  101. </choices>
  102. </select1>
  103. <input id="ipt_gvnoffcordfrdd" ref="/root/send/gvnoffcordspec/gvnoffcordddfr" class="input_s_essential" inputtype="date" style="left:421px; top:19px; width:104px; height:19px; ">
  104. <script type="javascript" ev:event="xforms-value-changed">
  105. <![CDATA[
  106. var instcd = cmb_instcd.value;
  107. if( getStringLength(ipt_gvnoffcordfrdd.value) == "8" ) {
  108. model.removeNodeset(cmb_instcd.attribute("ref"));
  109. model.makeNode("/root/send/gvnoffcordspec/instcd");
  110. misfComboInstCdListMulti("cmb_instcd",ipt_gvnoffcordfrdd.value,"","N","Y");
  111. cmb_instcd.value = instcd;
  112. model.refresh();
  113. }
  114. ]]>
  115. </script>
  116. </input>
  117. <input id="ipt_gvnoffcordtodd" ref="/root/send/gvnoffcordspec/gvnoffcordddto" class="input_s_essential" inputtype="date" style="left:546px; top:19px; width:104px; height:19px; "/>
  118. <caption id="caption16" class="search_n_b" style="left:530px; top:21px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  119. <select1 id="cmb_cnfmyn" ref="/root/send/gvnoffcordspec/tretyn" class="combo_default" visibility="hidden" appearance="minimal" style="left:761px; top:44px; width:70px; height:19px; ">
  120. <choices>
  121. <itemset nodeset="/root/init/combo1">
  122. <label ref="label"/>
  123. <value ref="value"/>
  124. </itemset>
  125. </choices>
  126. </select1>
  127. <line id="line1" class="line_1" style="x1:0px; y1:94px; x2:1195px; y2:94px; "/>
  128. <datagrid id="grd_gvnoffcordspec" nodeset="/root/main/gvnoffcordspec/gvnoffcordspeclist" caption="발령번호^발령구분^발령일^확정여부^내용^caption1^caption2" colsep="^" colwidth="100, 143, 132, 85, 504, 34, 42" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:99px; width:1195px; height:272px; ">
  129. <col ref="gvnoffcordno" visibility="hidden"/>
  130. <col ref="gvnoffcordflagnm"/>
  131. <col ref="gvnoffcorddd"/>
  132. <col ref="cnfmyn" visibility="hidden"/>
  133. <col ref="gvnoffcordcnts"/>
  134. <col ref="gvnoffcorddetlflag" visibility="hidden"/>
  135. <col ref="instcd" visibility="hidden"/>
  136. <script type="javascript" ev:event="onrowchanged">
  137. <![CDATA[
  138. misfMsterDetailRetrieve();
  139. model.refresh();
  140. ]]>
  141. </script>
  142. </datagrid>
  143. <caption id="caption4" class="tit_2" style="left:5px; top:80px; width:144px; height:13px; ">Master</caption>
  144. <datagrid id="grd_gvnoffcorddetlspec" nodeset="/root/main/gvnoffcorddetlspec/gvnoffcorddetlspeclist" caption="근무기관(발령전)^근무부서(발령전)^근무기관(발령후)^근무부서(발령후)^사번^성명^직위^직책^신직급^년차^직급^호봉구분^호봉^승급구분^비고" colsep="^" colwidth="119, 136, 140, 133, 85, 77, 100, 100, 54, 57, 56, 65, 52, 100, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:400px; width:1195px; height:334px; ">
  145. <col ref="bfinstnm"/>
  146. <col ref="bfdeptnm"/>
  147. <col ref="instnm"/>
  148. <col ref="deptnm"/>
  149. <col ref="emplno"/>
  150. <col ref="name"/>
  151. <col ref="jobposnm"/>
  152. <col ref="jobrespnm"/>
  153. <col ref="njobgradnm"/>
  154. <col ref="anual" visibility="hidden"/>
  155. <col ref="ojobgradnm"/>
  156. <col ref="payclsprfshipflag" style="text-align:center; "/>
  157. <col ref="payclsnm"/>
  158. <col ref="gradupmm"/>
  159. <col ref="cmt"/>
  160. </datagrid>
  161. <caption id="caption1" class="tit_2" style="left:5px; top:380px; width:144px; height:13px; ">Detail</caption>
  162. <line id="line2" class="line_1" style="x1:0px; y1:395px; x2:1195px; y2:395px; "/>
  163. <select1 id="cmb_instcd" ref="/root/send/gvnoffcordspec/instcd" class="combo_default" appearance="minimal" style="left:100px; top:19px; width:212px; height:19px; ">
  164. <choices>
  165. <itemset>
  166. <label/>
  167. <value/>
  168. </itemset>
  169. </choices>
  170. </select1>
  171. <caption id="caption7" class="search_name" style="left:15px; top:20px; width:85px; height:17px; ">기 관 :</caption>
  172. <caption id="caption8" class="search_name" style="left:337px; top:45px; width:85px; height:17px; ">부 서 :</caption>
  173. <caption id="caption9" class="search_name" style="left:15px; top:45px; width:86px; height:17px; ">발령구분 :</caption>
  174. <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1125px; top:29px; width:56px; height:22px; text-align:left; ">
  175. <caption>조회</caption>
  176. <script type="javascript" ev:event="DOMActivate">
  177. <![CDATA[
  178. if(ipt_gvnoffcordfrdd.value=="" || ipt_gvnoffcordtodd.value ==""){
  179. messageBox("발령일자는를","C001");
  180. return;
  181. }
  182. misfMsterDetailRetrieve();
  183. ]]>
  184. </script>
  185. </button>
  186. <line id="line3" class="line_4" style="x1:1110px; y1:18px; x2:1110px; y2:61px; border-color:#ffe4bb; border-left-style:solid; "/>
  187. <button id="btn_deptcdhelp" class="icon_search" style="left:528px; top:45px; width:16px; height:16px; ">
  188. <caption/>
  189. <script type="javascript" ev:event="DOMActivate">
  190. <![CDATA[
  191. var recv_list = "deptcd,deptnm";
  192. var instcd = cmb_instcd.value;
  193. rpbfOpenDeptCdHelp(ipt_deptcd,recv_list,instcd,"instcd");
  194. model.refresh();
  195. ]]>
  196. </script>
  197. </button>
  198. <input id="ipt_deptnm" ref="/root/send/gvnoffcordspec/deptnm" class="input_default" style="left:546px; top:44px; width:104px; height:19px; "/>
  199. <input id="ipt_deptcd" ref="/root/send/gvnoffcordspec/deptcd" class="input_default" style="left:421px; top:44px; width:104px; height:19px; "/>
  200. <button id="btn_excelsaveall" class="btn2_letter6" style="left:1106px; top:73px; width:86px; height:19px; ">
  201. <caption>전체엑셀저장</caption>
  202. <script type="javascript" ev:event="DOMActivate">
  203. <![CDATA[
  204. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  205. if (fileName != "")
  206. {
  207. var param = "&prfshipflag=" + model.getValue("/root/send/gvnoffcordspec/prfshipflag");
  208. param += "&gvnoffcordddfr=" + model.getValue("/root/send/gvnoffcordspec/gvnoffcordddfr");
  209. param += "&gvnoffcordddto=" + model.getValue("/root/send/gvnoffcordspec/gvnoffcordddto");
  210. param += "&gvnoffcordflag=" + model.getValue("/root/send/gvnoffcordspec/gvnoffcordflag");
  211. param += "&instcd=" + model.getValue("/root/send/gvnoffcordspec/instcd");
  212. param += "&deptcd=" + model.getValue("/root/send/gvnoffcordspec/deptcd");
  213. param += "&tretyn=" + model.getValue("/root/send/gvnoffcordspec/tretyn");
  214. param += "&gvnoffcorddetlflag=" + model.getValue("/root/send/gvnoffcordspec/gvnoffcorddetlflag");
  215. param += "&holyordflag=" + model.getValue("/root/send/gvnoffcordspec/holyordflag");
  216. model.download(getActionURL("TRRPB10103") + param, fileName, true);
  217. window.exec(fileName);
  218. }
  219. ]]>
  220. </script>
  221. </button>
  222. <caption id="caption11" class="search_name" style="left:675px; top:20px; width:86px; height:17px; ">직원구분 :</caption>
  223. <select1 id="cmb_holyordflag" ref="/root/send/gvnoffcordspec/holyordflag" class="combo_default" navindex="6" appearance="minimal" style="left:761px; top:19px; width:95px; height:19px; ">
  224. <choices>
  225. <itemset>
  226. <label/>
  227. <value/>
  228. </itemset>
  229. </choices>
  230. </select1>
  231. <select1 id="cmb_gvnoffcorddetlflag_s" ref="/root/send/gvnoffcordspec/gvnoffcorddetlflag" class="combo_default" navindex="4" appearance="minimal" style="left:202px; top:44px; width:110px; height:19px; ">
  232. <choices>
  233. <itemset>
  234. <label/>
  235. <value/>
  236. </itemset>
  237. </choices>
  238. </select1>
  239. <select1 id="cmb_gvnoffcordflag_s" ref="/root/send/gvnoffcordspec/gvnoffcordflag" class="combo_s_essential" navindex="3" appearance="minimal" style="left:100px; top:44px; width:100px; height:19px; ">
  240. <choices>
  241. <itemset>
  242. <label/>
  243. <value/>
  244. </itemset>
  245. </choices>
  246. <script type="javascript" ev:event="xforms-value-changed">
  247. <![CDATA[
  248. /* 발령구분 선택시 발령 세부구분 자료를 Setting,한다 */
  249. var gvnoffcordflag = model.getValue(cmb_gvnoffcordflag_s.attribute("ref"));
  250. rpbfComboGvnoffOrddetl(gvnoffcordflag, "cmb_gvnoffcorddetlflag_s");
  251. //misfComboCopyItemSet(cmb_gvnoffcorddetlflag_s, "", grd_gvnoffcordmastlist, "gvnoffcorddetlflag");
  252. ]]>
  253. </script>
  254. </select1>
  255. <button id="btn_excelsave" class="btn2_letter4" style="left:1127px; top:373px; width:64px; height:19px; ">
  256. <caption>엑셀저장</caption>
  257. <script type="javascript" ev:event="DOMActivate">
  258. <![CDATA[
  259. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  260. if (fileName != "")
  261. {
  262. grd_gvnoffcorddetlspec.saveExcel(fileName);
  263. window.exec(fileName);
  264. }
  265. ]]>
  266. </script>
  267. </button>
  268. </group>
  269. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  270. <button id="btn_print" class="btn6_letter9" visibility="hidden" style="left:0px; top:3px; width:140px; height:22px; ">
  271. <caption>시용근무평가서출력</caption>
  272. </button>
  273. <button id="btn_gvnprint" class="btn6_letter5" visibility="hidden" style="left:141px; top:3px; width:92px; height:22px; ">
  274. <caption>발령장출력</caption>
  275. </button>
  276. <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  277. </group>
  278. </xhtml:body>
  279. </xhtml:html>