SMRPD05600_특근신청현황.xrw 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  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. <list>
  11. <ovtmworkapplist>
  12. <appfromdd/>
  13. <yoil/>
  14. <emplnm/>
  15. <appfromtm/>
  16. <apptotm/>
  17. <coufromtm/>
  18. <coutotm/>
  19. <coutm_v/>
  20. <couresn/>
  21. <remark/>
  22. <deprtmangraprvyn/>
  23. <deprtmangrcouyn/>
  24. <psnworkapryn/>
  25. </ovtmworkapplist>
  26. </list>
  27. </main>
  28. <send>
  29. <instcd/>
  30. <dutym/>
  31. <emplno_s/>
  32. <emplnm_s/>
  33. <dutplcedeptcd/>
  34. <instnm/>
  35. <instcd/>
  36. <dutplceinstnm/>
  37. <dutplceinstcd/>
  38. <dutym_ss/>
  39. <dutym_ee/>
  40. <emplno/>
  41. <emplnm/>
  42. <dutunitcd/>
  43. <dutunitnm/>
  44. <psnworkapryn_s/>
  45. <dutdeptnm_s/>
  46. <popworkgbn/>
  47. <dutym_s/>
  48. <dutym_e/>
  49. <dutplcedeptnm/>
  50. <deptgb/>
  51. <deducord>
  52. <instcd/>
  53. <dutym_s/>
  54. <dutym_e/>
  55. <dutplcedeptcd/>
  56. <emplno/>
  57. <emplnm/>
  58. <dutplcedeptnm/>
  59. <psnworkapryn/>
  60. <deptgb/>
  61. <retrflag>psnwork</retrflag>
  62. </deducord>
  63. </send>
  64. <init>
  65. <combo1>
  66. <label>Y</label>
  67. <value>Y</value>
  68. <label>N</label>
  69. <value>N</value>
  70. </combo1>
  71. <radio1>
  72. <label>승인</label>
  73. <value>Y</value>
  74. <label>미승인</label>
  75. <value>N</value>
  76. <label>전체</label>
  77. <value>%</value>
  78. </radio1>
  79. </init>
  80. <tempday>
  81. <dutinfo/>
  82. </tempday>
  83. </root>
  84. </instance>
  85. <submission id="TRRPD05601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deducord" resultref="/root/main/list"/>
  86. <submission id="TRRPD10102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/tempday/dutinfo"/>
  87. </model>
  88. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  91. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  92. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  93. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  94. <script type="javascript" src="../../../mis/dligclaznsmngtweb/js/RPD001.js"/>
  95. <script type="javascript" src="../../../mis/pubwelfmngtweb/js/RPS001.js"/>
  96. <script type="javascript" ev:event="xforms-ready">
  97. <![CDATA[
  98. fInitialize();
  99. ]]>
  100. </script>
  101. <script type="javascript">
  102. <![CDATA[
  103. var DUT_UNIT_CD = "";
  104. var DUT_UNIT_NM = "";
  105. var PSNWORK_ALL_CHECK_YN = false;
  106. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  107. function fInitialize()
  108. {
  109. model.removenode("/root/main/ovtmworkapplist");
  110. misfGridInit(datagrid1);
  111. misfComboInstCdListMulti("cmb_instcd",ipt_appfromdd.value,"","N");
  112. misfGetAndSetUserInfo();
  113. cmb_instcd.disabled = true;
  114. model.setValue("/root/send/dutplcedeptcd", DUT_UNIT_CD);
  115. model.setValue("/root/send/dutunitcd", DUT_UNIT_CD);
  116. model.setValue("/root/send/dutplcedeptnm", DUT_UNIT_NM);
  117. model.setValue("/root/send/dutdeptnm_s", DUT_UNIT_NM);
  118. fSetDate();
  119. model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  120. model.setValue("/root/send/popworkgbn", "SMRPD01800");
  121. model.setValue("/root/send/dutym_s", model.getValue("/root/send/dutym_ss"));
  122. model.setValue("/root/send/dutym_e", model.getValue("/root/send/dutym_ee"));
  123. model.setValue("/root/send/deptgb", "1");
  124. rdo_psnworkapryn.value = "";
  125. btn_search.dispatch("DOMActivate");
  126. model.refresh();
  127. }
  128. function fSetDate() {
  129. var dt = new Date(getCurrentDate().substr(0, 4), getCurrentDate().substr(4, 2), 0);
  130. var iLastDay = dt.getDate();
  131. submit("TRRPD10102", false);
  132. model.setValue("/root/send/dutym_ss", model.getValue("/root/tempday/dutinfo/dutlist/fromymd"));
  133. model.setValue("/root/send/dutym_ee", model.getValue("/root/tempday/dutinfo/dutlist/toymd"));
  134. }
  135. ]]>
  136. </script>
  137. </xhtml:head>
  138. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  139. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  140. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">특근신청현황</caption>
  141. </group>
  142. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  143. <line id="line1" class="line_1" style="x1:0px; y1:89px; x2:1195px; y2:89px; "/>
  144. <group id="group4" style="left:0px; top:10px; width:1195px; height:55px; vertical-align:top; ">
  145. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:55px; "/>
  146. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1128px; top:15px; width:56px; height:22px; text-align:left; ">
  147. <caption>조회</caption>
  148. <script type="javascript" ev:event="DOMActivate">
  149. <![CDATA[
  150. if(ipt_dutym_s.value == "" || ipt_dutym_e.value == "") {
  151. messageBox("근무월은","I003");
  152. return;
  153. }
  154. model.setValue("/root/send/deducord/psnworkapryn", model.getValue("/root/send/psnworkapryn_s"));
  155. model.setValue("/root/send/deducord/instcd", model.getValue("/root/send/instcd"));
  156. model.setValue("/root/send/deducord/retrflag", "psnwork");
  157. model.setValue("/root/send/deducord/emplno", ipt_emplno.value);
  158. model.setValue("/root/send/deducord/deptgb", model.getValue("/root/send/deptgb"));
  159. model.setValue("/root/send/deducord/dutplcedeptcd", model.getValue("/root/send/dutplcedeptcd"));
  160. model.setValue("/root/send/deducord/dutym_s", model.getValue("/root/send/dutym_ss"));
  161. model.setValue("/root/send/deducord/dutym_e", model.getValue("/root/send/dutym_ee"));
  162. model.removeNodeset("/root/main/list");
  163. submit("TRRPD05601");
  164. ]]>
  165. </script>
  166. </button>
  167. <caption id="caption3" style="left:628px; top:7px; width:25px; height:20px; font-weight:bold; text-align:center; vertical-align:middle; ">~</caption>
  168. <input id="ipt_appfromdd" ref="/root/send/dutym_ss" class="input_s_essential" inputtype="date" style="left:528px; top:6px; width:100px; height:19px; ">
  169. <script type="javascript" ev:event="xforms-value-changed">
  170. <![CDATA[
  171. var instcd = cmb_instcd.value;
  172. if( getStringLength(ipt_appfromdd.value) == "8" ) {
  173. model.removeNodeset(cmb_instcd.attribute("ref"));
  174. model.makeNode("/root/send/instcd");
  175. misfComboInstCdListMulti("cmb_instcd",ipt_appfromdd.value,"","Y");
  176. cmb_instcd.value = instcd;
  177. model.refresh();
  178. }
  179. ipt_dutym_s.value = ipt_appfromdd.value;
  180. ]]>
  181. </script>
  182. </input>
  183. <input id="ipt_apptodd" ref="/root/send/dutym_ee" class="input_s_essential" inputtype="date" style="left:647px; top:6px; width:100px; height:19px; ">
  184. <script type="javascript" ev:event="xforms-value-changed">
  185. <![CDATA[
  186. var instcd = cmb_instcd.value;
  187. if( getStringLength(ipt_appfromdd.value) == "8" ) {
  188. model.removeNodeset(cmb_instcd.attribute("ref"));
  189. model.makeNode("/root/send/instcd");
  190. misfComboInstCdListMulti("cmb_instcd",ipt_appfromdd.value,"","Y");
  191. cmb_instcd.value = instcd;
  192. model.refresh();
  193. }
  194. ipt_dutym_e.value = ipt_apptodd.value;
  195. btn_search.dispatch("DOMActivate");
  196. ]]>
  197. </script>
  198. </input>
  199. <caption id="caption4" class="search_name" style="left:440px; top:7px; width:86px; height:17px; ">신청기간 :</caption>
  200. <button id="btn_dutdept" class="icon_search" style="left:184px; top:32px; width:16px; height:16px; ">
  201. <caption/>
  202. <script type="javascript" ev:event="DOMActivate">
  203. <![CDATA[
  204. // misfOpenPopUpList("02", ipt_dutdeptcd, "", "dutplcedeptcd,dutdeptnm_s", cmb_instcd.value, "instcd" );
  205. misfOpenPopUpList("02", ipt_dutdeptcd,"","dutplcedeptcd,dutdeptnm_s", cmb_instcd.value + "," + ipt_apptodd.value, "instcd,basedd");
  206. model.refresh();
  207. ]]>
  208. </script>
  209. </button>
  210. <input id="ipt_dutdeptnm" ref="/root/send/dutdeptnm_s" class="input_search" navindex="3" style="left:202px; top:30px; width:114px; height:19px; ">
  211. <script type="javascript" ev:event="onkeypress">
  212. <![CDATA[
  213. if(event.keyCode == 13) {
  214. if(ipt_dutdeptnm.value == ipt_dutdeptnm.currentText) return;
  215. ipt_dutdeptnm.value = ipt_dutdeptnm.currentText;
  216. misfValidationCheck("02", "", "dutplcedeptcd,dutdeptnm_s", cmb_instcd.value, "instcd" );
  217. model.refresh();
  218. }
  219. ]]>
  220. </script>
  221. <script type="javascript" ev:event="xforms-value-changed">
  222. <![CDATA[
  223. misfValidationCheck("02", "", "dutplcedeptcd,dutdeptnm_s", cmb_instcd.value, "instcd" );
  224. model.refresh();
  225. ]]>
  226. </script>
  227. </input>
  228. <input id="ipt_dutdeptcd" ref="/root/send/dutplcedeptcd" class="input_search" navindex="2" maxlength="10" style="left:101px; top:30px; width:80px; height:19px; text-align:center; ">
  229. <script type="javascript" ev:event="onkeypress">
  230. <![CDATA[
  231. if(event.keyCode == 13) {
  232. if(ipt_dutdeptcd.value == ipt_dutdeptcd.currentText) return;
  233. ipt_dutdeptcd.value = ipt_dutdeptcd.currentText;
  234. misfValidationCheck("02", "", "dutplcedeptcd,dutdeptnm_s", cmb_instcd.value, "instcd" );
  235. model.refresh();
  236. }
  237. ]]>
  238. </script>
  239. <script type="javascript" ev:event="xforms-value-changed">
  240. <![CDATA[
  241. misfValidationCheck("02", "", "dutplcedeptcd,dutdeptnm_s", cmb_instcd.value, "instcd" );
  242. model.refresh();
  243. ]]>
  244. </script>
  245. </input>
  246. <caption id="caption1" class="search_name" style="left:13px; top:31px; width:86px; height:17px; ">근무부서 :</caption>
  247. <caption id="caption5" class="search_name" style="left:440px; top:31px; width:86px; height:17px; ">사원번호 :</caption>
  248. <input id="ipt_emplno" ref="/root/send/emplno_s" class="input_search" navindex="4" maxlength="8" style="left:528px; top:30px; width:77px; height:19px; text-align:center; ">
  249. <script type="javascript" ev:event="onkeypress">
  250. <![CDATA[
  251. if(event.keyCode == 13) {
  252. if(ipt_emplno.value == ipt_emplno.currentText) return;
  253. ipt_emplno.value = ipt_emplno.currentText;
  254. rpbfValidationCheck("EMPLNO", "emplno,emplnm,dutunitcd,dutunitnm");
  255. model.setValue("/root/send/emplno_s" , model.getValue("/root/send/emplno"));
  256. model.setValue("/root/send/emplnm_s", model.getValue("/root/send/emplnm"));
  257. model.setValue("/root/send/dutplcedeptcd", model.getValue("/root/send/dutunitcd"));
  258. model.setValue("/root/send/dutdeptnm_s", model.getValue("/root/send/dutunitnm"));
  259. model.refresh();
  260. }
  261. ]]>
  262. </script>
  263. <script type="javascript" ev:event="xforms-value-changed">
  264. <![CDATA[
  265. rpbfValidationCheck("EMPLNO", "emplno,emplnm,dutunitcd,dutunitnm");
  266. model.setValue("/root/send/emplno_s" , model.getValue("/root/send/emplno"));
  267. model.setValue("/root/send/emplnm_s", model.getValue("/root/send/emplnm"));
  268. model.setValue("/root/send/dutplcedeptcd", model.getValue("/root/send/dutunitcd"));
  269. model.setValue("/root/send/dutdeptnm_s", model.getValue("/root/send/dutunitnm"));
  270. model.refresh();
  271. ]]>
  272. </script>
  273. </input>
  274. <input id="ipt_emplnm" ref="/root/send/emplnm_s" class="input_search" navindex="5" style="left:628px; top:30px; width:162px; height:19px; ">
  275. <script type="javascript" ev:event="onkeypress">
  276. <![CDATA[
  277. if(event.keyCode == 13) {
  278. if(ipt_emplnm.value == ipt_emplnm.currentText) return;
  279. ipt_emplnm.value = ipt_emplnm.currentText;
  280. rpbfValidationCheck("EMPLNM", "emplno,emplnm,dutunitcd,dutunitnm");
  281. model.setValue("/root/send/emplno_s" , model.getValue("/root/send/emplno"));
  282. model.setValue("/root/send/emplnm_s", model.getValue("/root/send/emplnm"));
  283. model.setValue("/root/send/dutplcedeptcd", model.getValue("/root/send/dutunitcd"));
  284. model.setValue("/root/send/dutdeptnm_s", model.getValue("/root/send/dutunitnm"));
  285. model.refresh();
  286. }
  287. ]]>
  288. </script>
  289. <script type="javascript" ev:event="xforms-value-changed">
  290. <![CDATA[
  291. rpbfValidationCheck("EMPLNM", "emplno,emplnm,dutunitcd,dutunitnm");
  292. model.setValue("/root/send/emplno_s" , model.getValue("/root/send/emplno"));
  293. model.setValue("/root/send/emplnm_s", model.getValue("/root/send/emplnm"));
  294. model.setValue("/root/send/dutplcedeptcd", model.getValue("/root/send/dutunitcd"));
  295. model.setValue("/root/send/dutdeptnm_s", model.getValue("/root/send/dutunitnm"));
  296. model.refresh();
  297. ]]>
  298. </script>
  299. </input>
  300. <button id="btn_emplhelp" class="icon_search" style="left:609px; top:32px; width:16px; height:16px; ">
  301. <script type="javascript" ev:event="DOMActivate">
  302. <![CDATA[
  303. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm,dutunitcd,dutunitnm", "", "N");
  304. model.setValue("/root/send/emplno_s" , model.getValue("/root/send/emplno"));
  305. model.setValue("/root/send/emplnm_s", model.getValue("/root/send/emplnm"));
  306. model.setValue("/root/send/dutplcedeptcd", model.getValue("/root/send/dutunitcd"));
  307. model.setValue("/root/send/dutdeptnm_s", model.getValue("/root/send/dutunitnm"));
  308. model.refresh();
  309. ]]>
  310. </script>
  311. <caption/>
  312. </button>
  313. <line id="line3" class="line_4" style="x1:1115px; y1:7px; x2:1115px; y2:49px; border-color:#ffe4bb; border-left-style:solid; "/>
  314. <caption id="caption7" class="search_name" style="left:818px; top:7px; width:86px; height:17px; ">승인여부 :</caption>
  315. <select1 id="rdo_psnworkapryn" ref="/root/send/psnworkapryn_s" overflow="visible" appearance="full" cols="3" style="left:905px; top:7px; width:150px; height:14px; border-style:none; ">
  316. <choices>
  317. <item>
  318. <label>승인</label>
  319. <value>Y</value>
  320. </item>
  321. <item>
  322. <label>미승인</label>
  323. <value>N</value>
  324. </item>
  325. <item>
  326. <label>전체</label>
  327. <value/>
  328. </item>
  329. </choices>
  330. <script type="javascript" ev:event="xforms-value-changed">
  331. <![CDATA[
  332. btn_search.dispatch("DOMActivate");
  333. ]]>
  334. </script>
  335. </select1>
  336. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_search" navindex="1" appearance="minimal" style="left:101px; top:6px; width:214px; height:19px; ">
  337. <choices>
  338. <itemset>
  339. <label/>
  340. <value/>
  341. </itemset>
  342. </choices>
  343. </select1>
  344. <caption id="caption8" class="search_name" style="left:13px; top:7px; width:86px; height:17px; ">소속기관 :</caption>
  345. <select1 id="combo1" ref="/root/send/deptgb" appearance="minimal" style="left:320px; top:30px; width:100px; height:19px; ">
  346. <choices>
  347. <item>
  348. <label>근무지</label>
  349. <value>1</value>
  350. </item>
  351. <item>
  352. <label>소속부서</label>
  353. <value>2</value>
  354. </item>
  355. <item>
  356. <label>소속과(팀)</label>
  357. <value>3</value>
  358. </item>
  359. <item>
  360. <label>소속과(실)</label>
  361. <value>4</value>
  362. </item>
  363. </choices>
  364. <script type="javascript" ev:event="xforms-value-changed">
  365. <![CDATA[
  366. btn_search.dispatch("DOMActivate");
  367. ]]>
  368. </script>
  369. </select1>
  370. </group>
  371. <caption id="caption9" class="tit_2" style="left:0px; top:74px; width:170px; height:13px; ">특근신청내역</caption>
  372. <button id="button1" class="btn2_letter4" style="left:1128px; top:69px; width:64px; height:19px; ">
  373. <caption>엑셀저장</caption>
  374. <script type="javascript" ev:event="DOMActivate">
  375. <![CDATA[
  376. misfSaveExcel(datagrid1);
  377. ]]>
  378. </script>
  379. </button>
  380. <datagrid id="datagrid1" nodeset="/root/main/list/ovtmworkapplist" caption="날짜^요일^성명^계획시간^계획시간^실근무시간^실근무시간^해당시간^근무내용^비고|날짜^요일^성명^시작^종료^시작^종료^해당시간^근무내용^비고" colsep="^" colwidth="100, 61, 89, 71, 62, 61, 61, 72, 416, 157" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:95px; width:1195px; height:645px; ">
  381. <col ref="appfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  382. <col ref="yoil" style="text-align:center; "/>
  383. <col ref="emplnm"/>
  384. <col ref="appfromtm" format="hh:nn" style="text-align:center; "/>
  385. <col ref="apptotm" format="hh:nn" style="text-align:center; "/>
  386. <col ref="coufromtm" format="hh:nn" style="text-align:center; "/>
  387. <col ref="coutotm" format="hh:nn" style="text-align:center; "/>
  388. <col ref="coutm_v" style="text-align:center; "/>
  389. <col ref="appresn"/>
  390. <col ref="remark"/>
  391. </datagrid>
  392. </group>
  393. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:28px; ">
  394. <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  395. <input id="ipt_popworkgbn" ref="/root/send/popworkgbn" class="input_search" navindex="2" visibility="hidden" style="left:705px; top:5px; width:19px; height:19px; "/>
  396. <input id="ipt_dutplceinstcd" ref="/root/send/dutplceinstcd" class="input_search" navindex="2" visibility="hidden" style="left:725px; top:5px; width:19px; height:19px; "/>
  397. <input id="ipt_dutplceinstnm" ref="/root/send/dutplceinstnm" class="input_search" navindex="2" visibility="hidden" style="left:745px; top:5px; width:19px; height:19px; "/>
  398. <input id="ipt_deptcd" ref="/root/send/deptcd" class="input_search" navindex="2" visibility="hidden" style="left:765px; top:5px; width:19px; height:19px; "/>
  399. <input id="ipt_deptnm" ref="/root/send/deptnm" class="input_search" navindex="2" visibility="hidden" style="left:785px; top:5px; width:19px; height:19px; "/>
  400. <input id="ipt_dutym_s" ref="/root/send/dutym_s" class="input_search" navindex="2" visibility="hidden" style="left:805px; top:5px; width:19px; height:19px; "/>
  401. <input id="ipt_dutym_e" ref="/root/send/dutym_e" class="input_search" navindex="2" visibility="hidden" style="left:825px; top:5px; width:19px; height:19px; "/>
  402. <input id="ipt_dutdeptcd2" ref="/root/send/dutdeptcd" class="input_search" navindex="2" visibility="hidden" style="left:845px; top:5px; width:19px; height:19px; "/>
  403. <input id="ipt_dutdeptnm2" ref="/root/send/dutdeptnm" class="input_search" navindex="2" visibility="hidden" style="left:865px; top:5px; width:19px; height:19px; "/>
  404. <input id="ipt_instcd" ref="/root/send/instcd" class="input_search" navindex="2" visibility="hidden" style="left:885px; top:5px; width:19px; height:19px; "/>
  405. <input id="ipt_instnm" ref="/root/send/instnm" class="input_search" navindex="2" visibility="hidden" style="left:905px; top:5px; width:19px; height:19px; "/>
  406. </group>
  407. </xhtml:body>
  408. </xhtml:html>