123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRPD30900" position="absolute 0 0 1199 805" titletext="전공의 수련 현황 조회" oninit="SMRPD30900_oninit" onload="SMRPD30900_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="전공의 수련현황 조회" class="tit_1" position="absolute 0 0 293 25"/>
- <Shape id="line2" class="line_6" position="absolute 0 46 1194 52" anchor="left top right"/>
- <Button id="btn_print" taborder="1" text="출력" class="btn6" position="absolute 1137 25 1193 47" anchor="top right" onclick="btn_print_onclick"/>
- <Div id="grp_sea" anchor="left top right" taborder="2" class="div_SA2" position="absolute 0 50 1195 90">
- <Layouts>
- <Layout>
- <Shape id="line5" linetype="vertical" class="line_4" position="absolute 1077 8 1083 32" anchor="top right"/>
- <Button id="btn_search" taborder="6" text="조회" class="btn1" position="absolute 1100 9 1156 31" anchor="top right" onclick="grp_sea_btn_search_onclick"/>
- <Edit id="opt_deptnm" taborder="7" readonly="true" autoselect="true" autoskip="true" class="output" position="absolute 622 10 812 29"/>
- <Static id="caption1" text="부서코드" class="search_name" position="absolute 445 11 521 28"/>
- <Edit id="ipt_deptcd" taborder="8" autoselect="true" autoskip="true" class="input_default" position="absolute 527 10 602 29" onkeydown="grp_sea_ipt_deptcd_onkeydown"/>
- <Button id="btn_deptcd" taborder="9" class="icon_search" position="absolute 604 11 620 27" onclick="grp_sea_btn_deptcd_onclick"/>
- <Static id="caption9" text="근무년월" class="search_name" position="absolute 275 11 356 28"/>
- <Button id="btn_emplnos" taborder="10" class="icon_search" position="absolute 938 11 954 27" onclick="grp_sea_btn_emplnos_onclick"/>
- <Static id="caption2" text="사번" class="search_name" position="absolute 824 11 880 28"/>
- <Edit id="ipt_emplnos" taborder="11" autoselect="true" autoskip="true" class="input_default" position="absolute 879 10 935 29" onkeyup="grp_sea_ipt_emplnos_onkeyup"/>
- <Edit id="ipt_emplnms" taborder="12" autoselect="true" autoskip="true" class="input_default" position="absolute 955 10 1061 29" onkeyup="grp_sea_ipt_emplnms_onkeyup"/>
- <Calendar id="ipt_ym" taborder="13" autoselect="true" autoskip="true" class="input_default" position="absolute 357 10 435 29" mask="yyyy-mm" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" style="align:center middle;" onchanged="grp_sea_ipt_ym_onchanged"/>
- <Combo id="cmb_instcd" taborder="14" class="combo_s_default" enable="false" position="absolute 120 10 262 29" onitemchanged="grp_sea_cmb_instcd_onitemchanged"/>
- <Static id="caption29" text="기관코드" class="search_name" position="absolute 39 11 115 28"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line3" class="line_10" position="absolute 365 127 1193 133" anchor="left top right"/>
- <Static id="caption21" text="개인 수련현황" class="tit_2" position="absolute 365 111 470 133"/>
- <Grid id="grd_dutlist" taborder="3" binddataset="ds_main_dutlist" autoenter="select" useinputpanel="false" cellsizingtype="col" position="absolute 365 132 1193 667" anchor="all" autofittype="col" onheadclick="grd_dutlist_onheadclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="110"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="42"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="년차"/>
- <Cell col="1" text="사번"/>
- <Cell col="2" text="성명"/>
- <Cell col="3" rowspan="2" text="근무형태" taborder="undefined"/>
- <Cell col="4" text=" "/>
- <Cell col="5" text=" "/>
- <Cell col="6" text=" "/>
- <Cell col="7" text=" "/>
- <Cell col="8" text=" "/>
- <Cell col="9" text=" "/>
- <Cell col="10" text=" "/>
- <Cell col="11" text=" "/>
- <Cell col="12" text=" "/>
- <Cell col="13" text=" "/>
- <Cell col="14" text=" "/>
- <Cell col="15" text=" "/>
- <Cell col="16" text=" "/>
- <Cell col="17" text=" "/>
- <Cell col="18" text=" "/>
- <Cell col="19" text=" "/>
- <Cell col="20" text=" "/>
- <Cell col="21" text=" "/>
- <Cell col="22" text=" "/>
- <Cell col="23" text=" "/>
- <Cell col="24" text=" "/>
- <Cell col="25" text=" "/>
- <Cell col="26" text=" "/>
- <Cell col="27" text=" "/>
- <Cell col="28" text=" "/>
- <Cell col="29" text=" "/>
- <Cell col="30" text=" "/>
- <Cell col="31" text=" "/>
- <Cell col="32" text=" "/>
- <Cell col="33" text=" "/>
- <Cell col="34" text=" "/>
- <Cell col="35" rowspan="2" text="월근로시간" wordwrap="word" taborder="undefined"/>
- <Cell row="1" text="년차"/>
- <Cell row="1" col="1" text="사번"/>
- <Cell row="1" col="2" text="성명"/>
- <Cell row="1" col="4" text="1"/>
- <Cell row="1" col="5" text="2"/>
- <Cell row="1" col="6" text="3"/>
- <Cell row="1" col="7" text="4"/>
- <Cell row="1" col="8" text="5"/>
- <Cell row="1" col="9" text="6"/>
- <Cell row="1" col="10" text="7"/>
- <Cell row="1" col="11" text="8"/>
- <Cell row="1" col="12" text="9"/>
- <Cell row="1" col="13" text="10"/>
- <Cell row="1" col="14" text="11"/>
- <Cell row="1" col="15" text="12"/>
- <Cell row="1" col="16" text="13"/>
- <Cell row="1" col="17" text="14"/>
- <Cell row="1" col="18" text="15"/>
- <Cell row="1" col="19" text="16"/>
- <Cell row="1" col="20" text="17"/>
- <Cell row="1" col="21" text="18"/>
- <Cell row="1" col="22" text="19"/>
- <Cell row="1" col="23" text="20"/>
- <Cell row="1" col="24" text="21"/>
- <Cell row="1" col="25" text="22"/>
- <Cell row="1" col="26" text="23"/>
- <Cell row="1" col="27" text="24"/>
- <Cell row="1" col="28" text="25"/>
- <Cell row="1" col="29" text="26"/>
- <Cell row="1" col="30" text="27"/>
- <Cell row="1" col="31" text="28"/>
- <Cell row="1" col="32" text="29"/>
- <Cell row="1" col="33" text="30"/>
- <Cell row="1" col="34" text="31"/>
- </Band>
- <Band id="body">
- <Cell text="bind:anual"/>
- <Cell col="1" text="bind:emplno"/>
- <Cell col="2" text="bind:emplnm"/>
- <Cell col="3" style="align:left top;padding:5 2 1 2;" text="bind:cdnm" wordwrap="word"/>
- <Cell col="4" displaytype="number" style="align:center middle;" text="bind:d1"/>
- <Cell col="5" displaytype="number" style="align:center middle;" text="bind:d2"/>
- <Cell col="6" displaytype="number" style="align:center middle;" text="bind:d3"/>
- <Cell col="7" displaytype="number" style="align:center middle;" text="bind:d4"/>
- <Cell col="8" displaytype="number" style="align:center middle;" text="bind:d5"/>
- <Cell col="9" displaytype="number" style="align:center middle;" text="bind:d6"/>
- <Cell col="10" displaytype="number" style="align:center middle;" text="bind:d7"/>
- <Cell col="11" displaytype="number" style="align:center middle;" text="bind:d8"/>
- <Cell col="12" displaytype="number" style="align:center middle;" text="bind:d9"/>
- <Cell col="13" displaytype="number" style="align:center middle;" text="bind:d10"/>
- <Cell col="14" displaytype="number" style="align:center middle;" text="bind:d11"/>
- <Cell col="15" displaytype="number" style="align:center middle;" text="bind:d12"/>
- <Cell col="16" displaytype="number" style="align:center middle;" text="bind:d13"/>
- <Cell col="17" displaytype="number" style="align:center middle;" text="bind:d14"/>
- <Cell col="18" displaytype="number" style="align:center middle;" text="bind:d15"/>
- <Cell col="19" displaytype="number" style="align:center middle;" text="bind:d16"/>
- <Cell col="20" displaytype="number" style="align:center middle;" text="bind:d17"/>
- <Cell col="21" displaytype="number" style="align:center middle;" text="bind:d18"/>
- <Cell col="22" displaytype="number" style="align:center middle;" text="bind:d19"/>
- <Cell col="23" displaytype="number" style="align:center middle;" text="bind:d20"/>
- <Cell col="24" displaytype="number" style="align:center middle;" text="bind:d21"/>
- <Cell col="25" displaytype="number" style="align:center middle;" text="bind:d22"/>
- <Cell col="26" displaytype="number" style="align:center middle;" text="bind:d23"/>
- <Cell col="27" displaytype="number" style="align:center middle;" text="bind:d24"/>
- <Cell col="28" displaytype="number" style="align:center middle;" text="bind:d25"/>
- <Cell col="29" displaytype="number" style="align:center middle;" text="bind:d26"/>
- <Cell col="30" displaytype="number" style="align:center middle;" text="bind:d27"/>
- <Cell col="31" displaytype="number" style="align:center middle;" text="bind:d28"/>
- <Cell col="32" displaytype="number" style="align:center middle;" text="bind:d29"/>
- <Cell col="33" displaytype="number" style="align:center middle;" text="bind:d30"/>
- <Cell col="34" displaytype="number" style="align:center middle;" text="bind:d31"/>
- <Cell col="35" text="bind:msum"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_excel" taborder="4" text="엑셀다운" class="btn7" position="absolute 1113 108 1193 127" anchor="top right" onclick="btn_excel_onclick"/>
- <Static id="caption3" text="※ OFF 는 주간에 등록된 것만 count 됩니다." position="absolute 5 778 812 798" style="color:#993300ff;" anchor="left bottom"/>
- <Static id="caption5" text="대상 목록" class="tit_2" position="absolute 0 111 80 133"/>
- <Shape id="line1" class="line_10" position="absolute 0 127 360 133"/>
- <Grid id="grd_emplist" taborder="5" binddataset="ds_main_emplist" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 132 360 667" anchor="left top bottom" oncellclick="grd_emplist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="18"/>
- <Column size="41"/>
- <Column size="48"/>
- <Column size="39"/>
- <Column size="92"/>
- <Column size="106"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="사번"/>
- <Cell col="2" text="성명"/>
- <Cell col="3" text="년차"/>
- <Cell col="4" text="부서"/>
- <Cell col="5" text="처리상태"/>
- <Cell col="6" text="직종"/>
- <Cell col="7" text="procstat"/>
- <Cell col="8" text="deptcd"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow == ds_main_emplist.rowposition ? '▶' : ''"/>
- <Cell col="1" text="bind:emplno"/>
- <Cell col="2" text="bind:emplnm"/>
- <Cell col="3" text="bind:anual"/>
- <Cell col="4" style="align:left middle;" text="bind:deptnm"/>
- <Cell col="5" text="bind:procstatnm"/>
- <Cell col="6" text="bind:jobkindnm"/>
- <Cell col="7" text="bind:procstat"/>
- <Cell col="8" text="bind:deptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption23" text="※ 부서, 년차, 직종은 조회하신 근무년월의 마지막 일자를 기준으로 인사발령정보를 참조합니다." position="absolute 5 722 539 742" style="color:#993300ff;" anchor="left bottom"/>
- <Static id="caption26" text="※ 칠곡 소아청소년 분과 중 하나를 선택 시, 아래 8개 분과 전체가 다 함께 조회됩니다. (본원은 해당되지 않습니다.)" position="absolute 5 737 812 765" style="color:#993300ff;" anchor="left bottom"/>
- <Static id="caption27" text="- 소아알레르기호흡기, 소아청소년내분비, 소아청소년소화기영양, 소아청소년신경, 소아청소년신장, 소아청소년심장, 소아청소년혈액종양, 신생아" position="absolute 20 754 827 782" style="color:#993300ff;" anchor="left bottom"/>
- <Static id="caption22" text=" - 인턴 : 개인자료 저장, 제출 -> 교육수련담당 확인 -> 교육수련실장 승인" position="absolute 5 704 849 724" style="color:#993300ff;" anchor="left bottom"/>
- <Static id="caption24" text=" - 레지던트 : 개인자료 저장, 제출 -> 의국장 확인 -> 부서장 승인 -> 교육수련담당 확인 -> 교육수련실장 승인" position="absolute 5 689 849 709" style="color:#993300ff;" anchor="left bottom"/>
- <Static id="caption25" text="※ 처리 절차" position="absolute 5 673 849 693" style="color:#993300ff;" anchor="left bottom"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_condition_oncolumnchanged">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="ym" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- <Column id="emplno" type="STRING" size="256"/>
- <Column id="emplnm" type="STRING" size="256"/>
- <Column id="powertp" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="ym"/>
- <Col id="deptcd"/>
- <Col id="deptnm"/>
- <Col id="emplno"/>
- <Col id="emplnm"/>
- <Col id="powertp"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_emplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="emplno" type="STRING" size="256" sumtext="사번"/>
- <Column id="emplnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="anual" type="STRING" size="256" sumtext="년차"/>
- <Column id="jobkindnm" type="STRING" size="256" sumtext="직종"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="부서명"/>
- <Column id="procstatnm" type="STRING" size="256" sumtext="처리상태"/>
- <Column id="procstat" type="STRING" size="256" sumtext="처리상태"/>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_dutlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="emplno" type="STRING" size="256" sumtext="사번"/>
- <Column id="anual" type="STRING" size="256" sumtext="년차"/>
- <Column id="emplnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="cdnm" type="STRING" size="256" sumtext="근무형태"/>
- <Column id="d1" type="STRING" size="256" sumtext="d1"/>
- <Column id="d2" type="STRING" size="256" sumtext="d2"/>
- <Column id="d3" type="STRING" size="256" sumtext="d3"/>
- <Column id="d4" type="STRING" size="256" sumtext="d4"/>
- <Column id="d5" type="STRING" size="256" sumtext="d5"/>
- <Column id="d6" type="STRING" size="256" sumtext="d6"/>
- <Column id="d7" type="STRING" size="256" sumtext="d7"/>
- <Column id="d8" type="STRING" size="256" sumtext="d8"/>
- <Column id="d9" type="STRING" size="256" sumtext="d9"/>
- <Column id="d10" type="STRING" size="256" sumtext="d10"/>
- <Column id="d11" type="STRING" size="256" sumtext="d11"/>
- <Column id="d12" type="STRING" size="256" sumtext="d12"/>
- <Column id="d13" type="STRING" size="256" sumtext="d13"/>
- <Column id="d14" type="STRING" size="256" sumtext="d14"/>
- <Column id="d15" type="STRING" size="256" sumtext="d15"/>
- <Column id="d16" type="STRING" size="256" sumtext="d16"/>
- <Column id="d17" type="STRING" size="256" sumtext="d17"/>
- <Column id="d18" type="STRING" size="256" sumtext="d18"/>
- <Column id="d19" type="STRING" size="256" sumtext="d19"/>
- <Column id="d20" type="STRING" size="256" sumtext="d20"/>
- <Column id="d21" type="STRING" size="256" sumtext="d21"/>
- <Column id="d22" type="STRING" size="256" sumtext="d22"/>
- <Column id="d23" type="STRING" size="256" sumtext="d23"/>
- <Column id="d24" type="STRING" size="256" sumtext="d24"/>
- <Column id="d25" type="STRING" size="256" sumtext="d25"/>
- <Column id="d26" type="STRING" size="256" sumtext="d26"/>
- <Column id="d27" type="STRING" size="256" sumtext="d27"/>
- <Column id="d28" type="STRING" size="256" sumtext="d28"/>
- <Column id="d29" type="STRING" size="256" sumtext="d29"/>
- <Column id="d30" type="STRING" size="256" sumtext="d30"/>
- <Column id="d31" type="STRING" size="256" sumtext="d31"/>
- <Column id="msum" type="STRING" size="256" sumtext="월근로시간"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_powerinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_daylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dd" type="STRING" size="256" sumtext="일자"/>
- <Column id="day" type="STRING" size="256" sumtext="요일"/>
- <Column id="holiflag" type="STRING" size="256" sumtext="휴일구분(0:휴일, 4:토요일, 8:평일)"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_print_daylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dy1" type="STRING" size="256"/>
- <Column id="dy2" type="STRING" size="256"/>
- <Column id="dy3" type="STRING" size="256"/>
- <Column id="dy4" type="STRING" size="256"/>
- <Column id="dy5" type="STRING" size="256"/>
- <Column id="dy6" type="STRING" size="256"/>
- <Column id="dy7" type="STRING" size="256"/>
- <Column id="dy8" type="STRING" size="256"/>
- <Column id="dy9" type="STRING" size="256"/>
- <Column id="dy10" type="STRING" size="256"/>
- <Column id="dy11" type="STRING" size="256"/>
- <Column id="dy12" type="STRING" size="256"/>
- <Column id="dy13" type="STRING" size="256"/>
- <Column id="dy14" type="STRING" size="256"/>
- <Column id="dy15" type="STRING" size="256"/>
- <Column id="dy16" type="STRING" size="256"/>
- <Column id="dy17" type="STRING" size="256"/>
- <Column id="dy18" type="STRING" size="256"/>
- <Column id="dy19" type="STRING" size="256"/>
- <Column id="dy20" type="STRING" size="256"/>
- <Column id="dy21" type="STRING" size="256"/>
- <Column id="dy22" type="STRING" size="256"/>
- <Column id="dy23" type="STRING" size="256"/>
- <Column id="dy24" type="STRING" size="256"/>
- <Column id="dy25" type="STRING" size="256"/>
- <Column id="dy26" type="STRING" size="256"/>
- <Column id="dy27" type="STRING" size="256"/>
- <Column id="dy28" type="STRING" size="256"/>
- <Column id="dy29" type="STRING" size="256"/>
- <Column id="dy30" type="STRING" size="256"/>
- <Column id="dy31" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_print_holiflaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="h1" type="STRING" size="256"/>
- <Column id="h2" type="STRING" size="256"/>
- <Column id="h3" type="STRING" size="256"/>
- <Column id="h4" type="STRING" size="256"/>
- <Column id="h5" type="STRING" size="256"/>
- <Column id="h6" type="STRING" size="256"/>
- <Column id="h7" type="STRING" size="256"/>
- <Column id="h8" type="STRING" size="256"/>
- <Column id="h9" type="STRING" size="256"/>
- <Column id="h10" type="STRING" size="256"/>
- <Column id="h11" type="STRING" size="256"/>
- <Column id="h12" type="STRING" size="256"/>
- <Column id="h13" type="STRING" size="256"/>
- <Column id="h14" type="STRING" size="256"/>
- <Column id="h15" type="STRING" size="256"/>
- <Column id="h16" type="STRING" size="256"/>
- <Column id="h17" type="STRING" size="256"/>
- <Column id="h18" type="STRING" size="256"/>
- <Column id="h19" type="STRING" size="256"/>
- <Column id="h20" type="STRING" size="256"/>
- <Column id="h21" type="STRING" size="256"/>
- <Column id="h22" type="STRING" size="256"/>
- <Column id="h23" type="STRING" size="256"/>
- <Column id="h24" type="STRING" size="256"/>
- <Column id="h25" type="STRING" size="256"/>
- <Column id="h26" type="STRING" size="256"/>
- <Column id="h27" type="STRING" size="256"/>
- <Column id="h28" type="STRING" size="256"/>
- <Column id="h29" type="STRING" size="256"/>
- <Column id="h30" type="STRING" size="256"/>
- <Column id="h31" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_print" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="emplno" type="STRING" size="256"/>
- <Column id="emplnm" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- <Column id="jobkindnm" type="STRING" size="256"/>
- <Column id="anual" type="STRING" size="256"/>
- <Column id="ym" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.cmb_instcd" propid="value" datasetid="ds_main_condition" columnid="instcd"/>
- <BindItem id="item1" compid="grp_sea.ipt_ym" propid="value" datasetid="ds_main_condition" columnid="ym"/>
- <BindItem id="item2" compid="grp_sea.ipt_deptcd" propid="value" datasetid="ds_main_condition" columnid="deptcd"/>
- <BindItem id="item3" compid="grp_sea.opt_deptnm" propid="value" datasetid="ds_main_condition" columnid="deptnm"/>
- <BindItem id="item4" compid="grp_sea.ipt_emplnos" propid="value" datasetid="ds_main_condition" columnid="emplno"/>
- <BindItem id="item5" compid="grp_sea.ipt_emplnms" propid="value" datasetid="ds_main_condition" columnid="emplnm"/>
- </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";
- var arErrorCode = new HashArray();
- function SMRPD30900_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMRPD30900_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_emplist);
- grdf_initGrid(grd_dutlist);
-
- fOpenForm();
- }
- function fOpenForm()
- {
- misfComboInstCdListMulti("grp_sea.cmb_instcd", utlf_getCurrentDate(),"","N");
- grp_sea.cmb_instcd.value = sysf_getUserInfo("dutplceinstcd");
-
- ds_main_emplist.clearData();
- ds_main_dutlist.clearData();
-
- ds_main_condition.setColumn(0, "ym", String(utlf_getCurrentDate()).substr(0,6));
-
- var oParam = {};
- oParam.id = "TRRPD30305";
- oParam.service = "dligclaznsmngtapp.DutScheMngt";
- oParam.method = "reqGetDutyPowerInfo";
- oParam.inds = "req=ds_main_condition";
- oParam.outds = "ds_main_powerinfo=powerinfo";
- oParam.async = false;
- oParam.callback = "cf_TRRPD30305";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRRPD30305") > -1)
- {
- var powertp = ds_main_powerinfo.getColumn(0, "powertp");
- ds_main_condition.setColumn(0, "powertp", powertp);
-
- if(utlf_isNull(powertp))
- {
- grp_sea.ipt_emplnos.value = sysf_getUserInfo("userid");
- grp_sea.ipt_emplnms.value = sysf_getUserInfo("usernm");
- grp_sea.ipt_emplnos.enable = false;
- grp_sea.btn_emplnos.enable = false;
- grp_sea.ipt_emplnms.enable = false;
- }
- else if(powertp == "1")
- {
- grp_sea.ipt_deptcd.value = ds_main_powerinfo.getColumn(0, "deptcd");
- grp_sea.opt_deptnm.value = ds_main_powerinfo.getColumn(0, "deptnm");
-
- grp_sea.ipt_deptcd.enable = false;
- grp_sea.btn_deptcd.enable = false;
- }
- else if(powertp == "2")
- {
- grp_sea.ipt_deptcd.value = ds_main_powerinfo.getColumn(0, "deptcd");
- grp_sea.opt_deptnm.value = ds_main_powerinfo.getColumn(0, "deptnm");
- grp_sea.ipt_deptcd.enable = false;
- grp_sea.btn_deptcd.enable = false;
- }
- else if(powertp == "3")
- {
- if(sysf_getUserInfo("dutplceinstcd") == "031")
- {
- grp_sea.cmb_instcd.enable = true;
- }
- }
- else if(powertp == "4") {}
- }
- fGetEmpList();// 조회
- }
- function cf_TRRPD30305(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function fGetEmpList()
- {
- if(String(ds_main_condition.getColumn(0, "ym")).length != 6 )
- {
- sysf_messageBox("근무년월을 정확하게 입력하십시요. ", "E999", "");
- grp_sea.ipt_ym.setFocus();
- return;
- }
-
- ds_main_dutlist.clearData();
-
- if(sysf_getUserInfo("dutplceinstcd") == "032")
- {
- var sDeptcd = grp_sea.ipt_deptcd.value;
- if( sDeptcd == "2110500000" || sDeptcd == "2112300000" || sDeptcd == "2112400000" || sDeptcd == "2112500000" ||
- sDeptcd == "2112600000" || sDeptcd == "2112700000" || sDeptcd == "2112800000" || sDeptcd == "2112900000" )
- {
- ds_main_condition.setColumn(0, "deptcd", "2110000000");
- }
- }
-
- var oParam = {};
- oParam.id = "TRRPD30801";
- oParam.service = "dligclaznsmngtapp.DutScheMngt";
- oParam.method = "reqGetDutyEmpListNew";
- oParam.inds = "req=ds_main_condition";
- oParam.outds = "ds_main_emplist=emplist";
- oParam.async = false;
- //oParam.callback = "cf_TRRPD30801";
- tranf_submit(oParam);
-
- ds_main_emplist.rowposition = -1;
- }
- function grd_emplist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(ds_main_emplist.rowcount == 0) return;
-
- fGetDutList();
- }
- function fGetDutList()
- {
- if(ds_main_emplist.rowposition < 0)
- {
- misfGridInit(grd_dutlist);
- }
- else
- {
- ds_main_dutlist.clearData();
-
- ds_send.clearData();
- dsf_makeValue(ds_send, "instcd", "string", grp_sea.cmb_instcd.value, 0);
- dsf_makeValue(ds_send, "ym", "string", ds_main_condition.getColumn(0, "ym"), 0);
- dsf_makeValue(ds_send, "emplno", "string", ds_main_emplist.getColumn(ds_main_emplist.rowposition, "emplno"), 0);
-
- var oParam = {};
- oParam.id = "TRRPD30903";
- oParam.service = "dligclaznsmngtapp.DutScheMngt";
- oParam.method = "reqGetDutyEmpListAll2";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_dutlist=dutlist";
- oParam.async = false;
- oParam.callback = "cf_TRRPD30903";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRRPD30903") > -1)
- {
- var oParam = {};
- oParam.id = "TRRPD30902";
- oParam.service = "dligclaznsmngtapp.DutScheMngt";
- oParam.method = "reqGetMonDayList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_daylist=daylist";
- oParam.async = false;
- oParam.callback = "cf_TRRPD30902";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRRPD30902") > -1)
- {
- var iLength = ds_main_daylist.rowcount;
-
- for(var i = 1; i <= 31; i++)
- {
- grd_dutlist.setCellProperty("Head", parseInt(i+3), "text", "");
-
- for(var k = 0; k < iLength; k++)
- {
- if(ds_main_daylist.getColumn(k, "dd") == i)
- {
- grd_dutlist.setCellProperty("Head", parseInt(i+3), "text", ds_main_daylist.getColumn(k, "day"));
-
- if(ds_main_daylist.getColumn(k, "holiflag") != "8")
- {
- grd_dutlist.setCellProperty("Head", parseInt(i+3), "color", "red");
- grd_dutlist.setCellProperty("Head", parseInt(i+3), "font", "arial,9,bold");
- misfSetGridColor(grd_dutlist, "d"+i, "#faeefa", "B", "");
- }
- else
- {
- grd_dutlist.setCellProperty("Head", parseInt(i+3), "color", "balck");
- grd_dutlist.setCellProperty("Head", parseInt(i+3), "font", "");
- misfSetGridColor(grd_dutlist, "d"+i, "", "B", "");
- }
- }
- }
- }
-
- for(var i = 1; i <= 31; i++)
- {
- if(utlf_isNull(grd_dutlist.getCellProperty("Head", parseInt(i+3), "text")))
- {
- misfColHidden(grd_dutlist, "d"+i, true);
- }
- else
- {
- misfColHidden(grd_dutlist, "d"+i, false);
- }
- }
- }
- }
- }
- }
- function cf_TRRPD30903(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function cf_TRRPD30902(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function grd_dutlist_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- trace(e.cell)
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_dutlist, "excel", "Sheet1", "true", "", "open");
- }
- function btn_print_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var i = 1; i <= 31; i++)
- {
- dsf_makeValue(ds_print_daylist, "dy"+i, "string", grd_dutlist.getCellProperty("Head", parseInt(i+3), "text"), 0);
- }
-
- var iLength = ds_main_daylist.rowcount;
-
- for(var i = 1; i <= 31; i++)
- {
- dsf_makeValue(ds_print_holiflaglist, "h"+i, "string", "8", 0);
-
- for(var k = 0; k < iLength; k++)
- {
- if(ds_main_daylist.getColumn(k, "dd") == i)
- {
- ds_print_holiflaglist.setColumn(0, "h" + i, ds_main_daylist.getColumn(k, "holiflag"));
- }
- }
- }
-
-
- dsf_makeValue(ds_print, "emplno", "string", ds_main_emplist.getColumn(ds_main_emplist.rowposition, "emplno"), 0);
- dsf_makeValue(ds_print, "emplnm", "string", ds_main_emplist.getColumn(ds_main_emplist.rowposition, "emplnm"), 0);
- dsf_makeValue(ds_print, "deptnm", "string", ds_main_emplist.getColumn(ds_main_emplist.rowposition, "deptnm"), 0);
- dsf_makeValue(ds_print, "anual", "string", ds_main_emplist.getColumn(ds_main_emplist.rowposition, "anual"), 0);
- dsf_makeValue(ds_print, "ym", "string", ds_main_condition.getColumn(0, "ym"), 0);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/print", ds_print);
- rptf_setNodeListToDOM(objDOM, "/root/print/daylist", ds_print_daylist);
- rptf_setNodeListToDOM(objDOM, "/root/print/holiflaglist", ds_print_holiflaglist);
- rptf_setNodeListToDOM(objDOM, "/root/main/dutlist", ds_main_dutlist);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "";
- rptf_exeReportPreview30(["RPRPD30901"],[objParam], option);
- }
- function grp_sea_cmb_instcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- misfGridInit(grd_emplist);
- misfGridInit(grd_dutlist);
- }
- function grp_sea_ipt_ym_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- ds_main_condition.setColumn(0, "ym", String(obj.value).substr(0,6));
- ds_main_dutlist.clearData();
- ds_main_emplist.clearData();
- }
- function ds_main_condition_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "deptcd")
- {
- grp_sea.ipt_deptcd.value = e.newvalue;
- grp_sea.ipt_deptcd.setFocus();
- ds_main_emplist.clearData();
- ds_main_dutlist.clearData();
- grp_sea.opt_deptnm.value = "";
- misfValidationCheck("02", "", "deptcd,deptnm" );
- }
- if(e.columnid == "emplno")
- {
- grp_sea.ipt_emplnos.value = e.newvalue;
- grp_sea.ipt_emplnos.setFocus();
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNO", recv_list);
-
- if (String(e.newvalue).length > 0)
- {
- grp_sea.btn_search.click();
- }
- }
- if(e.columnid == "emplnm")
- {
- grp_sea.ipt_emplnms.value = e.newvalue;
- grp_sea.ipt_emplnms.setFocus();
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNM", recv_list);
-
- if (String(e.newvalue).length > 0)
- {
- grp_sea.btn_search.click();
- }
- }
- }
- function grp_sea_ipt_deptcd_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- }
- }
- function grp_sea_btn_deptcd_onclick(obj:Button, e:ClickEventInfo)
- {
- var vOrigDeptcd = grp_sea.ipt_deptcd.value;
- var recv_list = "deptcd,deptnm";
- misfOpenPopUpList("02", grp_sea.ipt_deptcd,"", recv_list) ;
- if(vOrigDeptcd != grp_sea.ipt_deptcd.value)
- {
- ds_main_emplist.clearData();
- ds_main_dutlist.clearData();
- }
- }
- function grp_sea_ipt_emplnos_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- grp_sea.btn_search.click();
- }
- }
- function grp_sea_ipt_emplnms_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- grp_sea.btn_search.click();
- }
- }
- function grp_sea_btn_emplnos_onclick(obj:Button, e:ClickEventInfo)
- {
- var recv_list = "emplno,emplnm" ;
- rpbfOpenPopUpList("SPRPB00101", grp_sea.ipt_emplnos, recv_list,"1","N");
-
- if (String(grp_sea.ipt_emplnos.value).length > 0)
- {
- grp_sea.btn_search.click();
- }
- }
- function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetEmpList();
- }
- ]]></Script>
- </Form>
- </FDL>
|