123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAES05000" position="absolute 0 0 1225 795" titletext="내시경실통합통계" oninit="model1_oninit" onload="SMAES05000_onload">
- <Layouts>
- <Layout>
- <Tab id="switch1" taborder="2" tabindex="0" position="absolute 0 93 1224 794" anchor="all" positiontype="position" onchanged="switch1_onchanged">
- <Tabpages>
- <Tabpage id="case1" text="일별" scrollbars="none" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid id="grd_daylist" taborder="0" useinputpanel="false" position="absolute 0 0 1224 677" anchor="all" binddataset="ds_grid_grd_daylist" positiontype="position" cellsizingtype="col" oncolresized="switch1_case1_grd_daylist_oncolresized">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="109" band="left"/>
- <Column size="82" band="left"/>
- <Column size="268" band="left"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="28" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell text="검사그룹"/>
- <Cell col="1" text="코드"/>
- <Cell col="2" text="검사명"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7" text="1일"/>
- <Cell col="8" text="2일"/>
- <Cell col="9" text="3일"/>
- <Cell col="10" text="4일"/>
- <Cell col="11" text="5일"/>
- <Cell col="12" text="6일"/>
- <Cell col="13" text="7일"/>
- <Cell col="14" text="8일"/>
- <Cell col="15" text="9일"/>
- <Cell col="16" text="10일"/>
- <Cell col="17" text="11일"/>
- <Cell col="18" text="12일"/>
- <Cell col="19" text="13일"/>
- <Cell col="20" text="14일"/>
- <Cell col="21" text="15일"/>
- <Cell col="22" text="16일"/>
- <Cell col="23" text="17일"/>
- <Cell col="24" text="18일"/>
- <Cell col="25" text="19일"/>
- <Cell col="26" text="20일"/>
- <Cell col="27" text="21일"/>
- <Cell col="28" text="22일"/>
- <Cell col="29" text="23일"/>
- <Cell col="30" text="24일"/>
- <Cell col="31" text="25일"/>
- <Cell col="32" text="26일"/>
- <Cell col="33" text="27일"/>
- <Cell col="34" text="28일"/>
- <Cell col="35" text="29일"/>
- <Cell col="36" text="30일"/>
- <Cell col="37" text="31일"/>
- <Cell col="38" text="합계"/>
- </Band>
- <Band id="body">
- <Cell style="align:left;" text="bind:systkey1" suppress="1"/>
- <Cell col="1" style="align:left;" text="bind:systkey2" suppress="1" suppressalign="middle"/>
- <Cell col="2" style="align:left;" text="bind:systkey3" subsumtext="소계" suppress="1" suppressalign="middle"/>
- <Cell col="3" text="bind:systkey4"/>
- <Cell col="4" text="bind:systkey5"/>
- <Cell col="5" text="bind:systkey6"/>
- <Cell col="6" text="bind:systkey7"/>
- <Cell col="7" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item01" mask="#,##0"/>
- <Cell col="8" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item02" mask="#,##0"/>
- <Cell col="9" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item03" mask="#,##0"/>
- <Cell col="10" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item04" mask="#,##0"/>
- <Cell col="11" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item05" mask="#,##0"/>
- <Cell col="12" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item06" mask="#,##0"/>
- <Cell col="13" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item07" mask="#,##0"/>
- <Cell col="14" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item08" mask="#,##0"/>
- <Cell col="15" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item09" mask="#,##0"/>
- <Cell col="16" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item10" mask="#,##0"/>
- <Cell col="17" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item11" mask="#,##0"/>
- <Cell col="18" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item12" mask="#,##0"/>
- <Cell col="19" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item13" mask="#,##0"/>
- <Cell col="20" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item14" mask="#,##0"/>
- <Cell col="21" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item15" mask="#,##0"/>
- <Cell col="22" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item16" mask="#,##0"/>
- <Cell col="23" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item17" mask="#,##0"/>
- <Cell col="24" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item18" mask="#,##0"/>
- <Cell col="25" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item19" mask="#,##0"/>
- <Cell col="26" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item20" mask="#,##0"/>
- <Cell col="27" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item21" mask="#,##0"/>
- <Cell col="28" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item22" mask="#,##0"/>
- <Cell col="29" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item23" mask="#,##0"/>
- <Cell col="30" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item24" mask="#,##0"/>
- <Cell col="31" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item25" mask="#,##0"/>
- <Cell col="32" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item26" mask="#,##0"/>
- <Cell col="33" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item27" mask="#,##0"/>
- <Cell col="34" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item28" mask="#,##0"/>
- <Cell col="35" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item29" mask="#,##0"/>
- <Cell col="36" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item30" mask="#,##0"/>
- <Cell col="37" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item31" mask="#,##0"/>
- <Cell col="38" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:total" mask="#,##0"/>
- </Band>
- <Band id="summary">
- <Cell colspan="3" text="총계"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7" displaytype="number" text="expr:getSum("item01")" mask="#,##0"/>
- <Cell col="8" displaytype="number" text="expr:getSum("item02")" mask="#,##0"/>
- <Cell col="9" displaytype="number" text="expr:getSum("item03")" mask="#,##0"/>
- <Cell col="10" displaytype="number" text="expr:getSum("item04")" mask="#,##0"/>
- <Cell col="11" displaytype="number" text="expr:getSum("item05")" mask="#,##0"/>
- <Cell col="12" displaytype="number" text="expr:getSum("item06")" mask="#,##0"/>
- <Cell col="13" displaytype="number" text="expr:getSum("item07")" mask="#,##0"/>
- <Cell col="14" displaytype="number" text="expr:getSum("item08")" mask="#,##0"/>
- <Cell col="15" displaytype="number" text="expr:getSum("item09")" mask="#,##0"/>
- <Cell col="16" displaytype="number" text="expr:getSum("item10")" mask="#,##0"/>
- <Cell col="17" displaytype="number" text="expr:getSum("item11")" mask="#,##0"/>
- <Cell col="18" displaytype="number" text="expr:getSum("item12")" mask="#,##0"/>
- <Cell col="19" displaytype="number" text="expr:getSum("item13")" mask="#,##0"/>
- <Cell col="20" displaytype="number" text="expr:getSum("item14")" mask="#,##0"/>
- <Cell col="21" displaytype="number" text="expr:getSum("item15")" mask="#,##0"/>
- <Cell col="22" displaytype="number" text="expr:getSum("item16")" mask="#,##0"/>
- <Cell col="23" displaytype="number" text="expr:getSum("item17")" mask="#,##0"/>
- <Cell col="24" displaytype="number" text="expr:getSum("item18")" mask="#,##0"/>
- <Cell col="25" displaytype="number" text="expr:getSum("item19")" mask="#,##0"/>
- <Cell col="26" displaytype="number" text="expr:getSum("item20")" mask="#,##0"/>
- <Cell col="27" displaytype="number" text="expr:getSum("item21")" mask="#,##0"/>
- <Cell col="28" displaytype="number" text="expr:getSum("item22")" mask="#,##0"/>
- <Cell col="29" displaytype="number" text="expr:getSum("item23")" mask="#,##0"/>
- <Cell col="30" displaytype="number" text="expr:getSum("item24")" mask="#,##0"/>
- <Cell col="31" displaytype="number" text="expr:getSum("item25")" mask="#,##0"/>
- <Cell col="32" displaytype="number" text="expr:getSum("item26")" mask="#,##0"/>
- <Cell col="33" displaytype="number" text="expr:getSum("item27")" mask="#,##0"/>
- <Cell col="34" displaytype="number" text="expr:getSum("item28")" mask="#,##0"/>
- <Cell col="35" displaytype="number" text="expr:getSum("item29")" mask="#,##0"/>
- <Cell col="36" displaytype="number" text="expr:getSum("item30")" mask="#,##0"/>
- <Cell col="37" displaytype="number" text="expr:getSum("item31")" mask="#,##0"/>
- <Cell col="38" displaytype="number" text="expr:getSum("total")" mask="#,##0"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case3" text="월별" scrollbars="none">
- <Layouts>
- <Layout>
- <Grid id="grd_monthlist" taborder="0" useinputpanel="false" position="absolute 0 0 1256 682" anchor="all" binddataset="ds_grid_grd_monthlist" positiontype="position" autofittype="col" cellsizingtype="col" oncolresized="switch1_case3_grd_monthlist_oncolresized">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="109"/>
- <Column size="82"/>
- <Column size="268"/>
- <Column size="82"/>
- <Column size="60"/>
- <Column size="82"/>
- <Column size="60"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="64"/>
- <Column size="64"/>
- <Column size="64"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="검사그룹"/>
- <Cell col="1" rowspan="2" text="검사코드"/>
- <Cell col="2" rowspan="2" text="검사명"/>
- <Cell col="3" rowspan="2" text="처방과"/>
- <Cell col="4" rowspan="2" text="처방의"/>
- <Cell col="5" rowspan="2" text="시행과"/>
- <Cell col="6" rowspan="2" text="시행의"/>
- <Cell col="7" colspan="12" text="2006년"/>
- <Cell col="19" rowspan="2" text="합계"/>
- <Cell col="20" rowspan="2" text="전년도합계"/>
- <Cell col="21" rowspan="2" text="증감율"/>
- <Cell row="1" col="7" text="1월"/>
- <Cell row="1" col="8" text="2월"/>
- <Cell row="1" col="9" text="3월"/>
- <Cell row="1" col="10" text="4월"/>
- <Cell row="1" col="11" text="5월"/>
- <Cell row="1" col="12" text="6월"/>
- <Cell row="1" col="13" text="7월"/>
- <Cell row="1" col="14" text="8월"/>
- <Cell row="1" col="15" text="9월"/>
- <Cell row="1" col="16" text="10월"/>
- <Cell row="1" col="17" text="11월"/>
- <Cell row="1" col="18" text="12월"/>
- </Band>
- <Band id="body">
- <Cell text="bind:systkey1" suppress="1"/>
- <Cell col="1" style="align:left;" text="bind:systkey2" suppress="1" suppressalign="middle"/>
- <Cell col="2" style="align:left;" text="bind:systkey3" subsumtext="소계" suppress="1" suppressalign="middle"/>
- <Cell col="3" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:systkey4" suppress="1" suppressalign="middle"/>
- <Cell col="4" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:systkey5" suppress="1" suppressalign="middle"/>
- <Cell col="5" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:systkey6"/>
- <Cell col="6" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:systkey7"/>
- <Cell col="7" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item01" mask="#,##0"/>
- <Cell col="8" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item02" mask="#,##0"/>
- <Cell col="9" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item03" mask="#,##0"/>
- <Cell col="10" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item04" mask="#,##0"/>
- <Cell col="11" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item05" mask="#,##0"/>
- <Cell col="12" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item06" mask="#,##0"/>
- <Cell col="13" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item07" mask="#,##0"/>
- <Cell col="14" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item08" mask="#,##0"/>
- <Cell col="15" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item09" mask="#,##0"/>
- <Cell col="16" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item10" mask="#,##0"/>
- <Cell col="17" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item11" mask="#,##0"/>
- <Cell col="18" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:item12" mask="#,##0"/>
- <Cell col="19" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:total" mask="#,##0"/>
- <Cell col="20" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');" text="bind:comparecnt" mask="#,##0"/>
- <Cell col="21" displaytype="number" text="bind:comparerate" expr="expr:getRowLevel(currow)==1 ? (total - comparecnt)/comparecnt*100 : comparerate" mask="9,999%"/>
- </Band>
- <Band id="summary">
- <Cell colspan="3" text="총계"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7" displaytype="number" text="expr:getSum("item01")" mask="#,##0"/>
- <Cell col="8" displaytype="number" text="expr:getSum("item02")" mask="#,##0"/>
- <Cell col="9" displaytype="number" text="expr:getSum("item03")" mask="#,##0"/>
- <Cell col="10" displaytype="number" text="expr:getSum("item04")" mask="#,##0"/>
- <Cell col="11" displaytype="number" text="expr:getSum("item05")" mask="#,##0"/>
- <Cell col="12" displaytype="number" text="expr:getSum("item06")" mask="#,##0"/>
- <Cell col="13" displaytype="number" text="expr:getSum("item07")" mask="#,##0"/>
- <Cell col="14" displaytype="number" text="expr:getSum("item08")" mask="#,##0"/>
- <Cell col="15" displaytype="number" text="expr:getSum("item09")" mask="#,##0"/>
- <Cell col="16" displaytype="number" text="expr:getSum("item10")" mask="#,##0"/>
- <Cell col="17" displaytype="number" text="expr:getSum("item11")" mask="#,##0"/>
- <Cell col="18" displaytype="number" text="expr:getSum("item12")" mask="#,##0"/>
- <Cell col="19" displaytype="number" text="expr:getSum("total")" mask="#,##0"/>
- <Cell col="20" displaytype="number" text="expr:getSum("comparecnt")" mask="#,##0"/>
- <Cell col="21" displaytype="number" text="expr:getSum("comparecnt")==0?0:(getSum("total") - getSum("comparecnt")) / getSum("comparecnt") *100" mask="#,##0%"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Div id="grp_sea" taborder="0" style="align:center top;" position="absolute 0 22 1224 82" class="div_SA" anchor="left top right" positiontype="position">
- <Layouts>
- <Layout>
- <Static id="caption2" text="기준년월" class="search_name" position="absolute 8 9 82 29" anchor="default" positiontype="position"/>
- <Combo id="cmb_orddept" taborder="4" position="absolute 819 9 929 29" anchor="default" class="input_essential" innerdataset="@ds_init_cmb_orddeptcd" codecolumn="cd" datacolumn="nm" onitemchanged="grp_sea_cmb_orddept_onitemchanged" positiontype="position"/>
- <Combo id="cmb_orddr" taborder="5" position="absolute 932 9 1023 29" anchor="default" class="input_essential" enable="false" innerdataset="@ds_init_cmb_orddrid" codecolumn="cd" datacolumn="nm" positiontype="position"/>
- <Static id="caption3" text="처방과/처방의" class="search_name" position="absolute 713 9 819 29" anchor="default" positiontype="position"/>
- <Static id="caption12" text="구분" class="search_name" position="absolute 181 9 229 29" anchor="default" positiontype="position"/>
- <Radio id="ioflag" taborder="10" columncount="3" rowcount="0" codecolumn="value" datacolumn="label" position="absolute 229 9 360 29" anchor="default" index="0" value="A" innerdataset="@ds_ioflag" positiontype="position"/>
- <Static id="caption5" text="검사코드" class="search_name" position="absolute 384 9 458 29" anchor="default" positiontype="position"/>
- <Edit id="prcpcd1" taborder="12" position="absolute 458 9 533 29" anchor="default" class="input_essential" imemode="alpha" positiontype="position"/>
- <Edit id="prcpcd2" taborder="13" position="absolute 536 9 611 29" anchor="default" class="input_essential" imemode="alpha" positiontype="position"/>
- <Edit id="prcpcd3" taborder="14" position="absolute 614 9 689 29" anchor="default" class="input_essential" imemode="alpha" positiontype="position"/>
- <cp_monthCal id="ipt_fromdd" titletext="monthCalendar" taborder="16" text="cp_monthCal00" scrollbars="none" position="absolute 82 9 157 31" anchor="default"/>
- <CheckBox id="chk_dispyn" taborder="17" text="표시여부" position="absolute 1042 9 1116 29" onchanged="grp_sea_chk_dispyn_onchanged" anchor="default"/>
- <Button id="btn_sea" taborder="18" text="조회" onclick="btn_sea_onclick" onlbuttonup="btn_sea_onlbuttonup" class="btn1" position="absolute 1156 20 1212 40" anchor="top right"/>
- <Combo id="cmb_execrid" taborder="19" innerdataset="@ds_init_cmb_orddrid" codecolumn="cd" datacolumn="nm" class="input_essential" enable="false" visible="true" position="absolute 933 33 1024 53" anchor="default"/>
- <Static id="caption4" text="시행과/시행의" class="search_name" visible="true" position="absolute 713 33 819 53" anchor="default"/>
- <Combo id="cmb_execdeptcd" taborder="20" innerdataset="@ds_init_cmb_orddeptcd" codecolumn="cd" datacolumn="nm" class="input_essential" visible="true" position="absolute 818 33 928 53" anchor="default"/>
- <Static id="caption1" text="처방형태" class="search_name" visible="true" position="absolute 8 33 82 53" anchor="default"/>
- <Combo id="cmb_prcpcdflag" taborder="21" innerdataset="@ds_cmb_prcpcdflag" codecolumn="value" datacolumn="label" class="input_essential" visible="true" position="absolute 82 33 157 53" anchor="default"/>
- <Static id="caption7" text="검사그룹" class="search_name" visible="true" position="absolute 181 33 267 53" anchor="default"/>
- <Combo id="cmb_examgrupcd" taborder="22" innerdataset="@ds_init_cmb_initexcuroomgrp" codecolumn="basecdcnts" datacolumn="basecdcnts2" class="input_essential" visible="true" position="absolute 253 33 357 53" anchor="default"/>
- <Combo id="cmb_exampartcd" taborder="23" innerdataset="@ds_init_cmb_initexcuroom" codecolumn="basecd" datacolumn="basecdflagdesc" class="input_essential" visible="true" position="absolute 458 33 689 53" anchor="default"/>
- <Static id="caption8" text="부위코드" class="search_name" visible="true" position="absolute 384 33 458 53" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_excsave" taborder="1" text="엑셀저장" onlbuttonup="btn_excsave_onlbuttonup" class="btn7" position="absolute 1144 91 1224 113" anchor="top right" visible="true" positiontype="position" onclick="btn_excsave_onclick"/>
- <Shape id="line1" class="line_1" position="absolute 0 65 1195 65" linetype="horizontal" positiontype="position"/>
- <Static id="caption6" text="내시경실통합통계" class="tit_1" position="absolute 0 0 200 25" positiontype="position"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_daylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="systkey1" type="STRING"/>
- <Column id="systkey2" type="STRING"/>
- <Column id="systkey3" type="STRING"/>
- <Column id="systkey4" type="STRING"/>
- <Column id="systkey5" type="STRING"/>
- <Column id="systkey6" type="STRING"/>
- <Column id="systkey7" type="STRING"/>
- <Column id="item01" type="STRING"/>
- <Column id="item02" type="STRING"/>
- <Column id="item03" type="STRING"/>
- <Column id="item04" type="STRING"/>
- <Column id="item05" type="STRING"/>
- <Column id="item06" type="STRING"/>
- <Column id="item07" type="STRING"/>
- <Column id="item08" type="STRING"/>
- <Column id="item09" type="STRING"/>
- <Column id="item10" type="STRING"/>
- <Column id="item11" type="STRING"/>
- <Column id="item12" type="STRING"/>
- <Column id="item13" type="STRING"/>
- <Column id="item14" type="STRING"/>
- <Column id="item15" type="STRING"/>
- <Column id="item16" type="STRING"/>
- <Column id="item17" type="STRING"/>
- <Column id="item18" type="STRING"/>
- <Column id="item19" type="STRING"/>
- <Column id="item20" type="STRING"/>
- <Column id="item21" type="STRING"/>
- <Column id="item22" type="STRING"/>
- <Column id="item23" type="STRING"/>
- <Column id="item24" type="STRING"/>
- <Column id="item25" type="STRING"/>
- <Column id="item26" type="STRING"/>
- <Column id="item27" type="STRING"/>
- <Column id="item28" type="STRING"/>
- <Column id="item29" type="STRING"/>
- <Column id="item30" type="STRING"/>
- <Column id="item31" type="STRING"/>
- <Column id="total" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_monthlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="systkey1" type="STRING"/>
- <Column id="systkey2" type="STRING"/>
- <Column id="systkey3" type="STRING"/>
- <Column id="systkey4" type="STRING"/>
- <Column id="systkey5" type="STRING"/>
- <Column id="systkey6" type="STRING"/>
- <Column id="systkey7" type="STRING"/>
- <Column id="item01" type="STRING"/>
- <Column id="item02" type="STRING"/>
- <Column id="item03" type="STRING"/>
- <Column id="item04" type="STRING"/>
- <Column id="item05" type="STRING"/>
- <Column id="item06" type="STRING"/>
- <Column id="item07" type="STRING"/>
- <Column id="item08" type="STRING"/>
- <Column id="item09" type="STRING"/>
- <Column id="item10" type="STRING"/>
- <Column id="item11" type="STRING"/>
- <Column id="item12" type="STRING"/>
- <Column id="total" type="STRING"/>
- <Column id="comparecnt" type="STRING"/>
- <Column id="comparerate" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING" size="256"/>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="dp" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_initexcuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecdcnts" type="STRING" size="256"/>
- <Column id="basecdcnts2" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_initexcuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecd" type="STRING" size="256"/>
- <Column id="basecdflagdesc" type="STRING" size="256"/>
- <Column id="basecdcnts" type="STRING" size="256"/>
- <Column id="excuposseqcd" type="STRING" size="256"/>
- <Column id="sortno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_ioflag" 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">A</Col>
- </Row>
- <Row>
- <Col id="label">입원</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">외래</Col>
- <Col id="value">O</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_prcpcdflag" 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>
- </Rows>
- </Dataset>
- <Dataset id="ds_dispyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchdate" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="srchprcpcdflag" type="STRING" size="256"/>
- <Column id="examgrupcd" type="STRING" size="256"/>
- <Column id="exampartcd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="execdeptcd" type="STRING" size="256"/>
- <Column id="execrid" type="STRING" size="256"/>
- <Column id="srchioflag" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="dispyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item1" compid="" propid="" datasetid="ds_dispyn" columnid="표시여부"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : KU2.0
- * Job Name :
- * File Name :
- * Creator :
- * Make Date : 2016-03-25
- *
- * Description :
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "com_basiccodexp::ZBC001.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- // function fSetSubTotal(grd_list:Grid, srchstatsflag, srchflag) {
- //
- // var colpos = 0;
- // var rowCnt = 0;
- // var ds_grd_list = grd_list.binddataset;
- //
- // grd_list.colSort(0) = "asc";
- // grd_list.sort(0, 0, grd_list.rows, grd_list.cols) = "usersort";
- //
- // colpos = grd_list.colRef("systkey2");
- //
- // for(i=7; i<grd_list.cols; i++) {
- // grd_list.subtotal("sum", 1, i, "#,###", "background-color:#FFFFCC; color:#0000ff; font-weight:bold; ", colpos, "소계");
- // grd_list.subtotal("sum", -1, i, "#,###", "background-color:#CCFFCC; color:#0000ff; font-weight:bold; ", 1, "총계");
- // }
- // grd_list.mergeByFree(grd_list.rows-1, 1 , grd_list.rows-1, 3);
- //
- // rowCnt = grd_list.rows;
- //
- // // 증감율 구하기
- // var colnm = "";
- // var subtotal = 0;
- // var subcomparecnt = 0;
- // var subcomparerate = "";
- //
- // for (i=0; i<rowCnt; i++) {
- //
- // colnm = grd_list.valueMatrix(i, colpos);
- //
- // if (colnm == "소계" ) {
- //
- // // 소계 합계
- // subtotal = grd_list.valueMatrix(i, grd_list.colRef("total"));
- // subcomparecnt = grd_list.valueMatrix(i, grd_list.colRef("comparecnt"));
- // grd_list.valueMatrix(i, grd_list.colRef("comparerate")) = setCompareRate(subtotal, subcomparecnt);
- //
- // // 분기별일 경우 분기별 증감율 구하기
- // if (srchflag == "Q") {
- //
- // // 1분기
- // subtotal = grd_list.valueMatrix(i, grd_list.colRef("item01"));
- // subcomparecnt = grd_list.valueMatrix(i, grd_list.colRef("item09"));
- // grd_list.valueMatrix(i, grd_list.colRef("item02")) = setCompareRate(subtotal, subcomparecnt);
- //
- // // 2분기
- // subtotal = grd_list.valueMatrix(i, grd_list.colRef("item03"));
- // subcomparecnt = grd_list.valueMatrix(i, grd_list.colRef("item10"));
- // grd_list.valueMatrix(i, grd_list.colRef("item04")) = setCompareRate(subtotal, subcomparecnt);
- //
- // // 3분기
- // subtotal = grd_list.valueMatrix(i, grd_list.colRef("item05"));
- // subcomparecnt = grd_list.valueMatrix(i, grd_list.colRef("item11"));
- // grd_list.valueMatrix(i, grd_list.colRef("item06")) = setCompareRate(subtotal, subcomparecnt);
- //
- // // 4분기
- // subtotal = grd_list.valueMatrix(i, grd_list.colRef("item07"));
- // subcomparecnt = grd_list.valueMatrix(i, grd_list.colRef("item12"));
- // grd_list.valueMatrix(i, grd_list.colRef("item08")) = setCompareRate(subtotal, subcomparecnt);
- //
- // grd_list.cellformat(i, grd_list.colRef("item02")) = "(-)#,### %";
- // grd_list.cellformat(i, grd_list.colRef("item04")) = "(-)#,### %";
- // grd_list.cellformat(i, grd_list.colRef("item06")) = "(-)#,### %";
- // grd_list.cellformat(i, grd_list.colRef("item08")) = "(-)#,### %";
- // } // 분기별일 경우 분기별 증감율 구하기 끝
- //
- // grd_list.cellformat(i, grd_list.colRef("comparerate")) = "(-)#,### %";
- // }
- // }
- //
- //
- // }
- function f_TRPMOCOM01(){//진료과/진료의 조회
- dsf_createDsRow("ds_cmb_req",
- [{col:"sess_posinstcd", val:""}//세션에서가져오는값으로 변경해야됨.
- ,{col:"dridsorttype", val:""}
- ]);
-
- var oParam = new Object();
- oParam.id = "TRPMOCOM01";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetComCD";
- oParam.inds = "req=ds_cmb_req";
- oParam.outds ="ds_init_cmb_orddeptcd=orddeptcd ds_init_cmb_orddrid=orddrid";
- oParam.callback = "cbf_TRPMOCOM01";
-
- tranf_submit(oParam);
- }
- function cbf_TRPMOCOM01(sSvcId, objErrorCode, objErrorMsg){
- frmf_addComboItem("grp_sea.cmb_orddept", "--전체--", "", ""); //처방과
- frmf_addComboItem("grp_sea.cmb_orddr", "--전체--", "", ""); //처방의
- grp_sea.cmb_orddept.index = 0;
- grp_sea.cmb_orddr.index = 0;
- grp_sea.cmb_execdeptcd.index = 0;
- grp_sea.cmb_execrid.index = 0;
- }
- function f_TRAES05002(){// 검사그룹/부위코드 조회
- dsf_createDsRow("ds_cmb_reqparam",
- [{col:"basesuppdeptcd", val:suppdeptcd}
- ,{col:"rbasecdflag", val:"H"}
- ]);
-
- var oParam = new Object();
- oParam.id = "TRAES05002";
- oParam.service = "examcurestatsapp.FuntExam";
- oParam.method = "reqGetExamRoomInfo";
- oParam.inds = "reqparam=ds_cmb_reqparam";
- oParam.outds ="ds_init_cmb_initexcuroomgrp=initexcuroomgrp ds_init_cmb_initexcuroom=initexcuroom";
- oParam.callback = "cbf_TRAES05002";
-
- tranf_submit(oParam);
- }
- function cbf_TRAES05002(sSvcId, objErrorCode, objErrorMsg){
- grp_sea.cmb_examgrupcd.index = 0;
- grp_sea.cmb_exampartcd.index = 0;
- }
- function f_TRAES05001(){//조회
- var prcpcd = grp_sea.prcpcd1.text + grp_sea.prcpcd2.text + grp_sea.prcpcd3.text;
- if(utlf_isNull(prcpcd) == false){
- prcpcd = grp_sea.prcpcd1.text + "','" + grp_sea.prcpcd2.text + "','" + grp_sea.prcpcd3.text;
- }else{
- prcpcd = "";
- }
- if(grp_sea.chk_dispyn.value == true){//표시여부 설정
- var diapyn = "Y";
- }
- else if(grp_sea.chk_dispyn.value == false){
- var diapyn = "N";
- }
-
- if(diapyn == "Y"){
- ds_req.setColumn(0, "srchdate", grp_sea.ipt_fromdd.getData());
- ds_req.setColumn(0, "suppdeptcd", suppdeptcd);
- ds_req.setColumn(0, "srchprcpcdflag", grp_sea.cmb_prcpcdflag.value);
- ds_req.setColumn(0, "examgrupcd", grp_sea.cmb_examgrupcd.value);
- ds_req.setColumn(0, "exampartcd", grp_sea.cmb_exampartcd.value);
- ds_req.setColumn(0, "orddeptcd", grp_sea.cmb_orddept.value);
- ds_req.setColumn(0, "orddrid", grp_sea.cmb_orddr.value);
- ds_req.setColumn(0, "execdeptcd", grp_sea.cmb_execdeptcd.value);
- ds_req.setColumn(0, "execrid", grp_sea.cmb_execrid.value);
- ds_req.setColumn(0, "srchioflag", grp_sea.ioflag.value);
- ds_req.setColumn(0, "prcpcd", prcpcd);
- ds_req.setColumn(0, "dispyn", "Y");
- }else{
- ds_req.setColumn(0, "srchdate", grp_sea.ipt_fromdd.getData());
- ds_req.setColumn(0, "suppdeptcd", suppdeptcd);
- ds_req.setColumn(0, "srchprcpcdflag", grp_sea.cmb_prcpcdflag.value);
- ds_req.setColumn(0, "examgrupcd", grp_sea.cmb_examgrupcd.value);
- ds_req.setColumn(0, "exampartcd", grp_sea.cmb_exampartcd.value);
- ds_req.setColumn(0, "orddeptcd", grp_sea.cmb_orddept.value);
- ds_req.setColumn(0, "orddrid", grp_sea.cmb_orddr.value);
- ds_req.setColumn(0, "execdeptcd", grp_sea.cmb_execdeptcd.value);
- ds_req.setColumn(0, "execrid", grp_sea.cmb_execrid.value);
- ds_req.setColumn(0, "srchioflag", grp_sea.ioflag.value);
- ds_req.setColumn(0, "prcpcd", prcpcd);
- ds_req.setColumn(0, "dispyn", "");
- }
-
-
- if(switch1.tabindex == 0){//일별
- ds_req.setColumn(0, "srchflag", "D");
- var oParam = new Object();
- oParam.id = "TRAES05001";
- oParam.service = "examcurestatsapp.FuntExam";
- oParam.method = "reqGetEscopeSytsStatsCaseList";
- oParam.inds = "req=ds_req";
- oParam.outds ="ds_grid_grd_daylist=item";
- oParam.callback = "cbf_TRAES05001";
-
- tranf_submit(oParam);
- }
- // 월별
- else if(switch1.tabindex == 1){
- ds_req.setColumn(0, "srchflag", "M");
- var oParam = new Object();
- oParam.id = "TRAES05001";
- oParam.service = "examcurestatsapp.FuntExam";
- oParam.method = "reqGetEscopeSytsStatsCaseList";
- oParam.inds = "req=ds_req";
- oParam.outds ="ds_grid_grd_monthlist=item";
- oParam.callback = "cbf_TRAES05001";
-
- tranf_submit(oParam);
- }
-
- }
- function cbf_TRAES05001(sSvcId, objErrorCode, objErrorMsg){
-
- // 소계 및 합계 구하는 함수 호출 - grid Object, 통계구분, 탭구분)
- if(switch1.tabindex == 0)
- {
- ds_grid_grd_daylist.addColumn("systkey0","int");
- for(var i=0; i< ds_grid_grd_daylist.rowcount;i++)
- {
- if(utlf_isNull(ds_grid_grd_daylist.getColumn(i,"systkey1")))
- {
- ds_grid_grd_daylist.setColumn(i,"systkey0",2);
- }
- else
- {
- ds_grid_grd_daylist.setColumn(i,"systkey0",1);
- }
- }
- //fSetSubTotal(switch1.case1.grd_daylist, "" , "D");
- ds_grid_grd_daylist.keystring = "G:+systkey0+systkey1";
- }
- else if(switch1.tabindex == 1){
- ds_grid_grd_monthlist.addColumn("systkey0","int");
- for(var i=0; i< ds_grid_grd_monthlist.rowcount;i++)
- {
- if(utlf_isNull(ds_grid_grd_monthlist.getColumn(i,"systkey1")))
- {
- ds_grid_grd_monthlist.setColumn(i,"systkey0",2);
- }
- else
- {
- ds_grid_grd_monthlist.setColumn(i,"systkey0",1);
- }
- }
- //fSetSubTotal(switch1.case1.grd_daylist, "" , "D");
- ds_grid_grd_monthlist.keystring = "G:+systkey0+systkey1";
- }
-
- }
- /* @group : 통합 통계
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 내시경실 통합통계 조회
- */
- function f_getEscopeSytsStatsCaseList(){
-
- f_TRAES05001();//조회
- }
- /* @group : 통합 통계
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 통계 구분별 그리드 header를 정의하는 함수
- */
- function f_setYear() {//그리드 헤더 년도 설정
- var tempYear = grp_sea.ipt_fromdd.getData();
- var tempYear1 = tempYear.substr(0,4) + "년";
- switch1.case3.grd_monthlist.setCellProperty("head",7,"text", tempYear1);
- }
- function f_setGridDate(){//월에따른 일자수 그리드 설정
- var temp3 = grp_sea.ipt_fromdd.getData();
- var temp4 = temp3.substr(4,2);
-
- //switch1.case1.grd_daylist.setFormatColProperty(35, "size", 30);
- //switch1.case1.grd_daylist.setFormatColProperty(36, "size", 30);
- //switch1.case1.grd_daylist.setFormatColProperty(37, "size", 30);
-
- if(temp4 == "02"){
- switch1.case1.grd_daylist.setFormatColProperty(35, "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(36, "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(37, "size", 0);
- }else if(temp4 == "04"){
- switch1.case1.grd_daylist.setFormatColProperty(37, "size", 0);
- }else if(temp4 == "06"){
- switch1.case1.grd_daylist.setFormatColProperty(37, "size", 0);
- }else if(temp4 == "09"){
- switch1.case1.grd_daylist.setFormatColProperty(37, "size", 0);
- }else if(temp4 == "11"){
- switch1.case1.grd_daylist.setFormatColProperty(37, "size", 0);
- }
- }
- function cbf_fromdd(){//달력 정보가 바뀔때 그리드 셋팅
- f_setGridDate();
- f_setYear();
- }
- function f_dispyn(){//표시여부에 따른 그리드 설정
- if(grp_sea.chk_dispyn.value == true){
- switch1.case1.grd_daylist.setFormatColProperty(3, "size", 80);
- switch1.case1.grd_daylist.setFormatColProperty(4, "size", 60);
- switch1.case1.grd_daylist.setFormatColProperty(5, "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(6, "size", 0);
- switch1.case3.grd_monthlist.setFormatColProperty(3, "size", 80);
- switch1.case3.grd_monthlist.setFormatColProperty(4, "size", 60);
- switch1.case3.grd_monthlist.setFormatColProperty(5, "size", 0);
- switch1.case3.grd_monthlist.setFormatColProperty(6, "size", 0);
- }
- else if(grp_sea.chk_dispyn.value == false){
- switch1.case1.grd_daylist.setFormatColProperty(3, "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(4, "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(5, "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(6, "size", 0);
- switch1.case3.grd_monthlist.setFormatColProperty(3, "size", 0);
- switch1.case3.grd_monthlist.setFormatColProperty(4, "size", 0);
- switch1.case3.grd_monthlist.setFormatColProperty(5, "size", 0);
- switch1.case3.grd_monthlist.setFormatColProperty(6, "size", 0);
- }
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SMAES05000
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SMAES05000_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 화면공통
-
- lf_aezfSetSuppDeptcd();
- // 진료과/진료의 조회
- f_TRPMOCOM01();
- // 검사그룹/부위코드 조회
- f_TRAES05002();
- //grp_sea.cmb_prcpcdflag.index = 0;
- grp_sea.ioflag.index = 0;
- //기준년월설정
- grp_sea.ipt_fromdd.setData(utlf_getCurrentDate().substr(0,6));
- grp_sea.ipt_fromdd.setCallEvent("cbf_fromdd");
-
- //표시여부
- grp_sea.chk_dispyn.value = false;
-
- switch1.case1.grd_daylist.setFormatColProperty(3, "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(4, "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(5, "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(6, "size", 0);
- switch1.case3.grd_monthlist.setFormatColProperty(3, "size", 0);
- switch1.case3.grd_monthlist.setFormatColProperty(4, "size", 0);
- switch1.case3.grd_monthlist.setFormatColProperty(5, "size", 0);
- switch1.case3.grd_monthlist.setFormatColProperty(6, "size", 0);
-
- f_setGridDate();
- f_setYear();
-
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_sea
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- // 내시경실 통합통계 조회
- f_getEscopeSytsStatsCaseList();
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_excsave
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if(switch1.tabindex == 0){
- if(ds_grid_grd_daylist.rowcount <= 0){
- sysf_messageBox("엑셀파일로 저장할 리스트 내역이", "I004");
- return;
- }else{
- grdf_exportExcel(switch1.case1.grd_daylist, "내시경실통합통계(일별)", "sheet1");
- }
- }else if(switch1.tabindex == 1){
- if(ds_grid_grd_monthlist.rowcount <= 0){
- sysf_messageBox("엑셀파일로 저장할 리스트 내역이", "I004");
- return;
- }else{
- grdf_exportExcel(switch1.case3.grd_monthlist, "내시경실통합통계(월별)", "sheet1");
- }
- }
- }
- //탭선택시 조회
- function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- f_getEscopeSytsStatsCaseList();
- }
- function grp_sea_chk_dispyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)//표시여부 변경시 그리드 설정
- {
- f_dispyn();
- btn_sea_onclick();
- }
- function switch1_case1_grd_daylist_oncolresized(obj:Grid, e:GridSizeChangedEventInfo)
- {
- if(e.newvalue == 0){
- obj.setRealColSize(e.subindex, 1);
- }
- }
- function switch1_case3_grd_monthlist_oncolresized(obj:Grid, e:GridSizeChangedEventInfo)
- {
- if(e.newvalue == 0){
- obj.setRealColSize(e.subindex, 1);
- }
- }
- function grp_sea_cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if(utlf_isNull(grp_sea.cmb_orddept.value)){
- grp_sea.cmb_orddr.enable = false;
- }else{
- grp_sea.cmb_orddr.enable = true;
- }
- var vorddrid = grp_sea.cmb_orddept.value;
- ds_init_cmb_orddrid.filter("dp == '" + vorddrid + "'");
- frmf_addComboItem( "grp_sea.cmb_orddr", "--전체--", "", "");
- grp_sea.cmb_orddr.value = "";
- }
- ]]></Script>
- </Form>
- </FDL>
|