123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SSMNE00300" position="absolute 0 0 1256 805" titletext="진료결과별 병동별 대장" onload="SSMNE00300_onload" scrollbars="none">
- <Layouts>
- <Layout>
- <Static id="caption6" text="진료결과별 병동별 대장" class="tit_1" position="absolute 0 3 170 23"/>
- <Static id="Static11" text="폼의 상단부터 h25" class="sta_guide" visible="false" position="absolute 313 0 533 25"/>
- <Div id="Div00" taborder="1" text="Div00" scrollbars="none" class="div_SA" position="absolute 0 25 1256 67" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="sta_Fund" text="검색조건 :" class="search_name" position="absolute 8 10 88 30" ustext="Fund"/>
- <Static id="Static08" class="sta_WF_Line" position="absolute 549 19 551 30"/>
- <Static id="sta_Fund00" text="조회기간 :" class="search_name" position="absolute 501 10 583 31" ustext="Fund"/>
- <Static id="Static11" text="h10" class="sta_guide" visible="false" position="absolute 1189 0 1244 10"/>
- <Static id="Static10" text="w 10" onclick="Static04_onclick" class="sta_guide" visible="false" position="absolute 1244 0 1254 41"/>
- <Static id="Static00" text="h10" class="sta_guide" visible="false" position="absolute 1189 30 1244 40"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="Static00" text="h10" class="sta_guide" visible="false" position="absolute 0 67 55 77"/>
- <Button id="button1" taborder="2" text="조회" class="btn1" position="absolute 1189 36 1245 56" onclick="button1_onclick" anchor="top right"/>
- <Static id="Static10" text="w24" onclick="Static04_onclick" class="sta_guide" visible="false" position="absolute 478 25 502 66"/>
- <Static id="Static01" text="h7" class="sta_guide" visible="false" position="absolute 1200 67 1255 74"/>
- <Static id="Static19" text="w8" class="sta_guide" visible="false" position="absolute 84 26 92 66"/>
- <Static id="Static03" text="w8" class="sta_guide" visible="false" position="absolute 577 26 585 66"/>
- <Radio id="rdo_srchflag1" taborder="3" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_srchflag1_onitemchanged" position="absolute 91 38 243 54">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">내원 기준</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">퇴실 기준</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio id="rdo_srchflag2" taborder="4" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_srchflag2_onitemchanged" position="absolute 259 38 306 54">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">일별</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Calendar id="ipt_srchfromdd" taborder="5" class="input_search" visible="false" position="absolute 584 36 684 56" mask="@@@@-@@-@@"/>
- <Calendar id="ipt_srchtodd" taborder="6" class="input_search" visible="false" position="absolute 707 36 807 56" mask="@@@@-@@-@@"/>
- <Static id="caption3" text="~" visible="false" position="absolute 691 37 706 56"/>
- <Static id="Static02" text="w8" class="sta_guide" visible="false" position="absolute 684 26 692 66"/>
- <Static id="Static04" text="w8" class="sta_guide" visible="false" position="absolute 699 26 707 66"/>
- <Static id="Static05" text="w24" onclick="Static04_onclick" class="sta_guide" visible="false" position="absolute 236 26 260 67"/>
- <Calendar id="ipt_srchdd" taborder="8" dateformat="yyyy-MM" editformat="yyyy-MM" class="input_search" visible="false" position="absolute 584 36 655 56" mask="@@@@-@@-@@"/>
- <Calendar id="ipt_srchyear" taborder="9" dateformat="yyyy" editformat="yyyy" class="input_search" visible="false" position="absolute 584 36 639 56" mask="@@@@-@@-@@"/>
- <Tab id="switch1" taborder="10" tabindex="0" position="absolute 0 80 1256 805" onchanged="switch1_onchanged" anchor="all" class="tab_Normal">
- <Tabpages>
- <Tabpage id="case1" text="일별">
- <Layouts>
- <Layout>
- <Grid id="grd_wardddlist" taborder="0" binddataset="ds_grid_grd_wardddlist" useinputpanel="false" position="absolute 0 0 1256 708" autofittype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="70" band="left"/>
- <Column size="125" band="left"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="52"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="1"/>
- <Cell col="3" text="2"/>
- <Cell col="4" text="3"/>
- <Cell col="5" text="4"/>
- <Cell col="6" text="5"/>
- <Cell col="7" text="6"/>
- <Cell col="8" text="7"/>
- <Cell col="9" text="8"/>
- <Cell col="10" text="9"/>
- <Cell col="11" text="10"/>
- <Cell col="12" text="11"/>
- <Cell col="13" text="12"/>
- <Cell col="14" text="13"/>
- <Cell col="15" text="14"/>
- <Cell col="16" text="15"/>
- <Cell col="17" text="16"/>
- <Cell col="18" text="17"/>
- <Cell col="19" text="18"/>
- <Cell col="20" text="19"/>
- <Cell col="21" text="20"/>
- <Cell col="22" text="21"/>
- <Cell col="23" text="22"/>
- <Cell col="24" text="23"/>
- <Cell col="25" text="24"/>
- <Cell col="26" text="25"/>
- <Cell col="27" text="26"/>
- <Cell col="28" text="27"/>
- <Cell col="29" text="28"/>
- <Cell col="30" text="29"/>
- <Cell col="31" text="30"/>
- <Cell col="32" text="31"/>
- <Cell col="33" text="TOTAL"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:mainflagnm" wordwrap="none" suppress="1" suppressalign="middle"/>
- <Cell col="1" text="bind:flagnm"/>
- <Cell col="2" text="bind:col1"/>
- <Cell col="3" text="bind:col2"/>
- <Cell col="4" text="bind:col3"/>
- <Cell col="5" text="bind:col4"/>
- <Cell col="6" text="bind:col5"/>
- <Cell col="7" text="bind:col6"/>
- <Cell col="8" text="bind:col7"/>
- <Cell col="9" text="bind:col8"/>
- <Cell col="10" text="bind:col9"/>
- <Cell col="11" text="bind:col10"/>
- <Cell col="12" text="bind:col11"/>
- <Cell col="13" text="bind:col12"/>
- <Cell col="14" text="bind:col13"/>
- <Cell col="15" text="bind:col14"/>
- <Cell col="16" text="bind:col15"/>
- <Cell col="17" text="bind:col16"/>
- <Cell col="18" text="bind:col17"/>
- <Cell col="19" text="bind:col18"/>
- <Cell col="20" text="bind:col19"/>
- <Cell col="21" text="bind:col20"/>
- <Cell col="22" text="bind:col21"/>
- <Cell col="23" text="bind:col22"/>
- <Cell col="24" text="bind:col23"/>
- <Cell col="25" text="bind:col24"/>
- <Cell col="26" text="bind:col25"/>
- <Cell col="27" text="bind:col26"/>
- <Cell col="28" text="bind:col27"/>
- <Cell col="29" text="bind:col28"/>
- <Cell col="30" text="bind:col29"/>
- <Cell col="31" text="bind:col30"/>
- <Cell col="32" text="bind:col31"/>
- <Cell col="33" text="bind:ddsum"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2" text="월별">
- <Layouts>
- <Layout>
- <Grid id="grd_wardmmlist" taborder="0" binddataset="ds_grid_grd_wardmmlist" useinputpanel="false" position="absolute 0 0 1256 708" autofittype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="70" band="left"/>
- <Column size="125" band="left"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="1월"/>
- <Cell col="3" text="2월"/>
- <Cell col="4" text="3월"/>
- <Cell col="5" text="4월"/>
- <Cell col="6" text="5월"/>
- <Cell col="7" text="6월"/>
- <Cell col="8" text="7월"/>
- <Cell col="9" text="8월"/>
- <Cell col="10" text="9월"/>
- <Cell col="11" text="10월"/>
- <Cell col="12" text="11월"/>
- <Cell col="13" text="12월"/>
- <Cell col="14" text="TOTAL"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:mainflagnm" suppress="1" suppressalign="middle"/>
- <Cell col="1" text="bind:flagnm"/>
- <Cell col="2" text="bind:col1"/>
- <Cell col="3" text="bind:col2"/>
- <Cell col="4" text="bind:col3"/>
- <Cell col="5" text="bind:col4"/>
- <Cell col="6" text="bind:col5"/>
- <Cell col="7" text="bind:col6"/>
- <Cell col="8" text="bind:col7"/>
- <Cell col="9" text="bind:col8"/>
- <Cell col="10" text="bind:col9"/>
- <Cell col="11" text="bind:col10"/>
- <Cell col="12" text="bind:col11"/>
- <Cell col="13" text="bind:col12"/>
- <Cell col="14" text="bind:mmsum"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case3" text="년도별">
- <Layouts>
- <Layout>
- <Grid id="grd_wardyearlist" taborder="0" binddataset="ds_grid_grd_wardyearlist" useinputpanel="false" position="absolute 0 0 1256 708" autofittype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="70" band="left"/>
- <Column size="125" band="left"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="1900년"/>
- <Cell col="3" text="1901년"/>
- <Cell col="4" text="1902년"/>
- <Cell col="5" text="1903년"/>
- <Cell col="6" text="1904년"/>
- <Cell col="7" text="TOTAL"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:mainflagnm" suppress="1" suppressalign="middle"/>
- <Cell col="1" text="bind:flagnm"/>
- <Cell col="2" text="bind:col1"/>
- <Cell col="3" text="bind:col2"/>
- <Cell col="4" text="bind:col3"/>
- <Cell col="5" text="bind:col4"/>
- <Cell col="6" text="bind:col5"/>
- <Cell col="7" text="bind:yearsum"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case4" text="임상과별">
- <Layouts>
- <Layout>
- <Grid id="grd_warddeptlist" taborder="0" useinputpanel="false" position="absolute 0 0 1256 708" anchor="all" binddataset="ds_grid_grd_warddeptlist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="70" band="left"/>
- <Column size="125" band="left"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <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"/>
- <Cell col="2"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- <Cell col="12"/>
- <Cell col="13"/>
- <Cell col="14"/>
- <Cell col="15"/>
- <Cell col="16"/>
- <Cell col="17"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- <Cell col="25"/>
- <Cell col="26"/>
- <Cell col="27"/>
- <Cell col="28"/>
- <Cell col="29"/>
- <Cell col="30"/>
- <Cell col="31"/>
- <Cell col="32"/>
- <Cell col="33"/>
- <Cell col="34"/>
- <Cell col="35"/>
- <Cell col="36"/>
- <Cell col="37"/>
- <Cell col="38"/>
- <Cell col="39"/>
- <Cell col="40"/>
- <Cell col="41"/>
- <Cell col="42"/>
- <Cell col="43"/>
- <Cell col="44"/>
- <Cell col="45"/>
- <Cell col="46"/>
- <Cell col="47"/>
- <Cell col="48"/>
- <Cell col="49"/>
- <Cell col="50"/>
- <Cell col="51"/>
- <Cell col="52"/>
- <Cell col="53"/>
- <Cell col="54"/>
- <Cell col="55"/>
- <Cell col="56"/>
- <Cell col="57"/>
- <Cell col="58"/>
- <Cell col="59"/>
- <Cell col="60"/>
- <Cell col="61"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:mainflagnm" suppress="1" suppressalign="middle"/>
- <Cell col="1" text="bind:flagnm"/>
- <Cell col="2"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- <Cell col="12"/>
- <Cell col="13"/>
- <Cell col="14"/>
- <Cell col="15"/>
- <Cell col="16"/>
- <Cell col="17"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- <Cell col="25"/>
- <Cell col="26"/>
- <Cell col="27"/>
- <Cell col="28"/>
- <Cell col="29"/>
- <Cell col="30"/>
- <Cell col="31"/>
- <Cell col="32"/>
- <Cell col="33"/>
- <Cell col="34"/>
- <Cell col="35"/>
- <Cell col="36"/>
- <Cell col="37"/>
- <Cell col="38"/>
- <Cell col="39"/>
- <Cell col="40"/>
- <Cell col="41"/>
- <Cell col="42"/>
- <Cell col="43"/>
- <Cell col="44"/>
- <Cell col="45"/>
- <Cell col="46"/>
- <Cell col="47"/>
- <Cell col="48"/>
- <Cell col="49"/>
- <Cell col="50"/>
- <Cell col="51"/>
- <Cell col="52"/>
- <Cell col="53"/>
- <Cell col="54"/>
- <Cell col="55"/>
- <Cell col="56"/>
- <Cell col="57"/>
- <Cell col="58"/>
- <Cell col="59"/>
- <Cell col="60"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Button id="button2" taborder="7" text="엑셀저장" class="btn7" position="absolute 1180 74 1255 94" onclick="button2_onclick" anchor="top right"/>
- <Static id="Static06" text="h3" class="sta_guide" visible="false" position="absolute 1200 94 1255 97"/>
- <Radio id="rdo_srchflag3" taborder="11" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_srchflag2_onitemchanged" position="absolute 307 38 354 54">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">월별</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio id="rdo_srchflag4" taborder="12" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_srchflag2_onitemchanged" position="absolute 355 38 410 54">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">년도별</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio id="rdo_srchflag5" taborder="13" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_srchflag2_onitemchanged" position="absolute 414 38 485 54">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">임상과별</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="Static07" text="w8" class="sta_guide" visible="false" position="absolute 407 26 415 66"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_wardddlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="mainflagnm" type="STRING"/>
- <Column id="flagnm" type="STRING"/>
- <Column id="col1" type="STRING"/>
- <Column id="col2" type="STRING"/>
- <Column id="col3" type="STRING"/>
- <Column id="col4" type="STRING"/>
- <Column id="col5" type="STRING"/>
- <Column id="col6" type="STRING"/>
- <Column id="col7" type="STRING"/>
- <Column id="col8" type="STRING"/>
- <Column id="col9" type="STRING"/>
- <Column id="col10" type="STRING"/>
- <Column id="col11" type="STRING"/>
- <Column id="col12" type="STRING"/>
- <Column id="col13" type="STRING"/>
- <Column id="col14" type="STRING"/>
- <Column id="col15" type="STRING"/>
- <Column id="col16" type="STRING"/>
- <Column id="col17" type="STRING"/>
- <Column id="col18" type="STRING"/>
- <Column id="col19" type="STRING"/>
- <Column id="col20" type="STRING"/>
- <Column id="col21" type="STRING"/>
- <Column id="col22" type="STRING"/>
- <Column id="col23" type="STRING"/>
- <Column id="col24" type="STRING"/>
- <Column id="col25" type="STRING"/>
- <Column id="col26" type="STRING"/>
- <Column id="col27" type="STRING"/>
- <Column id="col28" type="STRING"/>
- <Column id="col29" type="STRING"/>
- <Column id="col30" type="STRING"/>
- <Column id="col31" type="STRING"/>
- <Column id="ddsum" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_wardmmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="mainflag" type="STRING" size="255"/>
- <Column id="flag" type="STRING" size="255"/>
- <Column id="flagnm" type="STRING" size="255"/>
- <Column id="mainflagnm" type="STRING" size="255"/>
- <Column id="col1" type="BIGDECIMAL" size="255"/>
- <Column id="col2" type="BIGDECIMAL" size="255"/>
- <Column id="col3" type="BIGDECIMAL" size="255"/>
- <Column id="col4" type="BIGDECIMAL" size="255"/>
- <Column id="col5" type="BIGDECIMAL" size="255"/>
- <Column id="col6" type="BIGDECIMAL" size="255"/>
- <Column id="col7" type="BIGDECIMAL" size="255"/>
- <Column id="col8" type="BIGDECIMAL" size="255"/>
- <Column id="col9" type="BIGDECIMAL" size="255"/>
- <Column id="col10" type="BIGDECIMAL" size="255"/>
- <Column id="col11" type="BIGDECIMAL" size="255"/>
- <Column id="col12" type="BIGDECIMAL" size="255"/>
- <Column id="mmsum" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_wardyearlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="mainflagnm" type="STRING"/>
- <Column id="flagnm" type="STRING"/>
- <Column id="col1" type="STRING"/>
- <Column id="col2" type="STRING"/>
- <Column id="col3" type="STRING"/>
- <Column id="col4" type="STRING"/>
- <Column id="col5" type="STRING"/>
- <Column id="yearsum" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_warddeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="mainflag" type="STRING" size="255"/>
- <Column id="flag" type="STRING" size="255"/>
- <Column id="flagnm" type="STRING" size="255"/>
- <Column id="mainflagnm" type="STRING" size="255"/>
- <Column id="allflag" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_tmpwarddeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptengabbr" type="STRING" size="255"/>
- <Column id="mainflag" type="STRING" size="255"/>
- <Column id="flag" type="STRING" size="255"/>
- <Column id="flagnm" type="STRING" size="255"/>
- <Column id="mainflagnm" type="STRING" size="255"/>
- <Column id="col" type="BIGDECIMAL" size="255"/>
- <Column id="orddeptcd" type="STRING" size="255"/>
- <Column id="allflag" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptengabbr" type="STRING" size="255"/>
- <Column id="deptcd" type="STRING" size="255"/>
- <Column id="depthngnm" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_cond_oncolumnchanged">
- <ColumnInfo>
- <Column id="srchdd" type="STRING" size="256"/>
- <Column id="srchyear" type="STRING" size="256"/>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="srchflag1" type="STRING" size="256"/>
- <Column id="srchflag2" type="STRING" size="256"/>
- <Column id="basedd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchdd" type="STRING" size="256"/>
- <Column id="srchyear" type="STRING" size="256"/>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="srchflag1" type="STRING" size="256"/>
- <Column id="srchflag2" type="STRING" size="256"/>
- <Column id="basedd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_grd_warddeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="mainflag" type="STRING" size="255"/>
- <Column id="flag" type="STRING" size="255"/>
- <Column id="flagnm" type="STRING" size="255"/>
- <Column id="mainflagnm" type="STRING" size="255"/>
- <Column id="allflag" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="rdo_srchflag1" propid="value" datasetid="ds_main_cond" columnid="srchflag1"/>
- <BindItem id="item1" compid="rdo_srchflag2" propid="value" datasetid="ds_main_cond" columnid="srchflag2"/>
- <BindItem id="item4" compid="ipt_srchfromdd" propid="value" datasetid="ds_main_cond" columnid="srchfromdd"/>
- <BindItem id="item5" compid="ipt_srchtodd" propid="value" datasetid="ds_main_cond" columnid="srchtodd"/>
- <BindItem id="item3" compid="ipt_srchdd" propid="value" datasetid="ds_main_cond" columnid="srchdd"/>
- <BindItem id="item2" compid="ipt_srchyear" propid="value" datasetid="ds_main_cond" columnid="srchyear"/>
- <BindItem id="item6" compid="rdo_srchflag3" propid="value" datasetid="ds_main_cond" columnid="srchflag2"/>
- <BindItem id="item7" compid="rdo_srchflag4" propid="value" datasetid="ds_main_cond" columnid="srchflag2"/>
- <BindItem id="item8" compid="rdo_srchflag5" propid="value" datasetid="ds_main_cond" columnid="srchflag2"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : Himed
- * Job Name :
- * File Name : SSMNE00300_진료과별병동별대장.xfdl
- * Creator :
- * Make Date : 2014-08-20
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-08-20 Converting Program(TF->XP)
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- //var cnt=0;
- /****************************************************************************************
- * Argument :
- * Description : 조회
- ****************************************************************************************/
- function lf_fGetStsData()
- {
- ds_send.clearData();
- ds_send.addRow();
-
- ds_grid_grd_wardddlist.clearData();
- ds_grid_grd_wardmmlist.clearData();
- ds_grid_grd_wardyearlist.clearData();
- ds_grid_grd_warddeptlist.clearData();
-
- if(rdo_srchflag2.value == "1"){ // 일별
- ipt_srchyear.visible = false;
- ipt_srchfromdd.visible = false;
- ipt_srchtodd.visible = false;
- caption3.visible = false;
-
- ipt_srchdd.visible = true;
-
- ds_send.enableevent = false;
- ds_send.setColumn(0, "srchdd", ds_main_cond.getColumn(0, "srchdd"));
- ds_send.setColumn(0, "srchflag1", ds_main_cond.getColumn(0, "srchflag1"));
- ds_send.setColumn(0, "srchflag2", ds_main_cond.getColumn(0, "srchflag2"));
- ds_send.enableevent = true;
-
- lf_TRSNE00301();
-
- var grd = switch1.case1.grd_wardddlist;
- var fRow = ds_grid_grd_wardddlist.findRow("flagnm", "TOTAL");
- var sExpr = "EXPR( currow == '"+ fRow +"' ? "+ "'#7cff7c'"+" : '#ffffff' )";
-
- grd.enableredraw = false;
- for (var k=1; k<grd.getCellCount('Body'); k++ ) {
- grd.setCellProperty('Body', k, "background", sExpr);
- grd.setCellProperty('Body', k, "background2", sExpr);
- }
- grd.setCellProperty('Body', 0, "background", "#c5eaf4");
- grd.setCellProperty('Body', 0, "background2", "#c5eaf4");
-
- grd.setCellProperty('Body', 33, "background", "#7cff7c");
- grd.setCellProperty('Body', 33, "background2", "#7cff7c");
- grd.setCellProperty('Body', 33, "font", "Dotum,9,bold");
- grd.enableredraw = true;
-
- }else if(rdo_srchflag2.value == "2"){ // 월별
- ipt_srchdd.visible = false;
- ipt_srchfromdd.visible = false;
- ipt_srchtodd.visible = false;
- caption3.visible = false;
-
- ipt_srchyear.visible = true;
-
- ds_send.enableevent = false;
- ds_send.setColumn(0, "srchyear", ds_main_cond.getColumn(0, "srchyear"));
- ds_send.setColumn(0, "srchflag1", ds_main_cond.getColumn(0, "srchflag1"));
- ds_send.setColumn(0, "srchflag2", ds_main_cond.getColumn(0, "srchflag2"));
- ds_send.enableevent = true;
-
- lf_TRSNE00302();
-
- var grd = switch1.case2.grd_wardmmlist;
- var fRow = ds_grid_grd_wardmmlist.findRow("flagnm", "TOTAL");
- var sExpr = "EXPR( currow == '"+ fRow +"' ? "+ "'#7cff7c'"+" : '#ffffff' )";
-
- grd.enableredraw = false;
- for (var k=1; k<grd.getCellCount('Body'); k++ ) {
- grd.setCellProperty('Body', k, "background", sExpr);
- grd.setCellProperty('Body', k, "background2", sExpr);
- }
- grd.setCellProperty('Body', 0, "background", "#c5eaf4");
- grd.setCellProperty('Body', 0, "background2", "#c5eaf4");
-
- grd.setCellProperty('Body', 14, "background", "#7cff7c");
- grd.setCellProperty('Body', 14, "background2", "#7cff7c");
- grd.setCellProperty('Body', 14, "font", "Dotum,9,bold");
- grd.enableredraw = true;
-
- }else if(rdo_srchflag2.value == "3"){ // 년도별
- ipt_srchdd.visible = false;
- ipt_srchfromdd.visible = false;
- ipt_srchtodd.visible = false;
- caption3.visible = false;
-
- ipt_srchyear.visible = true;
-
- ds_send.enableevent = false;
- ds_send.setColumn(0, "srchyear", ds_main_cond.getColumn(0, "srchyear"));
- ds_send.setColumn(0, "srchflag1", ds_main_cond.getColumn(0, "srchflag1"));
- ds_send.setColumn(0, "srchflag2", ds_main_cond.getColumn(0, "srchflag2"));
- ds_send.enableevent = true;
-
- lf_TRSNE00303();
-
- var grd = switch1.case3.grd_wardyearlist;
- var fRow = ds_grid_grd_wardyearlist.findRow("flagnm", "TOTAL");
- var sExpr = "EXPR( currow == '"+ fRow +"' ? "+ "'#7cff7c'"+" : '#ffffff' )";
-
- grd.enableredraw = false;
- for (var k=1; k<grd.getCellCount('Body'); k++ ) {
- grd.setCellProperty('Body', k, "background", sExpr);
- grd.setCellProperty('Body', k, "background2", sExpr);
- }
- grd.setCellProperty('Body', 0, "background", "#c5eaf4");
- grd.setCellProperty('Body', 0, "background2", "#c5eaf4");
-
- grd.setCellProperty('Body', 7, "background", "#7cff7c");
- grd.setCellProperty('Body', 7, "background2", "#7cff7c");
- grd.setCellProperty('Body', 7, "font", "Dotum,9,bold");
- grd.enableredraw = true;
-
- var sBaseYear = ds_main_cond.getColumn(0, "srchyear").substr(0,4);
- var k = 0;
- for(var i = 6; i >= 2 ; i --){
- sGrdHearderInfo = utlf_addDate(sBaseYear + "0601", toNumber("-"+(365 * k)) ).substr(0,4) + "년";
- grd.setCellProperty('Head', i, "text", sGrdHearderInfo);
- k = k+1;
- }
-
-
- }else if(rdo_srchflag2.value == "4"){ // 임상과별_20091217
-
- var grd = switch1.case4.grd_warddeptlist;
-
- ds_grid_grd_warddeptlist.copyData(ds_temp_grd_warddeptlist);
- ipt_srchdd.visible = false;
- ipt_srchyear.visible = false;
-
- ipt_srchfromdd.visible = true;
- ipt_srchtodd.visible = true;
- caption3.visible = true;
-
- ds_send.enableevent = false;
- ds_send.setColumn(0, "srchfromdd", ds_main_cond.getColumn(0, "srchfromdd"));
- ds_send.setColumn(0, "srchtodd", ds_main_cond.getColumn(0, "srchtodd"));
- ds_send.setColumn(0, "srchflag1", ds_main_cond.getColumn(0, "srchflag1"));
- ds_send.setColumn(0, "srchflag2", ds_main_cond.getColumn(0, "srchflag2"));
- ds_send.enableevent = true;
-
- lf_TRSNE00304();
-
- this.setWaitCursor(true, true);
-
- // temp Data Display Grid Setting
- // 임상과별 addColumn
- var deptlistcnt = ds_deptlist.rowcount;
- var tmplistcnt = ds_tmpwarddeptlist.rowcount;
- var listcnt = ds_grid_grd_warddeptlist.rowcount;
-
- // 방법 3)
- var sFormatInfo = "";
- var sColumnInfo = "";
- var sRowInfo = "";
- var sHeadInfo = "";
- var sBodyInfo = "";
-
- //Row info 세팅
- sRowInfo += '<Row size="24" band="head"/> \r\n';
- sRowInfo += '<Row size="24"/> \r\n';
-
- //Head info 세팅
- sHeadInfo += '<Cell /> \r\n';
- sHeadInfo += '<Cell col="1"/> \r\n';
-
- //Body info 세팅
- sBodyInfo += '<Cell celltype="head" text="bind:mainflagnm" suppress="1" suppressalign="middle" style="background:#c5eaf4;background2:#c5eaf4;"/> \r\n';
- sBodyInfo += '<Cell col="1" text="bind:flagnm" style="background:EXPR(flagnm == '+"'TOTAL'"+' ? '+"'#7cff7c'"+':'+ "'#ffffff'"
- +');background2:EXPR(flagnm == '+"'TOTAL'"+' ? '+"'#7cff7c'"+':'+ "'#ffffff'"
- +');font:EXPR(flagnm == '+"'TOTAL'"+' ? '+"'Dotum,9,bold'"+':'+ "'Dotum,9'"+');'
- + '" /> \r\n';
-
- for(var iCol=0; iCol<=deptlistcnt+1; iCol++){
- //Column info 세팅
- if(iCol == 0){
- sColumnInfo += '<Column size="70" band="left"/> \r\n';
- sColumnInfo += '<Column size="125" band="left"/> \r\n';
- }else if(iCol >= 2){
- sColumnInfo += '<Columns size="35" /> \r\n';
-
- //Head info 세팅
- var sColid = ds_deptlist.getColumn(iCol-2, "deptengabbr");
- sHeadInfo += '<Cell col="' + iCol + '" text="' + sColid +'"/> \r\n';
- }
-
- //Body info 세팅
- ds_tmpwarddeptlist.filterstr = "deptengabbr=='"+ds_deptlist.getColumn(iCol, "deptengabbr")+"'";
- for(var m=0; m<ds_tmpwarddeptlist.rowcount; m++) {
- var fAllflag = ds_grid_grd_warddeptlist.findRow("allflag", ds_tmpwarddeptlist.getColumn(m, "allflag"));
- if (fAllflag > -1 && iCol <= deptlistcnt) {
- var sExpr = "EXPR( flagnm == 'TOTAL' ? "+ "'#7cff7c'"+" : '#ffffff' )";
- var fExpr = "EXPR( flagnm == 'TOTAL' ? "+ "'Dotum,9,bold'"+" : 'Dotum,9' )";
- sBodyInfo += '<Cell col="' + (iCol+2) + '" row="' + fAllflag
- + '" style="background:EXPR(flagnm == '+"'TOTAL'"+' ? '+"'#7cff7c'"+':'+ "'#ffffff'"
- +');background2:EXPR(flagnm == '+"'TOTAL'"+' ? '+"'#7cff7c'"+':'+ "'#ffffff'"
- +');font:EXPR(flagnm == '+"'TOTAL'"+' ? '+"'Dotum,9,bold'"+':'+ "'Dotum,9'"+');'
- + '" text="' + ds_tmpwarddeptlist.getColumn(m, "col") + '" /> \r\n';
- }
- }
- ds_tmpwarddeptlist.filterstr = "";
- }
-
- sColumnInfo = '<Columns> \r\n' + sColumnInfo + '</Columns> \r\n' ;
- sRowInfo = '<Rows> \r\n' + sRowInfo + '</Rows> \r\n';
- sHeadInfo = '<Band id="head"> \r\n' + sHeadInfo + '</Band> \r\n';
- sBodyInfo = '<Band id="body"> \r\n' + sBodyInfo + '</Band> \r\n';
-
- sFormatInfo = '<Formats> \r\n';
- sFormatInfo += '<Format id="default"> \r\n';
- sFormatInfo += sColumnInfo + sRowInfo + sHeadInfo + sBodyInfo;
- sFormatInfo += '</Format> \r\n';
- sFormatInfo += '</Formats>';
-
- grd.enableredraw = false;
- grd.formats = sFormatInfo;
- grd.enableredraw = true;
-
- grd.redraw();
-
- this.setWaitCursor(false, true);
- }
-
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회
- ****************************************************************************************/
- function lf_TRSNE00301()
- {
- tranf_submit({
- id : "TRSNE00301"
- , service : "stsenrapp.StsErMngt"
- , method : "reqGetWardDDList"
- , inds : "req=ds_send"
- , outds : "ds_grid_grd_wardddlist=wardddlist"
- , async : false
- });
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회
- ****************************************************************************************/
- function lf_TRSNE00302()
- {
- tranf_submit({
- id : "TRSNE00302"
- , service : "stsenrapp.StsErMngt"
- , method : "reqGetWardMMList"
- , inds : "req=ds_send"
- , outds : "ds_grid_grd_wardmmlist=wardmmlist"
- , async : false
- });
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회
- ****************************************************************************************/
- function lf_TRSNE00303()
- {
- tranf_submit({
- id : "TRSNE00303"
- , service : "stsenrapp.StsErMngt"
- , method : "reqGetWardYearList"
- , inds : "req=ds_send"
- , outds : "ds_grid_grd_wardyearlist=wardyearlist"
- , async : false
- });
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회
- ****************************************************************************************/
- function lf_TRSNE00304()
- {
- tranf_submit({
- id : "TRSNE00304"
- , service : "stsenrapp.StsErMngt"
- , method : "reqGetWardDeptList"
- , inds : "req=ds_send"
- , outds : "ds_tmpwarddeptlist=tmpwarddeptlist ds_grid_grd_warddeptlist=warddeptlist ds_deptlist=deptlist"
- , progress : true
- , async : false
- });
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SSMNE00300
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 온로드
- ****************************************************************************************/
- function SSMNE00300_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 화면공통
-
- lf_commoduleDataSetShow(); //DataSet 조회;
-
- ds_main_cond.enableevent = false;
- ds_main_cond.setColumn(0, "basedd", utlf_addDate(utlf_getCurrentDate(), -1));
- ds_main_cond.setColumn(0, "srchdd", ds_main_cond.getColumn(0, "basedd").substr(0,6));
- ds_main_cond.setColumn(0, "srchyear", ds_main_cond.getColumn(0, "basedd").substr(0,4));
- ds_main_cond.setColumn(0, "srchfromdd", ds_main_cond.getColumn(0, "basedd"));
- ds_main_cond.setColumn(0, "srchtodd", ds_main_cond.getColumn(0, "basedd"));
- ds_main_cond.setColumn(0, "srchflag1", "1");
- ds_main_cond.setColumn(0, "srchflag2", "1");
- ds_main_cond.enableevent = true;
- lf_fGetStsData();
- }
- /****************************************************************************************
- * Components :
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_fGetStsData();
- }
- /****************************************************************************************
- * Components :
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀
- ****************************************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var fromdd = ds_main_cond.getColumn(0, "srchfromdd");
- var todd = ds_main_cond.getColumn(0, "srchtodd");
- var syear = ds_main_cond.getColumn(0, "srchyear");
- var smon = ds_main_cond.getColumn(0, "srchdd");
- var sBaseYear = ds_main_cond.getColumn(0, "srchyear");
-
- var s4beforeYear = utlf_addDate(sBaseYear + "0601", toNumber("-"+(365 * 4)) ).substr(0,4);
-
- if(rdo_srchflag2.value == "1"){
- grdf_exportExcel(switch1.case1.grd_wardddlist, "진료과병동별대장_일별(" + smon + ")", "진료과병동별대장_일별(" + smon + ")");
-
- }else if(rdo_srchflag2.value == "2"){
- grdf_exportExcel(switch1.case2.grd_wardmmlist, "진료과병동별대장_월별(" + syear + ")", "진료과병동별대장_월별(" + syear + ")");
-
- }else if(rdo_srchflag2.value == "3"){
- grdf_exportExcel(switch1.case3.grd_wardyearlist, "진료과병동별대장_년도별(" + s4beforeYear + "-" + syear + ")", "진료과병동별대장_년도별(" + s4beforeYear + "-" + syear + ")");
-
- }else if(rdo_srchflag2.value == "4"){
- //grdf_exportExcel(switch1.case4.grd_warddeptlist, "진료과병동별대장_임상과별(" + fromdd + "-" + todd + ")", "진료과병동별대장_임상과별(" + fromdd + "-" + todd + ")");
- grdf_exportExcel(switch1.case4.grd_warddeptlist, "진료과병동별대장_임상과별(" + fromdd + "-" + todd + ")", "진료과병동별대장_임상과별"); // 시트명이 너무 길어서 엑셀 오류로 인해 저장이 안되서 줄임
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : rdo_srchflag1
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 검색조건1 변경시
- ****************************************************************************************/
- function rdo_srchflag1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- lf_fGetStsData();
- }
- /****************************************************************************************
- * Components :
- * Components ID : rdo_srchflag2
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 검색조건2 변경시
- ****************************************************************************************/
- function rdo_srchflag2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(rdo_srchflag2.value == "1"){
- switch1.tabindex = 0;
- }
- if(rdo_srchflag3.value == "2"){
- switch1.tabindex = 1;
- }
- if(rdo_srchflag4.value == "3"){
- switch1.tabindex = 2;
- }
- if(rdo_srchflag5.value == "4"){
- switch1.tabindex = 3;
- }
-
- // lf_fGetStsData();
- }
- /****************************************************************************************
- * Components :
- * Components ID : switch1
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 탭 변경시
- ****************************************************************************************/
- function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if (switch1.tabindex == 0) {
- rdo_srchflag2.value = 1;
- } else if (switch1.tabindex == 1) {
- rdo_srchflag3.value = 2;
- } else if (switch1.tabindex == 2) {
- rdo_srchflag4.value = 3;
- } else if (switch1.tabindex == 3) {
- rdo_srchflag5.value = 4;
- }
-
- lf_fGetStsData();
- }
- /****************************************************************************************
- * Components :
- * Components ID : ds_main_cond
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 달력 변경시 포맷에 맞게 데이터 자르기
- ****************************************************************************************/
- function ds_main_cond_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if (e.columnid == "srchdd") {
- obj.enableevent = false;
- ds_main_cond.setColumn(e.row, "srchdd", ds_main_cond.getColumn(e.row, "srchdd").substr(0,6));
- obj.enableevent = true;
-
- } else if (e.columnid == "srchyear") {
- obj.enableevent = false;
- ds_main_cond.setColumn(e.row, "srchyear", ds_main_cond.getColumn(e.row, "srchyear").substr(0,4));
- obj.enableevent = true;
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|