SMRPD20100_임시직임금요구서.xfdl 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRPD20100" position="absolute 0 0 1200 782" titletext="임시직 임금 요구서" oninit="SMRPD20100_oninit" onload="SMRPD20100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="임시직 임금 요구서" class="tit_1" position="absolute 0 0 189 25"/>
  8. <Div id="group2" taborder="1" class="div_SA2" position="absolute 0 37 1195 77" anchor="left top right">
  9. <Layouts>
  10. <Layout>
  11. <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1011 10 1067 32" anchor="top right" onclick="group2_btn_search_onclick"/>
  12. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 992 10 998 32" anchor="top right"/>
  13. <Static id="caption1" text="기준월 :" class="search_name" position="absolute 308 11 381 28"/>
  14. <Calendar id="ipt_baseym" taborder="2" autoselect="true" autoskip="true" dateformat="yyyy-MM" editformat="yyyy-MM" class="input_s_essential" position="absolute 385 10 515 29" mask="yyyy-mm" onchanged="group2_ipt_baseym_onchanged" style="align:center middle;"/>
  15. <Combo id="cmb_instcd" taborder="3" class="combo_search" position="absolute 105 10 279 29"/>
  16. <Static id="caption7" text="소속기관 :" class="search_name" position="absolute 16 11 102 28"/>
  17. <Button id="btn_save" taborder="4" text="저장" class="btn4" position="absolute 1068 10 1124 32" anchor="top right" onclick="group2_btn_save_onclick"/>
  18. <Button id="button1" taborder="5" text="출력" class="btn4" position="absolute 1125 10 1181 32" anchor="top right" onclick="group2_button1_onclick"/>
  19. </Layout>
  20. </Layouts>
  21. </Div>
  22. <Static id="caption25" text="근태일자 List" class="tit_2" position="absolute 0 91 151 113"/>
  23. <Shape id="line7" class="line_10" position="absolute 0 107 1195 113" anchor="left top right"/>
  24. <Grid id="grd_dutdatelist" class="datagrid2" taborder="2" binddataset="ds_main_nrlist" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 112 1195 777" anchor="all" onexpanddown="grd_dutdatelist_onexpanddown">
  25. <Formats>
  26. <Format id="default">
  27. <Columns>
  28. <Column size="27"/>
  29. <Column size="40"/>
  30. <Column size="60"/>
  31. <Column size="60"/>
  32. <Column size="170"/>
  33. <Column size="70"/>
  34. <Column size="65"/>
  35. <Column size="70"/>
  36. <Column size="45"/>
  37. <Column size="45"/>
  38. <Column size="45"/>
  39. <Column size="45"/>
  40. <Column size="45"/>
  41. <Column size="45"/>
  42. <Column size="45"/>
  43. <Column size="45"/>
  44. <Column size="45"/>
  45. <Column size="200"/>
  46. <Column size="0"/>
  47. <Column size="0"/>
  48. <Column size="0"/>
  49. </Columns>
  50. <Rows>
  51. <Row size="24" band="head"/>
  52. <Row size="24" band="head"/>
  53. <Row size="24" band="head"/>
  54. <Row size="24"/>
  55. </Rows>
  56. <Band id="head">
  57. <Cell rowspan="3" taborder="undefined">
  58. <Cell/>
  59. <Cell row="1"/>
  60. <Cell row="2"/>
  61. </Cell>
  62. <Cell col="1" rowspan="3" text="연번" taborder="undefined"/>
  63. <Cell col="2" colspan="4" text="인적사항" taborder="undefined"/>
  64. <Cell col="6" colspan="8" text="근무내역" taborder="undefined"/>
  65. <Cell col="14" colspan="3" text="시간 외 근무" taborder="undefined"/>
  66. <Cell col="17" text="비고"/>
  67. <Cell col="18" text="caption1"/>
  68. <Cell col="19" text="caption2"/>
  69. <Cell col="20" text="caption3"/>
  70. <Cell row="1" col="2" rowspan="2" text="사번" taborder="undefined"/>
  71. <Cell row="1" col="3" rowspan="2" text="성명" taborder="undefined"/>
  72. <Cell row="1" col="4" rowspan="2" text="근무처" taborder="undefined"/>
  73. <Cell row="1" col="5" rowspan="2" text="근무내용" taborder="undefined"/>
  74. <Cell row="1" col="6" colspan="2" text="실제출근일수" taborder="undefined"/>
  75. <Cell row="1" col="8" colspan="4" text="ⓒ유급휴가" taborder="undefined"/>
  76. <Cell row="1" col="12" colspan="2" text="ⓓ무급휴가" taborder="undefined"/>
  77. <Cell row="1" col="14" rowspan="2" text="휴일&#10;(시간)" taborder="undefined"/>
  78. <Cell row="1" col="15" rowspan="2" text="연장&#10;(시간)" taborder="undefined"/>
  79. <Cell row="1" col="16" rowspan="2" text="야간&#10;(시간)" taborder="undefined"/>
  80. <Cell row="1" col="17" rowspan="2" text="(계좌번호 또는&#10;발령변경사항)" taborder="undefined"/>
  81. <Cell row="1" col="18" text="caption1"/>
  82. <Cell row="1" col="19" text="caption2"/>
  83. <Cell row="1" col="20" text="caption3"/>
  84. <Cell row="2" col="6" text="ⓐ근무일"/>
  85. <Cell row="2" col="7" text="ⓑ실근무일"/>
  86. <Cell row="2" col="8" text="연차"/>
  87. <Cell row="2" col="9" text="병가"/>
  88. <Cell row="2" col="10" text="청원"/>
  89. <Cell row="2" col="11" text="특휴"/>
  90. <Cell row="2" col="12" text="생휴"/>
  91. <Cell row="2" col="13" text="결근"/>
  92. <Cell row="2" col="18" text="caption1"/>
  93. <Cell row="2" col="19" text="caption2"/>
  94. <Cell row="2" col="20" text="caption3"/>
  95. </Band>
  96. <Band id="body">
  97. <Cell celltype="head"/>
  98. <Cell col="1" text="bind:seqno"/>
  99. <Cell col="2" displaytype="text" edittype="text" text="bind:emplno" expandshow="show"/>
  100. <Cell col="3" text="bind:name"/>
  101. <Cell col="4" displaytype="text" edittype="text" text="bind:dutplcedeptnm" expandshow="show"/>
  102. <Cell col="5" displaytype="text" edittype="text" text="bind:dutcontext"/>
  103. <Cell col="6" displaytype="text" edittype="text" style="align:right middle;" text="bind:dutdaycnt"/>
  104. <Cell col="7" displaytype="text" edittype="text" style="align:right middle;" text="bind:dutcnt"/>
  105. <Cell col="8" displaytype="text" edittype="text" style="align:right middle;color:EXPR(vcnt == 0 ? '#D5D5D5' : '');color2:EXPR(vcnt == 0 ? '#D5D5D5' : '');" text="bind:vcnt"/>
  106. <Cell col="9" displaytype="text" edittype="text" style="align:right middle;color:EXPR(hcnt == '0' ? '#D5D5D5' : '');color2:EXPR(hcnt == '0' ? '#D5D5D5' : '');" text="bind:hcnt"/>
  107. <Cell col="10" displaytype="text" edittype="text" style="align:right middle;color:EXPR(chcnt == '0' ? '#D5D5D5' : '');color2:EXPR(chcnt == '0' ? '#D5D5D5' : '');" text="bind:chcnt"/>
  108. <Cell col="11" displaytype="text" edittype="text" style="align:right middle;color:EXPR(pzcnt == '0' ? '#D5D5D5' : '');color2:EXPR(pzcnt == '0' ? '#D5D5D5' : '');" text="bind:pzcnt"/>
  109. <Cell col="12" displaytype="text" edittype="text" style="align:right middle;color:EXPR(shcnt == '0' ? '#D5D5D5' : '');color2:EXPR(shcnt == '0' ? '#D5D5D5' : '');" text="bind:shcnt"/>
  110. <Cell col="13" displaytype="text" edittype="text" style="align:right middle;color:EXPR(acnt == '0' ? '#D5D5D5' : '');color2:EXPR(acnt == '0' ? '#D5D5D5' : '');" text="bind:acnt"/>
  111. <Cell col="14" displaytype="text" edittype="text" style="align:right middle;color:EXPR(hutime == '0' ? '#D5D5D5' : '');color2:EXPR(hutime== '0' ? '#D5D5D5' : '');" text="bind:hutime"/>
  112. <Cell col="15" displaytype="text" edittype="text" style="align:right middle;color:EXPR(yntime == '0' ? '#D5D5D5' : '');color2:EXPR(yntime == '0' ? '#D5D5D5' : '');" text="bind:yntime"/>
  113. <Cell col="16" displaytype="text" edittype="text" style="align:right middle;color:EXPR(yatime == '0' ? '#D5D5D5' : '');color2:EXPR(yatime == '0' ? '#D5D5D5' : '');" text="bind:yatime"/>
  114. <Cell col="17" displaytype="text" edittype="text" text="bind:cmt"/>
  115. <Cell col="18" text="bind:instcd"/>
  116. <Cell col="19" text="bind:dutym"/>
  117. <Cell col="20" text="bind:dutplcedeptcd"/>
  118. </Band>
  119. </Format>
  120. </Formats>
  121. </Grid>
  122. <Button id="btn_grdadddutdatelist" taborder="3" text="행추가" class="btn2" position="absolute 1005 88 1058 107" anchor="top right" onclick="btn_grdadddutdatelist_onclick"/>
  123. <Button id="btn_grddeldutdatelist" taborder="4" text="행삭제" class="btn2" position="absolute 1060 88 1113 107" anchor="top right" onclick="btn_grddeldutdatelist_onclick"/>
  124. <Button id="btn_savedutdatelistexcel" taborder="5" text="엑셀저장" class="btn7" position="absolute 1115 88 1195 107" anchor="top right" onclick="btn_savedutdatelistexcel_onclick"/>
  125. <Shape id="line75" class="line_6" position="absolute 0 33 1195 39" anchor="left top right"/>
  126. </Layout>
  127. </Layouts>
  128. <Objects>
  129. <Dataset id="ds_send_userinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  130. <ColumnInfo>
  131. <Column id="instcd" type="STRING" size="256"/>
  132. <Column id="dutym" type="STRING" size="256"/>
  133. </ColumnInfo>
  134. <Rows>
  135. <Row>
  136. <Col id="instcd"/>
  137. <Col id="dutym"/>
  138. </Row>
  139. </Rows>
  140. </Dataset>
  141. <Dataset id="ds_main_nrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  142. <ColumnInfo>
  143. <Column id="seqno" type="STRING" size="256" sumtext="연번"/>
  144. <Column id="emplno" type="STRING" size="256" sumtext="사번"/>
  145. <Column id="name" type="STRING" size="256" sumtext="이름"/>
  146. <Column id="dutplcedeptcd" type="STRING" size="256" sumtext="부서"/>
  147. <Column id="dutplcedeptnm" type="STRING" size="256" sumtext="부서"/>
  148. <Column id="dutcontext" type="STRING" size="256" sumtext="근무구분"/>
  149. <Column id="dutdaycnt" type="STRING" size="256" sumtext="근무일수"/>
  150. <Column id="dutcnt" type="STRING" size="256" sumtext="근무일수"/>
  151. <Column id="vcnt" type="STRING" size="256" sumtext="근무일수"/>
  152. <Column id="hcnt" type="STRING" size="256" sumtext="근무일수"/>
  153. <Column id="chcnt" type="STRING" size="256" sumtext="근무일수"/>
  154. <Column id="pzcnt" type="STRING" size="256" sumtext="근무일수"/>
  155. <Column id="shcnt" type="STRING" size="256" sumtext="근무일수"/>
  156. <Column id="acnt" type="STRING" size="256" sumtext="근무일수"/>
  157. <Column id="hutime" type="STRING" size="256" sumtext="근무일수"/>
  158. <Column id="yntime" type="STRING" size="256" sumtext="근무일수"/>
  159. <Column id="yatime" type="STRING" size="256" sumtext="근무일수"/>
  160. <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
  161. <Column id="instcd" type="STRING" size="256" sumtext="기관"/>
  162. <Column id="dutym" type="STRING" size="256" sumtext="근무월"/>
  163. </ColumnInfo>
  164. </Dataset>
  165. <Dataset id="ds_send_urlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  166. </Objects>
  167. <Bind>
  168. <BindItem id="item0" compid="group2.cmb_instcd" propid="value" datasetid="ds_send_userinfo" columnid="instcd"/>
  169. <BindItem id="item1" compid="group2.ipt_baseym" propid="value" datasetid="ds_send_userinfo" columnid="dutym"/>
  170. </Bind>
  171. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  172. * System Name :
  173. * Job Name :
  174. * Creator :
  175. * Make Date : 2017-06-19
  176. * Description :
  177. *---------------------------------------------------------------------------------------
  178. * Modify Date Modifier Modify Description
  179. *---------------------------------------------------------------------------------------
  180. * 2017-06-19 Live Converter TF->XP
  181. *
  182. *---------------------------------------------------------------------------------------
  183. ****************************************************************************************/
  184. include "com_commonxp::comm_main.xjs";
  185. include "mis_miscommonxp::MIS.xjs";
  186. include "mis_humtrafactmngtxp::RPB001.xjs";
  187. function SMRPD20100_oninit(obj:Form, e:InitEventInfo)
  188. {
  189. frmf_initForm(obj);
  190. }
  191. function SMRPD20100_onload(obj:Form, e:LoadEventInfo)
  192. {
  193. grdf_initGrid(grd_dutdatelist);
  194. grdf_setRowTypeIcon(grd_dutdatelist, 0);
  195. fInit();
  196. }
  197. function fInit()
  198. {
  199. misfComboInstCdListMulti("group2.cmb_instcd", utlf_getCurrentDate(),"","N");
  200. var instcd = sysf_getUserInfo("dutplceinstcd");
  201. var dutym = String(utlf_getCurrentDate()).substr(0, 6);
  202. ds_send_userinfo.setColumn(0, "instcd", instcd);
  203. ds_send_userinfo.setColumn(0, "dutym", dutym);
  204. }
  205. function group2_ipt_baseym_onchanged(obj:Calendar, e:ChangeEventInfo)
  206. {
  207. ds_send_userinfo.setColumn(0, "dutym", String(obj.value).substr(0,6))
  208. }
  209. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  210. {
  211. var oParam = {};
  212. oParam.id = "TRRPD20101";
  213. oParam.service = "dligclaznsmngtapp.DeptDutyCodeMngt";
  214. oParam.method = "reqGetTempJobNrList";
  215. oParam.inds = "req=ds_send_userinfo";
  216. oParam.outds = "ds_main_nrlist=nrlist";
  217. oParam.async = false;
  218. //oParam.callback = "cf_TRRPD20101";
  219. tranf_submit(oParam);
  220. }
  221. function group2_btn_save_onclick(obj:Button, e:ClickEventInfo)
  222. {
  223. var upd = grdf_getGridUpdateData(grd_dutdatelist, "i");
  224. ds_send_urlist.copyData(upd);
  225. var oParam = {};
  226. oParam.id = "TXRPD20101";
  227. oParam.service = "dligclaznsmngtapp.DeptDutyCodeMngt";
  228. oParam.method = "reqSetTempJobNrList";
  229. oParam.inds = "req=ds_send_urlist:u";
  230. oParam.outds = "ds_main_nrlist=nrlist";
  231. oParam.async = false;
  232. //oParam.callback = "cf_TXRPD20101";
  233. tranf_submit(oParam);
  234. }
  235. function group2_button1_onclick(obj:Button, e:ClickEventInfo)
  236. {
  237. var objDOM = rptf_createDOM();
  238. rptf_setNodeListToDOM(objDOM, "/root/main/nrlist", ds_main_nrlist);
  239. rptf_setNodeListToDOM(objDOM, "/root/send/userinfo", ds_send_userinfo);
  240. var objParam = new Object();
  241. objParam.xml_data_XML1 = objDOM.documentElement.source;
  242. var option = "";
  243. rptf_exeReportPreview30(["RPRPD20100"],[objParam], option);
  244. }
  245. function btn_grdadddutdatelist_onclick(obj:Button, e:ClickEventInfo)
  246. {
  247. var addRow = ds_main_nrlist.addRow();
  248. ds_main_nrlist.setColumn(addRow, "instcd", ds_send_userinfo.getColumn(0, "instcd"));
  249. ds_main_nrlist.setColumn(addRow, "dutym", ds_send_userinfo.getColumn(0, "dutym"));
  250. }
  251. function btn_grddeldutdatelist_onclick(obj:Button, e:ClickEventInfo)
  252. {
  253. misfGridIUD(grd_dutdatelist, "D");
  254. }
  255. function btn_savedutdatelistexcel_onclick(obj:Button, e:ClickEventInfo)
  256. {
  257. grdf_exportExcel(grd_dutdatelist, "excel", "see", "true");
  258. }
  259. function grd_dutdatelist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  260. {
  261. if (e.cell == obj.getBindCellIndex("Body", "emplno"))
  262. {
  263. var recv_list = "emplno,emplnm";
  264. rpbfOpenPopUpList("SPRPB00101", grd_dutdatelist, recv_list, "", "N");
  265. }
  266. if (e.cell == obj.getBindCellIndex("Body", "dutplcedeptnm"))
  267. {
  268. var recv_list = "dutplcedeptcd,dutplcedeptnm";
  269. rpbfOpenDeptCdHelp(grd_dutdatelist, recv_list, ds_send_userinfo.getColumn(0, "instcd"), "instcd");
  270. }
  271. }
  272. ]]></Script>
  273. </Form>
  274. </FDL>