SMRPB14000_월별신규임용퇴직자현황조회.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <gvnoffcordlist/>
  11. <graph>
  12. <graphlist/>
  13. </graph>
  14. </main>
  15. <init/>
  16. <send>
  17. <search>
  18. <fromdd/>
  19. <instcd/>
  20. <gvnoffcordflag>12</gvnoffcordflag>
  21. <prfshipflag/>
  22. <emplno/>
  23. <emplnm/>
  24. <gvnoffcorddetlflag/>
  25. <todd/>
  26. <unitcd/>
  27. <unitnm/>
  28. <graphflag/>
  29. <nursall/>
  30. </search>
  31. </send>
  32. <hidden/>
  33. </root>
  34. </instance>
  35. <script type="javascript" ev:event="xforms-ready">
  36. <![CDATA[
  37. misfGridInit(grd_gvnoffcord);
  38. misfMsterDetailSet(grd_gvnoffcord,null, "TRRPB14001" ,"Y");
  39. var today = getCurrentDate();
  40. var cur_yymm = parseInt(today.substring(0, 8));
  41. model.setValue("/root/send/search/fromdd", cur_yymm);
  42. model.setValue("/root/send/search/todd", cur_yymm);
  43. misfComboInstCdListMulti("cmb_instcd",ipt_fromdd.value,"","Y","Y");
  44. misfComboComCdListMulti("R0058", "cmb_prfshipflag_s")
  45. makeReportPreview(0,390,1195,370);
  46. ipt_fromdd.refresh();
  47. ipt_todd.refresh();
  48. cmb_instcd.value = getUserInfo("dutplceinstcd");
  49. addComboItem("cmb_prfshipflag_s", "전체", "", "above");
  50. // addComboItem("cmb_instcd", "전체", "", "above");
  51. misfGetAndSetUserInfo();
  52. misfGetUserAuth();
  53. if(PSN_INST_YN != "Y") {
  54. // cmb_instcd.disabled = true;
  55. }
  56. // 간호부일때는 간호부전체 체크박스를 풀수없도록 한다
  57. if ( DUT_DEPT_CD == "3040200000" ) {
  58. chk_nursall.value = 'Y'
  59. chk_nursall.disabled = true;
  60. }
  61. cmb_gvnoffcordflag_s.dispatch("xforms-value-changed");
  62. model.refresh();
  63. ]]>
  64. </script>
  65. <submission id="TRRPB14001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main"/>
  66. <submission id="TRRPB14002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/graph"/>
  67. </model>
  68. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  69. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  70. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  71. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  72. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  73. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  74. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  75. </xhtml:head>
  76. <xhtml:body style="margin-left:8; margin-right:8; ">
  77. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  78. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">월별신규임용퇴직자현황조회</caption>
  79. </group>
  80. <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
  81. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:60; background-color:#fffbf2; border-color:#ffd799; "/>
  82. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:30; width:56px; height:22px; ">
  83. <caption>조회</caption>
  84. <script type="javascript" ev:event="DOMActivate">
  85. <![CDATA[
  86. var fromdd = ipt_fromdd.value;
  87. var todd = ipt_todd.value;
  88. if ( fromdd == null || fromdd == "" ) {
  89. messageBox("발령 시작 조회 일자가 없습니다. 조회 ","E001");
  90. return;
  91. }
  92. if ( todd == null || todd == "" ) {
  93. messageBox("발령 종료 조회 일자가 없습니다. 조회 ","E001");
  94. return;
  95. }
  96. misfMsterDetailRetrieve();
  97. ]]>
  98. </script>
  99. </button>
  100. <line id="line13" class="line_4" style="x1:1120px; y1:15; x2:1120px; y2:65; "/>
  101. <caption id="cap_payinst" class="search_name" style="left:10px; top:45px; width:90px; height:17px; ">기 관 :</caption>
  102. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_s_essential" appearance="minimal" style="left:105px; top:45px; width:125px; height:19px; ">
  103. <choices>
  104. <itemset>
  105. <label/>
  106. <value/>
  107. </itemset>
  108. </choices>
  109. </select1>
  110. <caption id="caption22" class="search_name" style="left:10px; top:19px; width:90px; height:17px; ">기 간 :</caption>
  111. <input id="ipt_fromdd" ref="/root/send/search/fromdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:105px; top:18px; width:95px; height:19px; text-align:center; vertical-align:middle; ">
  112. <script type="javascript" ev:event="xforms-value-changed">
  113. <![CDATA[
  114. var instcd = cmb_instcd.value;
  115. if( getStringLength(ipt_fromdd.value) == "8" ) {
  116. model.removeNodeset(cmb_instcd.attribute("ref"));
  117. model.makeNode("/root/send/search/instcd");
  118. misfComboInstCdListMulti("cmb_instcd",ipt_fromdd.value,"","Y","Y");
  119. cmb_instcd.value = instcd;
  120. model.refresh();
  121. }
  122. ]]>
  123. </script>
  124. </input>
  125. <caption id="caption28" class="tit_2" style="left:5px; top:78px; width:265px; height:13px; ">월별신규임용퇴직자현황조회</caption>
  126. <line id="line193" class="line_1" style="x1:0; y1:96px; x2:1195; y2:96px; "/>
  127. <caption id="caption1" style="left:200px; top:18px; width:15px; height:20px; text-align:center; ">~</caption>
  128. <input id="ipt_todd" ref="/root/send/search/todd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:215px; top:18px; width:95px; height:19px; text-align:center; vertical-align:middle; "/>
  129. <caption id="caption2" class="search_name" style="left:360px; top:19px; width:95px; height:17px; ">발령 구분 :</caption>
  130. <select1 id="cmb_gvnoffcorddetlflag_s" ref="/root/send/search/gvnoffcorddetlflag" class="combo_search" navindex="4" appearance="minimal" style="left:552px; top:18px; width:146px; height:19px; ">
  131. <choices>
  132. <itemset>
  133. <label/>
  134. <value/>
  135. </itemset>
  136. </choices>
  137. </select1>
  138. <select1 id="cmb_gvnoffcordflag_s" ref="/root/send/search/gvnoffcordflag" class="combo_s_essential" navindex="3" appearance="minimal" style="left:455px; top:18px; width:95px; height:19px; ">
  139. <choices>
  140. <item>
  141. <label>신규임용</label>
  142. <value>12</value>
  143. </item>
  144. <item>
  145. <label>퇴직발령</label>
  146. <value>05</value>
  147. </item>
  148. </choices>
  149. <script type="javascript" ev:event="xforms-value-changed">
  150. <![CDATA[
  151. /* 발령구분 선택시 발령 세부구분 자료를 Setting,한다 */
  152. var gvnoffcordflag = model.getValue(cmb_gvnoffcordflag_s.attribute("ref"));
  153. rpbfComboGvnoffOrddetl(gvnoffcordflag, "cmb_gvnoffcorddetlflag_s");
  154. addComboItem("cmb_gvnoffcorddetlflag_s", "전체", "", "above");
  155. cmb_gvnoffcorddetlflag_s.select(0);
  156. cmb_gvnoffcorddetlflag_s.refresh();
  157. ]]>
  158. </script>
  159. </select1>
  160. <caption id="cap_dutunitcd" class="search_name" style="left:360px; top:45px; width:95px; height:17px; ">부 서 :</caption>
  161. <select1 id="cmb_prfshipflag_s" ref="/root/send/search/prfshipflag" class="combo_search" navindex="7" appearance="minimal" style="left:840px; top:18px; width:115px; height:19px; ">
  162. <choices>
  163. <itemset>
  164. <label/>
  165. <value/>
  166. </itemset>
  167. </choices>
  168. </select1>
  169. <caption id="caption49" class="search_name" style="left:745px; top:19px; width:91px; height:17px; ">급여 분류 :</caption>
  170. <caption id="caption3" class="search_name" style="left:745px; top:45px; width:95px; height:17px; ">사 번 :</caption>
  171. <button id="button3" class="icon_search" style="left:909px; top:46px; width:16px; height:16px; ">
  172. <caption/>
  173. <script type="javascript" ev:event="DOMActivate">
  174. <![CDATA[
  175. var recv_list = "emplno,emplnm";
  176. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  177. // ipt_emplno_search.value = "";
  178. // ipt_emplnm_search.value = "";
  179. ipt_emplno.dispatch("xforms-value-changed");
  180. model.refresh();
  181. ]]>
  182. </script>
  183. </button>
  184. <input id="ipt_emplnm" ref="/root/send/search/emplnm" class="input_search" disabled="true" style="left:929px; top:45px; width:132px; height:19px; "/>
  185. <input id="ipt_emplno" ref="/root/send/search/emplno" class="input_search" style="left:840px; top:45px; width:65px; height:19px; ">
  186. <script type="javascript" ev:event="xforms-value-changed">
  187. <![CDATA[
  188. if(ipt_emplno.value.length== 0)
  189. ipt_emplno.value = "";
  190. else{
  191. var recv_list = "emplno,emplnm" ;
  192. rpbfValidationCheck("EMPLNO", recv_list);
  193. model.setValue("/root/send/req/emplno", model.getValue("/root/main/crtfctkindtmp/crtfctkindlist/emplno"));
  194. submit("TRRTH00611");
  195. cmb_issinstcd.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("dutplceinst"));
  196. ipt_telno.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("mpphonno"));
  197. ipt_emailid.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("emailid"));
  198. cmb_emailaddr.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("emailaddr"));
  199. ipt_etcemailaddr.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("etcemailaddr"));
  200. cmb_issinstcd.refresh();
  201. }
  202. model.refresh();
  203. ]]>
  204. </script>
  205. </input>
  206. <button id="btn_excelsave_detl" class="btn2_letter4" style="left:1125px; top:75px; width:64px; height:19px; ">
  207. <caption>엑셀저장</caption>
  208. <script type="javascript" ev:event="DOMActivate">
  209. <![CDATA[
  210. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  211. if (fileName != "")
  212. {
  213. grd_gvnoffcord.saveExcel(fileName);
  214. }
  215. ]]>
  216. </script>
  217. </button>
  218. <datagrid id="grd_gvnoffcord" nodeset="/root/main/gvnoffcordlist" caption="발령구분^소속기관^소속부서^성명^직원구분^급여분류^직군^직종^직열^직위^년도^입사일자^퇴사일자^신직급^경력년수^직급^호봉^사번^주민번호" colsep="^" colwidth="70, 90, 102, 54, 62, 83, 80, 80, 74, 77, 48, 69, 66, 54, 57, 50, 44, 69, 97" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:101px; width:1195px; height:250px; ">
  219. <col ref="gvnoffcordnm"/>
  220. <col ref="instnm"/>
  221. <col ref="deptnm"/>
  222. <col ref="emplnm"/>
  223. <col ref="holyordflagnm"/>
  224. <col ref="prfshipflagnm"/>
  225. <col ref="grupjoblnnm" visibility="hidden"/>
  226. <col ref="jobkindnm"/>
  227. <col ref="joblnnm" visibility="hidden"/>
  228. <col ref="jobposnm"/>
  229. <col ref="gvnoffcordyy"/>
  230. <col ref="entcodd"/>
  231. <col ref="retiredd"/>
  232. <col ref="njobgradnm"/>
  233. <col ref="anual"/>
  234. <col ref="ojobgradnm"/>
  235. <col ref="payclsnm"/>
  236. <col ref="emplno" style="text-align:center; vertical-align:middle; "/>
  237. <col ref="rregno" format="999999-9999999" style="text-align:center; vertical-align:middle; "/>
  238. <script type="javascript" ev:event="ondblclick">
  239. <![CDATA[
  240. if(!grd_gvnoffcord.isCell(event.target)){
  241. return;
  242. }
  243. if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("gvnoffcordnm")){
  244. model.setValue("/root/send/search/graphflag","A");
  245. }
  246. else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("instnm")){
  247. model.setValue("/root/send/search/graphflag","B");
  248. }
  249. else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("deptnm")){
  250. model.setValue("/root/send/search/graphflag","C");
  251. }
  252. else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("emplnm")){
  253. messageBox("성명은 출력 항목이 아닙니다","");
  254. return;
  255. }
  256. else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("grupjoblnnm")){
  257. model.setValue("/root/send/search/graphflag","E");
  258. }
  259. else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("jobkindnm")){
  260. model.setValue("/root/send/search/graphflag","F");
  261. }
  262. else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("jobposnm")){
  263. model.setValue("/root/send/search/graphflag","G");
  264. }
  265. else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("joblnnm")){
  266. model.setValue("/root/send/search/graphflag","H");
  267. }
  268. else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("entcodd")){
  269. model.setValue("/root/send/search/graphflag","I");
  270. }
  271. else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("njobgradnm")){
  272. model.setValue("/root/send/search/graphflag","J");
  273. }
  274. else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("anual")){
  275. model.setValue("/root/send/search/graphflag","K");
  276. }
  277. else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("ojobgradnm")){
  278. model.setValue("/root/send/search/graphflag","L");
  279. }
  280. else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("payclsnm")){
  281. model.setValue("/root/send/search/graphflag","M");
  282. }
  283. else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("holyordflagnm")){
  284. model.setValue("/root/send/search/graphflag","P");
  285. }
  286. else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("prfshipflagnm")){
  287. model.setValue("/root/send/search/graphflag","N");
  288. }
  289. else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("retiredd")){
  290. model.setValue("/root/send/search/graphflag","O");
  291. }
  292. else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("gvnoffcordyy")){
  293. model.setValue("/root/send/search/graphflag","Q");
  294. }
  295. else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("emplno")){
  296. messageBox("사번은 출력 항목이 아닙니다","");
  297. return;
  298. }
  299. else if(grd_gvnoffcord.col == grd_gvnoffcord.colRef("rregno")){
  300. messageBox("주민번호는 출력 항목이 아닙니다","");
  301. return;
  302. }
  303. submit("TRRPB14002");
  304. exeReportPreview("RPRPB14001", "XMLSTR");
  305. model.refresh();
  306. ]]>
  307. </script>
  308. </datagrid>
  309. <button id="btn_deptcdhelp" class="icon_search" style="left:529px; top:47px; width:16px; height:16px; ">
  310. <caption/>
  311. <script type="javascript" ev:event="DOMActivate">
  312. <![CDATA[
  313. var precv_list = "unitcd" + "," + "unitnm";
  314. //alert(precv_list);
  315. misfOpenPopUpList("02", ipt_unitcd, "", precv_list);
  316. model.refresh();
  317. ]]>
  318. </script>
  319. </button>
  320. <input id="ipt_unitnm" ref="/root/send/search/unitnm" class="input_search" disabled="true" style="left:548px; top:45px; width:150px; height:19px; "/>
  321. <input id="ipt_unitcd" ref="/root/send/search/unitcd" class="input_search" style="left:455px; top:45px; width:70px; height:19px; "/>
  322. <select id="chk_nursall" ref="/root/send/search/nursall" overflow="visible" appearance="full" style="left:1030px; top:18px; width:85px; height:20px; border-style:none; ">
  323. <choices>
  324. <item>
  325. <label>간호부전체</label>
  326. <value>Y</value>
  327. </item>
  328. </choices>
  329. </select>
  330. </group>
  331. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
  332. </xhtml:body>
  333. </xhtml:html>