123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAHS00900" position="absolute 0 0 1211 784" titletext="건진일평균인원현황" oninit="SMAHS00900_oninit" onload="SMAHS00900_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1211 23" id="group3">
- <Layouts>
- <Layout>
- <Static text="건진별 수입현황" position="absolute 0 0 133 23" align="align:center middle;" id="caption60" class="tit_1" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 4 23 1207 58" id="group2" class="div_SA">
- <Layouts>
- <Layout>
- <Shape position="absolute 1129 7 1135 29" linetype="vertical" id="line2" class="line_4"/>
- <Button position="absolute 1139 7 1195 29" id="btn_search" class="btn1" text="조회" onclick="group2_btn_search_onclick"/>
- <Button position="absolute 976 7 1056 29" id="btn_excelsave" class="btn7" visible="true" text="액셀저장" onclick="group2_btn_excelsave_onclick"/>
- <Button position="absolute 1070 7 1126 29" id="btn_prt" class="btn6" text="출력" onclick="group2_btn_prt_onclick"/>
- <Shape position="absolute 1060 7 1066 29" linetype="vertical" id="line3" class="line_4" visible="false"/>
- <Static text="연도 :" position="absolute 15 9 88 26" id="caption2" class="search_name"/>
- <Combo position="absolute 70 8 170 27" id="cmb_year" innerdataset="@ds_init_baseinfo_yearlst_P0167" datacolumn="cdnm" codecolumn="cdid" onitemchanged="group2_cmb_year_onitemchanged"/>
- <Combo position="absolute 415 8 515 27" id="cmb_srchhealexamdetlflag" class="combo_search" innerdataset="@ds_init_baseinfo_healexamdetlflaglist_item" datacolumn="cdnm" codecolumn="cdid"/>
- <Combo position="absolute 295 8 405 27" id="cmb_srchhealexamflag" class="combo_search" innerdataset="@ds_init_baseinfo_healexamflaglist_A0068" datacolumn="cdnm" codecolumn="cdid" onitemchanged="group2_cmb_srchhealexamflag_onitemchanged"/>
- <Static text="건진구분 :" position="absolute 210 9 296 26" id="caption1" class="search_name"/>
- </Layout>
- </Layouts>
- </Div>
- <Tab position="absolute 4 69 1207 780" id="swt_earncond" onchanged="swt_earncond_onchanged">
- <Tabpages>
- <Tabpage text="수입현황" id="case_earncond">
- <Layouts>
- <Layout>
- <Grid position="absolute 5 5 1196 684" id="grd_earncondlst" binddataset="ds_main_earncondlst_item">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2"/>
- <Cell col="3" text="3월"/>
- <Cell col="4" text="4월"/>
- <Cell col="5" text="5월"/>
- <Cell col="6" text="6월"/>
- <Cell col="7" text="7월"/>
- <Cell col="8" text="8월"/>
- <Cell col="9" text="9월"/>
- <Cell col="10" text="10월"/>
- <Cell col="11" text="11월"/>
- <Cell col="12" text="12월"/>
- <Cell col="13" text="1월"/>
- <Cell col="14" text="2월"/>
- <Cell col="15" text="총계"/>
- <Cell col="16" text="종류구분"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;line:BIND(colLine0);background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:healexamnm" wordwrap="word" suppress="1" suppressalign="middle,over"/>
- <Cell col="1" style="align:left middle;line:BIND(colLine1);background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:healexamdetlnm" wordwrap="word" suppress="2" suppressalign="middle,over"/>
- <Cell col="2" style="background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:earnflag"/>
- <Cell col="3" displaytype="number" style="align:left top;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon3" wordwrap="word" mask="#,##9"/>
- <Cell col="4" displaytype="number" style="align:left top;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon4" wordwrap="word" mask="#,##9"/>
- <Cell col="5" displaytype="number" style="align:left top;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon5" wordwrap="word" mask="#,##9"/>
- <Cell col="6" displaytype="number" style="align:left top;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon6" wordwrap="word" mask="#,##9"/>
- <Cell col="7" displaytype="number" style="align:left top;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon7" wordwrap="word" mask="#,##9"/>
- <Cell col="8" displaytype="number" style="align:left top;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon8" wordwrap="word" mask="#,##9"/>
- <Cell col="9" displaytype="number" style="align:left top;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon9" wordwrap="word" mask="#,##9"/>
- <Cell col="10" displaytype="number" style="align:left top;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon10" wordwrap="word" mask="#,##9"/>
- <Cell col="11" displaytype="number" style="align:left top;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon11" wordwrap="word" mask="#,##9"/>
- <Cell col="12" displaytype="number" style="align:left top;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon12" wordwrap="word" mask="#,##9"/>
- <Cell col="13" displaytype="number" style="align:left top;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon1" wordwrap="word" mask="#,##9"/>
- <Cell col="14" displaytype="number" style="align:left top;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon2" wordwrap="word" mask="#,##9"/>
- <Cell col="15" displaytype="number" style="align:left top;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:montotal" wordwrap="word" mask="#,##9"/>
- <Cell col="16" text="bind:kindflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="수입" id="case_earn">
- <Layouts>
- <Layout>
- <Grid position="absolute 5 5 1196 684" id="grd_earnlst" binddataset="ds_main_earnlst_item">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="년도"/>
- <Cell col="2" text="3월"/>
- <Cell col="3" text="4월"/>
- <Cell col="4" text="5월"/>
- <Cell col="5" text="6월"/>
- <Cell col="6" text="7월"/>
- <Cell col="7" text="8월"/>
- <Cell col="8" text="9월"/>
- <Cell col="9" text="10월"/>
- <Cell col="10" text="11월"/>
- <Cell col="11" text="12월"/>
- <Cell col="12" text="1월"/>
- <Cell col="13" text="2월"/>
- <Cell col="14" text="총계"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:healexamdetlnm" wordwrap="word" suppress="1" suppressalign="middle,over"/>
- <Cell col="1" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:year"/>
- <Cell col="2" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon3" mask="#,##9"/>
- <Cell col="3" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon4" mask="#,##9"/>
- <Cell col="4" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon5" mask="#,##9"/>
- <Cell col="5" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon6" mask="#,##9"/>
- <Cell col="6" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon7" mask="#,##9"/>
- <Cell col="7" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon8" mask="#,##9"/>
- <Cell col="8" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon9" mask="#,##9"/>
- <Cell col="9" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon10" mask="#,##9"/>
- <Cell col="10" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon11" mask="#,##9"/>
- <Cell col="11" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon12" mask="#,##9"/>
- <Cell col="12" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon1" mask="#,##9"/>
- <Cell col="13" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon2" mask="#,##9"/>
- <Cell col="14" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:montotal" mask="#,##9"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="인원" id="case_psn">
- <Layouts>
- <Layout>
- <Grid position="absolute 5 5 1196 684" id="grd_psnlst" binddataset="ds_main_psnlst_item">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="년도"/>
- <Cell col="2" text="3월"/>
- <Cell col="3" text="4월"/>
- <Cell col="4" text="5월"/>
- <Cell col="5" text="6월"/>
- <Cell col="6" text="7월"/>
- <Cell col="7" text="8월"/>
- <Cell col="8" text="9월"/>
- <Cell col="9" text="10월"/>
- <Cell col="10" text="11월"/>
- <Cell col="11" text="12월"/>
- <Cell col="12" text="1월"/>
- <Cell col="13" text="2월"/>
- <Cell col="14" text="총계"/>
- </Band>
- <Band id="body">
- <Cell style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:healexamdetlnm" wordwrap="word" suppress="1" suppressalign="middle,over"/>
- <Cell col="1" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:year"/>
- <Cell col="2" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon3" mask="#,##9"/>
- <Cell col="3" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon4" mask="#,##9"/>
- <Cell col="4" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon5" mask="#,##9"/>
- <Cell col="5" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon6" mask="#,##9"/>
- <Cell col="6" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon7" mask="#,##9"/>
- <Cell col="7" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon8" mask="#,##9"/>
- <Cell col="8" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon9" mask="#,##9"/>
- <Cell col="9" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon10" mask="#,##9"/>
- <Cell col="10" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon11" mask="#,##9"/>
- <Cell col="11" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon12" mask="#,##9"/>
- <Cell col="12" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon1" mask="#,##9"/>
- <Cell col="13" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:mon2" mask="#,##9"/>
- <Cell col="14" displaytype="number" style="align:left;background:BIND(colBack);background2:BIND(colBack);color:BIND(colColor);color2:BIND(colColor);font:BIND(colFont);" text="bind:montotal" mask="#,##9"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_baseinfo_yearlst_P0167" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_baseinfo_healexamdetlflaglist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_baseinfo_healexamflaglist_A0068" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchfromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="srchtodd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="srchyear" type="STRING" size="256" sumtext="연도"/>
- <Column id="srchinstcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="srchhealexamflag" type="STRING" size="256" sumtext="건진구분"/>
- <Column id="srchhealexamdetlflag" type="STRING" size="256" sumtext="건진상세구분"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_earncondlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="healexamnm" type="STRING" size="256" sumtext="건진구분명"/>
- <Column id="healexamdetlnm" type="STRING" size="256" sumtext="건진상세구분명"/>
- <Column id="earnflag" type="STRING" size="256" sumtext="수입구분"/>
- <Column id="mon3" type="INT" size="256" sumtext="3월"/>
- <Column id="mon4" type="INT" size="256" sumtext="4월"/>
- <Column id="mon5" type="INT" size="256" sumtext="5월"/>
- <Column id="mon6" type="INT" size="256" sumtext="6월"/>
- <Column id="mon7" type="INT" size="256" sumtext="7월"/>
- <Column id="mon8" type="INT" size="256" sumtext="8월"/>
- <Column id="mon9" type="INT" size="256" sumtext="9월"/>
- <Column id="mon10" type="INT" size="256" sumtext="10월"/>
- <Column id="mon11" type="INT" size="256" sumtext="11월"/>
- <Column id="mon12" type="INT" size="256" sumtext="12월"/>
- <Column id="mon1" type="INT" size="256" sumtext="1월"/>
- <Column id="mon2" type="INT" size="256" sumtext="2월"/>
- <Column id="montotal" type="INT" size="256" sumtext="총계"/>
- <Column id="kindflag" type="STRING" size="256" sumtext="종류구분"/>
- <Column id="colBack" type="STRING" size="256"/>
- <Column id="colColor" type="STRING" size="256"/>
- <Column id="colFont" type="STRING" size="256"/>
- <Column id="colLine0" type="STRING" size="256"/>
- <Column id="colLine1" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_earnlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="healexamdetlnm" type="STRING" size="256" sumtext="건진상세구분명"/>
- <Column id="year" type="STRING" size="256" sumtext="연도"/>
- <Column id="mon3" type="INT" size="256" sumtext="3월"/>
- <Column id="mon4" type="INT" size="256" sumtext="4월"/>
- <Column id="mon5" type="INT" size="256" sumtext="5월"/>
- <Column id="mon6" type="INT" size="256" sumtext="6월"/>
- <Column id="mon7" type="INT" size="256" sumtext="7월"/>
- <Column id="mon8" type="INT" size="256" sumtext="8월"/>
- <Column id="mon9" type="INT" size="256" sumtext="9월"/>
- <Column id="mon10" type="INT" size="256" sumtext="10월"/>
- <Column id="mon11" type="INT" size="256" sumtext="11월"/>
- <Column id="mon12" type="INT" size="256" sumtext="12월"/>
- <Column id="mon1" type="INT" size="256" sumtext="1월"/>
- <Column id="mon2" type="INT" size="256" sumtext="2월"/>
- <Column id="montotal" type="INT" size="256" sumtext="총계"/>
- <Column id="colBack" type="STRING" size="256"/>
- <Column id="colColor" type="STRING" size="256"/>
- <Column id="colFont" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_psnlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="healexamdetlnm" type="STRING" size="256" sumtext="건진상세구분명"/>
- <Column id="year" type="STRING" size="256" sumtext="연도"/>
- <Column id="mon3" type="INT" size="256" sumtext="3월"/>
- <Column id="mon4" type="INT" size="256" sumtext="4월"/>
- <Column id="mon5" type="INT" size="256" sumtext="5월"/>
- <Column id="mon6" type="INT" size="256" sumtext="6월"/>
- <Column id="mon7" type="INT" size="256" sumtext="7월"/>
- <Column id="mon8" type="INT" size="256" sumtext="8월"/>
- <Column id="mon9" type="INT" size="256" sumtext="9월"/>
- <Column id="mon10" type="INT" size="256" sumtext="10월"/>
- <Column id="mon11" type="INT" size="256" sumtext="11월"/>
- <Column id="mon12" type="INT" size="256" sumtext="12월"/>
- <Column id="mon1" type="INT" size="256" sumtext="1월"/>
- <Column id="mon2" type="INT" size="256" sumtext="2월"/>
- <Column id="montotal" type="INT" size="256" sumtext="총계"/>
- <Column id="colBack" type="STRING" size="256"/>
- <Column id="colColor" type="STRING" size="256"/>
- <Column id="colFont" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_srch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="year" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_baseinfo_chealexamdetlflaglist_A0069" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_baseinfo_ghealexamdetlflaglist_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_export" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="srchyear" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.cmb_year" propid="value" datasetid="ds_init_srch" columnid="year"/>
- <BindItem id="item1" compid="group2.cmb_srchhealexamflag" propid="value" datasetid="ds_send" columnid="srchhealexamflag"/>
- <BindItem id="item2" compid="group2.cmb_srchhealexamdetlflag" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : ast_healexamstatxp -> SMAHS00900
- * Creator : yjh
- * Make Date : 2018-02-27
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2018-02-27 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /*
- * 화면merge와 소계 및 총계를 생성한다.
- */
- function fSetRcptSum(vFlag) {
- // 그리드 merge 및 합계 초기화
- var presYear = ds_send.getColumn(0, "srchyear"); // 올해
- var befYear = new String(parseInt(ds_send.getColumn(0, "srchyear")) - 1); // 전년도
-
- if(vFlag == "A") { // 수입현황
- var idx = ds_main_earncondlst_item.rowcount;
-
- ds_main_earncondlst_item.addRow();
- ds_main_earncondlst_item.addRow();
-
- // 스타일
- ds_main_earncondlst_item.setColumn(idx, "colBack", "#808080");
- ds_main_earncondlst_item.setColumn(idx, "colColor", "#ffffff");
- ds_main_earncondlst_item.setColumn(idx, "colFont", "arial,8,bold");
- ds_main_earncondlst_item.setColumn(idx+1, "colBack", "#808080");
- ds_main_earncondlst_item.setColumn(idx+1, "colColor", "#ffffff");
- ds_main_earncondlst_item.setColumn(idx+1, "colFont", "arial,8,bold");
-
- for(var i =0; i < swt_earncond.case_earncond.grd_earncondlst.getFormatColCount() ; i++) {
- var sColNm = utlf_transNullToEmpty(swt_earncond.case_earncond.grd_earncondlst.getCellProperty("body", i, "text")).replace("bind:", "");
-
- // 총계
- if(i >= swt_earncond.case_earncond.grd_earncondlst.getBindCellIndex("Body", "mon3") && i <= swt_earncond.case_earncond.grd_earncondlst.getBindCellIndex("Body", "montotal") ) {
- var sumAmt = 0;
- var sumCnt = 0;
-
- for(var j=0; j < idx; j++ ) {
- var kindFlag = ds_main_earncondlst_item.getColumn(j, "kindflag");
- if(kindFlag == "M") { // 금액
- sumAmt += parseInt(ds_main_earncondlst_item.getColumn(j, sColNm));
- }else if(kindFlag == "P") { // 인원
- sumCnt += parseInt(ds_main_earncondlst_item.getColumn(j, sColNm));
- }
- }
-
- // 항목명
- ds_main_earncondlst_item.setColumn(idx, "healexamnm", "총계");
- ds_main_earncondlst_item.setColumn(idx, "healexamdetlnm", "");
- ds_main_earncondlst_item.setColumn(idx, "earnflag", "인원");
- ds_main_earncondlst_item.setColumn(idx+1, "healexamnm", "총계");
- ds_main_earncondlst_item.setColumn(idx+1, "healexamdetlnm", "");
- ds_main_earncondlst_item.setColumn(idx+1, "earnflag", "금액");
- ds_main_earncondlst_item.setColumn(idx, "colLine0", "1 solid #808080ff,0 none #808080ff,1 solid #808080ff,1 solid #808080ff");
- ds_main_earncondlst_item.setColumn(idx, "colLine1", "1 solid #808080ff,1 solid #808080ff,1 solid #808080ff,0 none #808080ff");
- ds_main_earncondlst_item.setColumn(idx+1, "colLine0", "1 solid #808080ff,0 none #808080ff,1 solid #808080ff,1 solid #808080ff");
- ds_main_earncondlst_item.setColumn(idx+1, "colLine1", "1 solid #808080ff,1 solid #808080ff,1 solid #808080ff,0 none #808080ff");
-
- // 합계
- ds_main_earncondlst_item.setColumn(idx, sColNm, sumCnt);
- ds_main_earncondlst_item.setColumn(idx+1, sColNm, sumAmt);
- }
- }
-
- ds_main_earncondlst_item.rowposition = -1;
-
- }else if(vFlag == "B") { // 수입
- var idx = ds_main_earnlst_item.rowcount;
-
- // 행추가
- ds_main_earnlst_item.addRow();
- ds_main_earnlst_item.addRow();
- ds_main_earnlst_item.addRow();
-
- // 스타일
- ds_main_earnlst_item.setColumn(idx, "colBack", "#808080");
- ds_main_earnlst_item.setColumn(idx, "colColor", "#ffffff");
- ds_main_earnlst_item.setColumn(idx, "colFont", "arial,8,bold");
- ds_main_earnlst_item.setColumn(idx+1, "colBack", "#808080");
- ds_main_earnlst_item.setColumn(idx+1, "colColor", "#ffffff");
- ds_main_earnlst_item.setColumn(idx+1, "colFont", "arial,8,bold");
- ds_main_earnlst_item.setColumn(idx+2, "colBack", "#808080");
- ds_main_earnlst_item.setColumn(idx+2, "colColor", "#ffffff");
- ds_main_earnlst_item.setColumn(idx+2, "colFont", "arial,8,bold");
-
- for(var i =0; i < swt_earncond.case_earn.grd_earnlst.getFormatColCount() ; i++) {
- var sColNm = utlf_transNullToEmpty(swt_earncond.case_earn.grd_earnlst.getCellProperty("body", i, "text")).replace("bind:", "");
-
- // 소계
- if(i >= swt_earncond.case_earn.grd_earnlst.getBindCellIndex("body", "mon3") && i <= swt_earncond.case_earn.grd_earnlst.getBindCellIndex("body", "montotal") ) {
- var sum1 = 0;
- var sum2 = 0;
- var sum3 = 0;
-
- for(var j=0; j < idx; j++ ) {
- var year = ds_main_earnlst_item.getColumn(j, "year");
- if(year == befYear) { // 전년도
- sum1 += parseInt(ds_main_earnlst_item.getColumn(j, sColNm));
- }else if(year == presYear) { // 금년도
- sum2 += parseInt(ds_main_earnlst_item.getColumn(j, sColNm));
- }else { // 증감
- sum3 += parseInt(ds_main_earnlst_item.getColumn(j, sColNm));
- }
- }
-
- // 항목명
- ds_main_earnlst_item.setColumn(idx, "healexamdetlnm", "총계");
- ds_main_earnlst_item.setColumn(idx, "year", befYear);
- ds_main_earnlst_item.setColumn(idx+1, "healexamdetlnm", "총계");
- ds_main_earnlst_item.setColumn(idx+1, "year", presYear);
- ds_main_earnlst_item.setColumn(idx+2, "healexamdetlnm", "총계");
- ds_main_earnlst_item.setColumn(idx+2, "year", "증감");
-
- // 합계
- ds_main_earnlst_item.setColumn(idx, sColNm, sum1);
- ds_main_earnlst_item.setColumn(idx+1, sColNm, sum2);
- ds_main_earnlst_item.setColumn(idx+2, sColNm, sum3);
- }
- // 화면 merge
- // if( i >= swt_earncond.case_earn.grd_earnlst.getBindCellIndex("body", "healexamnm") && i <= swt_earncond.case_earn.grd_earnlst.getBindCellIndex("body", "healexamdetlnm") ) {
- // grd_earnlst.mergeCol(i) = true;
- // }else{
- // grd_earnlst.mergeCol(i) = false;
- // }
- }
-
- ds_main_earnlst_item.rowposition = -1;
-
- }else if(vFlag == "C") { // 인원
- var idx = ds_main_psnlst_item.rowcount;
-
- ds_main_psnlst_item.addRow();
- ds_main_psnlst_item.addRow();
- ds_main_psnlst_item.addRow();
-
- // 스타일
- ds_main_psnlst_item.setColumn(idx, "colBack", "#808080");
- ds_main_psnlst_item.setColumn(idx, "colColor", "#ffffff");
- ds_main_psnlst_item.setColumn(idx, "colFont", "arial,9,bold");
- ds_main_psnlst_item.setColumn(idx+1, "colBack", "#808080");
- ds_main_psnlst_item.setColumn(idx+1, "colColor", "#ffffff");
- ds_main_psnlst_item.setColumn(idx+1, "colFont", "arial,9,bold");
- ds_main_psnlst_item.setColumn(idx+2, "colBack", "#808080");
- ds_main_psnlst_item.setColumn(idx+2, "colColor", "#ffffff");
- ds_main_psnlst_item.setColumn(idx+2, "colFont", "arial,9,bold");
-
- for(var i =0; i < swt_earncond.case_psn.grd_psnlst.getFormatColCount() ; i++) {
- var sColNm = utlf_transNullToEmpty(swt_earncond.case_psn.grd_psnlst.getCellProperty("body", i, "text")).replace("bind:", "");
-
- // 소계
- if(i >= swt_earncond.case_psn.grd_psnlst.getBindCellIndex("body", "mon3") && i <= swt_earncond.case_psn.grd_psnlst.getBindCellIndex("body", "montotal") ) {
- var sum1 = 0;
- var sum2 = 0;
- var sum3 = 0;
-
- for(var j=0; j < idx; j++ ) {
- var year = ds_main_psnlst_item.getColumn(j, "year");
- if(year == befYear) { // 전년도
- sum1 += parseInt(ds_main_psnlst_item.getColumn(j, sColNm));
- }else if(year == presYear) { // 금년도
- sum2 += parseInt(ds_main_psnlst_item.getColumn(j, sColNm));
- }else { // 증감
- sum3 += parseInt(ds_main_psnlst_item.getColumn(j, sColNm));
- }
- }
-
- // 항목명
- ds_main_psnlst_item.setColumn(idx, "healexamdetlnm", "총계");
- ds_main_psnlst_item.setColumn(idx, "year", befYear);
- ds_main_psnlst_item.setColumn(idx+1, "healexamdetlnm", "총계");
- ds_main_psnlst_item.setColumn(idx+1, "year", presYear);
- ds_main_psnlst_item.setColumn(idx+2, "healexamdetlnm", "총계");
- ds_main_psnlst_item.setColumn(idx+2, "year", "증감");
-
- // 합계
- ds_main_psnlst_item.setColumn(idx, sColNm, sum1);
- ds_main_psnlst_item.setColumn(idx+1, sColNm, sum2);
- ds_main_psnlst_item.setColumn(idx+2, sColNm, sum3);
- }
- // 화면 merge
- // if( i >= grd_psnlst.colRef("healexamnm") && i <= grd_psnlst.colRef("healexamdetlnm") ) {
- // grd_psnlst.mergeCol(i) = true;
- // }else{
- // grd_psnlst.mergeCol(i) = false;
- // }
- }
-
- ds_main_psnlst_item.rowposition = -1;
- }
-
- }
- /*
- * 날짜 초기화
- */
- function fDate(vYear) {
- var dd = new Date(vYear , 13 , 0 );
- ds_send.setColumn(0, "srchfromdd" , vYear + "0301");
- ds_send.setColumn(0, "srchtodd" , vYear + new String(dd.getMonth()).getLeftPad(2,"0") + new String(dd.getDate() ) );
- ds_send.setColumn(0, "srchyear" , vYear);
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMAHS00900
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SMAHS00900_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMAHS00900
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SMAHS00900_onload(obj:Form, e:LoadEventInfo)
- {
- // 기관코드 초기화
- ds_send.setColumn(0, "srchinstcd" , sysf_getUserInfo("posinstcd"));
- // 공통코드 조회
- var arrParam = [{dsNm: "ds_init_baseinfo_yearlst_P0167", cdGrpId: "P0167"},
- {dsNm: "ds_init_baseinfo_healexamflaglist_A0068", cdGrpId: "A0068"},
- {dsNm: "ds_init_baseinfo_chealexamdetlflaglist_A0069", cdGrpId: "A0069"},
- {dsNm: "ds_init_baseinfo_ghealexamdetlflaglist_A0070", cdGrpId: "A0070"}]
- appf_getCodeList(arrParam);
-
- // 전체 넣기
- ds_init_baseinfo_healexamflaglist_A0068.insertRow(0);
- ds_init_baseinfo_healexamflaglist_A0068.setColumn(0, "cdid" , "A");
- ds_init_baseinfo_healexamflaglist_A0068.setColumn(0, "cdnm", "전체");
-
- // 일자초기화
- ds_init_srch.setColumn(0, "year" , utlf_getCurrentDate().substr(0,4));
-
- group2.cmb_srchhealexamflag.index = 0;
- group2_cmb_srchhealexamflag_onitemchanged();
- group2.cmb_srchhealexamdetlflag.index = 0;
-
- group2_cmb_year_onitemchanged();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var idx = swt_earncond.tabindex;
- var vFlag = "";
- var ret = false;
-
- if(idx == "0") {
- var oParam = {};
- oParam.id = "TRAHS00901";
- oParam.service = "healexamstatapp.StatRef";
- oParam.method = "reqGetEarnCondList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_earncondlst_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAHS00901";
- tranf_submit(oParam);
-
- ds_main_earncondlst_item.addColumn("colBack", "string");
- ds_main_earncondlst_item.addColumn("colColor", "string");
- ds_main_earncondlst_item.addColumn("colFont", "string");
- ds_main_earncondlst_item.addColumn("colLine0", "string");
- ds_main_earncondlst_item.addColumn("colLine1", "string");
-
- vFlag = "A";
- }else if(idx == "1") {
- var oParam = {};
- oParam.id = "TRAHS00902";
- oParam.service = "healexamstatapp.StatRef";
- oParam.method = "reqGetHealexamEarnList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_earnlst_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAHS00902";
- tranf_submit(oParam);
-
- ds_main_earnlst_item.addColumn("colBack", "string");
- ds_main_earnlst_item.addColumn("colColor", "string");
- ds_main_earnlst_item.addColumn("colFont", "string");
-
- vFlag = "B";
- }else if(idx == "2") {
- var oParam = {};
- oParam.id = "TRAHS00903";
- oParam.service = "healexamstatapp.StatRef";
- oParam.method = "reqGetEarnPsnList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_psnlst_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAHS00903";
- tranf_submit(oParam);
-
- ds_main_psnlst_item.addColumn("colBack", "string");
- ds_main_psnlst_item.addColumn("colColor", "string");
- ds_main_psnlst_item.addColumn("colFont", "string");
-
- vFlag = "C";
- }
- if(arErrorCode.pop("TRAHS00901") > -1 || arErrorCode.pop("TRAHS00902") > -1 || arErrorCode.pop("TRAHS00903") > -1) {
- fSetRcptSum(vFlag);
- }
- }
- function cf_TRAHS00901(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function cf_TRAHS00902(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function cf_TRAHS00903(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_excelsave
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀저장버튼 클릭시
- ****************************************************************************************/
- function group2_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
- {
- var idx = swt_earncond.tabindex;
- if(idx == "0") {
- grdf_exportExcel(swt_earncond.case_earncond.grd_earncondlst, "excel", "SheetName", false, "", "user", false);
- }else if(idx == "1") {
- grdf_exportExcel(swt_earncond.case_earn.grd_earnlst, "excel", "SheetName", false, "", "user", false);
- }else if(idx == "2") {
- grdf_exportExcel(swt_earncond.case_psn.grd_psnlst, "excel", "SheetName", false, "", "user", false);
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_prt
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 출력버튼 클릭시
- ****************************************************************************************/
- function group2_btn_prt_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_export.setColumn(0, "srchfromdd" ,ds_send.getColumn(0, "srchfromdd").toDate().getDateFormat("YYYY/MM/DD"));
- ds_main_export.setColumn(0, "srchtodd" , ds_send.getColumn(0, "srchtodd").toDate().getDateFormat("YYYY/MM/DD"));
- ds_main_export.setColumn(0, "srchyear" , ds_send.getColumn(0, "srchyear"));
- var idx = swt_earncond.tabindex;
- if(idx == "0") {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/main/earncondlst/item", ds_main_earncondlst_item); // 데이터셋 1
-
- var objParam = new Object();
- objParam.srchyear = ds_main_export.getColumn(0, "srchyear"); // 최상의노드 XML 스트링 추출
- objParam.srchfromdd = ds_main_export.getColumn(0, "srchfromdd"); // 최상의노드 XML 스트링 추출
- objParam.srchtodd = ds_main_export.getColumn(0, "srchtodd"); // 최상의노드 XML 스트링 추출
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPAHS00901"],[objParam], option);
- }else if(idx == "1") {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/main/earnlst/item", ds_main_earnlst_item); // 데이터셋 1
-
- var objParam = new Object();
- objParam.srchyear = ds_main_export.getColumn(0, "srchyear"); // 최상의노드 XML 스트링 추출
- objParam.srchfromdd = ds_main_export.getColumn(0, "srchfromdd"); // 최상의노드 XML 스트링 추출
- objParam.srchtodd = ds_main_export.getColumn(0, "srchtodd"); // 최상의노드 XML 스트링 추출
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPAHS00902"],[objParam], option);
- }else if(idx == "2") {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/main/psnlst/item", ds_main_psnlst_item); // 데이터셋 1
-
- var objParam = new Object();
- objParam.srchyear = ds_main_export.getColumn(0, "srchyear"); // 최상의노드 XML 스트링 추출
- objParam.srchfromdd = ds_main_export.getColumn(0, "srchfromdd"); // 최상의노드 XML 스트링 추출
- objParam.srchtodd = ds_main_export.getColumn(0, "srchtodd"); // 최상의노드 XML 스트링 추출
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPAHS00903"],[objParam], option);
- }
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_year
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function group2_cmb_year_onitemchanged(obj, e)
- {
- fDate(group2.cmb_year.value);
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_srchhealexamflag
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function group2_cmb_srchhealexamflag_onitemchanged(obj, e)
- {
- var value = ds_send.getColumn(0, "srchhealexamflag");
- ds_init_baseinfo_healexamdetlflaglist_item.clearData();
- ds_init_baseinfo_healexamdetlflaglist_item.addRow();
- ds_init_baseinfo_healexamdetlflaglist_item.setColumn(0, "cdid" , "A");
- ds_init_baseinfo_healexamdetlflaglist_item.setColumn(0, "cdnm" , "전체");
-
- if(value == "A") {
- ds_init_baseinfo_healexamdetlflaglist_item.appendData(ds_init_baseinfo_chealexamdetlflaglist_A0069, true);
- ds_init_baseinfo_healexamdetlflaglist_item.appendData(ds_init_baseinfo_ghealexamdetlflaglist_A0070, true);
- }else if(value == "C") {
- ds_init_baseinfo_healexamdetlflaglist_item.appendData(ds_init_baseinfo_chealexamdetlflaglist_A0069, true);
- }else if(value == "G") {
- ds_init_baseinfo_healexamdetlflaglist_item.appendData(ds_init_baseinfo_ghealexamdetlflaglist_A0070, true);
- }
- }
- /****************************************************************************************
- * Components : Tab
- * Components ID : swt_earncond
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 탭 변경시
- ****************************************************************************************/
- function swt_earncond_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- switch( e.postindex ){
- case 0 :
- break;
-
- case 1 :
- break;
-
- case 2 :
- break;
-
- default :
- break;
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|