1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLLP02300" position="absolute 0 0 1200 771" titletext="범용조회" oninit="SMLLP02300_oninit" onload="SMLLP02300_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="범용 조회" class="tit_1" position="absolute 0 0 104 25"/>
- <Button id="btn_excel" taborder="1" text="EXCEL저장" class="btn7" position="absolute 0 26 92 48" onclick="btn_excel_onclick"/>
- <Shape id="line2" linetype="horizontal" class="line_2" position="absolute 0 46 1195 52" anchor="left top right"/>
- <Tab id="swt_statflag" taborder="2" tabindex="0" class="sw_box" position="absolute 0 121 1195 770" anchor="all">
- <Tabpages>
- <Tabpage id="dd" text="통계데이터">
- <Layouts>
- <Layout>
- <Grid id="grd_dd2" taborder="2" binddataset="ds_main_ddstats" useinputpanel="false" cellsizingtype="col" visible="false" position="absolute 0 0 1195 616" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="35"/>
- <Column size="95"/>
- <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"/>
- <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"/>
- <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" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="시행부서명" taborder="undefined"/>
- <Cell col="2" colspan="3" text="1" taborder="undefined"/>
- <Cell col="5" colspan="3" text="2" taborder="undefined"/>
- <Cell col="8" colspan="3" text="3" taborder="undefined"/>
- <Cell col="11" colspan="3" text="4" taborder="undefined"/>
- <Cell col="14" colspan="3" text="5" taborder="undefined"/>
- <Cell col="17" colspan="3" text="6" taborder="undefined"/>
- <Cell col="20" colspan="3" text="7" taborder="undefined"/>
- <Cell col="23" colspan="3" text="8" taborder="undefined"/>
- <Cell col="26" colspan="3" text="9" taborder="undefined"/>
- <Cell col="29" colspan="3" text="10" taborder="undefined"/>
- <Cell col="32" colspan="3" text="11" taborder="undefined"/>
- <Cell col="35" colspan="3" text="12" taborder="undefined"/>
- <Cell col="38" colspan="3" text="Total" taborder="undefined"/>
- <Cell row="1" col="2" text="검사건수"/>
- <Cell row="1" col="3" text="응급건수"/>
- <Cell row="1" col="4" text="응급율"/>
- <Cell row="1" col="5" text="검사건수"/>
- <Cell row="1" col="6" text="응급건수"/>
- <Cell row="1" col="7" text="응급율"/>
- <Cell row="1" col="8" text="검사건수"/>
- <Cell row="1" col="9" text="응급건수"/>
- <Cell row="1" col="10" text="응급율"/>
- <Cell row="1" col="11" text="검사건수"/>
- <Cell row="1" col="12" text="응급건수"/>
- <Cell row="1" col="13" text="응급율"/>
- <Cell row="1" col="14" text="검사건수"/>
- <Cell row="1" col="15" text="응급건수"/>
- <Cell row="1" col="16" text="응급율"/>
- <Cell row="1" col="17" text="검사건수"/>
- <Cell row="1" col="18" text="응급건수"/>
- <Cell row="1" col="19" text="응급율"/>
- <Cell row="1" col="20" text="검사건수"/>
- <Cell row="1" col="21" text="응급건수"/>
- <Cell row="1" col="22" text="응급율"/>
- <Cell row="1" col="23" text="검사건수"/>
- <Cell row="1" col="24" text="응급건수"/>
- <Cell row="1" col="25" text="응급율"/>
- <Cell row="1" col="26" text="검사건수"/>
- <Cell row="1" col="27" text="응급건수"/>
- <Cell row="1" col="28" text="응급율"/>
- <Cell row="1" col="29" text="검사건수"/>
- <Cell row="1" col="30" text="응급건수"/>
- <Cell row="1" col="31" text="응급율"/>
- <Cell row="1" col="32" text="검사건수"/>
- <Cell row="1" col="33" text="응급건수"/>
- <Cell row="1" col="34" text="응급율"/>
- <Cell row="1" col="35" text="검사건수"/>
- <Cell row="1" col="36" text="응급건수"/>
- <Cell row="1" col="37" text="응급율"/>
- <Cell row="1" col="38" text="검사건수"/>
- <Cell row="1" col="39" text="응급건수"/>
- <Cell row="1" col="40" text="응급율"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:nm1"/>
- <Cell col="2" text="bind:a01"/>
- <Cell col="3" text="bind:b01"/>
- <Cell col="4" text="bind:c01"/>
- <Cell col="5" text="bind:a02"/>
- <Cell col="6" text="bind:b02"/>
- <Cell col="7" text="bind:c02"/>
- <Cell col="8" text="bind:a03"/>
- <Cell col="9" text="bind:b03"/>
- <Cell col="10" text="bind:c03"/>
- <Cell col="11" text="bind:a04"/>
- <Cell col="12" text="bind:b04"/>
- <Cell col="13" text="bind:c04"/>
- <Cell col="14" text="bind:a05"/>
- <Cell col="15" text="bind:b05"/>
- <Cell col="16" text="bind:c05"/>
- <Cell col="17" text="bind:a06"/>
- <Cell col="18" text="bind:b06"/>
- <Cell col="19" text="bind:c06"/>
- <Cell col="20" text="bind:a07"/>
- <Cell col="21" text="bind:b07"/>
- <Cell col="22" text="bind:c07"/>
- <Cell col="23" text="bind:a08"/>
- <Cell col="24" text="bind:b08"/>
- <Cell col="25" text="bind:c08"/>
- <Cell col="26" text="bind:a09"/>
- <Cell col="27" text="bind:b09"/>
- <Cell col="28" text="bind:c09"/>
- <Cell col="29" text="bind:a10"/>
- <Cell col="30" text="bind:b10"/>
- <Cell col="31" text="bind:c10"/>
- <Cell col="32" text="bind:a11"/>
- <Cell col="33" text="bind:b11"/>
- <Cell col="34" text="bind:c11"/>
- <Cell col="35" text="bind:a12"/>
- <Cell col="36" text="bind:b12"/>
- <Cell col="37" text="bind:c12"/>
- <Cell col="38" text="bind:a13"/>
- <Cell col="39" text="bind:b13"/>
- <Cell col="40" text="bind:c13"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_dd" taborder="0" binddataset="ds_main_ddstats" useinputpanel="false" position="absolute 0 0 1195 616" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27"/>
- <Column size="23"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <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"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="명"/>
- <Cell col="3" text="코드"/>
- <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="명"/>
- <Cell col="11" text="명"/>
- <Cell col="12" text="명"/>
- <Cell col="13" text="명"/>
- <Cell col="14" text="01"/>
- <Cell col="15" text="02"/>
- <Cell col="16" text="03"/>
- <Cell col="17" text="04"/>
- <Cell col="18" text="05"/>
- <Cell col="19" text="06"/>
- <Cell col="20" text="07"/>
- <Cell col="21" text="08"/>
- <Cell col="22" text="09"/>
- <Cell col="23" text="10"/>
- <Cell col="24" text="11"/>
- <Cell col="25" text="12"/>
- <Cell col="26" text="13"/>
- <Cell col="27" text="14"/>
- <Cell col="28" text="15"/>
- <Cell col="29" text="16"/>
- <Cell col="30" text="17"/>
- <Cell col="31" text="18"/>
- <Cell col="32" text="19"/>
- <Cell col="33" text="20"/>
- <Cell col="34" text="21"/>
- <Cell col="35" text="22"/>
- <Cell col="36" text="23"/>
- <Cell col="37" text="24"/>
- <Cell col="38" text="25"/>
- <Cell col="39" text="26"/>
- <Cell col="40" text="27"/>
- <Cell col="41" text="28"/>
- <Cell col="42" text="29"/>
- <Cell col="43" text="30"/>
- <Cell col="44" text="31"/>
- <Cell col="45" text="Total"/>
- <Cell col="46"/>
- <Cell col="47"/>
- <Cell col="48"/>
- <Cell col="49"/>
- <Cell col="50"/>
- <Cell col="51"/>
- <Cell col="52"/>
- <Cell col="53"/>
- <Cell col="54"/>
- <Cell col="55"/>
- <Cell col="56"/>
- <Cell col="57"/>
- <Cell col="58"/>
- <Cell col="59"/>
- <Cell col="60"/>
- <Cell col="61"/>
- <Cell col="62"/>
- <Cell col="63"/>
- <Cell col="64"/>
- <Cell col="65"/>
- <Cell col="66"/>
- <Cell col="67"/>
- <Cell col="68"/>
- <Cell col="69"/>
- <Cell col="70"/>
- <Cell col="71"/>
- <Cell col="72"/>
- <Cell col="73"/>
- <Cell col="74"/>
- <Cell col="75"/>
- <Cell col="76"/>
- <Cell col="77"/>
- <Cell col="78"/>
- <Cell col="79"/>
- <Cell col="80"/>
- <Cell col="81"/>
- <Cell col="82"/>
- <Cell col="83"/>
- <Cell col="84"/>
- <Cell col="85"/>
- <Cell col="86"/>
- <Cell col="87"/>
- <Cell col="88"/>
- <Cell col="89"/>
- <Cell col="90"/>
- <Cell col="91"/>
- <Cell col="92"/>
- <Cell col="93"/>
- <Cell col="94"/>
- <Cell col="95"/>
- <Cell col="96"/>
- <Cell col="97"/>
- <Cell col="98"/>
- <Cell col="99"/>
- <Cell col="100"/>
- <Cell col="101"/>
- <Cell col="102"/>
- <Cell col="103"/>
- <Cell col="104"/>
- <Cell col="105"/>
- <Cell col="106"/>
- <Cell col="107"/>
- <Cell col="108"/>
- <Cell col="109"/>
- <Cell col="110"/>
- <Cell col="111"/>
- <Cell col="112"/>
- <Cell col="113"/>
- <Cell col="114"/>
- <Cell col="115"/>
- <Cell col="116"/>
- <Cell col="117"/>
- <Cell col="118"/>
- <Cell col="119"/>
- <Cell col="120"/>
- <Cell col="121"/>
- <Cell col="122"/>
- <Cell col="123"/>
- <Cell col="124"/>
- <Cell col="125"/>
- <Cell col="126"/>
- <Cell col="127"/>
- <Cell col="128"/>
- <Cell col="129"/>
- <Cell col="130"/>
- <Cell col="131"/>
- <Cell col="132"/>
- <Cell col="133"/>
- <Cell col="134"/>
- <Cell col="135"/>
- <Cell col="136"/>
- <Cell col="137"/>
- <Cell col="138"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow+1"/>
- <Cell col="1" celltype="none" text="bind:nm1"/>
- <Cell col="2" style="align:left middle;" text="bind:nm1" wordwrap="both"/>
- <Cell col="3" text="bind:cd2"/>
- <Cell col="4" text="bind:nm2"/>
- <Cell col="5" text="bind:cd3"/>
- <Cell col="6" text="bind:nm3"/>
- <Cell col="7" text="bind:cd4"/>
- <Cell col="8" text="bind:nm4"/>
- <Cell col="9" text="bind:h01"/>
- <Cell col="10" text="bind:h02"/>
- <Cell col="11" text="bind:h03"/>
- <Cell col="12" text="bind:h04"/>
- <Cell col="13" text="bind:h05"/>
- <Cell col="14" displaytype="number" text="bind:d01"/>
- <Cell col="15" displaytype="number" text="bind:d02"/>
- <Cell col="16" displaytype="number" text="bind:d03"/>
- <Cell col="17" displaytype="number" text="bind:d04"/>
- <Cell col="18" displaytype="number" text="bind:d05"/>
- <Cell col="19" displaytype="number" text="bind:d06"/>
- <Cell col="20" displaytype="number" text="bind:d07"/>
- <Cell col="21" displaytype="number" text="bind:d08"/>
- <Cell col="22" displaytype="number" text="bind:d09"/>
- <Cell col="23" displaytype="number" text="bind:d10"/>
- <Cell col="24" displaytype="number" text="bind:d11"/>
- <Cell col="25" displaytype="number" text="bind:d12"/>
- <Cell col="26" displaytype="number" text="bind:d13"/>
- <Cell col="27" displaytype="number" text="bind:d14"/>
- <Cell col="28" displaytype="number" text="bind:d15"/>
- <Cell col="29" displaytype="number" text="bind:d16"/>
- <Cell col="30" displaytype="number" text="bind:d17"/>
- <Cell col="31" displaytype="number" text="bind:d18"/>
- <Cell col="32" displaytype="number" text="bind:d19"/>
- <Cell col="33" displaytype="number" text="bind:d20"/>
- <Cell col="34" displaytype="number" text="bind:d21"/>
- <Cell col="35" displaytype="number" text="bind:d22"/>
- <Cell col="36" displaytype="number" text="bind:d23"/>
- <Cell col="37" displaytype="number" text="bind:d24"/>
- <Cell col="38" displaytype="number" text="bind:d25"/>
- <Cell col="39" displaytype="number" text="bind:d26"/>
- <Cell col="40" displaytype="number" text="bind:d27"/>
- <Cell col="41" displaytype="number" text="bind:d28"/>
- <Cell col="42" displaytype="number" text="bind:d29"/>
- <Cell col="43" displaytype="number" text="bind:d30"/>
- <Cell col="44" displaytype="number" text="bind:d31"/>
- <Cell col="45" displaytype="number" text="bind:total"/>
- <Cell col="46" text="bind:a01" mask="#,###"/>
- <Cell col="47" text="bind:b01" mask="#,###"/>
- <Cell col="48" text="bind:c01"/>
- <Cell col="49" text="bind:a02" mask="#,###"/>
- <Cell col="50" text="bind:b02" mask="#,###"/>
- <Cell col="51" text="bind:c02"/>
- <Cell col="52" text="bind:a03" mask="#,###"/>
- <Cell col="53" text="bind:b03" mask="#,###"/>
- <Cell col="54" text="bind:c03"/>
- <Cell col="55" text="bind:a04" mask="#,###"/>
- <Cell col="56" text="bind:b04" mask="#,###"/>
- <Cell col="57" text="bind:c04"/>
- <Cell col="58" text="bind:a05" mask="#,###"/>
- <Cell col="59" text="bind:b05" mask="#,###"/>
- <Cell col="60" text="bind:c05"/>
- <Cell col="61" text="bind:a06" mask="#,###"/>
- <Cell col="62" text="bind:b06" mask="#,###"/>
- <Cell col="63" text="bind:c06"/>
- <Cell col="64" text="bind:a07" mask="#,###"/>
- <Cell col="65" text="bind:b07" mask="#,###"/>
- <Cell col="66" text="bind:c07"/>
- <Cell col="67" text="bind:a08" mask="#,###"/>
- <Cell col="68" text="bind:b08" mask="#,###"/>
- <Cell col="69" text="bind:c08"/>
- <Cell col="70" text="bind:a09" mask="#,###"/>
- <Cell col="71" text="bind:b09" mask="#,###"/>
- <Cell col="72" text="bind:c09"/>
- <Cell col="73" text="bind:a10" mask="#,###"/>
- <Cell col="74" text="bind:b10" mask="#,###"/>
- <Cell col="75" text="bind:c10"/>
- <Cell col="76" text="bind:a11" mask="#,###"/>
- <Cell col="77" text="bind:b11" mask="#,###"/>
- <Cell col="78" text="bind:c11"/>
- <Cell col="79" text="bind:a12" mask="#,###"/>
- <Cell col="80" text="bind:b12" mask="#,###"/>
- <Cell col="81" text="bind:c12"/>
- <Cell col="82" text="bind:a13" mask="#,###"/>
- <Cell col="83" text="bind:b13" mask="#,###"/>
- <Cell col="84" text="bind:c13"/>
- <Cell col="85" text="bind:a14" mask="#,###"/>
- <Cell col="86" text="bind:b14" mask="#,###"/>
- <Cell col="87" text="bind:c14"/>
- <Cell col="88" text="bind:a15" mask="#,###"/>
- <Cell col="89" text="bind:b15" mask="#,###"/>
- <Cell col="90" text="bind:c15"/>
- <Cell col="91" text="bind:a16" mask="#,###"/>
- <Cell col="92" text="bind:b16" mask="#,###"/>
- <Cell col="93" text="bind:c16"/>
- <Cell col="94" text="bind:a17" mask="#,###"/>
- <Cell col="95" text="bind:b17" mask="#,###"/>
- <Cell col="96" text="bind:c17"/>
- <Cell col="97" text="bind:a18" mask="#,###"/>
- <Cell col="98" text="bind:b18" mask="#,###"/>
- <Cell col="99" text="bind:c18"/>
- <Cell col="100" text="bind:a19" mask="#,###"/>
- <Cell col="101" text="bind:b19" mask="#,###"/>
- <Cell col="102" text="bind:c19"/>
- <Cell col="103" text="bind:a20" mask="#,###"/>
- <Cell col="104" text="bind:b20" mask="#,###"/>
- <Cell col="105" text="bind:c20"/>
- <Cell col="106" text="bind:a21" mask="#,###"/>
- <Cell col="107" text="bind:b21" mask="#,###"/>
- <Cell col="108" text="bind:c21"/>
- <Cell col="109" text="bind:a22" mask="#,###"/>
- <Cell col="110" text="bind:b22" mask="#,###"/>
- <Cell col="111" text="bind:c22"/>
- <Cell col="112" text="bind:a23" mask="#,###"/>
- <Cell col="113" text="bind:b23" mask="#,###"/>
- <Cell col="114" text="bind:c23"/>
- <Cell col="115" text="bind:a24" mask="#,###"/>
- <Cell col="116" text="bind:b24" mask="#,###"/>
- <Cell col="117" text="bind:c24"/>
- <Cell col="118" text="bind:a25" mask="#,###"/>
- <Cell col="119" text="bind:b25" mask="#,###"/>
- <Cell col="120" text="bind:c25"/>
- <Cell col="121" text="bind:a26" mask="#,###"/>
- <Cell col="122" text="bind:b26" mask="#,###"/>
- <Cell col="123" text="bind:c26"/>
- <Cell col="124" text="bind:a27" mask="#,###"/>
- <Cell col="125" text="bind:b27" mask="#,###"/>
- <Cell col="126" text="bind:c27"/>
- <Cell col="127" text="bind:a28" mask="#,###"/>
- <Cell col="128" text="bind:b28" mask="#,###"/>
- <Cell col="129" text="bind:c28"/>
- <Cell col="130" text="bind:a29" mask="#,###"/>
- <Cell col="131" text="bind:b29" mask="#,###"/>
- <Cell col="132" text="bind:c29"/>
- <Cell col="133" text="bind:a30" mask="#,###"/>
- <Cell col="134" text="bind:b30" mask="#,###"/>
- <Cell col="135" text="bind:c30"/>
- <Cell col="136" text="bind:a31" mask="#,###"/>
- <Cell col="137" text="bind:b31" mask="#,###"/>
- <Cell col="138" text="bind:c31"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_dd1" taborder="1" binddataset="ds_main_ddstats" useinputpanel="false" cellsizingtype="col" position="absolute 0 1 1195 617" anchor="all" visible="false">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="35"/>
- <Column size="89"/>
- <Column size="95"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="59"/>
- <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"/>
- <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"/>
- <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" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="시행부서코드" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="시행부서명" taborder="undefined"/>
- <Cell col="3" colspan="3" text="1" taborder="undefined"/>
- <Cell col="6" colspan="3" text="2" taborder="undefined"/>
- <Cell col="9" colspan="3" text="3" taborder="undefined"/>
- <Cell col="12" colspan="3" text="4" taborder="undefined"/>
- <Cell col="15" colspan="3" text="5" taborder="undefined"/>
- <Cell col="18" colspan="3" text="6" taborder="undefined"/>
- <Cell col="21" colspan="3" text="7" taborder="undefined"/>
- <Cell col="24" colspan="3" text="8" taborder="undefined"/>
- <Cell col="27" colspan="3" text="9" taborder="undefined"/>
- <Cell col="30" colspan="3" text="10" taborder="undefined"/>
- <Cell col="33" colspan="3" text="11" taborder="undefined"/>
- <Cell col="36" colspan="3" text="12" taborder="undefined"/>
- <Cell col="39" colspan="3" text="Total" taborder="undefined"/>
- <Cell row="1" col="3" text="검사건수"/>
- <Cell row="1" col="4" text="수정건수"/>
- <Cell row="1" col="5" text="수정율"/>
- <Cell row="1" col="6" text="검사건수"/>
- <Cell row="1" col="7" text="수정건수"/>
- <Cell row="1" col="8" text="수정율"/>
- <Cell row="1" col="9" text="검사건수"/>
- <Cell row="1" col="10" text="수정건수"/>
- <Cell row="1" col="11" text="수정율"/>
- <Cell row="1" col="12" text="검사건수"/>
- <Cell row="1" col="13" text="수정건수"/>
- <Cell row="1" col="14" text="수정율"/>
- <Cell row="1" col="15" text="검사건수"/>
- <Cell row="1" col="16" text="수정건수"/>
- <Cell row="1" col="17" text="수정율"/>
- <Cell row="1" col="18" text="검사건수"/>
- <Cell row="1" col="19" text="수정건수"/>
- <Cell row="1" col="20" text="수정율"/>
- <Cell row="1" col="21" text="검사건수"/>
- <Cell row="1" col="22" text="수정건수"/>
- <Cell row="1" col="23" text="수정율"/>
- <Cell row="1" col="24" text="검사건수"/>
- <Cell row="1" col="25" text="수정건수"/>
- <Cell row="1" col="26" text="수정율"/>
- <Cell row="1" col="27" text="검사건수"/>
- <Cell row="1" col="28" text="수정건수"/>
- <Cell row="1" col="29" text="수정율"/>
- <Cell row="1" col="30" text="검사건수"/>
- <Cell row="1" col="31" text="수정건수"/>
- <Cell row="1" col="32" text="수정율"/>
- <Cell row="1" col="33" text="검사건수"/>
- <Cell row="1" col="34" text="수정건수"/>
- <Cell row="1" col="35" text="수정율"/>
- <Cell row="1" col="36" text="검사건수"/>
- <Cell row="1" col="37" text="수정건수"/>
- <Cell row="1" col="38" text="수정율"/>
- <Cell row="1" col="39" text="검사건수"/>
- <Cell row="1" col="40" text="수정건수"/>
- <Cell row="1" col="41" text="수정율"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:cd1"/>
- <Cell col="2" text="bind:nm1"/>
- <Cell col="3" text="bind:a01"/>
- <Cell col="4" text="bind:b01"/>
- <Cell col="5" text="bind:c01"/>
- <Cell col="6" text="bind:a02"/>
- <Cell col="7" text="bind:b02"/>
- <Cell col="8" text="bind:c02"/>
- <Cell col="9" text="bind:a03"/>
- <Cell col="10" text="bind:b03"/>
- <Cell col="11" text="bind:c03"/>
- <Cell col="12" text="bind:a04"/>
- <Cell col="13" text="bind:b04"/>
- <Cell col="14" text="bind:c04"/>
- <Cell col="15" text="bind:a05"/>
- <Cell col="16" text="bind:b05"/>
- <Cell col="17" text="bind:c05"/>
- <Cell col="18" text="bind:a06"/>
- <Cell col="19" text="bind:b06"/>
- <Cell col="20" text="bind:c06"/>
- <Cell col="21" text="bind:a07"/>
- <Cell col="22" text="bind:b07"/>
- <Cell col="23" text="bind:c07"/>
- <Cell col="24" text="bind:a08"/>
- <Cell col="25" text="bind:b08"/>
- <Cell col="26" text="bind:c08"/>
- <Cell col="27" text="bind:a09"/>
- <Cell col="28" text="bind:b09"/>
- <Cell col="29" text="bind:c09"/>
- <Cell col="30" text="bind:a10"/>
- <Cell col="31" text="bind:b10"/>
- <Cell col="32" text="bind:c10"/>
- <Cell col="33" text="bind:a11"/>
- <Cell col="34" text="bind:b11"/>
- <Cell col="35" text="bind:c11"/>
- <Cell col="36" text="bind:a12"/>
- <Cell col="37" text="bind:b12"/>
- <Cell col="38" text="bind:c12"/>
- <Cell col="39" text="bind:a13"/>
- <Cell col="40" text="bind:b13"/>
- <Cell col="41" text="bind:c13"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Div id="group1" taborder="3" class="div_SA" position="absolute 0 51 1195 116" anchor="left top right">
- <Layouts>
- <Layout>
- <Button id="btn_ref" taborder="1" text="조회" class="btn1" position="absolute 1123 7 1179 29" anchor="top right" onclick="group1_btn_ref_onclick"/>
- <Shape id="line3" linetype="vertical" class="line_4" position="absolute 1105 6 1111 28" anchor="top right"/>
- <Calendar id="ipt_workfromdd" taborder="2" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" class="input_search" position="absolute 148 37 238 56" anchor="default"/>
- <Calendar id="ipt_worktodd" taborder="3" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" class="input_search" position="absolute 253 37 343 56" anchor="default"/>
- <Static id="caption4" text="일자 :" class="search_name" position="absolute 4 38 69 55" anchor="default"/>
- <Static id="cap_daygap" text="~" class="search_no_b" position="absolute 240 39 253 56" anchor="default"/>
- <Combo id="combo8" taborder="4" innerdataset="@ds_hidden_menu_dflagItem_item" codecolumn="cd" datacolumn="nm" position="absolute 70 37 146 56" anchor="default"/>
- <Static id="caption1" text="통계 :" class="search_name" position="absolute 5 10 70 27" anchor="default"/>
- <Combo id="cmb_sts" taborder="5" innerdataset="@ds_menulist" codecolumn="stsval" datacolumn="stsnm" position="absolute 71 9 341 28" anchor="default" onitemchanged="group1_cmb_sts_onitemchanged"/>
- <Static id="cap_item1" class="search_name" position="absolute 405 10 517 27" anchor="default"/>
- <Combo id="cmb_item1" taborder="6" innerdataset="@ds_hidden_menu_gbn1_item" codecolumn="cd" datacolumn="nm" position="absolute 520 9 710 28" anchor="default"/>
- <Static id="cap_item2" class="search_name" position="absolute 405 38 517 55" anchor="default"/>
- <Combo id="cmb_item2" taborder="7" innerdataset="@ds_hidden_menu_gbn2_item" codecolumn="cd" datacolumn="nm" position="absolute 520 37 710 56" anchor="default"/>
- <Static id="cap_sect" text="시행부서 :" class="search_name" position="absolute 789 11 875 28" anchor="default"/>
- <Combo id="cmd_TMdlCd" taborder="9" innerdataset="@ds_init_lb0106" codecolumn="cd" datacolumn="nm" class="combo_s_essential" position="absolute 986 10 1086 29" anchor="default"/>
- <Combo id="cmb_TLrgCd" taborder="10" innerdataset="@ds_init_lb0111" codecolumn="cd" datacolumn="nm" class="combo_s_essential" position="absolute 880 10 980 29" anchor="default" onitemchanged="group1_cmb_TLrgCd_onitemchanged"/>
- <cp_checkboxList id="chk1" taborder="11" scrollbars="none" position="absolute 789 36 1181 59" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Combo id="Combo00" taborder="4" text="Combo00" position="absolute 248 18 348 38" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="Combo00_onitemchanged" visible="false">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">1</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">2</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">3</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">4</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">5</Col>
- </Row>
- <Row>
- <Col id="codecolumn">6</Col>
- <Col id="datacolumn">6</Col>
- </Row>
- <Row>
- <Col id="codecolumn">7</Col>
- <Col id="datacolumn">7</Col>
- </Row>
- <Row>
- <Col id="codecolumn">8</Col>
- <Col id="datacolumn">8</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ddstats" type="STRING" size="256"/>
- <Column id="yystats" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sql" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="dflag" type="STRING" size="256"/>
- <Column id="gbn1val" type="STRING" size="256"/>
- <Column id="gbn2val" type="STRING" size="256"/>
- <Column id="gbn3val" type="STRING" size="256"/>
- <Column id="sectcd" type="STRING" size="256"/>
- <Column id="tsectcd" type="STRING" size="256"/>
- <Column id="param" type="STRING" size="256"/>
- <Column id="groupid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_menulist_menu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stsnm" type="STRING" size="256"/>
- <Column id="stsval" type="STRING" size="256"/>
- <Column id="dlflag" type="STRING" size="256"/>
- <Column id="gbn1val" type="STRING" size="256"/>
- <Column id="gbn2val" type="STRING" size="256"/>
- <Column id="gbn3val" type="STRING" size="256"/>
- <Column id="dflagItem" type="STRING" size="256"/>
- <Column id="gbn1" type="STRING" size="256"/>
- <Column id="gbn2" type="STRING" size="256"/>
- <Column id="gbn3" type="STRING" size="256"/>
- <Column id="sqlstr" type="STRING" size="256"/>
- <Column id="grdstr" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="stsnm">그래그래통계</Col>
- <Col id="stsval">3</Col>
- <Col id="dlflag">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_menulist_dflagItem_item" 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>
- <Rows>
- <Row>
- <Col id="cd">1</Col>
- <Col id="nm">보고일</Col>
- </Row>
- <Row>
- <Col id="cd">2</Col>
- <Col id="nm">접수일</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_menulist_menu_gbn1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="gbnnm" type="STRING" size="256"/>
- <Column id="item" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="gbnnm">입원/외래</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_menulist_menu_gbn1_item" 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_menulist_menu_gbn2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="gbnnm" type="STRING" size="256"/>
- <Column id="item" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_menulist_menu_gbn2_item" 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_menulist_menu_gbn3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="gbnnm" type="STRING" size="256"/>
- <Column id="item" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_menulist_menu_gbn3_item" 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>
- <Rows>
- <Row>
- <Col id="cd">1</Col>
- <Col id="nm">aa</Col>
- </Row>
- <Row>
- <Col id="cd">1</Col>
- <Col id="nm">aa</Col>
- </Row>
- <Row>
- <Col id="cd">1</Col>
- <Col id="nm">aa</Col>
- </Row>
- <Row>
- <Col id="cd">1</Col>
- <Col id="nm">aa</Col>
- </Row>
- <Row>
- <Col id="cd">1</Col>
- <Col id="nm">aa</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_menulist_menu_sqlstr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="head" type="STRING" size="256"/>
- <Column id="item1" type="STRING" size="256"/>
- <Column id="item2" type="STRING" size="256"/>
- <Column id="item3" type="STRING" size="256"/>
- <Column id="foot" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_menulist_menu_grdstr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="caption" type="STRING" size="256"/>
- <Column id="colwidth" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="caption">코드^명^코드^명^코드^명^01^02^03^04^05^06^07^08^09^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^Total</Col>
- <Col id="colwidth">0^80^0^80^0^80^40^40^40^40^40^40^40^40^40^40^40^40^40^40^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tabgbn" type="STRING" size="256"/>
- <Column id="stsgbn" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="stsgbn">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_menu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stsnm" type="STRING" size="256"/>
- <Column id="stsval" type="STRING" size="256"/>
- <Column id="daytoyn" type="STRING" size="256"/>
- <Column id="dflag" type="STRING" size="256"/>
- <Column id="gbn1val" type="STRING" size="256"/>
- <Column id="gbn2val" type="STRING" size="256"/>
- <Column id="gbn3val" type="STRING" size="256"/>
- <Column id="sectcd" type="STRING" size="256"/>
- <Column id="tsectcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_menu_dflagItem_item" 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_hidden_menu_gbn1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="gbnnm" type="STRING" size="256"/>
- <Column id="item" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_menu_gbn1_item" 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_hidden_menu_gbn2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="gbnnm" type="STRING" size="256"/>
- <Column id="item" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_menu_gbn2_item" 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_hidden_menu_gbn3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="gbnnm" type="STRING" size="256"/>
- <Column id="item" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_menu_gbn3_item" 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_hidden_menu_sqlstr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="head" type="STRING" size="256"/>
- <Column id="foot" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_menu_grdstr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="caption" type="STRING" size="256"/>
- <Column id="colwidth" type="STRING" size="256"/>
- </ColumnInfo>
- </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="col" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_menulist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="menu" type="STRING" size="256" sumtext="메뉴정보"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lb0102" 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"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lb0106" 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"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lb0104" 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"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lb0111" 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"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lb0000" 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"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_menulist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stsnm" type="STRING" size="256"/>
- <Column id="stsval" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="stsnm">시간대별 검사건수</Col>
- <Col id="stsval">1</Col>
- </Row>
- <Row>
- <Col id="stsnm">근무시간대별 건수</Col>
- <Col id="stsval">2</Col>
- </Row>
- <Row>
- <Col id="stsval">3</Col>
- <Col id="stsnm">부적합검체통계 - 일별</Col>
- </Row>
- <Row>
- <Col id="stsval">4</Col>
- <Col id="stsnm">부적합검체통계 - 월별</Col>
- </Row>
- <Row>
- <Col id="stsval">5</Col>
- <Col id="stsnm">수정검사건수 통계 - 일별</Col>
- </Row>
- <Row>
- <Col id="stsval">6</Col>
- <Col id="stsnm">수정검사건수 통계 - 월별</Col>
- </Row>
- <Row>
- <Col id="stsval">7</Col>
- <Col id="stsnm">응급검사건수 통계 - 일별</Col>
- </Row>
- <Row>
- <Col id="stsval">8</Col>
- <Col id="stsnm">응급검사건수 통계 - 월별</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_menu_param" 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"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_menulist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stsnm" type="STRING" size="256"/>
- <Column id="stsval" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="stsnm">장비별 검사건수 - 일별</Col>
- <Col id="stsval">8</Col>
- </Row>
- <Row>
- <Col id="stsval">9</Col>
- <Col id="stsnm">장비별 검사건수 - 월별</Col>
- </Row>
- <Row>
- <Col id="stsval">12</Col>
- <Col id="stsnm">재검건수 통계 - 일별</Col>
- </Row>
- <Row>
- <Col id="stsval">13</Col>
- <Col id="stsnm">재검건수 통계 - 월별</Col>
- </Row>
- <Row>
- <Col id="stsval">18</Col>
- <Col id="stsnm">진단검사시행부서별통계 - 월별</Col>
- </Row>
- <Row>
- <Col id="stsval">3</Col>
- <Col id="stsnm">진료과별 통계 - 월별</Col>
- </Row>
- <Row>
- <Col id="stsval">14</Col>
- <Col id="stsnm">POCT건수 통계 - 일별</Col>
- </Row>
- <Row>
- <Col id="stsval">15</Col>
- <Col id="stsnm">POCT건수 통계 - 월별</Col>
- </Row>
- <Row>
- <Col id="stsval">8</Col>
- <Col id="stsnm">지출통계 - 회기년별</Col>
- </Row>
- <Row>
- <Col id="stsval">5</Col>
- <Col id="stsnm">지출통계 - 일자별</Col>
- </Row>
- <Row>
- <Col id="stsval">7</Col>
- <Col id="stsnm">지출통계 - 분기별</Col>
- </Row>
- <Row>
- <Col id="stsval">6</Col>
- <Col id="stsnm">지출통계 - 월별</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group1.cmb_sts" propid="value" datasetid="ds_hidden" columnid="stsgbn"/>
- <BindItem id="item1" compid="group1.cmb_item1" propid="value" datasetid="ds_hidden_menu" columnid="gbn1val"/>
- <BindItem id="item2" compid="group1.cmb_TLrgCd" propid="value" datasetid="ds_hidden_menu" columnid="sectcd"/>
- <BindItem id="item3" compid="group1.cmd_TMdlCd" propid="value" datasetid="ds_hidden_menu" columnid="tsectcd"/>
- <BindItem id="item4" compid="group1.combo8" propid="value" datasetid="ds_hidden_menu" columnid="dflag"/>
- <BindItem id="item5" compid="group1.ipt_workfromdd" propid="value" datasetid="ds_hidden" columnid="fromdd"/>
- <BindItem id="item6" compid="group1.ipt_worktodd" propid="value" datasetid="ds_hidden" columnid="todd"/>
- <BindItem id="item7" compid="group1.cmb_item2" propid="value" datasetid="ds_hidden_menu" columnid="gbn2val"/>
- <BindItem id="item8" compid="Combo00" propid="value" datasetid="ds_hidden" columnid="stsgbn"/>
- <BindItem id="item9" compid="group1.cap_item1" propid="text" datasetid="ds_hidden_menu_gbn1" columnid="gbnnm"/>
- <BindItem id="item10" compid="group1.cap_item2" propid="text" datasetid="ds_hidden_menu_gbn2" columnid="gbnnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-05-01
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-05-01 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
-
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LLZ001.xjs";
- include "com_commodulexp::SSZFM00901.xjs";
- function SMLLP02300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMLLP02300_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(swt_statflag.dd.grd_dd);
- grdf_initGrid(swt_statflag.dd.grd_dd1);
-
- fSetInit();
- }
- function fSetInit()
- {
- var toDay = utlf_getCurrentDate();
- ds_hidden.setColumn(0, "fromdd", toDay);
- ds_hidden.setColumn(0, "todd", toDay);
-
- ds_main_ddstats.clearData();
- ds_init_menulist_menu.clearData();
-
- var menuparam = frmf_getMenuParam();
-
- if(utlf_isNull(menuparam))
- {
- menuparam = "01";
- }
-
- ds_send.setColumn(0, "groupid", "GROUP" + menuparam);
-
- trace("MENUPARAM = " + ds_send.getColumn(0, "groupid"));
- var oParam = {};
- oParam.id = "TRLLS01601";
- oParam.service = "statsmngtapp.GeneralTestStatsRefMngt";
- oParam.method = "reqGetStsMenu";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_init_menulist=getStsMenu";
- oParam.async = false;
- //oParam.callback = "cf_TRLLS01601";
- tranf_submit(oParam);
- if(ds_init_menulist.rowcount < 1) return;
-
- lf_getDbDeptcd("0102|0106|0104|0111|0000|", "")
-
- if(ds_send.getColumn(0, "groupid") == "GROUP01")
- {
- fchgSts(); //진검
- }
-
- else if(ds_send.getColumn(0, "groupid") == "GROUPN1")
- {
- //group1.cmb_sts.innerdataset = ds_menulist1;
- //fchgSts1(); //핵의학
- }
-
- }
- function fchgSts()
- {
- ds_main_ddstats.clearData();
-
- for(var i = 1; i < swt_statflag.dd.grd_dd.getCellCount("Head"); i++)
- {
- swt_statflag.dd.grd_dd.setFormatColProperty(i, "size", 0);
- }
-
- var idx = ds_hidden.getColumn(0, "stsgbn");
- var str = ds_init_menulist.getColumn(idx-1,"menu");
- var pParamObj = new Object();
- pParamObj.pathYN = "N";
- pParamObj.nullColumnYN = "Y";
-
- lf_convertXmlToDs4("<menu"+idx+">"+str+"</menu"+idx+">", pParamObj);
-
- if(idx == 1) //시간대별 검사건순
- {
- ds_hidden_menu.copyData(ds_data_menu1);
- ds_hidden_menu_dflagItem_item.copyData(ds_data_menu1_dflagItem_item);
- ds_hidden_menu_gbn1.copyData(ds_data_menu1_gbn1);
- ds_hidden_menu_gbn2.copyData(ds_data_menu1_gbn2);
- ds_hidden_menu_gbn1_item.copyData(ds_data_menu1_gbn1_item);
- ds_hidden_menu_gbn2_item.copyData(ds_data_menu1_gbn2_item);
- ds_hidden_menu_gbn3_item.copyData(ds_data_menu1_gbn3_item);
- ds_hidden_menu_grdstr.copyData(ds_data_menu1_grdstr);
- ds_hidden_menu_param.copyData(ds_data_menu1_param_item);
- group1.chk1.visible = true;
- swt_statflag.dd.grd_dd.visible = true;
- swt_statflag.dd.grd_dd1.visible = false;
- swt_statflag.dd.grd_dd2.visible = false;
- }
- else if(idx == 2) //근무시간대별 건수
- {
- ds_hidden_menu.copyData(ds_data_menu2);
- ds_hidden_menu_dflagItem_item.copyData(ds_data_menu2_dflagItem_item);
- ds_hidden_menu_gbn1.copyData(ds_data_menu2_gbn1);
- ds_hidden_menu_gbn2.copyData(ds_data_menu2_gbn2);
- ds_hidden_menu_gbn1_item.copyData(ds_data_menu2_gbn1_item);
- ds_hidden_menu_gbn2_item.copyData(ds_data_menu2_gbn2_item);
- ds_hidden_menu_gbn3_item.copyData(ds_data_menu2_gbn3_item);
- ds_hidden_menu_grdstr.copyData(ds_data_menu2_grdstr);
- ds_hidden_menu_param.copyData(ds_data_menu2_param_item);
- group1.chk1.visible = true;
- swt_statflag.dd.grd_dd.visible = true;
- swt_statflag.dd.grd_dd1.visible = false;
- swt_statflag.dd.grd_dd2.visible = false;
- }
- else if(idx == 3) //부적합검체통계 - 일별
- {
- ds_hidden_menu.copyData(ds_data_menu3);
- ds_hidden_menu_dflagItem_item.copyData(ds_data_menu3_dflagItem_item);
- ds_hidden_menu_gbn1.copyData(ds_data_menu3_gbn1);
- ds_hidden_menu_gbn1_item.copyData(ds_data_menu3_gbn1_item);
- ds_hidden_menu_grdstr.copyData(ds_data_menu3_grdstr);
- group1.chk1.visible = false;
- swt_statflag.dd.grd_dd.visible = true;
- swt_statflag.dd.grd_dd1.visible = false;
- swt_statflag.dd.grd_dd2.visible = false;
- }
- else if(idx == 4) //부적합검체통계 - 월별
- {
- ds_hidden_menu.copyData(ds_data_menu4);
- ds_hidden_menu_dflagItem_item.copyData(ds_data_menu4_dflagItem_item);
- ds_hidden_menu_gbn1.copyData(ds_data_menu4_gbn1);
- ds_hidden_menu_gbn1_item.copyData(ds_data_menu4_gbn1_item);
- ds_hidden_menu_grdstr.copyData(ds_data_menu4_grdstr);
- group1.chk1.visible = false;
- swt_statflag.dd.grd_dd.visible = true;
- swt_statflag.dd.grd_dd1.visible = false;
- swt_statflag.dd.grd_dd2.visible = false;
- }
- else if(idx == 5) //수정검사건수 통계 - 일별
- {
- ds_hidden_menu.copyData(ds_data_menu5);
- ds_hidden_menu_dflagItem_item.copyData(ds_data_menu5_dflagItem_item);
- ds_hidden_menu_gbn1.copyData(ds_data_menu5_gbn1);
- ds_hidden_menu_gbn1_item.copyData(ds_data_menu5_gbn1_item);
- ds_hidden_menu_grdstr.copyData(ds_data_menu5_grdstr);
- ds_hidden_menu_param.copyData(ds_data_menu5_param_item);
- group1.chk1.visible = false;
- swt_statflag.dd.grd_dd.visible = true;
- swt_statflag.dd.grd_dd1.visible = false;
- swt_statflag.dd.grd_dd2.visible = false;
- }
- else if(idx == 6) //수정검사건수 통계 - 월별
- {
- ds_hidden_menu.copyData(ds_data_menu6);
- ds_hidden_menu_dflagItem_item.copyData(ds_data_menu6_dflagItem_item);
- ds_hidden_menu_gbn1.copyData(ds_data_menu6_gbn1);
- ds_hidden_menu_gbn1_item.copyData(ds_data_menu6_gbn1_item);
- ds_hidden_menu_grdstr.copyData(ds_data_menu6_grdstr);
- ds_hidden_menu_param.copyData(ds_data_menu6_param_item);
- group1.chk1.visible = false;
- swt_statflag.dd.grd_dd.visible = false;
- swt_statflag.dd.grd_dd1.visible = true;
- swt_statflag.dd.grd_dd2.visible = false;
- }
- else if(idx == 7) //응급검사건수 통계 - 일별
- {
- ds_hidden_menu.copyData(ds_data_menu7);
- ds_hidden_menu_dflagItem_item.copyData(ds_data_menu7_dflagItem_item);
- ds_hidden_menu_gbn1.copyData(ds_data_menu7_gbn1);
- ds_hidden_menu_gbn1_item.copyData(ds_data_menu7_gbn1_item);
- ds_hidden_menu_gbn2_item.copyData(ds_data_menu7_gbn2_item);
- ds_hidden_menu_gbn3_item.copyData(ds_data_menu7_gbn3_item);
- ds_hidden_menu_param.copyData(ds_data_menu7_param_item);
- ds_hidden_menu_grdstr.copyData(ds_data_menu7_grdstr);
- group1.chk1.visible = true;
- swt_statflag.dd.grd_dd.visible = true;
- swt_statflag.dd.grd_dd1.visible = false;
- swt_statflag.dd.grd_dd2.visible = false;
- }
- else if(idx == 8) //응급검사건수 통계 - 월별
- {
- ds_hidden_menu.copyData(ds_data_menu8);
- ds_hidden_menu_dflagItem_item.copyData(ds_data_menu8_dflagItem_item);
- ds_hidden_menu_gbn1.copyData(ds_data_menu8_gbn1);
- ds_hidden_menu_gbn1_item.copyData(ds_data_menu8_gbn1_item);
- ds_hidden_menu_gbn2_item.copyData(ds_data_menu8_gbn2_item);
- ds_hidden_menu_gbn3_item.copyData(ds_data_menu8_gbn3_item);
- ds_hidden_menu_param.copyData(ds_data_menu8_param_item);
- ds_hidden_menu_grdstr.copyData(ds_data_menu8_grdstr);
- group1.chk1.visible = true;
- swt_statflag.dd.grd_dd.visible = false;
- swt_statflag.dd.grd_dd1.visible = false;
- swt_statflag.dd.grd_dd2.visible = true;
- }
-
- var sProp="col=7,row=1,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
- group1.chk1.setInitComp(sProp, ds_hidden_menu_gbn3_item, "cd", "nm");
-
- var caption = ds_hidden_menu_grdstr.getColumn(0, "caption").split("^");
- var colarr = ds_hidden_menu_grdstr.getColumn(0, "colwidth").split("^");
-
- trace("caption = " + caption.length);
- for(i = 0; i < caption.length; i++)
- {
- grdf_setColumn(swt_statflag.dd.grd_dd, "I", i+1, caption[i], caption[i]);
- }
-
- trace("colarr = " + colarr.length);
-
- for(i = 0; i < colarr.length; i++)
- {
- swt_statflag.dd.grd_dd.setFormatColProperty(i+1, "size", colarr[i]);
- }
-
-
- if(ds_hidden_menu.rowcount < 1)
- {
- group1.cap_sect.visible = false;
- group1.cmd_TMdlCd.visible = false;
- group1.cmb_TLrgCd.visible = false;
- }
- else
- {
- group1.cap_sect.visible = true;
- group1.cmd_TMdlCd.visible = true;
- group1.cmb_TLrgCd.visible = true;
- }
-
- if(utlf_isNull(ds_hidden_menu.getColumn(0, "gbn1val")))
- {
- group1.cap_item1.visible = false;
- group1.cmb_item1.visible = false;
- }
- else
- {
- group1.cap_item1.visible = true;
- group1.cmb_item1.visible = true;
- }
-
- if(utlf_isNull(ds_hidden_menu.getColumn(0, "gbn2val")))
- {
- group1.cap_item2.visible = false;
- group1.cmb_item2.visible = false;
- }
- else
- {
- group1.cap_item2.visible = true;
- group1.cmb_item2.visible = true;
- }
- if(ds_hidden_menu.getColumn(0, "daytoyn") == "Y")
- {
- group1.cap_daygap.visible = true;
- group1.ipt_worktodd.visible = true;
- }
- else
- {
- group1.cap_daygap.visible = false;
- group1.ipt_worktodd.visible = false;
- }
-
- // 조건을 DB에서 조회 해야 하는 경우 사용나 기타 선처리가 필요한 경우
- fevalScript("prescript");
- }
- //스크립트 실행
-
- function group1_cmb_sts_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if(ds_send.getColumn(0, "groupid") == "GROUP01")
- {
- fchgSts(); //진검
- }
- else if(ds_send.getColumn(0, "groupid") == "GROUPN1")
- {
- fchgSts1(); //핵의학
- }
- }
- function group1_cmb_TLrgCd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if(obj.value == "00")
- {
- ds_init_lb0106.filterstr = "";
- }
- else
- {
- ds_init_lb0106.filterstr = "cd == '00'||etc01 == '"+obj.value+"'";
- }
- }
- function Combo00_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fchgSts();
- }
- function group1_btn_ref_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetStats();
- }
- function fGetStats()
- {
- ds_send.setColumn(0, "sql", ds_hidden_menu.getColumn(0, "sql"));
- var stsval = ds_hidden_menu.getColumn(0, "stsval");
-
- //sql 문장 및 파라메터 값을 완성하는 스크립트
- fevalScript("startscript", stsval);
- ds_send.setColumn(0, "fromdd", ds_hidden.getColumn(0, "fromdd"));
- ds_send.setColumn(0, "todd", ds_hidden.getColumn(0, "fromdd"));
- ds_send.setColumn(0, "dflag", ds_hidden_menu.getColumn(0, "dflag"));
- ds_send.setColumn(0, "gbn1val", ds_hidden_menu.getColumn(0, "gbn1val"));
- ds_send.setColumn(0, "gbn2val", ds_hidden_menu.getColumn(0, "gbn2val"));
- ds_send.setColumn(0, "gbn3val", group1.chk1.getData());
- ds_send.setColumn(0, "sectcd", ds_hidden_menu.getColumn(0, "sectcd"));
- ds_send.setColumn(0, "tsectcd", ds_hidden_menu.getColumn(0, "tsectcd"));
-
-
- var oParam = {};
- oParam.id = "TRLLS01601";
- oParam.service = "statsmngtapp.GeneralTestStatsRefMngt";
- oParam.method = "reqGetStsData";
- oParam.inds = "cond=ds_send prm=ds_hidden_menu_param";
- oParam.outds = "ds_main_ddstats=getStsData";
- oParam.async = false;
- //oParam.callback = "cf_TRLLS01601";
- tranf_submit(oParam);
-
- if(stsval == 1)
- {
-
- }
- else if(stsval == 2)
- {
-
- }
- else if(stsval == 3)
- {
- swt_statflag.dd.grd_dd.setCellProperty("Body", 2, "text", "bind:nm1");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 14, "text", "bind:d01");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 15, "text", "bind:d02");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 16, "text", "bind:d03");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 17, "text", "bind:d04");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 18, "text", "bind:d05");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 19, "text", "bind:d06");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 20, "text", "bind:d07");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 21, "text", "bind:d08");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 22, "text", "bind:d09");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 23, "text", "bind:d10");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 24, "text", "bind:d11");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 25, "text", "bind:d12");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 26, "text", "bind:d13");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 27, "text", "bind:d14");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 28, "text", "bind:d15");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 29, "text", "bind:d16");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 30, "text", "bind:d17");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 31, "text", "bind:d18");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 32, "text", "bind:d19");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 33, "text", "bind:d20");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 34, "text", "bind:d21");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 35, "text", "bind:d22");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 36, "text", "bind:d23");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 37, "text", "bind:d24");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 38, "text", "bind:d25");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 39, "text", "bind:d26");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 40, "text", "bind:d27");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 41, "text", "bind:d28");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 42, "text", "bind:d29");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 43, "text", "bind:d30");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 44, "text", "bind:d31");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 45, "text", "bind:total");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 46, "text", "bind:a01");
- }
- else if(stsval == 4)
- {
- trace("sss = " + swt_statflag.dd.grd_dd.getCellProperty("Body", 45, "text"));
- swt_statflag.dd.grd_dd.setCellProperty("Body", 2, "text", "bind:nm1");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 14, "text", "bind:d01");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 15, "text", "bind:d02");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 16, "text", "bind:d03");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 17, "text", "bind:d04");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 18, "text", "bind:d05");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 19, "text", "bind:d06");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 20, "text", "bind:d07");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 21, "text", "bind:d08");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 22, "text", "bind:d09");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 23, "text", "bind:d10");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 24, "text", "bind:d11");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 25, "text", "bind:d12");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 26, "text", "bind:d13");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 27, "text", "bind:d14");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 28, "text", "bind:d15");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 45, "text", "bind:total");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 46, "text", "bind:a01");
- }
- else if(stsval == 5)
- {
- swt_statflag.dd.grd_dd.setCellProperty("Body", 1, "text", "bind:cd1");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 2, "text", "bind:nm1");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 14, "text", "bind:d01");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 15, "text", "bind:d02");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 16, "text", "bind:d03");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 17, "text", "bind:d04");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 18, "text", "bind:d05");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 19, "text", "bind:d06");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 20, "text", "bind:d07");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 21, "text", "bind:d08");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 22, "text", "bind:d09");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 23, "text", "bind:d10");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 24, "text", "bind:d11");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 25, "text", "bind:d12");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 26, "text", "bind:d13");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 27, "text", "bind:d14");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 28, "text", "bind:d15");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 29, "text", "bind:d16");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 30, "text", "bind:d17");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 31, "text", "bind:d18");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 32, "text", "bind:d19");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 33, "text", "bind:d20");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 34, "text", "bind:d21");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 35, "text", "bind:d22");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 36, "text", "bind:d23");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 37, "text", "bind:d24");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 38, "text", "bind:d25");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 39, "text", "bind:d26");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 40, "text", "bind:d27");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 41, "text", "bind:d28");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 42, "text", "bind:d29");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 43, "text", "bind:d30");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 44, "text", "bind:d31");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 45, "text", "bind:total");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 46, "text", "bind:a01");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 47, "text", "bind:b01");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 48, "text", "bind:c01");
- }
- else if(stsval == 7)
- {
- //swt_statflag.dd.grd_dd.setCellProperty("Body", 1, "text", "bind:cd1");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 2, "text", "bind:nm1");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 14, "text", "bind:d01");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 15, "text", "bind:d02");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 16, "text", "bind:d03");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 17, "text", "bind:d04");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 18, "text", "bind:d05");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 19, "text", "bind:d06");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 20, "text", "bind:d07");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 21, "text", "bind:d08");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 22, "text", "bind:d09");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 23, "text", "bind:d10");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 24, "text", "bind:d11");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 25, "text", "bind:d12");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 26, "text", "bind:d13");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 27, "text", "bind:d14");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 28, "text", "bind:d15");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 29, "text", "bind:d16");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 30, "text", "bind:d17");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 31, "text", "bind:d18");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 32, "text", "bind:d19");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 33, "text", "bind:d20");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 34, "text", "bind:d21");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 35, "text", "bind:d22");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 36, "text", "bind:d23");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 37, "text", "bind:d24");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 38, "text", "bind:d25");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 39, "text", "bind:d26");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 40, "text", "bind:d27");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 41, "text", "bind:d28");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 42, "text", "bind:d29");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 43, "text", "bind:d30");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 44, "text", "bind:d31");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 45, "text", "bind:total");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 46, "text", "bind:a01");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 47, "text", "bind:b01");
- swt_statflag.dd.grd_dd.setCellProperty("Body", 48, "text", "bind:c01");
- }
-
- //조회 후 처리가 필요한 경우
- fevalScript("endscript");
- }
- function fevalScript(str, stsval)
- {
- if(utlf_isNull(ds_hidden_menu.getColumn(0, str)))
- {
- return;
- }
- else
- {
- if(ds_send.getColumn(0, "groupid") == "GROUP01")
- {
- fScript01(str, stsval);
- }
- else if(ds_send.getColumn(0, "groupid") == "GROUPN1")
- {
- fScriptN1(str, stsval);
- }
- }
- }
- function fScript01(str, stsval)
- {
- if(str == "prescript")
- {
-
- }
- else if(str == "startscript")
- {
- if(stsval == 1) //시간대별 검사건수
- {
- if(ds_hidden_menu.getColumn(0, "dflag") == "2")
- {
- fSetParamvVal("stscd", "L02");
- }
- else
- {
- fSetParamvVal("stscd", "L01");
- }
-
- if(ds_hidden_menu.getColumn(0, "sectcd") == "00")
- {
- fSetSqlChg(/▦sectcd▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦sectcd▦/g, "and a.itemcd2 = #sectcd#");
- }
-
- if(ds_hidden_menu.getColumn(0, "tsectcd") == "00")
- {
- fSetSqlChg(/▦tsectcd▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦tsectcd▦/g, "and a.itemnm2 = #tsectcd#");
- }
- var i = 0;
- var str = "";
- var tmp = group1.chk1.getData();
-
- if(!utlf_isNull(tmp))
- {
- str = "and a.stsflag3 in ("
-
- for(i = 1; i <= tmp.length; i++)
- {
- if(i==1) str = str + "#gbn3val_" + i + "#"
- else str = str + ", #gbn3val_" + i + "#"
- }
- str = str + ")"
- fSetSqlChg(/▦day▦/g, str);
- }
- else
- {
- fSetSqlChg(/▦day▦/g, "");
- }
- if(ds_hidden_menu.getColumn(0, "gbn2val") == "-")
- {
- fSetSqlChg(/▦group▦/g, "group by rollup(stsdy|| '-' ||stsdm|| '-' ||stsdd, a.itemnm2, (a.itemcd3, a.itemnm3)) order by stsdy|| '-' ||stsdm|| '-' ||stsdd, a.itemnm2, a.itemcd3");
- fSetSqlChg(/▦cd2▦/g, "nvl((select /*+ index_desc (sb pk_llfmtsec) */TSECTNM from lis.llfmtsec sb where instcd = #%dutplceinstcd# and TSECTCD = a.itemnm2 and rownum = 1), nvl(a.itemnm2, nvl2(stsdy|| '-' ||stsdm|| '-' ||stsdd,'◆◆일계◆◆', ''))) cd2, ");
- fSetSqlChg(/▦cd3▦/g, "nvl((select /*+ index_desc (sb pk_llfmtcls) */tclsnm from lis.llfmtcls sb where instcd = #%dutplceinstcd# and tclscd = a.itemcd3 and rownum = 1), nvl(a.itemcd3, nvl2(a.itemnm2,'◆◆부서계◆◆',''))) nm2, itemcd3 cd3, itemnm3 nm3,");
-
- swt_statflag.dd.grd_dd.setFormatColProperty(3, "size", 80);
- swt_statflag.dd.grd_dd.setFormatColProperty(4, "size", 120);
- swt_statflag.dd.grd_dd.setFormatColProperty(5, "size", 60);
- swt_statflag.dd.grd_dd.setFormatColProperty(6, "size", 50);
- }
- else if(ds_hidden_menu.getColumn(0, "gbn2val") == "1")
- {
- fSetSqlChg(/▦group▦/g, "group by rollup(stsdy|| '-' ||stsdm|| '-' ||stsdd, a.itemnm2) order by stsdy|| '-' ||stsdm|| '-' ||stsdd, a.itemnm2");
- fSetSqlChg(/▦cd2▦/g, "nvl((select /*+ index_desc (sb pk_llfmtsec) */TSECTNM from lis.llfmtsec sb where instcd = #%dutplceinstcd# and TSECTCD = a.itemnm2 and rownum = 1), nvl(a.itemnm2, nvl2(stsdy|| '-' ||stsdm|| '-' ||stsdd,'◆◆일계◆◆', ''))) cd2, ");
- fSetSqlChg(/▦cd3▦/g, "");
-
- swt_statflag.dd.grd_dd.setFormatColProperty(3, "size", 80);
- swt_statflag.dd.grd_dd.setFormatColProperty(4, "size", 0);
- swt_statflag.dd.grd_dd.setFormatColProperty(5, "size", 0);
- swt_statflag.dd.grd_dd.setFormatColProperty(6, "size", 0);
- }
- else if(ds_hidden_menu.getColumn(0, "gbn2val") == "2")
- {
- fSetSqlChg(/▦group▦/g, "group by rollup(stsdy|| '-' ||stsdm|| '-' ||stsdd)");
- fSetSqlChg(/▦cd2▦/g, "");
- fSetSqlChg(/▦cd3▦/g, "");
-
- swt_statflag.dd.grd_dd.setFormatColProperty(3, "size", 0);
- swt_statflag.dd.grd_dd.setFormatColProperty(4, "size", 0);
- swt_statflag.dd.grd_dd.setFormatColProperty(5, "size", 0);
- swt_statflag.dd.grd_dd.setFormatColProperty(6, "size", 0);
- }
- }//stsval == 1
- else if(stsval == 2) //근무시간대별 건수
- {
- if(ds_hidden_menu.getColumn(0, "dflag") == "2")
- {
- fSetParamvVal("stscd", "L02");
- }
- else
- {
- fSetParamvVal("stscd", "L01");
- }
- if(ds_hidden_menu.getColumn(0, "sectcd") == "00")
- {
- fSetSqlChg(/▦sectcd▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦sectcd▦/g, "and a.itemcd2 = #sectcd#");
- }
- if(ds_hidden_menu.getColumn(0, "tsectcd") == "00")
- {
- fSetSqlChg(/▦tsectcd▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦tsectcd▦/g, "and a.itemnm2 = #tsectcd#");
- }
- var i = 0;
- var str = "";
- var tmp = group1.chk1.getData();
-
- if(!utlf_isNull(tmp))
- {
- str = "and stsflag3 in ("
- for(i = 1; i <= tmp.length; i++)
- {
- if(i==1)
- {
- str = str + "#gbn3val_" + i + "#"
- }
- else
- {
- str = str + ", #gbn3val_" + i + "#"
- }
- }
- str = str + ")"
- fSetSqlChg(/▦day▦/g, str);
- }
- else
- {
- fSetSqlChg(/▦day▦/g, "");
- }
- if(ds_hidden_menu.getColumn(0, "gbn2val") == "-")
- {
- fSetSqlChg(/▦group▦/g, "group by rollup(dd, itemnm2, (itemcd3, itemnm3)) order by dd, itemnm2, itemcd3, itemnm3");
- fSetSqlChg(/▦cd2▦/g, "nvl((select /*+ index_desc (sb pk_llfmtsec) */TSECTNM from lis.llfmtsec sb where instcd = #%dutplceinstcd# and TSECTCD = itemnm2 and rownum = 1), nvl(itemnm2, nvl2(dd,'◆◆일계◆◆', ''))) cd2, ");
- fSetSqlChg(/▦cd3▦/g, "nvl((select /*+ index_desc (sb pk_llfmtcls) */tclsnm from lis.llfmtcls sb where instcd = #%dutplceinstcd# and tclscd = itemcd3 and rownum = 1), nvl(itemcd3, nvl2(itemnm2,'◆◆부서계◆◆',''))) nm3, itemcd3 cd3, itemnm3 cd4,");
-
- swt_statflag.dd.grd_dd.setFormatColProperty(3, "size", 80);
- swt_statflag.dd.grd_dd.setFormatColProperty(5, "size", 70);
- swt_statflag.dd.grd_dd.setFormatColProperty(6, "size", 220);
- swt_statflag.dd.grd_dd.setFormatColProperty(7, "size", 70);
- }
- else if(ds_hidden_menu.getColumn(0, "gbn2val") == "1")
- {
- fSetSqlChg(/▦group▦/g, "group by rollup(dd, itemnm2) order by dd, itemnm2");
- fSetSqlChg(/▦cd2▦/g, "nvl((select /*+ index_desc (sb pk_llfmtsec) */TSECTNM from lis.llfmtsec sb where instcd = #%dutplceinstcd# and TSECTCD = itemnm2 and rownum = 1), nvl(itemnm2, nvl2(dd,'◆◆일계◆◆', ''))) cd2, ");
- fSetSqlChg(/▦cd3▦/g, "");
-
- swt_statflag.dd.grd_dd.setFormatColProperty(3, "size", 80);
- swt_statflag.dd.grd_dd.setFormatColProperty(5, "size", 0);
- swt_statflag.dd.grd_dd.setFormatColProperty(6, "size", 0);
- swt_statflag.dd.grd_dd.setFormatColProperty(7, "size", 0);
- }
- else if(ds_hidden_menu.getColumn(0, "gbn2val") == "2")
- {
- fSetSqlChg(/▦group▦/g, "group by rollup(dd)");
- fSetSqlChg(/▦cd2▦/g, "");
- fSetSqlChg(/▦cd3▦/g, "");
-
- swt_statflag.dd.grd_dd.setFormatColProperty(3, "size", 0);
- swt_statflag.dd.grd_dd.setFormatColProperty(5, "size", 0);
- swt_statflag.dd.grd_dd.setFormatColProperty(6, "size", 0);
- swt_statflag.dd.grd_dd.setFormatColProperty(7, "size", 0);
- }
- }//stsval == 2
- else if(stsval == 3) //부적합검체통계 - 일별
- {
- if(ds_hidden_menu.getColumn(0, "sectcd") == "00" && ds_hidden_menu.getColumn(0, "tsectcd") == "00" &&
- ds_hidden_menu.getColumn(0, "gbn1val") == "-" || ds_hidden_menu.getColumn(0, "gbn1val") == "M")
- {
- fSetSqlChg(/▦bgd▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦bgd▦/g, "and exists (select 1 from lis.llchsbgd where instcd = a.instcd and bcno = a.bcno ▦sectcd▦ ▦iogbn▦ and rownum = 1)");
- }
- if(ds_hidden_menu.getColumn(0, "sectcd") != "00" && ds_hidden_menu.getColumn(0, "tsectcd") == "00")
- {
- fSetSqlChg(/▦sectcd▦/g, "and execdeptcd like #sectcd# || '%'");
- }
- else if(ds_hidden_menu.getColumn(0, "tsectcd") != "00")
- {
- fSetSqlChg(/▦sectcd▦/g, "and execdeptcd = #tsectcd#");
- }
- else
- {
- fSetSqlChg(/▦sectcd▦/g, "");
- }
-
- if(ds_hidden_menu.getColumn(0, "gbn1val") == "-" || ds_hidden_menu.getColumn(0, "gbn1val") == "M")
- {
- fSetSqlChg(/▦iogbn▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦iogbn▦/g, "and prcpgenrflag = #gbn1val#");
- }
- if(ds_hidden_menu.getColumn(0, "gbn1val") == "M")
- {
- fSetSqlChg(/▦M▦/g, "and a.bcno like 'M%'");
- }
- else
- {
- fSetSqlChg(/▦M▦/g, "");
- }
- if(ds_hidden_menu.getColumn(0, "sectcd") != "00" && ds_hidden_menu.getColumn(0, "tsectcd") == "00")
- {
- fSetSqlChg(/▦sectcd2▦/g, "and itemcd1 like #sectcd# || '%'");
- }
- else if(ds_hidden_menu.getColumn(0, "tsectcd") != "00")
- {
- fSetSqlChg(/▦sectcd2▦/g, "and itemcd1 = #sectcd#");
- }
- else
- {
- fSetSqlChg(/▦sectcd2▦/g, "");
- }
- if(ds_hidden_menu.getColumn(0, "gbn1val") == "-" || ds_hidden_menu.getColumn(0, "gbn1val") == "M")
- {
- fSetSqlChg(/▦iogbn2▦/g, "and s.stsflag1 = '-'");
- }
- else
- {
- fSetSqlChg(/▦iogbn2▦/g, "and s.stsflag1 = #gbn1val#");
- }
- }//stsval == 3
- else if(stsval == 4) //부적합검체통계 - 월별
- {
- if(ds_hidden_menu.getColumn(0, "sectcd") == "00" && ds_hidden_menu.getColumn(0, "tsectcd") == "00" &&
- ds_hidden_menu.getColumn(0, "gbn1val") == "-" || ds_hidden_menu.getColumn(0, "gbn1val") == "M")
- {
- fSetSqlChg(/▦bgd▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦bgd▦/g, "and exists (select 1 from lis.llchsbgd where instcd = a.instcd and bcno = a.bcno ▦sectcd▦ ▦iogbn▦ and rownum = 1)");
- }
- if(ds_hidden_menu.getColumn(0, "sectcd") != "00" && ds_hidden_menu.getColumn(0, "tsectcd") == "00")
- {
- fSetSqlChg(/▦sectcd▦/g, "and execdeptcd like #sectcd# || '%'");
- }
- else if(ds_hidden_menu.getColumn(0, "tsectcd") != "00")
- {
- fSetSqlChg(/▦sectcd▦/g, "and execdeptcd = #tsectcd#");
- }
- else
- {
- fSetSqlChg(/▦sectcd▦/g, "");
- }
- if(ds_hidden_menu.getColumn(0, "gbn1val") == "-" || ds_hidden_menu.getColumn(0, "gbn1val") == "M")
- {
- fSetSqlChg(/▦iogbn▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦iogbn▦/g, "and prcpgenrflag = #gbn1val#");
- }
- if(ds_hidden_menu.getColumn(0, "gbn1val") == "M")
- {
- fSetSqlChg(/▦M▦/g, "and a.bcno like 'M%'");
- }
- else
- {
- fSetSqlChg(/▦M▦/g, "");
- }
- if(ds_hidden_menu.getColumn(0, "sectcd") != "00" && ds_hidden_menu.getColumn(0, "tsectcd") == "00")
- {
- fSetSqlChg(/▦sectcd2▦/g, "and itemcd1 like #sectcd# || '%'");
- }
- else if(ds_hidden_menu.getColumn(0, "tsectcd") != "00")
- {
- fSetSqlChg(/▦sectcd2▦/g, "and itemcd1 = #sectcd#");
- }
- else
- {
- fSetSqlChg(/▦sectcd2▦/g, "");
- }
- if(ds_hidden_menu.getColumn(0, "gbn1val") == "-" || ds_hidden_menu.getColumn(0, "gbn1val") == "M")
- {
- fSetSqlChg(/▦iogbn2▦/g, "and s.stsflag1 = '-'");
- }
- else
- {
- fSetSqlChg(/▦iogbn2▦/g, "and s.stsflag1 = #gbn1val#");
- }
- }//strvarl == 4
- else if(stsval == 5) //수정검사건수 통계 - 일별
- {
- if(ds_hidden_menu.getColumn(0, "dflag") == "2")
- {
- fSetParamvVal("stscd", "L02");
- }
- else
- {
- fSetParamvVal("stscd", "L01");
- }
-
- if(ds_hidden_menu.getColumn(0, "sectcd") == "00")
- {
- fSetSqlChg(/▦sectcd▦/g, "");
- fSetSqlChg(/▦sectcd2▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦sectcd▦/g, "and itemcd2 = #sectcd#");
- fSetSqlChg(/▦sectcd2▦/g, "and a.itemcd1 = #sectcd#");
- }
- if(ds_hidden_menu.getColumn(0, "tsectcd") == "00")
- {
- fSetSqlChg(/▦tsectcd▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦tsectcd▦/g, "and itemnm2 = #tsectcd#");
- }
- }//stsval == 5
- else if(stsval == 6) //수정검사건수 통계 - 월별
- {
- if(ds_hidden_menu.getColumn(0, "dflag") == "2")
- {
- fSetParamvVal("stscd", "L02");
- }
- else
- {
- fSetParamvVal("stscd", "L01");
- }
- if(ds_hidden_menu.getColumn(0, "sectcd") == "00")
- {
- fSetSqlChg(/▦sectcd▦/g, "");
- fSetSqlChg(/▦sectcd2▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦sectcd▦/g, "and itemcd2 = #sectcd#");
- fSetSqlChg(/▦sectcd2▦/g, "and a.itemcd1 = #sectcd#");
- }
- if(ds_hidden_menu.getColumn(0, "tsectcd") == "00")
- {
- fSetSqlChg(/▦tsectcd▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦tsectcd▦/g, "and a.itemnm2 = #tsectcd#");
- }
- }//stsval == 6
- else if(stsval == 7)
- {
- if(ds_hidden_menu.getColumn(0, "dflag") == "2")
- {
- fSetParamvVal("stscd", "L02");
- }
- else
- {
- fSetParamvVal("stscd", "L01");
- }
- if(ds_hidden_menu.getColumn(0, "sectcd") == "00")
- {
- fSetSqlChg(/▦sectcd▦/g, "");
- fSetSqlChg(/▦sectcd2▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦sectcd▦/g, "and itemnm1 = #sectcd#");
- fSetSqlChg(/▦sectcd2▦/g, "and a.itemcd1 = #sectcd#");
- }
- if(ds_hidden_menu.getColumn(0, "tsectcd") == "00")
- {
- fSetSqlChg(/▦tsectcd▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦tsectcd▦/g, "and itemcd1 = #tsectcd#");
- }
- var tmp = new String(group1.chk1.getData());
-
- var gbn1;
- var gbn2;
- var gbn3;
-
- if(!utlf_isNull(tmp))
- {
- gbn1 = tmp.indexOf("-");
- gbn2 = tmp.indexOf("1");
- gbn3 = tmp.indexOf("2");
- }
- if(gbn1 >= 0)
- {
- fSetSqlChg(/▦er▦/g, "");
- }
- else if(gbn2 >= 0 && gbn3 >= 0)
- {
- fSetSqlChg(/▦er▦/g, "");
- }
- else if(gbn2 >= 0 && gbn3 == -1)
- {
- fSetSqlChg(/▦er▦/g, "AND stsflag2= '1'");
- }
- else if(gbn2 == -1 && gbn3 >= 0)
- {
- fSetSqlChg(/▦er▦/g, "AND stsflag2= '2'");
- }
- else
- {
- fSetSqlChg(/▦er▦/g, "");
- }
- if(ds_hidden_menu.getColumn(0, "gbn2val") == "-")
- {
- fSetSqlChg(/▦ord▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦ord▦/g, "AND itemcd2 = #gbn2val#");
- }
- }//stsval == 7
- else if(stsval == 8)
- {
- if(ds_hidden_menu.getColumn(0, "dflag") == "2")
- {
- fSetParamvVal("stscd", "L02");
- }
- else
- {
- fSetParamvVal("stscd", "L01");
- }
- if(ds_hidden_menu.getColumn(0, "sectcd") == "00")
- {
- fSetSqlChg(/▦sectcd▦/g, "");
- fSetSqlChg(/▦sectcd2▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦sectcd▦/g, "and itemnm1 = #sectcd#");
- fSetSqlChg(/▦sectcd2▦/g, "and a.itemcd1 = #sectcd#");
- }
- if(ds_hidden_menu.getColumn(0, "tsectcd") == "00")
- {
- fSetSqlChg(/▦tsectcd▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦tsectcd▦/g, "and itemcd1 = #tsectcd#");
- }
- var gbn1;
- var gbn2;
- var gbn3;
-
- var tmp = new String(group1.chk1.getData());
-
- if(!utlf_isNull(tmp))
- {
- gbn1 = tmp.indexOf("-");
- gbn2 = tmp.indexOf("1");
- gbn3 = tmp.indexOf("2");
- }
- if(gbn1 >= 0)
- {
- fSetSqlChg(/▦er▦/g, "");
- }
- else if(gbn2 >= 0 && gbn3 >= 0)
- {
- fSetSqlChg(/▦er▦/g, "");
- }
- else if(gbn2 >= 0 && gbn3 == -1)
- {
- fSetSqlChg(/▦er▦/g, "AND stsflag2= '1'");
- }
- else if(gbn2 == -1 && gbn3 >= 0)
- {
- fSetSqlChg(/▦er▦/g, "AND stsflag2= '2'");
- }
- else
- {
- fSetSqlChg(/▦er▦/g, "");
- }
- if(ds_hidden_menu.getColumn(0, "gbn2val") == "-")
- {
- fSetSqlChg(/▦ord▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦ord▦/g, "AND itemcd2 = #gbn2val#");
- }
- }
- }
- else if(str == "endscript")
- {
- //if(stsval == 1)
- //else if(strval == 2)
- //else if(strval == 3)
- //else if(strval == 4)
- }
- }
- //파라메터 값 설정
- function fSetParamvVal(nm, val)
- {
- ds_hidden_menu_param.setColumn("nm =='" + nm + "'", "cd", val);
- }
- //sql 변경
- function fSetSqlChg(re, val)
- {
- ds_send.setColumn(0, "sql", ds_send.getColumn(0, "sql").replace(re, val));
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- var idx = ds_hidden.getColumn(0, "stsgbn");
- if(idx == 1 || idx == 2 || idx == 3 || idx == 4 || idx == 5 || idx == 7 )
- {
- grdf_exportExcel(swt_statflag.dd.grd_dd, "", "see");
- }
- else if(idx == 6 || idx == 8)
- {
- grdf_exportExcel(swt_statflag.dd.grd_dd1, "", "see");
- }
- }
- function fchgSts1()
- {
- ds_main_ddstats.clearData();
-
- for(var i = 1; i < swt_statflag.dd.grd_dd.getCellCount("Head"); i++)
- {
- swt_statflag.dd.grd_dd.setFormatColProperty(i, "size", 0);
- }
-
- var idx = ds_hidden.getColumn(0, "stsgbn");
- trace("idx = " + idx);
- var str = ds_init_menulist.getColumn(idx-1,"menu");
- var pParamObj = new Object();
- pParamObj.pathYN = "N";
- pParamObj.nullColumnYN = "Y";
-
- lf_convertXmlToDs4("<menu"+idx+">"+str+"</menu"+idx+">", pParamObj);
-
- if(idx == 8) //시간대별 검사건순
- {
- ds_hidden_menu.copyData(ds_data_menu8);
- ds_hidden_menu_dflagItem_item.copyData(ds_data_menu8_dflagItem_item);
- ds_hidden_menu_gbn1.copyData(ds_data_menu8_gbn1);
- ds_hidden_menu_gbn1_item.copyData(ds_data_menu8_gbn1_item);
- ds_hidden_menu_grdstr.copyData(ds_data_menu8_grdstr);
- ds_hidden_menu_param.copyData(ds_data_menu8_param_item);
-
- swt_statflag.dd.grd_dd.visible = true;
- swt_statflag.dd.grd_dd1.visible = false;
- }
- else if(idx == 9) //근무시간대별 건수
- {
- ds_hidden_menu.copyData(ds_data_menu9);
- ds_hidden_menu_dflagItem_item.copyData(ds_data_menu9_dflagItem_item);
- ds_hidden_menu_gbn1.copyData(ds_data_menu9_gbn1);
- ds_hidden_menu_gbn1_item.copyData(ds_data_menu9_gbn1_item);
- ds_hidden_menu_grdstr.copyData(ds_data_menu9_grdstr);
- ds_hidden_menu_param.copyData(ds_data_menu9_param);
- swt_statflag.dd.grd_dd.visible = true;
- swt_statflag.dd.grd_dd1.visible = false;
- }
-
- var sProp="col=7,row=1,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
- group1.chk1.setInitComp(sProp, ds_hidden_menu_gbn3_item, "cd", "nm");
-
- var caption = ds_hidden_menu_grdstr.getColumn(0, "caption").split("^");
- var colarr = ds_hidden_menu_grdstr.getColumn(0, "colwidth").split("^");
-
- trace("caption = " + caption.length);
- for(i = 0; i < caption.length; i++)
- {
- grdf_setColumn(swt_statflag.dd.grd_dd, "I", i+1, caption[i], caption[i]);
- }
-
- trace("colarr = " + colarr.length);
-
- for(i = 0; i < colarr.length; i++)
- {
- swt_statflag.dd.grd_dd.setFormatColProperty(i+1, "size", colarr[i]);
- }
-
-
- if(ds_hidden_menu.rowcount < 1)
- {
- group1.cap_sect.visible = false;
- group1.cmd_TMdlCd.visible = false;
- group1.cmb_TLrgCd.visible = false;
- }
- else
- {
- group1.cap_sect.visible = true;
- group1.cmd_TMdlCd.visible = true;
- group1.cmb_TLrgCd.visible = true;
- }
-
- if(utlf_isNull(ds_hidden_menu.getColumn(0, "gbn1val")))
- {
- group1.cap_item1.visible = false;
- group1.cmb_item1.visible = false;
- }
- else
- {
- group1.cap_item1.visible = true;
- group1.cmb_item1.visible = true;
- }
-
- if(utlf_isNull(ds_hidden_menu.getColumn(0, "gbn2val")))
- {
- group1.cap_item2.visible = false;
- group1.cmb_item2.visible = false;
- }
- else
- {
- group1.cap_item2.visible = true;
- group1.cmb_item2.visible = true;
- }
- if(ds_hidden_menu.getColumn(0, "daytoyn") == "Y")
- {
- group1.cap_daygap.visible = true;
- group1.ipt_worktodd.visible = true;
- }
- else
- {
- group1.cap_daygap.visible = false;
- group1.ipt_worktodd.visible = false;
- }
-
- // 조건을 DB에서 조회 해야 하는 경우 사용나 기타 선처리가 필요한 경우
- var stsval = ds_hidden_menu.getColumn(0, "stsval");
- fevalScript("prescript", stsval);
- }
- function fScriptN1(str, stsval)
- {
- if(str == "prescript")
- {
- if(stsval == 8)
- {
- ds_send.setColumn(0, "sql", ds_hidden_menu.getColumn(0, "basecdsql"));
- //submit("TRLLS01603"); xml 파일이 없음.
- }
- else if(stsval == 9)
- {
- ds_send.setColumn(0, "sql", ds_hidden_menu.getColumn(0, "basecdsql"));
- //submit("TRLLS01603");
- }
- }
- else if(str == "startscript")
- {
- if(stsval == 8)
- {
- if(ds_hidden_menu.getColumn(0, "sectcd") == "00")
- {
- fSetSqlChg(/▦sectcd▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦sectcd▦/g, "and a.itemcd1 = #sectcd#");
- }
- if(ds_hidden_menu.getColumn(0, "tsectcd") == "00")
- {
- fSetSqlChg(/▦tsectcd▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦tsectcd▦/g, "and a.itemnm1 = #tsectcd#");
- }
- if(ds_hidden_menu.getColumn(0, "gbn2val") == "00")
- {
- fSetSqlChg(/▦eqmtcd▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦eqmtcd▦/g, "and a.itemcd2 = #gbn2val#");
- }
- }
- else if(stsval == 9)
- {
- if(ds_hidden_menu.getColumn(0, "sectcd") == "00")
- {
- fSetSqlChg(/▦sectcd▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦sectcd▦/g, "and a.itemcd1 = #sectcd#");
- }
- if(ds_hidden_menu.getColumn(0, "tsectcd") == "00")
- {
- fSetSqlChg(/▦tsectcd▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦tsectcd▦/g, "and a.itemnm1 = #tsectcd#");
- }
- if(ds_hidden_menu.getColumn(0, "gbn2val") == "00")
- {
- fSetSqlChg(/▦eqmtcd▦/g, "");
- }
- else
- {
- fSetSqlChg(/▦eqmtcd▦/g, "and a.itemcd2 = #gbn2val#");
- }
- }
- }
- }]]></Script>
- </Form>
- </FDL>
|