123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLNS00100" position="absolute 0 0 1195 770" titletext="부서별 통계" oninit="SMLNS00100_oninit" onload="SMLNS00100_onload">
- <Layouts>
- <Layout>
- <Static text="검사 통계" position="absolute 0 0 200 23" id="caption6" class="tit_1"/>
- <Static text="총분주라벨수" position="absolute 448 23 536 46" align="align:center middle;" id="caption2" class="cell_1" visible="true"/>
- <MaskEdit readonly="true" position="absolute 380 24 445 43" id="output26" visible="true" style="align:left middle;"/>
- <MaskEdit readonly="true" position="absolute 538 24 603 43" id="output1" visible="true" trimtype="none" type="number" style="align:left middle;"/>
- <Shape position="absolute 297 17 906 26" linetype="horizontal" id="line7" class="line_10" visible="true"/>
- <Static text="총검사건수" position="absolute 297 23 377 46" align="align:center middle;" id="caption101" class="cell_1" visible="true"/>
- <Static text="총검체수" position="absolute 605 23 685 46" align="align:center middle;" id="caption8" class="cell_1" visible="true"/>
- <MaskEdit readonly="true" position="absolute 688 24 753 43" id="output2" visible="true" trimtype="none" type="number" style="align:left middle;"/>
- <Static text="총환자수" position="absolute 756 23 836 46" align="align:center middle;" id="caption10" class="cell_1" visible="true"/>
- <MaskEdit readonly="true" position="absolute 839 24 904 43" id="output3" visible="true" trimtype="none" type="number" style="align:left middle;"/>
- <Shape position="absolute 297 43 906 49" linetype="horizontal" id="line1" class="line_3" visible="true"/>
- <Button id="btn_excel" taborder="1" text="EXCEL저장" class="btn7" position="absolute 1 25 93 47" onclick="btn_excel_onclick"/>
- <Div id="group1" taborder="2" class="div_SA" position="absolute 0 49 1187 89" anchor="left top right">
- <Layouts>
- <Layout>
- <Button id="btn_ref" taborder="1" text="조회" class="btn1" position="absolute 1115 9 1171 31" anchor="top right" onclick="group1_btn_ref_onclick"/>
- <Shape id="line3" linetype="vertical" class="line_4" position="absolute 1105 9 1111 31" anchor="top right"/>
- <Calendar id="ipt_workfromdd" taborder="2" class="input_search" position="absolute 368 11 438 30" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true" onchanged="group1_ipt_workfromdd_onchanged"/>
- <Calendar id="ipt_worktodd" taborder="3" class="input_search" visible="false" position="absolute 458 11 528 30" anchor="default" dateformat="yyyy-MM-dd" autoselect="true" autoskip="true" onchanged="group1_ipt_worktodd_onchanged"/>
- <Static id="caption4" text="통계 희망일 :" class="search_name" position="absolute 255 12 365 29" anchor="default"/>
- <Static id="caption9" text="~" class="search_no_b" visible="false" position="absolute 443 12 456 29" anchor="default"/>
- <Radio id="radio2" taborder="4" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 750 11 970 31" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">T</Col>
- <Col id="datacolumn">검사</Col>
- </Row>
- <Row>
- <Col id="codecolumn">W</Col>
- <Col id="datacolumn">분주</Col>
- </Row>
- <Row>
- <Col id="codecolumn">B</Col>
- <Col id="datacolumn">검체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">P</Col>
- <Col id="datacolumn">환자</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption3" text="|" position="absolute 730 11 745 31" anchor="default"/>
- <CheckBox id="checkbox1" taborder="5" text="검사항목 제외" truevalue="Y" position="absolute 990 11 1090 31" anchor="default" onclick="group1_checkbox1_onclick"/>
- <Static id="caption13" text="통계 구분 :" class="search_name" position="absolute 10 12 109 29" anchor="default"/>
- <Combo id="combo2" taborder="6" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 110 11 235 30" anchor="default" onitemchanged="group1_combo2_onitemchanged">
- <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>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">처방부서별통계</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">결과보고자별통계</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">업무일지통계</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Combo id="cmb_rtnabnflag" taborder="7" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 640 11 716 30" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">- 전 체 -</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">응급</Col>
- </Row>
- <Row>
- <Col id="codecolumn">S</Col>
- <Col id="datacolumn">건진</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption5" text="입원/외래 :" class="search_name" position="absolute 548 13 642 30" anchor="default"/>
- <Radio id="radio3" taborder="8" columncount="5" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 542 11 998 31" anchor="default" rowcount="0">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">T</Col>
- <Col id="datacolumn">소모</Col>
- </Row>
- <Row>
- <Col id="codecolumn">P2</Col>
- <Col id="datacolumn">전체환자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">W</Col>
- <Col id="datacolumn">입원환자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">B</Col>
- <Col id="datacolumn">외래환자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">P</Col>
- <Col id="datacolumn">건진환자</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Tab id="swt_statflag" taborder="3" tabindex="0" class="sw_box" position="absolute 0 99 1187 764" anchor="all" onchanged="swt_statflag_onchanged">
- <Tabpages>
- <Tabpage id="dd" text="일별 통계">
- <Layouts>
- <Layout>
- <Grid id="grd_dd" taborder="0" binddataset="ds_main_ddstats" useinputpanel="false" position="absolute 0 0 1182 628" anchor="all" cellsizingtype="col" selecttype="area" oncellclick="swt_statflag_dd_grd_dd_oncellclick" selectbandtype="default" cellclickbound="control">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21" band="left"/>
- <Column size="100" band="left"/>
- <Column size="200" band="left"/>
- <Column size="80" band="left"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="검사항목"/>
- <Cell col="3" text="Total"/>
- <Cell col="4" text="01"/>
- <Cell col="5" text="02"/>
- <Cell col="6" text="03"/>
- <Cell col="7" text="04"/>
- <Cell col="8" text="05"/>
- <Cell col="9" text="06"/>
- <Cell col="10" text="07"/>
- <Cell col="11" text="08"/>
- <Cell col="12" text="09"/>
- <Cell col="13" text="10"/>
- <Cell col="14" text="11"/>
- <Cell col="15" text="12"/>
- <Cell col="16" text="13"/>
- <Cell col="17" text="14"/>
- <Cell col="18" text="15"/>
- <Cell col="19" text="16"/>
- <Cell col="20" text="17"/>
- <Cell col="21" text="18"/>
- <Cell col="22" text="19"/>
- <Cell col="23" text="20"/>
- <Cell col="24" text="21"/>
- <Cell col="25" text="22"/>
- <Cell col="26" text="23"/>
- <Cell col="27" text="24"/>
- <Cell col="28" text="25"/>
- <Cell col="29" text="26"/>
- <Cell col="30" text="27"/>
- <Cell col="31" text="28"/>
- <Cell col="32" text="29"/>
- <Cell col="33" text="30"/>
- <Cell col="34" text="31"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:sectnm"/>
- <Cell col="2" style="align:left middle;background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:tclsscrnnm"/>
- <Cell col="3" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#ffe79d');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#ffe79d');" text="bind:total"/>
- <Cell col="4" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d01"/>
- <Cell col="5" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d02"/>
- <Cell col="6" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d03"/>
- <Cell col="7" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d04"/>
- <Cell col="8" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d05"/>
- <Cell col="9" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d06"/>
- <Cell col="10" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d07"/>
- <Cell col="11" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d08"/>
- <Cell col="12" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d09"/>
- <Cell col="13" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d10"/>
- <Cell col="14" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d11"/>
- <Cell col="15" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d12"/>
- <Cell col="16" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d13"/>
- <Cell col="17" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d14"/>
- <Cell col="18" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d15"/>
- <Cell col="19" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d16"/>
- <Cell col="20" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d17"/>
- <Cell col="21" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d18"/>
- <Cell col="22" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d19"/>
- <Cell col="23" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d20"/>
- <Cell col="24" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d21"/>
- <Cell col="25" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d22"/>
- <Cell col="26" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d23"/>
- <Cell col="27" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d24"/>
- <Cell col="28" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d25"/>
- <Cell col="29" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d26"/>
- <Cell col="30" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d27"/>
- <Cell col="31" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d28"/>
- <Cell col="32" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d29"/>
- <Cell col="33" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d30"/>
- <Cell col="34" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d31"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="mm" text="월별 통계">
- <Layouts>
- <Layout>
- <Grid id="grd_mm" taborder="0" binddataset="ds_main_mmstats" useinputpanel="false" position="absolute 0 0 1182 628" anchor="all" cellsizingtype="col" autofittype="col" oncellclick="swt_statflag_mm_grd_mm_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="23"/>
- <Column size="100"/>
- <Column size="160"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="구분"/>
- <Cell col="1"/>
- <Cell col="2" text="구분"/>
- <Cell col="3" text="검사항목"/>
- <Cell col="4" text="01"/>
- <Cell col="5" text="02"/>
- <Cell col="6" text="03"/>
- <Cell col="7" text="04"/>
- <Cell col="8" text="05"/>
- <Cell col="9" text="06"/>
- <Cell col="10" text="07"/>
- <Cell col="11" text="08"/>
- <Cell col="12" text="09"/>
- <Cell col="13" text="10"/>
- <Cell col="14" text="11"/>
- <Cell col="15" text="12"/>
- <Cell col="16" text="Total"/>
- <Cell col="17" text="전년 Total"/>
- <Cell col="18" text="증감율"/>
- </Band>
- <Band id="body">
- <Cell text="bind:sectnm"/>
- <Cell col="1" celltype="head" expr="currow+1"/>
- <Cell col="2" text="bind:sectnm"/>
- <Cell col="3" style="align:left middle;background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:tclsscrnnm"/>
- <Cell col="4" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d01"/>
- <Cell col="5" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d02"/>
- <Cell col="6" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d03"/>
- <Cell col="7" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d04"/>
- <Cell col="8" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d05"/>
- <Cell col="9" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d06"/>
- <Cell col="10" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d07"/>
- <Cell col="11" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d08"/>
- <Cell col="12" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d09"/>
- <Cell col="13" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d10"/>
- <Cell col="14" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d11"/>
- <Cell col="15" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d12"/>
- <Cell col="16" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#f3e1bf');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#f3e1bf');" text="bind:total"/>
- <Cell col="17" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#f3e1bf');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#f3e1bf');" text="bind:bftotal"/>
- <Cell col="18" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#f3e1bf');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#f3e1bf');" text="bind:totalavg"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="yy" text="연별 통계">
- <Layouts>
- <Layout>
- <Grid id="grd_yy" taborder="0" binddataset="ds_main_yystats" useinputpanel="false" position="absolute 0 0 1182 628" cellsizingtype="col" anchor="all" oncellclick="swt_statflag_yy_grd_yy_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="100"/>
- <Column size="200"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <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"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" style="align:left middle;background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:sectnm"/>
- <Cell col="2" style="align:left middle;background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:tclsscrnnm"/>
- <Cell col="3" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#f3e1bf');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '#f3e1bf');" text="bind:total"/>
- <Cell col="4" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d01"/>
- <Cell col="5" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d02"/>
- <Cell col="6" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d03"/>
- <Cell col="7" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d04"/>
- <Cell col="8" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d05"/>
- <Cell col="9" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d06"/>
- <Cell col="10" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d07"/>
- <Cell col="11" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d08"/>
- <Cell col="12" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d09"/>
- <Cell col="13" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' : '');" text="bind:d10"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="ww" text="요일 통계">
- <Layouts>
- <Layout>
- <Grid id="grd_ww" taborder="0" binddataset="ds_main_wwstats" useinputpanel="false" position="absolute 0 0 1182 628" autofittype="col" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="100"/>
- <Column size="200"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="검사항목"/>
- <Cell col="3" text="Total"/>
- <Cell col="4" text="일"/>
- <Cell col="5" text="월"/>
- <Cell col="6" text="화"/>
- <Cell col="7" text="수"/>
- <Cell col="8" text="목"/>
- <Cell col="9" text="금"/>
- <Cell col="10" text="토"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:sectnm"/>
- <Cell col="2" style="align:left middle;background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:tclsscrnnm"/>
- <Cell col="3" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:total"/>
- <Cell col="4" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d01"/>
- <Cell col="5" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d02"/>
- <Cell col="6" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d03"/>
- <Cell col="7" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d04"/>
- <Cell col="8" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d05"/>
- <Cell col="9" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d06"/>
- <Cell col="10" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d07"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="hyy" text="회기연 월별통계">
- <Layouts>
- <Layout>
- <Grid id="grd_hyy" taborder="0" binddataset="ds_main_hyystats" useinputpanel="false" position="absolute 0 0 1182 628" autofittype="col" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="26"/>
- <Column size="160"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="구분"/>
- <Cell col="1"/>
- <Cell col="2" text="검사항목"/>
- <Cell col="3" text="03"/>
- <Cell col="4" text="04"/>
- <Cell col="5" text="05"/>
- <Cell col="6" text="06"/>
- <Cell col="7" text="07"/>
- <Cell col="8" text="08"/>
- <Cell col="9" text="09"/>
- <Cell col="10" text="10"/>
- <Cell col="11" text="11"/>
- <Cell col="12" text="12"/>
- <Cell col="13" text="01"/>
- <Cell col="14" text="02"/>
- <Cell col="15" text="Total"/>
- <Cell col="16" text="전년 Total"/>
- <Cell col="17" text="증감율"/>
- </Band>
- <Band id="body">
- <Cell text="bind:sectnm"/>
- <Cell col="1" celltype="head" expr="currow+1"/>
- <Cell col="2" style="align:left middle;background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:tclsscrnnm"/>
- <Cell col="3" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d03"/>
- <Cell col="4" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d04"/>
- <Cell col="5" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d05"/>
- <Cell col="6" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d06"/>
- <Cell col="7" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d07"/>
- <Cell col="8" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d08"/>
- <Cell col="9" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d09"/>
- <Cell col="10" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d10"/>
- <Cell col="11" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d11"/>
- <Cell col="12" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d12"/>
- <Cell col="13" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d01"/>
- <Cell col="14" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d02"/>
- <Cell col="15" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:total"/>
- <Cell col="16" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:bftotal"/>
- <Cell col="17" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:totalavg"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="bb" text="분기별 통계">
- <Layouts>
- <Layout>
- <Grid id="grd_bb" taborder="0" binddataset="ds_main_bbstats" useinputpanel="false" position="absolute 0 0 1182 628" anchor="all" cellsizingtype="col" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="27"/>
- <Column size="200"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <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 text="구분"/>
- <Cell col="1"/>
- <Cell col="2" text="검사항목"/>
- <Cell col="3" text="1분기"/>
- <Cell col="4" text="1분기 증감율"/>
- <Cell col="5" text="2분기"/>
- <Cell col="6" text="2분기 증감율"/>
- <Cell col="7" text="3분기"/>
- <Cell col="8" text="3분기 증감율"/>
- <Cell col="9" text="4분기"/>
- <Cell col="10" text="4분기 증감율"/>
- <Cell col="11" text="Total"/>
- </Band>
- <Band id="body">
- <Cell text="bind:sectnm"/>
- <Cell col="1" celltype="head" expr="currow+1"/>
- <Cell col="2" style="align:left middle;background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:tclsscrnnm"/>
- <Cell col="3" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d01"/>
- <Cell col="4" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:totalavg1"/>
- <Cell col="5" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d02"/>
- <Cell col="6" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:totalavg2"/>
- <Cell col="7" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d03"/>
- <Cell col="8" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:totalavg3"/>
- <Cell col="9" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d04"/>
- <Cell col="10" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:totalavg4"/>
- <Cell col="11" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:total"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="hbb" text="회기연 분기별통계">
- <Layouts>
- <Layout>
- <Grid id="grd_hbb" taborder="0" binddataset="ds_main_hbbstats" useinputpanel="false" position="absolute 0 0 1182 628" autofittype="col" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="28"/>
- <Column size="200"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <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 text="구분"/>
- <Cell col="1"/>
- <Cell col="2" text="검사항목"/>
- <Cell col="3" text="1분기"/>
- <Cell col="4" text="1분기 증감율"/>
- <Cell col="5" text="2분기"/>
- <Cell col="6" text="2분기 증감율"/>
- <Cell col="7" text="3분기"/>
- <Cell col="8" text="3분기 증감율"/>
- <Cell col="9" text="4분기"/>
- <Cell col="10" text="4분기 증감율"/>
- <Cell col="11" text="Total"/>
- </Band>
- <Band id="body">
- <Cell text="bind:sectnm"/>
- <Cell col="1" celltype="head" expr="currow+1"/>
- <Cell col="2" style="align:left middle;background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:tclsscrnnm"/>
- <Cell col="3" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d01"/>
- <Cell col="4" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:totalavg1"/>
- <Cell col="5" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d02"/>
- <Cell col="6" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:totalavg2"/>
- <Cell col="7" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d03"/>
- <Cell col="8" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:totalavg3"/>
- <Cell col="9" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'');" text="bind:d04"/>
- <Cell col="10" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:totalavg4"/>
- <Cell col="11" displaytype="number" style="background:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');background2:EXPR(itemcd2 == '합계' ? '#7BE6B7' :'#ffe79dff');" text="bind:total"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="statshopefromdd" type="STRING" size="256"/>
- <Column id="statshopetodd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="sectcd" type="STRING" size="256"/>
- <Column id="workgbn" type="STRING" size="256"/>
- <Column id="cntgbn" type="STRING" size="256"/>
- <Column id="itemgbn" type="STRING" size="256"/>
- <Column id="ddstandard" type="STRING" size="256"/>
- <Column id="refflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="statshopefromdd"/>
- <Col id="statshopetodd"/>
- <Col id="ioflag">0</Col>
- <Col id="sectcd"/>
- <Col id="workgbn">A</Col>
- <Col id="cntgbn">T</Col>
- <Col id="itemgbn"/>
- <Col id="ddstandard">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_totalcnts" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="totaltest" type="STRING" size="256"/>
- <Column id="totalbcno" type="STRING" size="256"/>
- <Column id="totalpid" type="STRING" size="256"/>
- <Column id="totalworklb" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="totaltest"/>
- <Col id="totalbcno"/>
- <Col id="totalpid"/>
- <Col id="totalworklb"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_ddstats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sectnm" type="STRING" size="256" sumtext="sectnm"/>
- <Column id="tclsscrnnm" type="STRING" size="256" sumtext="검사항목"/>
- <Column id="tclsprntnm" type="STRING" size="256" sumtext="검사항목"/>
- <Column id="total" type="STRING" size="256" sumtext="Total"/>
- <Column id="d01" type="STRING" size="256" sumtext="건수1"/>
- <Column id="d02" type="STRING" size="256" sumtext="건수2"/>
- <Column id="d03" type="STRING" size="256" sumtext="건수3"/>
- <Column id="d04" type="STRING" size="256" sumtext="건수4"/>
- <Column id="d05" type="STRING" size="256" sumtext="건수5"/>
- <Column id="d06" type="STRING" size="256" sumtext="건수6"/>
- <Column id="d07" type="STRING" size="256" sumtext="건수7"/>
- <Column id="d08" type="STRING" size="256" sumtext="건수8"/>
- <Column id="d09" type="STRING" size="256" sumtext="건수9"/>
- <Column id="d10" type="STRING" size="256" sumtext="건수10"/>
- <Column id="d11" type="STRING" size="256" sumtext="건수11"/>
- <Column id="d12" type="STRING" size="256" sumtext="건수12"/>
- <Column id="d13" type="STRING" size="256" sumtext="건수13"/>
- <Column id="d14" type="STRING" size="256" sumtext="건수14"/>
- <Column id="d15" type="STRING" size="256" sumtext="건수15"/>
- <Column id="d16" type="STRING" size="256" sumtext="건수16"/>
- <Column id="d17" type="STRING" size="256" sumtext="건수17"/>
- <Column id="d18" type="STRING" size="256" sumtext="건수18"/>
- <Column id="d19" type="STRING" size="256" sumtext="건수19"/>
- <Column id="d20" type="STRING" size="256" sumtext="건수20"/>
- <Column id="d21" type="STRING" size="256" sumtext="건수21"/>
- <Column id="d22" type="STRING" size="256" sumtext="건수22"/>
- <Column id="d23" type="STRING" size="256" sumtext="건수23"/>
- <Column id="d24" type="STRING" size="256" sumtext="건수24"/>
- <Column id="d25" type="STRING" size="256" sumtext="건수25"/>
- <Column id="d26" type="STRING" size="256" sumtext="건수26"/>
- <Column id="d27" type="STRING" size="256" sumtext="건수27"/>
- <Column id="d28" type="STRING" size="256" sumtext="건수28"/>
- <Column id="d29" type="STRING" size="256" sumtext="건수29"/>
- <Column id="d30" type="STRING" size="256" sumtext="건수30"/>
- <Column id="d31" type="STRING" size="256" sumtext="건수31"/>
- <Column id="btotal" type="STRING" size="256" sumtext="Total"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_mmstats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sectnm" type="STRING" size="256" sumtext="sectnm"/>
- <Column id="tclsscrnnm" type="STRING" size="256" sumtext="검사항목"/>
- <Column id="tclsprntnm" type="STRING" size="256" sumtext="검사항목"/>
- <Column id="total" type="STRING" size="256" sumtext="Total"/>
- <Column id="d01" type="STRING" size="256" sumtext="건수1"/>
- <Column id="d02" type="STRING" size="256" sumtext="건수2"/>
- <Column id="d03" type="STRING" size="256" sumtext="건수3"/>
- <Column id="d04" type="STRING" size="256" sumtext="건수4"/>
- <Column id="d05" type="STRING" size="256" sumtext="건수5"/>
- <Column id="d06" type="STRING" size="256" sumtext="건수6"/>
- <Column id="d07" type="STRING" size="256" sumtext="건수7"/>
- <Column id="d08" type="STRING" size="256" sumtext="건수8"/>
- <Column id="d09" type="STRING" size="256" sumtext="건수9"/>
- <Column id="d10" type="STRING" size="256" sumtext="건수10"/>
- <Column id="d11" type="STRING" size="256" sumtext="건수11"/>
- <Column id="d12" type="STRING" size="256" sumtext="건수12"/>
- <Column id="bftotal" type="STRING" size="256" sumtext="전년Total"/>
- <Column id="totalavg" type="STRING" size="256" sumtext="Total증감"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_yystats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sectnm" type="STRING" size="256" sumtext="sectnm"/>
- <Column id="tclsscrnnm" type="STRING" size="256" sumtext="검사항목"/>
- <Column id="tclsprntnm" type="STRING" size="256" sumtext="검사항목"/>
- <Column id="total" type="STRING" size="256" sumtext="Total"/>
- <Column id="d01" type="STRING" size="256" sumtext="건수1"/>
- <Column id="d02" type="STRING" size="256" sumtext="건수2"/>
- <Column id="d03" type="STRING" size="256" sumtext="건수3"/>
- <Column id="d04" type="STRING" size="256" sumtext="건수4"/>
- <Column id="d05" type="STRING" size="256" sumtext="건수5"/>
- <Column id="d06" type="STRING" size="256" sumtext="건수6"/>
- <Column id="d07" type="STRING" size="256" sumtext="건수7"/>
- <Column id="d08" type="STRING" size="256" sumtext="건수8"/>
- <Column id="d09" type="STRING" size="256" sumtext="건수9"/>
- <Column id="d10" type="STRING" size="256" sumtext="건수10"/>
- <Column id="btotal" type="STRING" size="256" sumtext="Total"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_wwstats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ddstandard" type="STRING" size="256" sumtext="통계구분"/>
- <Column id="cntgbn" type="STRING" size="256" sumtext="건수구분"/>
- <Column id="itemgbn" type="STRING" size="256" sumtext="검사항목제외"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="입원/외래구분"/>
- <Column id="statshopefromdd" type="STRING" size="256" sumtext="통계조회시작일자"/>
- <Column id="statshopetodd" type="STRING" size="256" sumtext="통계조회종료일자"/>
- <Column id="refflag" type="STRING" size="256" sumtext="일/연/분기구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_hyystats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sectnm" type="STRING" size="256" sumtext="sectnm"/>
- <Column id="tclsscrnnm" type="STRING" size="256" sumtext="검사항목"/>
- <Column id="tclsprntnm" type="STRING" size="256" sumtext="검사항목"/>
- <Column id="total" type="STRING" size="256" sumtext="Total"/>
- <Column id="d01" type="STRING" size="256" sumtext="건수1"/>
- <Column id="d02" type="STRING" size="256" sumtext="건수2"/>
- <Column id="d03" type="STRING" size="256" sumtext="건수3"/>
- <Column id="d04" type="STRING" size="256" sumtext="건수4"/>
- <Column id="d05" type="STRING" size="256" sumtext="건수5"/>
- <Column id="d06" type="STRING" size="256" sumtext="건수6"/>
- <Column id="d07" type="STRING" size="256" sumtext="건수7"/>
- <Column id="d08" type="STRING" size="256" sumtext="건수8"/>
- <Column id="d09" type="STRING" size="256" sumtext="건수9"/>
- <Column id="d10" type="STRING" size="256" sumtext="건수10"/>
- <Column id="d11" type="STRING" size="256" sumtext="건수11"/>
- <Column id="d12" type="STRING" size="256" sumtext="건수12"/>
- <Column id="btotal" type="STRING" size="256" sumtext="Total"/>
- <Column id="bftotal" type="STRING" size="256" sumtext="전년Total"/>
- <Column id="totalavg" type="STRING" size="256" sumtext="Total증감"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_bbstats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sectnm" type="STRING" size="256" sumtext="sectnm"/>
- <Column id="tclsscrnnm" type="STRING" size="256" sumtext="검사항목"/>
- <Column id="tclsprntnm" type="STRING" size="256" sumtext="검사항목"/>
- <Column id="total" type="STRING" size="256" sumtext="Total"/>
- <Column id="d01" type="STRING" size="256" sumtext="건수1"/>
- <Column id="d02" type="STRING" size="256" sumtext="건수2"/>
- <Column id="d03" type="STRING" size="256" sumtext="건수3"/>
- <Column id="d04" type="STRING" size="256" sumtext="건수4"/>
- <Column id="totalavg1" type="STRING" size="256" sumtext="Total증감"/>
- <Column id="totalavg2" type="STRING" size="256" sumtext="Total증감"/>
- <Column id="totalavg3" type="STRING" size="256" sumtext="Total증감"/>
- <Column id="totalavg4" type="STRING" size="256" sumtext="Total증감"/>
- <Column id="btotal" type="STRING" size="256" sumtext="Total"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_hbbstats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sectnm" type="STRING" size="256" sumtext="sectnm"/>
- <Column id="tclsscrnnm" type="STRING" size="256" sumtext="검사항목"/>
- <Column id="tclsprntnm" type="STRING" size="256" sumtext="검사항목"/>
- <Column id="total" type="STRING" size="256" sumtext="Total"/>
- <Column id="d01" type="STRING" size="256" sumtext="건수1"/>
- <Column id="d02" type="STRING" size="256" sumtext="건수2"/>
- <Column id="d03" type="STRING" size="256" sumtext="건수3"/>
- <Column id="d04" type="STRING" size="256" sumtext="건수4"/>
- <Column id="totalavg1" type="STRING" size="256" sumtext="Total증감"/>
- <Column id="totalavg2" type="STRING" size="256" sumtext="Total증감"/>
- <Column id="totalavg3" type="STRING" size="256" sumtext="Total증감"/>
- <Column id="totalavg4" type="STRING" size="256" sumtext="Total증감"/>
- <Column id="btotal" type="STRING" size="256" sumtext="Total"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group1.combo2" propid="value" datasetid="ds_hidden" columnid="ddstandard"/>
- <BindItem id="item1" compid="group1.ipt_workfromdd" propid="value" datasetid="ds_hidden" columnid="statshopefromdd"/>
- <BindItem id="item2" compid="group1.ipt_worktodd" propid="value" datasetid="ds_hidden" columnid="statshopetodd"/>
- <BindItem id="item3" compid="group1.cmb_rtnabnflag" propid="value" datasetid="ds_hidden" columnid="ioflag"/>
- <BindItem id="item4" compid="group1.radio2" propid="value" datasetid="ds_hidden" columnid="cntgbn"/>
- <BindItem id="item5" compid="group1.radio3" propid="value" datasetid="ds_hidden" columnid="cntgbn"/>
- <BindItem id="item6" compid="group1.checkbox1" propid="value" datasetid="ds_hidden" columnid="itemgbn"/>
- <BindItem id="item7" compid="output26" propid="value" datasetid="ds_main_totalcnts" columnid="totaltest"/>
- <BindItem id="item8" compid="output1" propid="value" datasetid="ds_main_totalcnts" columnid="totalworklb"/>
- <BindItem id="item9" compid="output2" propid="value" datasetid="ds_main_totalcnts" columnid="totalbcno"/>
- <BindItem id="item10" compid="output3" propid="value" datasetid="ds_main_totalcnts" columnid="totalpid"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LLZ001.xjs";
- function SMLNS00100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMLNS00100_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(swt_statflag.dd.grd_dd);
- grdf_initGrid(swt_statflag.mm.grd_mm);
- grdf_initGrid(swt_statflag.yy.grd_yy);
- grdf_initGrid(swt_statflag.ww.grd_ww);
- grdf_initGrid(swt_statflag.hyy.grd_hyy);
- grdf_initGrid(swt_statflag.bb.grd_bb);
- grdf_initGrid(swt_statflag.hbb.grd_hbb);
-
- fSetInit();
- }
- function fSetInit()
- {
- lf_getDbDeptcd("0111|", "")
-
- var toDay = utlf_getCurrentDate();
-
- ds_hidden.setColumn(0, "sectcd", "00");
- ds_hidden.setColumn(0, "ioflag", "0");
- ds_hidden.setColumn(0, "statshopefromdd", toDay);
- ds_hidden.setColumn(0, "statshopetodd", toDay);
-
- group1.caption9.visible = false;
- group1.ipt_workfromdd.dateformat = "yyyy-MM";
- group1.ipt_workfromdd.editformat = "yyyy-MM";
- group1.ipt_worktodd.visible = false;
-
- ds_main_ddstats.clearData();
- ds_main_mmstats.clearData();
- ds_main_yystats.clearData();
-
- swt_statflag.tabindex = 0;
- }
- function group1_combo2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fGridInit2();
- }
- function fGridInit2()
- {
- var ddstandard = ds_hidden.getColumn(0, "ddstandard");
-
- if(ddstandard != "5")
- {
- if(ds_hidden.getColumn(0, "cntgbn") == "T2")
- {
- ds_hidden.setColumn(0, "cntgbn", "T");
- }
- if(ds_hidden.getColumn(0, "cntgbn") == "P2")
- {
- ds_hidden.setColumn(0, "cntgbn", "P");
- }
- }
- if(ddstandard == "1" )
- {
- group1.caption5.visible = true;
- group1.cmb_rtnabnflag.visible = true;
- }
- else
- {
- group1.caption5.visible = false;
- group1.cmb_rtnabnflag.visible = false;
- }
-
- if(ddstandard == "5" )
- {
- group1.radio2.visible = false;
- group1.radio3.visible = true;
- group1.caption3.visible = false;
- }
- else
- {
- group1.radio3.visible = false;
- group1.radio2.visible = true;
- group1.caption3.visible = true;
- }
- }
- function group1_ipt_workfromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- if(swt_statflag.tabindex == 2)
- {
- ds_hidden.setColumn(0, "statshopefromdd", String(obj.value).substr(0,4));
- }
- }
- function group1_ipt_worktodd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- if(swt_statflag.tabindex == 2)
- {
- ds_hidden.setColumn(0, "statshopetodd", String(obj.value).substr(0,4));
- }
- }
- function group1_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == "Y")
- {
- }
- else
- {
- ds_hidden.setColumn(0, "itemgbn", "");
- }
- }
- function group1_btn_ref_onclick(obj:Button, e:ClickEventInfo)
- {
- if(swt_statflag.tabindex == 4)
- {
- var fromdd = parseInt(ds_hidden.getColumn(0, "statshopefromdd").substr(0,4));
- var todd = parseInt(ds_hidden.getColumn(0, "statshopetodd").substr(0,4));
-
- if(todd - fromdd >9 )
- {
- alert("10년 이내로 조회 가능합니다\n조회기간을 다시 선택하세요");
- return;
- }
- if(fromdd > todd)
- {
- alert("통계 희망일 시작시간이 종료시간보다 작아야 합니다. ");
- return;
- }
- }
- fGetStats();
- fGridInit2();
- }
- function fGetStats()
- {
- if(swt_statflag.tabindex == 0)
- {
- ds_hidden.setColumn(0, "refflag", "dd");
-
- var oParam = {};
- oParam.id = "TRLNS00101";
- oParam.service = "statsmngtapp.NmedStatsRefMngt";
- oParam.method = "reqGetSectTestStatsN";
- oParam.inds = "cond=ds_hidden";
- oParam.outds = "ds_main_ddstats=getSectTestStats ds_=getSectTestTotalStats";
- oParam.async = false;
- //oParam.callback = "cf_TRLNS00101";
- tranf_submit(oParam);
- }
- else if(swt_statflag.tabindex == 1)
- {
- ds_hidden.setColumn(0, "refflag", "mm");
-
- var oParam = {};
- oParam.id = "TRLNS00103";
- oParam.service = "statsmngtapp.NmedStatsRefMngt";
- oParam.method = "reqGetSectTestStatsN";
- oParam.inds = "cond=ds_hidden";
- oParam.outds = "ds_main_mmstats=getSectTestStats ds_=getSectTestTotalStats";
- oParam.async = false;
- //oParam.callback = "cf_TRLNS00103";
- tranf_submit(oParam);
- }
- else if(swt_statflag.tabindex == 3)
- {
- ds_hidden.setColumn(0, "refflag", "ww");
-
- var oParam = {};
- oParam.id = "TRLNS00103";
- oParam.service = "statsmngtapp.NmedStatsRefMngt";
- oParam.method = "reqGetSectTestStatsN";
- oParam.inds = "cond=ds_hidden";
- oParam.outds = "ds_main_wwstats=getSectTestStats ds_=getSectTestTotalStats";
- oParam.async = false;
- //oParam.callback = "cf_TRLNS00103";
- tranf_submit(oParam);
- }
- else if(swt_statflag.tabindex == 4)
- {
- ds_hidden.setColumn(0, "refflag", "hyy");
-
- var oParam = {};
- oParam.id = "TRLNS00103";
- oParam.service = "statsmngtapp.NmedStatsRefMngt";
- oParam.method = "reqGetSectTestStatsN";
- oParam.inds = "cond=ds_hidden";
- oParam.outds = "ds_main_hyystats=getSectTestStats ds_=getSectTestTotalStats";
- oParam.async = false;
- //oParam.callback = "cf_TRLNS00103";
- tranf_submit(oParam);
- }
- else if(swt_statflag.tabindex == 5)
- {
- ds_hidden.setColumn(0, "refflag", "bb");
-
- var oParam = {};
- oParam.id = "TRLNS00103";
- oParam.service = "statsmngtapp.NmedStatsRefMngt";
- oParam.method = "reqGetSectTestStatsN";
- oParam.inds = "cond=ds_hidden";
- oParam.outds = "ds_main_bbstats=getSectTestStats ds_=getSectTestTotalStats";
- oParam.async = false;
- //oParam.callback = "cf_TRLNS00103";
- tranf_submit(oParam);
- }
- else if(swt_statflag.tabindex == 6)
- {
- ds_hidden.setColumn(0, "refflag", "hbb");
-
- var oParam = {};
- oParam.id = "TRLNS00103";
- oParam.service = "statsmngtapp.NmedStatsRefMngt";
- oParam.method = "reqGetSectTestStatsN";
- oParam.inds = "cond=ds_hidden";
- oParam.outds = "ds_main_hbbstats=getSectTestStats ds_=getSectTestTotalStats";
- oParam.async = false;
- //oParam.callback = "cf_TRLNS00103";
- tranf_submit(oParam);
- }
- else
- {
- fSetyygrid();
-
- ds_hidden.setColumn(0, "refflag", "yy");
-
- var oParam = {};
- oParam.id = "TRLNS00104";
- oParam.service = "statsmngtapp.NmedStatsRefMngt";
- oParam.method = "reqGetSectTestStatsN";
- oParam.inds = "cond=ds_hidden";
- oParam.outds = "ds_main_yystats=getSectTestStats";
- oParam.async = false;
- //oParam.callback = "cf_TRLNS00104";
- tranf_submit(oParam);
- }
- ds_main_totalcnts.clearData();
- }
- function fSetyygrid()
- {
- for(var j = 5; j <= swt_statflag.yy.grd_yy.getCellCount("Head"); j++)
- {
- swt_statflag.yy.grd_yy.setFormatColProperty(j, "size", 0);
- }
-
- var sdd = ds_hidden.getColumn(0, "statshopefromdd");
- var edd = ds_hidden.getColumn(0, "statshopetodd");
- var ddcnt = parseInt(edd) - parseInt(sdd);
-
- var zz = 0;
- for(var i = 4; i < (ddcnt+5); i++)
- {
- swt_statflag.yy.grd_yy.setFormatColProperty(i, "size", 80);
- swt_statflag.yy.grd_yy.setCellProperty("Head", i, "text", parseInt(sdd) + parseInt(zz));
- zz ++;
- }
- }
- function swt_statflag_dd_grd_dd_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var lv_nAreaStartRow;
- var lv_nAreaEndRow;
- var lv_nAreaStartCol;
- var lv_nAreaEndCol;
-
- if(e.row > -1)
- {
- if(e.col > 3)
- {
- fGetTotalcntsetting(e.col);
- }
- }
- }
- function fGetTotalcntsetting(col)
- {
- var stsdy = ds_hidden.getColumn(0, "statshopefromdd").substr(0,4);
-
- if(swt_statflag.tabindex == 0)
- {
- var colhead = swt_statflag.dd.grd_dd.getCellProperty("Head", col, "text");
- var stsdm = ds_hidden.getColumn(0, "statshopefromdd").substr(4,2);
-
- dsf_createDsRow("ds_send", [{col:"cntgbn", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "cntgbn")}
- , {col:"itemgbn", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "itemgbn")}
- , {col:"ioflag", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "ioflag")}
- , {col:"statshopefromdd", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "statshopefromdd")}
- , {col:"statshopetodd", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "statshopetodd")}
- , {col:"ddstandard", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "ddstandard")}
- , {col:"stsdy", type:"STRING", size:256 , val : stsdy}
- , {col:"stsdm", type:"STRING", size:256 , val : stsdm}
- , {col:"stsdd", type:"STRING", size:256 , val : colhead}
- , {col:"refflag", type:"STRING", size:256 , val : "dd"}]);
-
- var oParam = {};
- oParam.id = "TRLNS00101";
- oParam.service = "statsmngtapp.NmedStatsRefMngt";
- oParam.method = "reqGetSectTestStatsTotalN";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_main_totalcnts=getSectTestStats";
- oParam.async = false;
- //oParam.callback = "cf_TRLNS00101";
- tranf_submit(oParam);
- }
- else if(swt_statflag.tabindex == 1)
- {
- var stsdm = swt_statflag.mm.grd_mm.getCellProperty("Head", col, "text");
-
- dsf_createDsRow("ds_send", [{col:"cntgbn", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "cntgbn")}
- , {col:"itemgbn", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "itemgbn")}
- , {col:"ioflag", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "ioflag")}
- , {col:"statshopefromdd", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "statshopefromdd")}
- , {col:"statshopetodd", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "statshopetodd")}
- , {col:"ddstandard", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "ddstandard")}
- , {col:"stsdy", type:"STRING", size:256 , val : stsdy}
- , {col:"stsdm", type:"STRING", size:256 , val : stsdm}
- , {col:"stsdd", type:"STRING", size:256 , val : ""}
- , {col:"refflag", type:"STRING", size:256 , val : "mm"}]);
-
- var oParam = {};
- oParam.id = "TRLNS00101";
- oParam.service = "statsmngtapp.NmedStatsRefMngt";
- oParam.method = "reqGetSectTestStatsTotalN";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_main_totalcnts=getSectTestStats";
- oParam.async = false;
- //oParam.callback = "cf_TRLNS00101";
- tranf_submit(oParam);
- }
- else
- {
- stsdy = swt_statflag.yy.grd_yy.getCellProperty("Head", col, "text");
- var stsdm = ds_hidden.getColumn(0, "statshopefromdd").substr(4,2);
-
- dsf_createDsRow("ds_send", [{col:"cntgbn", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "cntgbn")}
- , {col:"itemgbn", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "itemgbn")}
- , {col:"ioflag", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "ioflag")}
- , {col:"statshopefromdd", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "statshopefromdd")}
- , {col:"statshopetodd", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "statshopetodd")}
- , {col:"ddstandard", type:"STRING", size:256 , val : ds_hidden.getColumn(0, "ddstandard")}
- , {col:"stsdy", type:"STRING", size:256 , val : stsdy}
- , {col:"stsdm", type:"STRING", size:256 , val : stsdm}
- , {col:"stsdd", type:"STRING", size:256 , val : ""}
- , {col:"refflag", type:"STRING", size:256 , val : "yy"}]);
-
- var oParam = {};
- oParam.id = "TRLNS00101";
- oParam.service = "statsmngtapp.NmedStatsRefMngt";
- oParam.method = "reqGetSectTestStatsTotalN";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_main_totalcnts=getSectTestStats";
- oParam.async = false;
- //oParam.callback = "cf_TRLNS00101";
- tranf_submit(oParam);
- }
- }
- function swt_statflag_mm_grd_mm_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row > -1)
- {
- if(e.col > 3)
- {
- fGetTotalcntsetting(e.col);
- }
- }
- }
- function swt_statflag_yy_grd_yy_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row > -1)
- {
- if(e.col > 3)
- {
- fGetTotalcntsetting(e.col);
- }
- }
- }
- function swt_statflag_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- fGridInit();
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeSaveToExcel();
- }
- function fExeSaveToExcel()
- {
- if(swt_statflag.tabindex == 0)
- {
- grdf_exportExcel(swt_statflag.dd.grd_dd, "", "sheet1");
- }
- else if(swt_statflag.tabindex == 1)
- {
- grdf_exportExcel(swt_statflag.mm.grd_mm, "", "sheet1");
- }
- else if(swt_statflag.tabindex == 2)
- {
- grdf_exportExcel(swt_statflag.yy.grd_yy, "", "sheet1");
- }
- }
- function fGridInit()
- {
- if(swt_statflag.tabindex == 0)
- {
- group1.caption9.visible = false;
- ds_hidden.setColumn(0, "statshopefromdd", utlf_getCurrentDate().substr(0,6));
- group1.ipt_workfromdd.dateformat = "yyyy-MM";
- group1.ipt_workfromdd.editformat = "yyyy-MM";
- group1.ipt_worktodd.visible = false;
- }
- else if(swt_statflag.tabindex == 1)
- {
- group1.caption9.visible = false;
- ds_hidden.setColumn(0, "statshopefromdd", utlf_getCurrentDate().substr(0,6));
- group1.ipt_workfromdd.dateformat = "yyyy-MM";
- group1.ipt_workfromdd.editformat = "yyyy-MM";
- group1.ipt_worktodd.visible = false;
- }
- else if(swt_statflag.tabindex == 3)
- {
- group1.caption9.visible = false;
- ds_hidden.setColumn(0, "statshopefromdd", utlf_getCurrentDate().substr(0,6));
- group1.ipt_workfromdd.dateformat = "yyyy-MM";
- group1.ipt_workfromdd.editformat = "yyyy-MM";
- group1.ipt_worktodd.visible = false;
- }
- else if(swt_statflag.tabindex == 4)
- {
- group1.caption9.visible = false;
- ds_hidden.setColumn(0, "statshopefromdd", utlf_getCurrentDate().substr(0,6));
- group1.ipt_workfromdd.dateformat = "yyyy-MM";
- group1.ipt_workfromdd.editformat = "yyyy-MM";
- group1.ipt_worktodd.visible = false;
- }
- else if(swt_statflag.tabindex == 5)
- {
- group1.caption9.visible = false;
- ds_hidden.setColumn(0, "statshopefromdd", utlf_getCurrentDate().substr(0,6));
- group1.ipt_workfromdd.dateformat = "yyyy-MM";
- group1.ipt_workfromdd.editformat = "yyyy-MM";
- group1.ipt_worktodd.visible = false;
- }
- else if(swt_statflag.tabindex == 6)
- {
- group1.caption9.visible = false;
- ds_hidden.setColumn(0, "statshopefromdd", utlf_getCurrentDate().substr(0,6));
- group1.ipt_workfromdd.dateformat = "yyyy-MM";
- group1.ipt_workfromdd.editformat = "yyyy-MM";
- group1.ipt_worktodd.visible = false;
- }
- else if(swt_statflag.tabindex == 2)
- {
- fSetyytitle();
- }
- }
- function fSetyytitle()
- {
- ds_hidden.setColumn(0, "statshopefromdd", utlf_getCurrentDate().substr(0,4));
- ds_hidden.setColumn(0, "statshopetodd", utlf_getCurrentDate().substr(0,4));
-
- swt_statflag.yy.grd_yy.setFormatColProperty(4, "size", 80)
-
- for(i = 5; i < swt_statflag.yy.grd_yy.getCellCount("Head");i++)
- {
- swt_statflag.yy.grd_yy.setFormatColProperty(i, "size", 0)
- }
-
- group1.caption9.visible = true;
- group1.ipt_workfromdd.dateformat = "yyyy";
- group1.ipt_workfromdd.editformat = "yyyy";
- group1.ipt_worktodd.visible = true;
- group1.ipt_worktodd.dateformat = "yyyy";
- group1.ipt_worktodd.editformat = "yyyy";
-
- swt_statflag.yy.grd_yy.setCellProperty("Head", 1, "text", "구분")
- swt_statflag.yy.grd_yy.setCellProperty("Head", 2, "text", "검사항목")
- swt_statflag.yy.grd_yy.setCellProperty("Head", 3, "text", "Total")
-
- var caption = parseInt(ds_hidden.getColumn(0, "statshopefromdd"));
-
- for(var i = 4; i < ds_main_yystats.getColCount(); i++)
- {
- if(caption != parseInt(ds_hidden.getColumn(0, "statshopetodd")))
- {
- swt_statflag.yy.grd_yy.setCellProperty("Head", i, "text", caption);
- caption++;
- }
- else
- {
- swt_statflag.yy.grd_yy.setCellProperty("Head", i, "text", caption);
- break;
- }
- }
- }]]></Script>
- </Form>
- </FDL>
|