123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRPD20100" position="absolute 0 0 1200 782" titletext="임시직 임금 요구서" oninit="SMRPD20100_oninit" onload="SMRPD20100_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="임시직 임금 요구서" class="tit_1" position="absolute 0 0 189 25"/>
- <Div id="group2" taborder="1" class="div_SA2" position="absolute 0 37 1195 77" anchor="left top right">
- <Layouts>
- <Layout>
- <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1011 10 1067 32" anchor="top right" onclick="group2_btn_search_onclick"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 992 10 998 32" anchor="top right"/>
- <Static id="caption1" text="기준월 :" class="search_name" position="absolute 308 11 381 28"/>
- <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;"/>
- <Combo id="cmb_instcd" taborder="3" class="combo_search" position="absolute 105 10 279 29"/>
- <Static id="caption7" text="소속기관 :" class="search_name" position="absolute 16 11 102 28"/>
- <Button id="btn_save" taborder="4" text="저장" class="btn4" position="absolute 1068 10 1124 32" anchor="top right" onclick="group2_btn_save_onclick"/>
- <Button id="button1" taborder="5" text="출력" class="btn4" position="absolute 1125 10 1181 32" anchor="top right" onclick="group2_button1_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption25" text="근태일자 List" class="tit_2" position="absolute 0 91 151 113"/>
- <Shape id="line7" class="line_10" position="absolute 0 107 1195 113" anchor="left top right"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27"/>
- <Column size="40"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="170"/>
- <Column size="70"/>
- <Column size="65"/>
- <Column size="70"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="200"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="3" taborder="undefined">
- <Cell/>
- <Cell row="1"/>
- <Cell row="2"/>
- </Cell>
- <Cell col="1" rowspan="3" text="연번" taborder="undefined"/>
- <Cell col="2" colspan="4" text="인적사항" taborder="undefined"/>
- <Cell col="6" colspan="8" text="근무내역" taborder="undefined"/>
- <Cell col="14" colspan="3" text="시간 외 근무" taborder="undefined"/>
- <Cell col="17" text="비고"/>
- <Cell col="18" text="caption1"/>
- <Cell col="19" text="caption2"/>
- <Cell col="20" text="caption3"/>
- <Cell row="1" col="2" rowspan="2" text="사번" taborder="undefined"/>
- <Cell row="1" col="3" rowspan="2" text="성명" taborder="undefined"/>
- <Cell row="1" col="4" rowspan="2" text="근무처" taborder="undefined"/>
- <Cell row="1" col="5" rowspan="2" text="근무내용" taborder="undefined"/>
- <Cell row="1" col="6" colspan="2" text="실제출근일수" taborder="undefined"/>
- <Cell row="1" col="8" colspan="4" text="ⓒ유급휴가" taborder="undefined"/>
- <Cell row="1" col="12" colspan="2" text="ⓓ무급휴가" taborder="undefined"/>
- <Cell row="1" col="14" rowspan="2" text="휴일 (시간)" taborder="undefined"/>
- <Cell row="1" col="15" rowspan="2" text="연장 (시간)" taborder="undefined"/>
- <Cell row="1" col="16" rowspan="2" text="야간 (시간)" taborder="undefined"/>
- <Cell row="1" col="17" rowspan="2" text="(계좌번호 또는 발령변경사항)" taborder="undefined"/>
- <Cell row="1" col="18" text="caption1"/>
- <Cell row="1" col="19" text="caption2"/>
- <Cell row="1" col="20" text="caption3"/>
- <Cell row="2" col="6" text="ⓐ근무일"/>
- <Cell row="2" col="7" text="ⓑ실근무일"/>
- <Cell row="2" col="8" text="연차"/>
- <Cell row="2" col="9" text="병가"/>
- <Cell row="2" col="10" text="청원"/>
- <Cell row="2" col="11" text="특휴"/>
- <Cell row="2" col="12" text="생휴"/>
- <Cell row="2" col="13" text="결근"/>
- <Cell row="2" col="18" text="caption1"/>
- <Cell row="2" col="19" text="caption2"/>
- <Cell row="2" col="20" text="caption3"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:seqno"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:emplno" expandshow="show"/>
- <Cell col="3" text="bind:name"/>
- <Cell col="4" displaytype="text" edittype="text" text="bind:dutplcedeptnm" expandshow="show"/>
- <Cell col="5" displaytype="text" edittype="text" text="bind:dutcontext"/>
- <Cell col="6" displaytype="text" edittype="text" style="align:right middle;" text="bind:dutdaycnt"/>
- <Cell col="7" displaytype="text" edittype="text" style="align:right middle;" text="bind:dutcnt"/>
- <Cell col="8" displaytype="text" edittype="text" style="align:right middle;color:EXPR(vcnt == 0 ? '#D5D5D5' : '');color2:EXPR(vcnt == 0 ? '#D5D5D5' : '');" text="bind:vcnt"/>
- <Cell col="9" displaytype="text" edittype="text" style="align:right middle;color:EXPR(hcnt == '0' ? '#D5D5D5' : '');color2:EXPR(hcnt == '0' ? '#D5D5D5' : '');" text="bind:hcnt"/>
- <Cell col="10" displaytype="text" edittype="text" style="align:right middle;color:EXPR(chcnt == '0' ? '#D5D5D5' : '');color2:EXPR(chcnt == '0' ? '#D5D5D5' : '');" text="bind:chcnt"/>
- <Cell col="11" displaytype="text" edittype="text" style="align:right middle;color:EXPR(pzcnt == '0' ? '#D5D5D5' : '');color2:EXPR(pzcnt == '0' ? '#D5D5D5' : '');" text="bind:pzcnt"/>
- <Cell col="12" displaytype="text" edittype="text" style="align:right middle;color:EXPR(shcnt == '0' ? '#D5D5D5' : '');color2:EXPR(shcnt == '0' ? '#D5D5D5' : '');" text="bind:shcnt"/>
- <Cell col="13" displaytype="text" edittype="text" style="align:right middle;color:EXPR(acnt == '0' ? '#D5D5D5' : '');color2:EXPR(acnt == '0' ? '#D5D5D5' : '');" text="bind:acnt"/>
- <Cell col="14" displaytype="text" edittype="text" style="align:right middle;color:EXPR(hutime == '0' ? '#D5D5D5' : '');color2:EXPR(hutime== '0' ? '#D5D5D5' : '');" text="bind:hutime"/>
- <Cell col="15" displaytype="text" edittype="text" style="align:right middle;color:EXPR(yntime == '0' ? '#D5D5D5' : '');color2:EXPR(yntime == '0' ? '#D5D5D5' : '');" text="bind:yntime"/>
- <Cell col="16" displaytype="text" edittype="text" style="align:right middle;color:EXPR(yatime == '0' ? '#D5D5D5' : '');color2:EXPR(yatime == '0' ? '#D5D5D5' : '');" text="bind:yatime"/>
- <Cell col="17" displaytype="text" edittype="text" text="bind:cmt"/>
- <Cell col="18" text="bind:instcd"/>
- <Cell col="19" text="bind:dutym"/>
- <Cell col="20" text="bind:dutplcedeptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_grdadddutdatelist" taborder="3" text="행추가" class="btn2" position="absolute 1005 88 1058 107" anchor="top right" onclick="btn_grdadddutdatelist_onclick"/>
- <Button id="btn_grddeldutdatelist" taborder="4" text="행삭제" class="btn2" position="absolute 1060 88 1113 107" anchor="top right" onclick="btn_grddeldutdatelist_onclick"/>
- <Button id="btn_savedutdatelistexcel" taborder="5" text="엑셀저장" class="btn7" position="absolute 1115 88 1195 107" anchor="top right" onclick="btn_savedutdatelistexcel_onclick"/>
- <Shape id="line75" class="line_6" position="absolute 0 33 1195 39" anchor="left top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_userinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="dutym" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="dutym"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_nrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="seqno" type="STRING" size="256" sumtext="연번"/>
- <Column id="emplno" type="STRING" size="256" sumtext="사번"/>
- <Column id="name" type="STRING" size="256" sumtext="이름"/>
- <Column id="dutplcedeptcd" type="STRING" size="256" sumtext="부서"/>
- <Column id="dutplcedeptnm" type="STRING" size="256" sumtext="부서"/>
- <Column id="dutcontext" type="STRING" size="256" sumtext="근무구분"/>
- <Column id="dutdaycnt" type="STRING" size="256" sumtext="근무일수"/>
- <Column id="dutcnt" type="STRING" size="256" sumtext="근무일수"/>
- <Column id="vcnt" type="STRING" size="256" sumtext="근무일수"/>
- <Column id="hcnt" type="STRING" size="256" sumtext="근무일수"/>
- <Column id="chcnt" type="STRING" size="256" sumtext="근무일수"/>
- <Column id="pzcnt" type="STRING" size="256" sumtext="근무일수"/>
- <Column id="shcnt" type="STRING" size="256" sumtext="근무일수"/>
- <Column id="acnt" type="STRING" size="256" sumtext="근무일수"/>
- <Column id="hutime" type="STRING" size="256" sumtext="근무일수"/>
- <Column id="yntime" type="STRING" size="256" sumtext="근무일수"/>
- <Column id="yatime" type="STRING" size="256" sumtext="근무일수"/>
- <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관"/>
- <Column id="dutym" type="STRING" size="256" sumtext="근무월"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_urlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.cmb_instcd" propid="value" datasetid="ds_send_userinfo" columnid="instcd"/>
- <BindItem id="item1" compid="group2.ipt_baseym" propid="value" datasetid="ds_send_userinfo" columnid="dutym"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-06-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- include "mis_humtrafactmngtxp::RPB001.xjs";
- function SMRPD20100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMRPD20100_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_dutdatelist);
- grdf_setRowTypeIcon(grd_dutdatelist, 0);
- fInit();
- }
- function fInit()
- {
- misfComboInstCdListMulti("group2.cmb_instcd", utlf_getCurrentDate(),"","N");
-
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var dutym = String(utlf_getCurrentDate()).substr(0, 6);
-
- ds_send_userinfo.setColumn(0, "instcd", instcd);
- ds_send_userinfo.setColumn(0, "dutym", dutym);
- }
- function group2_ipt_baseym_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- ds_send_userinfo.setColumn(0, "dutym", String(obj.value).substr(0,6))
- }
- function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRRPD20101";
- oParam.service = "dligclaznsmngtapp.DeptDutyCodeMngt";
- oParam.method = "reqGetTempJobNrList";
- oParam.inds = "req=ds_send_userinfo";
- oParam.outds = "ds_main_nrlist=nrlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRPD20101";
- tranf_submit(oParam);
- }
- function group2_btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- var upd = grdf_getGridUpdateData(grd_dutdatelist, "i");
- ds_send_urlist.copyData(upd);
-
- var oParam = {};
- oParam.id = "TXRPD20101";
- oParam.service = "dligclaznsmngtapp.DeptDutyCodeMngt";
- oParam.method = "reqSetTempJobNrList";
- oParam.inds = "req=ds_send_urlist:u";
- oParam.outds = "ds_main_nrlist=nrlist";
- oParam.async = false;
- //oParam.callback = "cf_TXRPD20101";
- tranf_submit(oParam);
- }
- function group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/main/nrlist", ds_main_nrlist);
- rptf_setNodeListToDOM(objDOM, "/root/send/userinfo", ds_send_userinfo);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "";
- rptf_exeReportPreview30(["RPRPD20100"],[objParam], option);
- }
- function btn_grdadddutdatelist_onclick(obj:Button, e:ClickEventInfo)
- {
- var addRow = ds_main_nrlist.addRow();
-
- ds_main_nrlist.setColumn(addRow, "instcd", ds_send_userinfo.getColumn(0, "instcd"));
- ds_main_nrlist.setColumn(addRow, "dutym", ds_send_userinfo.getColumn(0, "dutym"));
- }
- function btn_grddeldutdatelist_onclick(obj:Button, e:ClickEventInfo)
- {
- misfGridIUD(grd_dutdatelist, "D");
- }
- function btn_savedutdatelistexcel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_dutdatelist, "excel", "see", "true");
- }
- function grd_dutdatelist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- if (e.cell == obj.getBindCellIndex("Body", "emplno"))
- {
- var recv_list = "emplno,emplnm";
- rpbfOpenPopUpList("SPRPB00101", grd_dutdatelist, recv_list, "", "N");
- }
-
- if (e.cell == obj.getBindCellIndex("Body", "dutplcedeptnm"))
- {
- var recv_list = "dutplcedeptcd,dutplcedeptnm";
- rpbfOpenDeptCdHelp(grd_dutdatelist, recv_list, ds_send_userinfo.getColumn(0, "instcd"), "instcd");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|