123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMASI04500" position="absolute 0 0 1100 734" titletext="직원간염예방접종 대상자 관리" onload="SMASI04500_onload" scrollbars="none" oninit="SMASI04500_oninit">
- <Layouts>
- <Layout>
- <Div id="grp_btn" position="absolute 0 711 1100 734" anchor="left right bottom" positiontype="position" scrollbars="none">
- <Layouts>
- <Layout/>
- </Layouts>
- </Div>
- <cp_deptList id="cp_deptList00" titletext="New Form" taborder="1" text="cp_deptList00" position="absolute 824 38 860 53"/>
- <cp_deptList id="cp_deptList01" titletext="New Form" taborder="2" text="cp_deptList00" position="absolute 863 38 899 53"/>
- <Div id="grp_tle" position="absolute 0 0 1100 26" anchor="default" positiontype="position" scrollbars="none">
- <Layouts>
- <Layout>
- <Static id="caption6" class="tit_1" position="absolute 0 0 213 26" anchor="default" text="직원간염예방접종 대상자 관리" positiontype="position"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_biz" position="absolute 0 26 1100 731" anchor="all" positiontype="position" scrollbars="none">
- <Layouts>
- <Layout width="1100" height="708">
- <Div id="group1" position="absolute 0 0 1100 42" style="align:center top;" anchor="left top right" class="div_SA" scrollbars="none" positiontype="position">
- <Layouts>
- <Layout>
- <Static id="cap_fromdd" class="search_name" visible="true" position="absolute 8 13 82 33" anchor="left top" text="기간선택 :" positiontype="position"/>
- <Static id="caption19" class="search_no_b" position="absolute 291 13 307 33" anchor="left top" text="~" style="align:center middle;" positiontype="position"/>
- <Button id="btn_search" class="btn1" position="absolute 976 13 1032 33" anchor="left top" text="조회" onlbuttonup="btn_search_onlbuttonup" onclick="btn_search_onclick" taborder="3" positiontype="position"/>
- <Calendar id="ipt_fromdd" class="input_essential" position="absolute 177 13 291 33" anchor="left top" dateformat="yyyy-MM-dd " value="null" onchanged="grp_biz_group1_ipt_fromdd_onchanged" autoselect="true" autoskip="true" taborder="1" positiontype="position"/>
- <Calendar id="ipt_todd" class="input_essential" position="absolute 307 13 423 33" anchor="left top" dateformat="yyyy-MM-dd " value="null" onkeyup="grp_biz_group1_ipt_todd_onkeyup" enable="true" autoselect="true" autoskip="true" taborder="2" positiontype="position"/>
- <Button id="button2" taborder="4" text="엑셀" onclick="button2_onclick" onlbuttonup="button2_onlbuttonup" class="btn7" position="absolute 1039 13 1091 33" anchor="left top"/>
- <Shape id="line5" linetype="vertical" class="line_4" position="absolute 430 12 434 34" anchor="left top"/>
- <Combo id="cmb_trgtmancnt" taborder="0" innerdataset="ds_temp_date" codecolumn="value" datacolumn="label" class="combo_default" position="absolute 82 13 167 33" anchor="left top"/>
- <Shape id="line00" linetype="vertical" class="line_4" position="absolute 966 12 970 34" anchor="left top"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption2" text="직원간염예방접종 대상자 관리" class="tit_2" position="absolute 0 44 205 64" onclick="grp_biz_caption2_onclick" anchor="default" positiontype="position"/>
- <Static id="caption3" text="정렬선택" class="cell_1" visible="false" position="absolute 1 97 71 121" style="align:center middle;" anchor="default" positiontype="position"/>
- <Combo id="cmb_cond3" taborder="17" class="combo_search" visible="false" position="absolute 300 99 380 119" anchor="default" enable="false" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
- <Edit id="output4" taborder="18" readonly="true" visible="false" position="absolute 655 99 685 119" style="align:center middle;" anchor="default" value="4" positiontype="position"/>
- <Edit id="output5" taborder="19" readonly="true" visible="false" position="absolute 849 99 879 119" style="align:center middle;" anchor="default" value="5" positiontype="position"/>
- <Combo id="cmb_cond8" taborder="20" class="combo_search" visible="false" position="absolute 771 99 841 119" anchor="default" enable="false" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
- <Edit id="output6" taborder="21" readonly="true" visible="false" position="absolute 267 99 297 119" style="align:center middle;" anchor="default" value="2" positiontype="position"/>
- <Edit id="output7" taborder="22" readonly="true" visible="false" position="absolute 461 99 491 119" style="align:center middle;" anchor="default" value="3" positiontype="position"/>
- <Edit id="output8" taborder="23" readonly="true" visible="false" position="absolute 73 99 103 119" style="align:center middle;" anchor="default" value="1" positiontype="position"/>
- <Combo id="cmb_cond5" taborder="24" class="combo_search" visible="false" position="absolute 494 99 574 119" anchor="default" enable="false" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
- <Combo id="cmb_cond6" taborder="25" class="combo_search" visible="false" position="absolute 577 99 647 119" anchor="default" enable="false" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
- <Combo id="cmb_cond4" taborder="26" class="combo_search" visible="false" position="absolute 383 99 453 119" anchor="default" enable="false" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
- <Combo id="cmb_cond2" taborder="27" class="combo_search" visible="false" position="absolute 189 99 259 119" anchor="default" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
- <Combo id="cmb_cond7" taborder="28" class="combo_search" visible="false" position="absolute 688 99 768 119" anchor="default" enable="false" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
- <Combo id="cmb_cond9" taborder="29" class="combo_search" visible="false" position="absolute 882 99 962 119" anchor="default" enable="false" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
- <Combo id="cmb_cond1" taborder="30" class="combo_search" visible="false" position="absolute 106 99 186 119" anchor="default" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
- <Combo id="cmb_cond10" taborder="31" class="combo_search" visible="false" position="absolute 965 99 1035 119" anchor="default" enable="false" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
- <Grid id="grd_empinfc" taborder="32" binddataset="ds_empinfc" useinputpanel="false" extendsizetype="both" cellsizingtype="col" oncelldblclick="grp_biz_grd_empinfc_oncelldblclick" position="absolute 0 62 1100 672" anchor="all" style="align:center middle;" onlbuttonDown="grd_empinfc_onlbuttonDown" onbuttondown="grd_empinfc_onbuttondown" onclick="grd_empinfc_onclick" selecttype="multirow" autoenter="select" autosizingtype="row" cellsizebandtype="allband">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="30" band="left"/>
- <Column size="70" band="left"/>
- <Column size="45" band="left"/>
- <Column size="55" band="left"/>
- <Column size="30" band="left"/>
- <Column size="30" band="left"/>
- <Column size="65" band="left"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="120"/>
- <Column size="70"/>
- <Column size="120"/>
- <Column size="150"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="순번" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="통보일" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="사번" taborder="undefined"/>
- <Cell col="4" rowspan="2" text="성명" taborder="undefined"/>
- <Cell col="5" rowspan="2" text="성별" taborder="undefined"/>
- <Cell col="6" rowspan="2" text="나이" taborder="undefined"/>
- <Cell col="7" rowspan="2" text="등록번호" taborder="undefined"/>
- <Cell col="8" rowspan="2" text="부서" taborder="undefined"/>
- <Cell col="9" rowspan="2" text="직종" taborder="undefined"/>
- <Cell col="10" colspan="6" text="검사결과" taborder="undefined"/>
- <Cell col="16" colspan="2" text="접종 대상" taborder="undefined"/>
- <Cell col="18" rowspan="2" text="1차 예방접종일" taborder="undefined"/>
- <Cell col="19" rowspan="2" text="2차 예방접종일" taborder="undefined"/>
- <Cell col="20" rowspan="2" text="3차 예방접종일" taborder="undefined"/>
- <Cell col="21" colspan="2" text="최종검사" taborder="undefined"/>
- <Cell col="23" colspan="2" text="관리결과" taborder="undefined"/>
- <Cell col="25" rowspan="2" text="비고" taborder="undefined"/>
- <Cell row="1" col="10" text="검사결과일"/>
- <Cell row="1" col="11" text="HAV Ab"/>
- <Cell row="1" col="12" text="검사결과일"/>
- <Cell row="1" col="13" text="HBsAg"/>
- <Cell row="1" col="14" text="검사결과일"/>
- <Cell row="1" col="15" text="HBsAb"/>
- <Cell row="1" col="16" text="구분"/>
- <Cell row="1" col="17" text="대상"/>
- <Cell row="1" col="21" text="결과일"/>
- <Cell row="1" col="22" text="최종항체검사결과"/>
- <Cell row="1" col="23" text="결과" taborder="undefined"/>
- <Cell row="1" col="24" text="결과상세"/>
- </Band>
- <Band id="body">
- <Cell displaytype="image"/>
- <Cell col="1" text="expr:currow + 1"/>
- <Cell col="2" displaytype="date" edittype="date" text="bind:notidd" editautoselect="true" editacceptsdirectionkey="true" calendardisplaynulltype="none"/>
- <Cell col="3" text="bind:userid"/>
- <Cell col="4" text="bind:usernm"/>
- <Cell col="5" displaytype="combo" style="align:center middle;" text="bind:sex" combodataset="ds_sex" combocodecol="code" combodatacol="value"/>
- <Cell col="6" style="align:center middle;" text="bind:age"/>
- <Cell col="7" edittype="text" style="align:center;" text="bind:pid"/>
- <Cell col="8" edittype="text" style="align:left;" text="bind:deptcd"/>
- <Cell col="9" edittype="text" style="padding:0 0 0 2;" text="bind:jobkindcd"/>
- <Cell col="10" displaytype="expr:utlf_isNull(utlf_trim(havabdt)) ? 'normal' : 'date'" text="bind:havabdt" mask="expr:utlf_isNull(havabdt) ? '' : 'yyyy-MM-dd'" maskchar=" "/>
- <Cell col="11" style="align:left;" text="bind:havabrslt"/>
- <Cell col="12" displaytype="expr:utlf_isNull(utlf_trim(hbsagdt)) ? 'normal' : 'date'" text="bind:hbsagdt" mask="expr:utlf_isNull(hbsagdt) ? '' : 'yyyy-MM-dd'" maskchar=" "/>
- <Cell col="13" style="align:left;" text="bind:hbsagrslt"/>
- <Cell col="14" displaytype="expr:utlf_isNull(utlf_trim(hbsabdt)) ? 'normal' : 'date'" text="bind:hbsabdt" mask="expr:utlf_isNull(hbsabdt) ? '' : 'yyyy-MM-dd'" maskchar=" "/>
- <Cell col="15" style="align:left middle;" text="bind:hbsabrslt"/>
- <Cell col="16" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:vaccgubun" combodataset="ds_vaccgubun" combocodecol="code" combodatacol="value"/>
- <Cell col="17" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:vaccobj" combodataset="ds_vaccobj" combocodecol="code" combodatacol="value"/>
- <Cell col="18" displaytype="date" edittype="date" text="bind:fstvaccdd" editautoselect="true" editacceptsdirectionkey="true" calendardisplaynulltype="none"/>
- <Cell col="19" displaytype="date" edittype="date" text="bind:sndvaccdd" editautoselect="true" editacceptsdirectionkey="true" calendardisplaynulltype="none"/>
- <Cell col="20" displaytype="date" edittype="date" text="bind:thdvaccdd" editautoselect="true" editacceptsdirectionkey="true" calendardisplaynulltype="none"/>
- <Cell col="21" displaytype="date" edittype="date" text="bind:lstexamdd" editautoselect="true" editacceptsdirectionkey="true" calendardisplaynulltype="none"/>
- <Cell col="22" edittype="textarea" style="align:left middle;" text="bind:lstexamrslt" autosizerow="limitmin"/>
- <Cell col="23" displaytype="combo" edittype="combo" style="align:center;" text="bind:mngtrslt" combodataset="ds_mngtrslt" combocodecol="code" combodatacol="value"/>
- <Cell col="24" edittype="textarea" style="align:left middle;" text="bind:mngtrsltdesc" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="25" edittype="textarea" style="align:left middle;" text="bind:bigo" wordwrap="word" autosizerow="limitmin"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_load" taborder="33" text="파일열기" onclick="btn_load_onclick" class="btn2" enable="true" position="absolute 440 13 504 32" anchor="default"/>
- <Button id="bt_addrow" taborder="34" text="행추가" onclick="bt_addrow_onclick" class="btn2" position="absolute 509 13 565 33" anchor="top right" style=":disabled {font:Dotum,9;}"/>
- <Button id="bt_deleterow" taborder="36" text="행삭제" onclick="bt_deleterow_onclick" class="btn2" position="absolute 568 13 624 33" anchor="top right" style=":disabled {font:Dotum,9;}"/>
- <Button id="bt_save" taborder="37" text="저장" onclick="bt_save_onclick" class="btn4" position="absolute 964 684 1020 704" anchor="right bottom" style=":disabled {font:Dotum,9;}"/>
- <Shape id="line15" onclick="group5_line15_onclick" class="line_3" position="absolute 0 676 1097 682" anchor="default"/>
- <Button id="bt_init" taborder="38" text="초기화" onclick="bt_init_onclick" class="btn4" position="absolute 1027 683 1096 703" anchor="right bottom" style=":disabled {font:Dotum,9;}"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_empinfc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" onvaluechanged="ds_empinfc_onvaluechanged" oncolumnchanged="ds_empinfc_oncolumnchanged">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256"/>
- <Column id="no" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="gubun" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="wrtedd" type="STRING" size="256"/>
- <Column id="wrtetm" type="STRING" size="256"/>
- <Column id="notidd" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="jobkindcd" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="deptdesc" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="vaccgubun" type="STRING" size="256"/>
- <Column id="vaccgubundesc" type="STRING" size="256"/>
- <Column id="vaccobj" type="STRING" size="256"/>
- <Column id="vaccobjdesc" type="STRING" size="256"/>
- <Column id="fstvaccdd" type="STRING" size="256"/>
- <Column id="fstvaccdesc" type="STRING" size="256"/>
- <Column id="sndvaccdd" type="STRING" size="256"/>
- <Column id="sndvaccdesc" type="STRING" size="256"/>
- <Column id="thdvaccdd" type="STRING" size="256"/>
- <Column id="thdvaccdesc" type="STRING" size="256"/>
- <Column id="lstexamdd" type="STRING" size="256"/>
- <Column id="lstexamrslt" type="STRING" size="256"/>
- <Column id="mngtrslt" type="STRING" size="256"/>
- <Column id="mngtrsltdesc" type="STRING" size="256"/>
- <Column id="bigo" type="STRING" size="256"/>
- <Column id="havabdt" type="STRING" size="256"/>
- <Column id="havabrslt" type="STRING" size="256"/>
- <Column id="hbsagdt" type="STRING" size="256"/>
- <Column id="hbsagrslt" type="STRING" size="256"/>
- <Column id="hbsabdt" type="STRING" size="256"/>
- <Column id="hbsabrslt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="srchkind" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="status"/>
- <Col id="srchkind">1</Col>
- <Col id="todd"/>
- <Col id="fromdd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_loaddata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_loaddata_oncolumnchanged" onvaluechanged="ds_loaddata_onvaluechanged">
- <ColumnInfo>
- <Column id="no" type="STRING" size="256"/>
- <Column id="notidd" type="DATE" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="jobkindcd" type="STRING" size="256"/>
- <Column id="vaccgubun" type="STRING" size="256"/>
- <Column id="vaccobj" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_sex" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="code">F</Col>
- <Col id="value">여</Col>
- </Row>
- <Row>
- <Col id="value">남</Col>
- <Col id="code">M</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_vaccgubun" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="code">1</Col>
- <Col id="value">신규입사</Col>
- </Row>
- <Row>
- <Col id="value">신장실배치</Col>
- <Col id="code">2</Col>
- </Row>
- <Row>
- <Col id="value">생애전환기</Col>
- <Col id="code">3</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_vaccobj" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="code">1</Col>
- <Col id="value">B형간염 예방접종</Col>
- </Row>
- <Row>
- <Col id="value">A형간염 예방접종</Col>
- <Col id="code">2</Col>
- </Row>
- <Row>
- <Col id="code">3</Col>
- <Col id="value">정밀항체검사</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_date" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">등록일</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">통보일</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">1차예방접종일</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">2차예방접종일</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">3차예방접종일</Col>
- <Col id="value">5</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_mngtrslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="code">1</Col>
- <Col id="value">접종완료</Col>
- </Row>
- <Row>
- <Col id="value">기간만료</Col>
- <Col id="code">2</Col>
- </Row>
- <Row>
- <Col id="code">9</Col>
- <Col id="value">기타</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item1" compid="grp_biz.group1.ipt_fromdd" propid="value" datasetid="ds_send_reqdata" columnid="fromdd"/>
- <BindItem id="item2" compid="grp_biz.group1.ipt_todd" propid="value" datasetid="ds_send_reqdata" columnid="todd"/>
- <BindItem id="item0" compid="grp_biz.group1.cmb_trgtmancnt" propid="value" datasetid="ds_send_reqdata" columnid="srchkind"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * File Name : SMASI04500_직원간염예방접종 대상자 등록.xfdl
- * Creator :
- * Make Date : 2020.04.01
- *
- * Description : 최초개발
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- var vInsertFlag="N";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- function date_add(sDate, nDays){
- var yy = parseInt(sDate.substr(0,4), 10);
- var mm = parseInt(sDate.substr(4,2), 10);
- var dd = parseInt(sDate.substr(6,2), 10);
- var d = new Date(yy, mm - 1, dd + nDays);
- yy = d.getFullYear().toString();
- mm = d.getMonth() + 1; mm = (mm < 10) ? '0' + mm : mm.toString();
- dd = d.getDate(); dd = (dd < 10) ? '0' + dd : dd.toString();
-
- return yy + mm + dd;
- }
- //초기화
- function lf_Init(){
- // Grid 초기화
- //utlf_getCurrentDate(); //현재일자 YYYYMMDD
- //utlf_getCurrentTime(); //현재시간 HH:MM:TT
- grdf_setRowTypeIcon(grp_biz.grd_empinfc, 0); //상태값 표시
- grdf_initGrid(grp_biz.grd_empinfc);
- grdf_setToolTipBind(grp_biz.grd_empinfc);
-
- //Dataset 초기화
- ds_empinfc.clearData();
- ds_loaddata.clearData();
- grp_biz.bt_save.enable = false;
-
- //
- ds_send_reqdata.setColumn(0,"todd", utlf_getCurrentDate());
- ds_send_reqdata.setColumn(0,"fromdd", date_add(utlf_getCurrentDate(), -6));
-
- }
- //저장
- function lf_Save(){
- var oParam = {};
- oParam.id = "";
- oParam.service = "infcmngtapp.LglyDisMngt";
- oParam.method = "reqSetLglyDisHepttsEmplInfo";
- oParam.inds = "req=ds_empinfc:A send=ds_send_reqdata";
- oParam.outds = "ds_empinfc=getLglyDisHepttsEmplInfo";
- oParam.async = false;
- //oParam.callback = "cf_TRASI01101";
- tranf_submit(oParam);
-
- //grp_biz.grd_empinfc.setCellProperty("Body", 2, "edittype", "none");
- grp_biz.grd_empinfc.setCellProperty("Body", 3, "edittype", "none");
- grp_biz.grd_empinfc.setCellProperty("Body", 4, "edittype", "none");
- }
- //행추가
- function lf_AddRow(){
- /*
- Dataset.ROWTYPE_EMPTY 0 존재하지 않는 Row 상태
- Dataset.ROWTYPE_NORMAL 1 초기 Row 상태
- Dataset.ROWTYPE_INSERT 2 추가된 Row 상태
- Dataset.ROWTYPE_UPDATE 4 수정된 Row 상태
- Dataset.ROWTYPE_DELETE 8 삭제된 Row 상태
- Dataset.ROWTYPE_GROUP 16 Group 정보 Row 상태
- */
- var vDate = utlf_getCurrentDate();
- var vTm = utlf_getCurrentTime();
-
- ds_empinfc.addRow();
- // grp_biz.grd_empinfc.edittype ="text"
- grp_biz.grd_empinfc.setCellProperty("Body", 2, "edittype", "date");
- grp_biz.grd_empinfc.setCellProperty("Body", 3, "edittype", "text");
- grp_biz.grd_empinfc.setCellProperty("Body", 4, "edittype", "text");
-
- ds_empinfc.updatecontrol = false;
- ds_empinfc.enableevent = false;
- ds_empinfc.setColumn(ds_empinfc.rowposition,"status","i");
- ds_empinfc.setColumn(ds_empinfc.rowposition, "wrtedd", vDate);
- ds_empinfc.setColumn(ds_empinfc.rowposition, "wrtetm", vTm);
- ds_empinfc.updatecontrol = true;
- ds_empinfc.enableevent = true;
- }
- //행삭제
- function lf_Delete(){
- var nRow = ds_empinfc.rowposition;
-
- //Dataset 행삭제
- ds_empinfc.updatecontrol = false;
-
- if (ds_empinfc.getRowType(nRow) == Dataset.ROWTYPE_INSERT) {
- ds_empinfc.deleteRow(nRow);
-
- }
- else {
- ds_empinfc.updatecontrol = false;
- ds_empinfc.enableevent = false;
- ds_empinfc.setColumn(nRow,"status","d");
- var bSucc = ds_empinfc.setRowType(nRow, Dataset.ROWTYPE_DELETE);
-
- grp_biz.bt_save.enable = true;
- ds_empinfc.updatecontrol = true;
- ds_empinfc.enableevent = true;
-
- }
- ds_empinfc.updatecontrol = true;
- }
- //=======================================================================================
- function SMASI04500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- }
- function SMASI04500_onload(obj:Form, e:LoadEventInfo)
- {
- lf_Init();
- }
- function cf_TRASI01101(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- //=======================================================================================
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼
- ****************************************************************************************/
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- //var nHScollPos = grp_biz.grd_empinfc.hscrollbar.pos;
-
- if(sysf_getUserInfo("dutplcecd")=="3110300000"){
- ds_send_reqdata.setColumn(0,"status", "A");
- }else{
- ds_send_reqdata.setColumn(0,"status", "-");
- }
-
- var oParam = {};
- oParam.id = "";
- oParam.service = "infcmngtapp.LglyDisMngt";
- oParam.method = "reqGetLglyDisHepttsEmplInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_empinfc=getLglyDisHepttsEmplInfo";
- oParam.async = false;
- //oParam.callback = "cf_TRASI01101";
- tranf_submit(oParam);
-
- //grp_biz.grd_empinfc.setCellProperty("Body", 2, "edittype", "none");
- grp_biz.grd_empinfc.setCellProperty("Body", 5, "edittype", "none");
- grp_biz.grd_empinfc.setCellProperty("Body", 6, "edittype", "none");
- //grp_biz.grd_empinfc.hscrollbar.pos = nHScollPos;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀 버튼
- ****************************************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- //grp_biz.grd_empinfc.setRealColSize(5, 60, false);
- grdf_exportExcel(grp_biz.grd_empinfc, "직원간염예방접종 대상자 리스트", "직원간염예방접종 대상자 리스트", false, "" ,"user");
-
- //grdf_exportExcelMulti("grp_biz.grd_empinfc,grp_biz.grd_empinfc00", "직원간염예방접종 대상자보고서", "직원간염예방접종 대상자1,직원간염예방접종 대상자2", false, "", "user", true);
- //grp_biz.grd_empinfc.setRealColSize(5, 0, false);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_init
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 초기화 버튼
- ****************************************************************************************/
- function btn_init_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_empinfc.clearData();
- grp_biz.grd_empinfc.setCellProperty("Body", 2, "edittype", "none");
- grp_biz.grd_empinfc.setCellProperty("Body", 3, "edittype", "none");
- grp_biz.grd_empinfc.setCellProperty("Body", 4, "edittype", "none");
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_trgtempnm
- * Event : onkeydown
- * Argument : 01.obj : Edit
- * : 02.e : KeyEventInfo
- * Description : 직원서명을 입력하고 엔터를 치면 조회가 된다.
- ****************************************************************************************/
- function grp_biz_group1_ipt_trgtempnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == "13" ){
- fGetEmpInfcRecRefInfo();
- }
- }
- /****************************************************************************************
- * Components : Calendar
- * Components ID : ipt_todd
- * Event : onkeyup
- * Argument : 01.obj : Calendar
- * : 02.e : KeyEventInfo
- * Description : 아래쪽 방향키 입력시 달력 표시
- ****************************************************************************************/
- function grp_biz_group1_ipt_todd_onkeyup(obj:Calendar, e:KeyEventInfo)
- {
- if(e.keycode == "40") { //아래쪽 방향키 입력시
- obj.dropdown();
- }
- }
- function grp_biz_group1_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- obj.updateToDataset();
- var sDate = ds_send_reqdata.getColumn(0, "fromdd");
- ds_send_reqdata.setColumn(0,"todd", date_add(sDate, 6));
- }
- function grp_biz_grd_empinfc_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
-
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_load
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 파일열기 버튼 실행(Excel업로드)
- ****************************************************************************************/
- function btn_load_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_loaddata.clearData();
- var vDate = utlf_getCurrentDate();
- var vTm = utlf_getCurrentTime();
- grdf_ImportExcel("ds_loaddata", 2, grp_biz.grd_loaddata, 0);
-
- ds_empinfc.copyData(ds_loaddata, true);
- //dsf_copyDs(ds_empinfc, ds_loaddata);
- if(ds_empinfc.rowcount > 0) {
-
- ds_empinfc.addColumn("status", "String", 256);
- ds_empinfc.addColumn("instcd", "String", 256);
- ds_empinfc.addColumn("wrtedd", "String", 256);
- ds_empinfc.addColumn("wrtetm", "String", 256);
- ds_empinfc.addColumn("seqno", "String", 256);
- ds_empinfc.addColumn("notidd", "String", 256);
- ds_empinfc.addColumn("deptdesc", "String", 256);
- ds_empinfc.addColumn("vaccgubun", "String", 256);
- ds_empinfc.addColumn("vaccobj", "String", 256);
-
- ds_empinfc.updatecontrol = false;
- ds_empinfc.enableevent = false;
-
- for(var i = 0 ; i < ds_empinfc.rowcount ; i++) {
- ds_empinfc.setColumn(i,"status","i");
- ds_empinfc.setRowType(i, Dataset.ROWTYPE_INSERT);
- ds_empinfc.setColumn(i, "wrtedd", vDate);
- ds_empinfc.setColumn(i, "wrtetm", vTm);
- }
-
- ds_empinfc.updatecontrol = true;
- ds_empinfc.enableevent = true;
- }
- //ds_loaddata.copyData(ds_empinfc);
- grp_biz.btn_load.enable = true;
- grp_biz.bt_save.enable = true;
- }
- function ds_loaddata_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- //ds_loaddata.updatecontrol = true;
- //dsf_datasetUpdateChk(obj)
- ds_loaddata.enableevent = false;
- ds_loaddata.updatecontrol = false;
- ds_loaddata.setRowType(ds_loaddata.rowposition, 4);
- ds_loaddata.updatecontrol = true;
- ds_loaddata.enableevent = true;
- }
- function ds_loaddata_onvaluechanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- dsf_datasetUpdateChk(obj);
- }
- //행추가버튼
- function bt_addrow_onclick(obj:Button, e:ClickEventInfo)
- {
- //lf_Init();
- lf_AddRow();
- }
- //초기화버튼
- function bt_init_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_Init();
- }
- //저장 버튼
- function bt_save_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_Save();
- }
- //행삭제버튼
- function bt_deleterow_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_Delete();
- }
- //ds_empinfc_value 변경
- function ds_empinfc_onvaluechanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- // Dataset 변경되면 저장버튼 활성화
- if ( dsf_datasetUpdateChk(obj) ) {
- grp_biz.bt_save.enable = true;
- }
- else {
- grp_biz.bt_save.enable = false;
- }
-
- }
- function ds_empinfc_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(ds_empinfc.getColumn(e.row, "status" != "i")){
- ds_empinfc.setRowType(e.row, Dataset.ROWTYPE_UPDATE);
- ds_empinfc.setColumn(e.row,"status","u");
- }
-
- if(e.columnid == "fstvaccdd"){
- //trace("111 :" + utlf_addDate(ds_empinfc.getColumn(ds_empinfc.rowposition, "fstvaccdd"),8));
- //trace("222 :" + utlf_isValidDateTime(ds_empinfc.getColumn(ds_empinfc.rowposition, "fstvaccdd"), "YYYYMMDD"));
- if(utlf_addDate(ds_empinfc.getColumn(ds_empinfc.rowposition, "fstvaccdd"),8)){
- ds_empinfc.setColumn(ds_empinfc.rowposition, "sndvaccdd", utlf_addDate(ds_empinfc.getColumn(ds_empinfc.rowposition, "fstvaccdd"),28));
- ds_empinfc.setColumn(ds_empinfc.rowposition, "thdvaccdd", utlf_addDate(ds_empinfc.getColumn(ds_empinfc.rowposition, "fstvaccdd"),180));
- ds_empinfc.setColumn(ds_empinfc.rowposition, "lstexamdd", utlf_addDate(ds_empinfc.getColumn(ds_empinfc.rowposition, "fstvaccdd"),210));
- }
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|