12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNE10500" position="absolute 0 0 1182 793" titletext="응급실 통계" oninit="SMMNE10500_oninit" scrollbars="none" onload="SMMNE10500_onload" ontimer="SMMNE10500_ontimer">
- <Layouts>
- <Layout>
- <Shape id="line1" class="line_10" position="absolute 0 51 206 57"/>
- <Static id="caption1" text="통계리스트" class="tit_2" position="absolute 0 35 100 53"/>
- <Grid id="grd_codelist" taborder="1" binddataset="ds_main_codeinfo" useinputpanel="false" position="absolute 0 56 206 791" autofittype="col" anchor="left top bottom" oncelldblclick="grd_codelist_oncelldblclick" autosizingtype="row" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="187"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="통계명"/>
- <Cell col="1" text="코드"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;padding:2 2 2 2;" text="bind:cdnm" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="1" text="bind:cdid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_search" taborder="2" text="조회" class="btn2" position="absolute 164 29 206 51" onclick="btn_search_onclick"/>
- <Tab id="switch1" taborder="3" tabindex="2" position="absolute 212 101 1182 815" tabstop="false" tabposition="bottom" visible="true" style="border:0 solid #07a693ff,1 none #808080ff;" anchor="all">
- <Tabpages>
- <Tabpage id="case1" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid id="grd_grdinfo01" taborder="0" binddataset="ds_main_grdinfo01" useinputpanel="false" position="absolute 0 0 965 690" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="150"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="진료과" taborder="undefined"/>
- <Cell col="2" colspan="2" text="응급의료센터" taborder="undefined"/>
- <Cell col="4" colspan="2" text="508응급병동" taborder="undefined"/>
- <Cell col="6" colspan="2" text="합계" 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="퇴원환자수"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" style="align:center middle;" text="bind:orddeptnm"/>
- <Cell col="2" text="bind:incnt"/>
- <Cell col="3" text="bind:outcnt"/>
- <Cell col="4" text="bind:wardincnt"/>
- <Cell col="5" text="bind:wardoutcnt"/>
- <Cell col="6" text="bind:totincnt"/>
- <Cell col="7" text="bind:totoutcnt"/>
- </Band>
- <Band id="summary">
- <Cell style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="1" style="background:#99ff99ff;background2:#99ff99ff;" text="합계"/>
- <Cell col="2" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('incnt')"/>
- <Cell col="3" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('outcnt')"/>
- <Cell col="4" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('wardincnt')"/>
- <Cell col="5" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('wardoutcnt')"/>
- <Cell col="6" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('totincnt')"/>
- <Cell col="7" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('totoutcnt')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid id="grd_grdinfo02" taborder="0" binddataset="ds_main_grdinfo02" useinputpanel="false" position="absolute 0 0 964 690" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="150"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="진료과" taborder="undefined"/>
- <Cell col="2" colspan="3" text="건수" taborder="undefined"/>
- <Cell row="1" col="2" text="응급의료센터"/>
- <Cell row="1" col="3" text="508응급병동"/>
- <Cell row="1" col="4" text="합계"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" style="align:center middle;" text="bind:orddeptnm"/>
- <Cell col="2" text="bind:cnt"/>
- <Cell col="3" text="bind:cnt2"/>
- <Cell col="4" text="bind:totcnt"/>
- </Band>
- <Band id="summary">
- <Cell style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="1" style="background:#99ff99ff;background2:#99ff99ff;" text="합계"/>
- <Cell col="2" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('cnt')"/>
- <Cell col="3" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('cnt2')"/>
- <Cell col="4" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('totcnt')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case3" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid id="grd_grdinfo03" taborder="0" binddataset="ds_main_grdinfo03" useinputpanel="false" position="absolute 0 0 965 690" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="0"/>
- <Column size="150"/>
- <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="65"/>
- <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" text="부서코드"/>
- <Cell col="2" rowspan="2" text="부서명" taborder="undefined"/>
- <Cell col="3" colspan="3" text="응급실" taborder="undefined"/>
- <Cell col="6" colspan="3" text="EICU" taborder="undefined"/>
- <Cell col="9" colspan="3" text="응급병동" taborder="undefined"/>
- <Cell col="12" colspan="2" text="508응급병동" taborder="undefined"/>
- <Cell col="14" colspan="3" text="합계" taborder="undefined"/>
- <Cell row="1" col="1" 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="일"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" text="bind:orddeptcd"/>
- <Cell col="2" style="align:center middle;" text="bind:orddeptnm"/>
- <Cell col="3" displaytype="number" style="align:center;" text="bind:emchour" mask="#,##0"/>
- <Cell col="4" displaytype="number" style="align:center;" text="bind:emcmin" mask="#,##0"/>
- <Cell col="5" displaytype="number" style="align:center;" text="bind:emc_d" mask="#,##0"/>
- <Cell col="6" displaytype="number" style="align:center;" text="bind:eicuhour" mask="#,##0"/>
- <Cell col="7" displaytype="number" style="align:center;" text="bind:eicumin" mask="#,##0"/>
- <Cell col="8" displaytype="number" style="align:center;" text="bind:eicu_d" mask="#,##0"/>
- <Cell col="9" displaytype="number" style="align:center;" text="bind:ewardhour" mask="#,##0"/>
- <Cell col="10" displaytype="number" style="align:center;" text="bind:ewardmin" mask="#,##0"/>
- <Cell col="11" displaytype="number" style="align:center;" text="bind:eward_d" mask="#,##0"/>
- <Cell col="12" displaytype="number" style="align:center;" text="bind:ewardmmhour" mask="#,##0"/>
- <Cell col="13" displaytype="number" style="align:center;" text="bind:ewardmmmin" mask="#,##0"/>
- <Cell col="14" displaytype="number" style="align:center;" text="bind:totalhour" mask="#,##0"/>
- <Cell col="15" displaytype="number" style="align:center;" text="bind:totalmin" mask="#,##0"/>
- <Cell col="16" displaytype="number" style="align:center;" text="bind:total_d" mask="#,##0"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case4" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid id="grd_grdinfo04" taborder="0" binddataset="ds_main_grdinfo04" useinputpanel="false" position="absolute 0 0 965 690" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="150"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="진료과"/>
- <Cell col="2" text="건수"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" style="align:center middle;" text="bind:orddeptnm"/>
- <Cell col="2" text="bind:cnt"/>
- </Band>
- <Band id="summary">
- <Cell style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="1" style="background:#99ff99ff;background2:#99ff99ff;" text="합계"/>
- <Cell col="2" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('cnt')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case5" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid id="grd_grdinfo05" taborder="0" binddataset="ds_main_grdinfo05" useinputpanel="false" position="absolute 0 0 965 690" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="0"/>
- <Column size="120"/>
- <Column size="38"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" text="부서코드"/>
- <Cell col="2" rowspan="2" text="부서명" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="환자수" taborder="undefined"/>
- <Cell col="4" colspan="2" text="최초전과" taborder="undefined"/>
- <Cell col="6" colspan="2" text="최초전과평균" taborder="undefined"/>
- <Cell col="8" colspan="2" text="총내원" taborder="undefined"/>
- <Cell col="10" colspan="2" text="총내원평균" taborder="undefined"/>
- <Cell row="1" col="1" 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="분"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" text="bind:orddeptcd"/>
- <Cell col="2" style="align:center;" text="bind:orddeptnm"/>
- <Cell col="3" text="bind:patcnt"/>
- <Cell col="4" displaytype="number" style="align:center;" text="bind:chnghour" mask="#,##0.##"/>
- <Cell col="5" displaytype="number" style="align:center;" text="bind:chngmin" mask="#,##0.##"/>
- <Cell col="6" displaytype="number" style="align:center;" text="bind:avgchnghour" mask="#,##0.##"/>
- <Cell col="7" displaytype="number" style="align:center;" text="bind:avgchngmin" mask="#,##0.##"/>
- <Cell col="8" displaytype="number" style="align:center;" text="bind:keephour" mask="#,##0.##"/>
- <Cell col="9" displaytype="number" style="align:center;" text="bind:keepmin" mask="#,##0.##"/>
- <Cell col="10" displaytype="number" style="align:center;" text="bind:avgkeephour" mask="#,##0.##"/>
- <Cell col="11" displaytype="number" style="align:center;" text="bind:avgkeepmin" mask="#,##0.##"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case6" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid id="grd_grdinfo06" taborder="0" binddataset="ds_main_grdinfo06" useinputpanel="false" position="absolute 0 0 960 690" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="150"/>
- <Column size="100"/>
- <Column size="47"/>
- <Column size="35"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="부서" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="주치의" taborder="undefined"/>
- <Cell col="2" colspan="2" text="시간" taborder="undefined"/>
- <Cell row="1" col="2" text="시"/>
- <Cell row="1" col="3" text="분"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;" text="bind:deptnm"/>
- <Cell col="1" text="bind:orddrnm"/>
- <Cell col="2" style="align:right;" text="bind:hour"/>
- <Cell col="3" style="align:right;" text="bind:minute"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case7" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid id="grd_grdinfo07" taborder="0" binddataset="ds_main_grdinfo07" useinputpanel="false" position="absolute 0 0 965 690" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="150"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell text="진료과"/>
- <Cell col="1" text="입원수"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;" text="bind:deptnm"/>
- <Cell col="1" text="bind:incnt"/>
- </Band>
- <Band id="summary">
- <Cell style="background:#99ff99ff;background2:#99ff99ff;" text="합계"/>
- <Cell col="1" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('incnt')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case8" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid id="grd_grdinfo08" taborder="0" binddataset="ds_main_grdinfo08" useinputpanel="false" position="absolute 0 0 965 690" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="150"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="유형" taborder="undefined"/>
- <Cell col="1" colspan="3" text="환자수" taborder="undefined"/>
- <Cell row="1" col="1" text="응급의료센터"/>
- <Cell row="1" col="2" text="508응급병동"/>
- <Cell row="1" col="3" text="합계"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;" text="bind:typenm"/>
- <Cell col="1" text="bind:cnt"/>
- <Cell col="2" text="bind:cnt2"/>
- <Cell col="3" text="bind:totcnt"/>
- </Band>
- <Band id="summary">
- <Cell style="background:#99ff99ff;background2:#99ff99ff;" text="합계"/>
- <Cell col="1" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('cnt')"/>
- <Cell col="2" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('cnt2')"/>
- <Cell col="3" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('totcnt')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case9"/>
- <Tabpage id="case10"/>
- <Tabpage id="case11">
- <Layouts>
- <Layout width="968" height="689"/>
- </Layouts>
- </Tabpage>
- <Tabpage id="case12"/>
- <Tabpage id="case13"/>
- <Tabpage id="case14"/>
- <Tabpage id="case15" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid id="grd_grdinfo15" taborder="0" binddataset="ds_main_grdinfo15" useinputpanel="false" position="absolute 0 0 965 690" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="150"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell text="부서"/>
- <Cell col="1" text="건수"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;" text="bind:deptnm"/>
- <Cell col="1" text="bind:cnt"/>
- </Band>
- <Band id="summary">
- <Cell style="background:#99ff99ff;background2:#99ff99ff;selectbackground:#99ff99ff;" text="합계"/>
- <Cell col="1" style="background:#99ff99ff;background2:#99ff99ff;selectbackground:#99ff99ff;" text="expr:getSum('cnt')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case16" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid id="grd_grdinfo16" taborder="0" binddataset="ds_main_grdinfo16" useinputpanel="false" position="absolute 0 0 965 690" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="150"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="부서" taborder="undefined"/>
- <Cell col="1" colspan="2" text="응급의료센터" taborder="undefined"/>
- <Cell col="3" colspan="2" text="508응급병동" taborder="undefined"/>
- <Cell col="5" colspan="2" text="합계" taborder="undefined"/>
- <Cell row="1" col="1" text="응급"/>
- <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="정규"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;" text="bind:deptnm"/>
- <Cell col="1" text="bind:ercnt"/>
- <Cell col="2" text="bind:stdcnt"/>
- <Cell col="3" text="bind:ercnt2"/>
- <Cell col="4" text="bind:stdcnt2"/>
- <Cell col="5" text="bind:totercnt"/>
- <Cell col="6" text="bind:totstdcnt"/>
- </Band>
- <Band id="summary">
- <Cell style="background:#99ff99ff;background2:#99ff99ff;" text="합계"/>
- <Cell col="1" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('ercnt')"/>
- <Cell col="2" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('stdcnt')"/>
- <Cell col="3" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('ercnt2')"/>
- <Cell col="4" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('stdcnt2')"/>
- <Cell col="5" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('totercnt')"/>
- <Cell col="6" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('totstdcnt')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case17"/>
- <Tabpage id="case18"/>
- <Tabpage id="case19"/>
- <Tabpage id="case20" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid id="grd_grdinfo20" taborder="0" binddataset="ds_main_grdinfo20" useinputpanel="false" position="absolute 0 0 965 690" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="150"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="진료과" taborder="undefined"/>
- <Cell col="1" colspan="3" text="건수" taborder="undefined"/>
- <Cell row="1" col="1" text="응급의료센터"/>
- <Cell row="1" col="2" text="508응급병동"/>
- <Cell row="1" col="3" text="합계"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;" text="bind:deptnm"/>
- <Cell col="1" text="bind:cnt"/>
- <Cell col="2" text="bind:cnt2"/>
- <Cell col="3" text="bind:totcnt"/>
- </Band>
- <Band id="summary">
- <Cell style="background:#99ff99ff;background2:#99ff99ff;" text="합계"/>
- <Cell col="1" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('cnt')"/>
- <Cell col="2" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('cnt2')"/>
- <Cell col="3" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('totcnt')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case21" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid id="grd_grdinfo21" taborder="0" binddataset="ds_main_grdinfo21" useinputpanel="false" position="absolute 0 0 965 690" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="150"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell text="진료과"/>
- <Cell col="1" text="건수"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;" text="bind:deptnm"/>
- <Cell col="1" text="bind:cnt"/>
- </Band>
- <Band id="summary">
- <Cell style="background:#99ff99ff;background2:#99ff99ff;" text="합계"/>
- <Cell col="1" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('cnt')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case22" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid id="grd_grdinfo22" taborder="0" binddataset="ds_main_grdinfo22" useinputpanel="false" position="absolute 0 0 965 690" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="150"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell text="진료과"/>
- <Cell col="1" text="건수"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;" text="bind:deptnm"/>
- <Cell col="1" text="bind:cnt"/>
- </Band>
- <Band id="summary">
- <Cell style="background:#99ff99ff;background2:#99ff99ff;" text="합계"/>
- <Cell col="1" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('cnt')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case23" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid id="grd_grdinfo23" taborder="0" binddataset="ds_main_grdinfo23" useinputpanel="false" position="absolute 0 0 965 690" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="150"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell text="진료과"/>
- <Cell col="1" text="건수"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;" text="bind:deptnm"/>
- <Cell col="1" text="bind:cnt"/>
- </Band>
- <Band id="summary">
- <Cell style="background:#99ff99ff;background2:#99ff99ff;" text="합계"/>
- <Cell col="1" style="background:#99ff99ff;background2:#99ff99ff;" text="expr:getSum('cnt')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Div id="group1" taborder="4" class="div_SA" position="absolute 210 25 1178 65" type="roundrectangle" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption2" text="일자 :" class="search_name" position="absolute 8 12 53 29" anchor="default"/>
- <Static id="caption3" text="~" position="absolute 148 11 163 31" anchor="default"/>
- <Calendar id="ipt_todd" taborder="7" position="absolute 162 9 247 30" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
- <Button id="btn_settingrnid" taborder="8" text="조회" class="btn1" position="absolute 899 9 955 31" anchor="top right" onclick="group1_btn_settingrnid_onclick"/>
- <Calendar id="ipt_fromdd" taborder="9" position="absolute 60 9 145 30" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
- <Shape id="line3" linetype="vertical" class="line_4" position="absolute 885 7 891 34" anchor="top right"/>
- <CheckBox id="chk_flag" taborder="11" position="absolute 256 12 326 27" anchor="default" text="교수별" truevalue="Y" onclick="group1_chk_flag_onclick"/>
- <Static id="caption4" text="구역구분 :" class="search_name" position="absolute 341 12 412 29" anchor="default"/>
- <Radio id="rdo_deptflag" taborder="12" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 415 12 694 28" anchor="default" style="textpadding:0 5 0 3;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">응급의료센터</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">508응급병동</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Static id="cap_title" text="통계리스트" class="tit_2" position="absolute 213 80 799 98"/>
- <Shape id="line2" linetype="horizontal" class="line_10" position="absolute 213 96 1178 102" anchor="left top right"/>
- <Static id="caption6" text="응급실통계" class="tit_1" position="absolute 0 0 99 25"/>
- <Radio id="rdo_aftyr" taborder="5" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 335 77 865 94">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">2013년이후(CPR통계는 2013년부터 존재합니다.. 이전의 기록은 따로 요청하시기 바랍니다.)</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button id="button1" taborder="6" text="엑셀" class="btn7" position="absolute 1122 73 1178 95" anchor="top right" onclick="button1_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_codeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_grdinfo01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="incnt" type="STRING"/>
- <Column id="outcnt" type="STRING"/>
- <Column id="wardincnt" type="STRING"/>
- <Column id="wardoutcnt" type="STRING"/>
- <Column id="totincnt" type="STRING"/>
- <Column id="totoutcnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_grdinfo02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="cnt" type="STRING"/>
- <Column id="cnt2" type="STRING"/>
- <Column id="totcnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_grdinfo03" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="emchour" type="STRING"/>
- <Column id="emcmin" type="STRING"/>
- <Column id="emc_d" type="STRING"/>
- <Column id="eicuhour" type="STRING"/>
- <Column id="eicumin" type="STRING"/>
- <Column id="eicu_d" type="STRING"/>
- <Column id="ewardhour" type="STRING"/>
- <Column id="ewardmin" type="STRING"/>
- <Column id="eward_d" type="STRING"/>
- <Column id="ewardmmhour" type="STRING"/>
- <Column id="ewardmmmin" type="STRING"/>
- <Column id="totalhour" type="STRING"/>
- <Column id="totalmin" type="STRING"/>
- <Column id="total_d" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_grdinfo04" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="cnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_grdinfo05" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="patcnt" type="STRING"/>
- <Column id="chnghour" type="STRING"/>
- <Column id="chngmin" type="STRING"/>
- <Column id="avgchnghour" type="STRING"/>
- <Column id="avgchngmin" type="STRING"/>
- <Column id="keephour" type="STRING"/>
- <Column id="keepmin" type="STRING"/>
- <Column id="avgkeephour" type="STRING"/>
- <Column id="avgkeepmin" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_grdinfo06" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="hour" type="STRING"/>
- <Column id="minute" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_grdinfo07" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING"/>
- <Column id="incnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_grdinfo08" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="typenm" type="STRING"/>
- <Column id="cnt" type="STRING"/>
- <Column id="cnt2" type="STRING"/>
- <Column id="totcnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_grdinfo15" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING"/>
- <Column id="cnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_grdinfo16" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING"/>
- <Column id="ercnt" type="STRING"/>
- <Column id="stdcnt" type="STRING"/>
- <Column id="ercnt2" type="STRING"/>
- <Column id="stdcnt2" type="STRING"/>
- <Column id="totercnt" type="STRING"/>
- <Column id="totstdcnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_grdinfo20" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING"/>
- <Column id="cnt" type="STRING"/>
- <Column id="cnt2" type="STRING"/>
- <Column id="totcnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_grdinfo21" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING"/>
- <Column id="cnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_grdinfo22" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING"/>
- <Column id="cnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_grdinfo23" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING"/>
- <Column id="cnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="title" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="aftyr" type="STRING" size="256"/>
- <Column id="deptflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="title"/>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="flag"/>
- <Col id="aftyr">2</Col>
- <Col id="deptflag">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_codeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group1.ipt_fromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
- <BindItem id="item1" compid="group1.ipt_todd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
- <BindItem id="item2" compid="group1.chk_flag" propid="value" datasetid="ds_main_cond" columnid="flag"/>
- <BindItem id="item3" compid="rdo_aftyr" propid="value" datasetid="ds_main_cond" columnid="aftyr"/>
- <BindItem id="item4" compid="group1.rdo_deptflag" propid="value" datasetid="ds_main_cond" columnid="deptflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_carecomxp::CareCom.xjs";
- //include "emr_ercarexp::SMMNE01300.xjs";
- /******************************************************************
- * Argument :
- * Description : 초기화
- ******************************************************************/
- function SMMNE10500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMNE10500_onload(obj:Form, e:LoadEventInfo)
- {
- ds_send_reqdata.addColumn("cdgrupid", "string", 256);
- ds_send_reqdata.addColumn("srchdd", "string", 256);
- var iRow = ds_send_reqdata.addRow();
-
- ds_send_reqdata.setColumn(iRow, "cdgrupid", "'U05', 'U06', 'U22'");
- ds_send_reqdata.setColumn(iRow, "srchdd", utlf_getCurrentDate());
-
- var oParam = {};
- oParam.id = "TRMNW00001";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqGetNursHardCdInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_init_codeinfo=codelist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNW00001";
- tranf_submit(oParam);
-
- var dutplcecd = sysf_getUserInfo("dutplcecd");
- var deptcd = ds_init_codeinfo.lookupExpr("cdgrupid == 'U22' && cdid=='" + dutplcecd + "'", "cdid");
-
- if( !utlf_isNull(deptcd) || deptcd == undefined) {
- ds_main_cond.setColumn(0, "deptflag", "1");
- } else {
- ds_main_cond.setColumn(0, "deptflag", "2");
- }
- group1.chk_flag.visible = false;
-
- //frmf_inputEnterKey("btn_search", "onclick", new ClickEventInfo);
- this.setTimer(0, 100);
-
- // ds_main_cond.setColumn(0, "fromdd", utlf_getCurrentDate());
- // ds_main_cond.setColumn(0, "todd", utlf_getCurrentDate());
- //
- // switch1.case6.grd_grdinfo06.setFormatColProperty(switch1.case6.grd_grdinfo06.getBindCellIndex("body", "orddrnm"), "size", 0);
- }
- /******************************************************************
- * Argument :
- * Description : 교수별 checkbox event
- ******************************************************************/
- function group1_chk_flag_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- fSearch();
- }
- /******************************************************************
- * Argument :
- * Description : 조회 button event
- ******************************************************************/
- function group1_btn_settingrnid_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- /******************************************************************
- * Argument :
- * Description : 통계리스트 조회 button event
- ******************************************************************/
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var dutplcecd = sysf_getUserInfo("dutplcecd");
- var deptcd = ds_init_codeinfo.lookupExpr("cdgrupid == 'U22' && cdid=='" + dutplcecd + "'", "cdid");
- var cdgrupid ="T53";
- if( utlf_isNull(deptcd) ) {
- cdgrupid="T53";
- } else {
- cdgrupid="U23";
- }
-
- ds_send_reqdata.setColumn(0, "cdgrupid", cdgrupid);
-
- var oParam = {};
- oParam.id = "TRMNE10501";
- oParam.service = "ercareapp.ERPatMngt";
- oParam.method = "reqGetCodeInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_codeinfo=codelist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNE10501";
- tranf_submit(oParam);
-
- ds_main_codeinfo.rowposition = -1;
- }
- /******************************************************************
- * Argument : fSearch()
- * Description : 조회 event
- ******************************************************************/
- function fSearch(){
- var blockyn = ds_init_codeinfo.lookup("cdgrupid", "U05", "cdid");
- var starttm = ds_init_codeinfo.lookupExpr("cdgrupid == 'U06' && supcdid == '1'", "cdid");
- var endtm = ds_init_codeinfo.lookupExpr("cdgrupid == 'U06' && supcdid == '2'", "cdid");
- var curtm = utlf_getCurrentTime().substr(0,4);
-
- var fromdd = ds_main_cond.getColumn(0, "fromdd");
- var todd = ds_main_cond.getColumn(0, "todd");
-
- var daycnt = utlf_getDateInterval(fromdd, todd);
-
- if(blockyn == "Y") {
-
- if(curtm >= starttm && curtm <= endtm) {
- if(daycnt > 31) {
- sysf_messageBox("일과시간" + starttm + "과 " + endtm + "사이에는 31일 이상을 조회하실 수 없습니다.", "E");
- return;
- }
- }
- }
-
- var cRow = ds_main_codeinfo.rowposition;
- var cdid = ds_main_codeinfo.getColumn(cRow, "cdid");
-
- if(cdid == "06") {
- group1.chk_flag.visible = true;
-
- if( ds_main_cond.getColumn(0, "flag") == "Y") {
- switch1.case6.grd_grdinfo06.setFormatColProperty(switch1.case6.grd_grdinfo06.getBindCellIndex("body", "orddrnm"), "size", 100);
- } else {
- switch1.case6.grd_grdinfo06.setFormatColProperty(switch1.case6.grd_grdinfo06.getBindCellIndex("body", "orddrnm"), "size", 0);
- }
-
- } else {
- group1.chk_flag.visible = false;
- ds_main_cond.setColumn(0, "flag", "");
- }
-
- ds_send.clear();
-
- var deptflag = ds_main_cond.getColumn(0, "deptflag");
-
- var erflag1 = "";
- var erflag2 = "";
-
- if( utlf_isNull(deptflag) ) {
- erflag="";
- erflag2 = "";
- } else if(deptflag=="1") {
- deptflag ="";
- erflag =""
- erflag2 = "Y";
- } else if(deptflag=="2") {
- deptflag ="";
- erflag="Y"
- erflag2="";
- }
-
- ds_send.addColumn("cdid", "string", 256);
- ds_send.addColumn("fromdd", "string", 256);
- ds_send.addColumn("todd", "string", 256);
- ds_send.addColumn("flag", "string", 256);
- ds_send.addColumn("aftyr", "string", 256);
- ds_send.addColumn("deptflag", "string", 256);
- ds_send.addColumn("erflag", "string", 256);
- ds_send.addColumn("erflag2", "string", 256);
- var addRow = ds_send.addRow();
-
- ds_send.setColumn(addRow, "cdid" , cdid);
- ds_send.setColumn(addRow, "fromdd", ds_main_cond.getColumn(0, "fromdd"));
- ds_send.setColumn(addRow, "todd" , ds_main_cond.getColumn(0, "todd"));
- ds_send.setColumn(addRow, "flag" , ds_main_cond.getColumn(0, "flag"));
- ds_send.setColumn(addRow, "aftyr" , ds_main_cond.getColumn(0, "aftyr"));
- ds_send.setColumn(addRow, "deptflag" , deptflag);
- ds_send.setColumn(addRow, "erflag" , erflag);
- ds_send.setColumn(addRow, "erflag2" , erflag2);
-
- var oParam = {};
- oParam.id = "TRMNE10502";
- oParam.service = "ercareapp.ERPatMngt";
- oParam.method = "reqGetGridInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_grdinfo01=grdinfo01 ds_main_grdinfo02=grdinfo02 ds_main_grdinfo03=grdinfo03 ds_main_grdinfo04=grdinfo04"
- + " ds_main_grdinfo05=grdinfo05 ds_main_grdinfo06=grdinfo06 ds_main_grdinfo07=grdinfo07 ds_main_grdinfo08=grdinfo08"
- + " ds_main_grdinfo15=grdinfo15 ds_main_grdinfo16=grdinfo16 ds_main_grdinfo20=grdinfo20 ds_main_grdinfo21=grdinfo21"
- + " ds_main_grdinfo22=grdinfo22 ds_main_grdinfo23=grdinfo23";
- oParam.async = false;
- //oParam.callback = "cf_TRMNE10502";
- tranf_submit(oParam);
-
- ds_main_grdinfo01.rowposition = -1;
- ds_main_grdinfo02.rowposition = -1;
- ds_main_grdinfo03.rowposition = -1;
- ds_main_grdinfo04.rowposition = -1;
- ds_main_grdinfo05.rowposition = -1;
- ds_main_grdinfo06.rowposition = -1;
- ds_main_grdinfo07.rowposition = -1;
- ds_main_grdinfo08.rowposition = -1;
- ds_main_grdinfo15.rowposition = -1;
- ds_main_grdinfo16.rowposition = -1;
- ds_main_grdinfo20.rowposition = -1;
- ds_main_grdinfo21.rowposition = -1;
- ds_main_grdinfo22.rowposition = -1;
- ds_main_grdinfo23.rowposition = -1;
-
- //var grdinfo = document.controls("grd_grdinfo" + cdid);
-
- if( utlf_isNull(cdid) ){
- sysf_messageBox("통계명을 선택해 주십시오.", "E");
- return;
- }
- switch(cdid) {
- case "01":
- switch1.tabindex = 0;
- if( utlf_isNull(erflag) ) {
- switch1.case1.grd_grdinfo01.setFormatColProperty(switch1.case1.grd_grdinfo01.getBindCellIndex("body", "incnt"), "size", 100);
- switch1.case1.grd_grdinfo01.setFormatColProperty(switch1.case1.grd_grdinfo01.getBindCellIndex("body", "outcnt"), "size", 100);
- } else {
- switch1.case1.grd_grdinfo01.setFormatColProperty(switch1.case1.grd_grdinfo01.getBindCellIndex("body", "incnt"), "size", 0);
- switch1.case1.grd_grdinfo01.setFormatColProperty(switch1.case1.grd_grdinfo01.getBindCellIndex("body", "outcnt"), "size", 0);
- }
-
- if( utlf_isNull(erflag2)) {
- switch1.case1.grd_grdinfo01.setFormatColProperty(switch1.case1.grd_grdinfo01.getBindCellIndex("body", "wardincnt"), "size", 100);
- switch1.case1.grd_grdinfo01.setFormatColProperty(switch1.case1.grd_grdinfo01.getBindCellIndex("body", "wardoutcnt"), "size", 100);
- } else {
- switch1.case1.grd_grdinfo01.setFormatColProperty(switch1.case1.grd_grdinfo01.getBindCellIndex("body", "wardincnt"), "size", 0);
- switch1.case1.grd_grdinfo01.setFormatColProperty(switch1.case1.grd_grdinfo01.getBindCellIndex("body", "wardoutcnt"), "size", 0);
- }
- break;
-
- case "02":
- switch1.tabindex = 1;
- if( utlf_isNull(erflag) ) {
- switch1.case2.grd_grdinfo02.setFormatColProperty(switch1.case2.grd_grdinfo02.getBindCellIndex("body", "cnt"), "size", 100);
- } else {
- switch1.case2.grd_grdinfo02.setFormatColProperty(switch1.case2.grd_grdinfo02.getBindCellIndex("body", "cnt"), "size", 0);
- }
-
- if( utlf_isNull(erflag2)) {
- switch1.case2.grd_grdinfo02.setFormatColProperty(switch1.case2.grd_grdinfo02.getBindCellIndex("body", "cnt2"), "size", 100);
- } else {
- switch1.case2.grd_grdinfo02.setFormatColProperty(switch1.case2.grd_grdinfo02.getBindCellIndex("body", "cnt2"), "size", 0);
- }
- break;
- case "03":
- switch1.tabindex = 2;
- if( utlf_isNull(erflag) ) {
- switch1.case3.grd_grdinfo03.setFormatColProperty(switch1.case3.grd_grdinfo03.getBindCellIndex("body", "emchour"), "size", 60);
- switch1.case3.grd_grdinfo03.setFormatColProperty(switch1.case3.grd_grdinfo03.getBindCellIndex("body", "emcmin"), "size", 60);
- switch1.case3.grd_grdinfo03.setFormatColProperty(switch1.case3.grd_grdinfo03.getBindCellIndex("body", "eicuhour"), "size", 60);
- switch1.case3.grd_grdinfo03.setFormatColProperty(switch1.case3.grd_grdinfo03.getBindCellIndex("body", "eicumin"), "size", 60);
- switch1.case3.grd_grdinfo03.setFormatColProperty(switch1.case3.grd_grdinfo03.getBindCellIndex("body", "ewardhour"), "size", 60);
- switch1.case3.grd_grdinfo03.setFormatColProperty(switch1.case3.grd_grdinfo03.getBindCellIndex("body", "ewardmin"), "size", 60);
- } else {
- switch1.case3.grd_grdinfo03.setFormatColProperty(switch1.case3.grd_grdinfo03.getBindCellIndex("body", "emchour"), "size", 0);
- switch1.case3.grd_grdinfo03.setFormatColProperty(switch1.case3.grd_grdinfo03.getBindCellIndex("body", "emcmin"), "size", 0);
- switch1.case3.grd_grdinfo03.setFormatColProperty(switch1.case3.grd_grdinfo03.getBindCellIndex("body", "eicuhour"), "size", 0);
- switch1.case3.grd_grdinfo03.setFormatColProperty(switch1.case3.grd_grdinfo03.getBindCellIndex("body", "eicumin"), "size", 0);
- switch1.case3.grd_grdinfo03.setFormatColProperty(switch1.case3.grd_grdinfo03.getBindCellIndex("body", "ewardhour"), "size", 0);
- switch1.case3.grd_grdinfo03.setFormatColProperty(switch1.case3.grd_grdinfo03.getBindCellIndex("body", "ewardmin"), "size", 0);
- }
-
- if( utlf_isNull(erflag2) ) {
- switch1.case3.grd_grdinfo03.setFormatColProperty(switch1.case3.grd_grdinfo03.getBindCellIndex("body", "ewardmmhour"), "size", 100);
- switch1.case3.grd_grdinfo03.setFormatColProperty(switch1.case3.grd_grdinfo03.getBindCellIndex("body", "ewardmmmin"), "size", 100);
- } else {
- switch1.case3.grd_grdinfo03.setFormatColProperty(switch1.case3.grd_grdinfo03.getBindCellIndex("body", "ewardmmhour"), "size", 0);
- switch1.case3.grd_grdinfo03.setFormatColProperty(switch1.case3.grd_grdinfo03.getBindCellIndex("body", "ewardmmmin"), "size", 0);
- }
- break;
- case "04":
- switch1.tabindex = 3;
- break;
- case "05":
- switch1.tabindex = 4;
- break;
- case "06":
- switch1.tabindex = 5;
- break;
- case "07":
- switch1.tabindex = 6;
- break;
- case "08":
- switch1.tabindex = 7;
- if( utlf_isNull(erflag)) {
- switch1.case8.grd_grdinfo08.setFormatColProperty(switch1.case8.grd_grdinfo08.getBindCellIndex("body", "cnt"), "size", 100);
- } else {
- switch1.case8.grd_grdinfo08.setFormatColProperty(switch1.case8.grd_grdinfo08.getBindCellIndex("body", "cnt"), "size", 0);
- }
-
- if( utlf_isNull(erflag2) ) {
- switch1.case8.grd_grdinfo08.setFormatColProperty(switch1.case8.grd_grdinfo08.getBindCellIndex("body", "cnt2"), "size", 100);
- } else {
- switch1.case8.grd_grdinfo08.setFormatColProperty(switch1.case8.grd_grdinfo08.getBindCellIndex("body", "cnt2"), "size", 0);
- }
- break;
- case "09":
- switch1.tabindex = 8;
- break;
- case "10":
- switch1.tabindex = 9;
- break;
- case "11":
- switch1.tabindex = 10;
- break;
- case "12":
- switch1.tabindex = 11;
- break;
- case "13":
- switch1.tabindex = 12;
- break;
- case "14":
- switch1.tabindex = 13;
- break;
- case "15":
- switch1.tabindex = 14;
- break;
- case "16":
- switch1.tabindex = 15;
- if( utlf_isNull(erflag) ) {
- switch1.case16.grd_grdinfo16.setFormatColProperty(switch1.case16.grd_grdinfo16.getBindCellIndex("body", "ercnt"), "size", 100);
- switch1.case16.grd_grdinfo16.setFormatColProperty(switch1.case16.grd_grdinfo16.getBindCellIndex("body", "stdcnt"), "size", 100);
- } else {
- switch1.case16.grd_grdinfo16.setFormatColProperty(switch1.case16.grd_grdinfo16.getBindCellIndex("body", "ercnt"), "size", 0);
- switch1.case16.grd_grdinfo16.setFormatColProperty(switch1.case16.grd_grdinfo16.getBindCellIndex("body", "stdcnt"), "size", 0);
- }
-
- if( utlf_isNull(erflag2) ) {
- switch1.case16.grd_grdinfo16.setFormatColProperty(switch1.case16.grd_grdinfo16.getBindCellIndex("body", "ercnt2"), "size", 100);
- switch1.case16.grd_grdinfo16.setFormatColProperty(switch1.case16.grd_grdinfo16.getBindCellIndex("body", "stdcnt2"), "size", 100);
- } else {
- switch1.case16.grd_grdinfo16.setFormatColProperty(switch1.case16.grd_grdinfo16.getBindCellIndex("body", "ercnt2"), "size", 0);
- switch1.case16.grd_grdinfo16.setFormatColProperty(switch1.case16.grd_grdinfo16.getBindCellIndex("body", "stdcnt2"), "size", 0);
- }
- break;
- case "20":
- switch1.tabindex = 19;
- if( utlf_isNull(erflag) ) {
- switch1.case20.grd_grdinfo20.setFormatColProperty(switch1.case20.grd_grdinfo20.getBindCellIndex("body", "cnt"), "size", 100);
- } else {
- switch1.case20.grd_grdinfo20.setFormatColProperty(switch1.case20.grd_grdinfo20.getBindCellIndex("body", "cnt"), "size", 0);
- }
-
- if( utlf_isNull(erflag2) ) {
- switch1.case20.grd_grdinfo20.setFormatColProperty(switch1.case20.grd_grdinfo20.getBindCellIndex("body", "cnt2"), "size", 100);
- } else {
- switch1.case20.grd_grdinfo20.setFormatColProperty(switch1.case20.grd_grdinfo20.getBindCellIndex("body", "cnt2"), "size", 0);
- }
- break;
- case "21":
- switch1.tabindex = 20;
- break;
- case "22":
- switch1.tabindex = 21;
- break;
- case "23":
- switch1.tabindex = 22;
- break;
- }
- }
- /******************************************************************
- * Argument :
- * Description : 통계리스트 dbClick event
- ******************************************************************/
- function grd_codelist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var cRow = ds_main_codeinfo.rowposition;
- if( utlf_isNull(cRow) || cRow > -1 ){
-
- var cdid = parseInt(ds_main_codeinfo.getColumn(cRow, "cdid"), 10);
-
- if(cdid == 9){
-
- frmf_modal("SPMNE11000", "SPMNE11000", null, null, null, null, null, null, null, null, null, null, "M");
-
- }else if(cdid == 19){
-
- frmf_modal("SPMNE12000", "SPMNE12000", null, null, null, null, null, null, null, null, null, null, "M");
-
- }else if(cdid == 24){
-
- frmf_modal("SPMNE14000", "SPMNE14000", null, null, null, null, null, null, null, null, null, null, "M");
-
- }else{
- if(cdid=="23") {
- rdo_aftyr.visible = true;
- } else {
- rdo_aftyr.visible = false;
- }
-
- switch1.tabindex = cdid-1;
- ds_main_cond.setColumn(0, "title", ds_main_codeinfo.getColumn(cRow, "cdnm"));
-
- fSearch();
- }
- }
- }
- /******************************************************************
- * Argument :
- * Description : 엑셀button event
- ******************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var cRow = ds_main_codeinfo.rowposition;
- var getCdid = ds_main_codeinfo.getColumn(cRow, "cdid");
- var getCdnm = utlf_transNullToEmpty(ds_main_codeinfo.getColumn(cRow, "cdnm"));
- var tabIdx = switch1.tabindex + 1;
-
- var grdNm = this.switch1.components["case" + tabIdx].components["grd_grdinfo" + getCdid];
- var grdDS = this.objects["ds_main_grdinfo" + getCdid];
-
-
- //if( grdDS.rowcount > 0 ){
- grdf_exportExcel(grdNm, getCdnm, getCdnm, false, "", "user", false);
- // } else {
- // sysf_messageBox("조회된 데이터가 ", "I004");
- // }
- }
- function SMMNE10500_ontimer(obj:Form, e:TimerEventInfo)
- {
- if( e.timerid == 0 ){
- this.killTimer(0);
-
- frmf_inputEnterKey("btn_search", "onclick", new ClickEventInfo);
-
- ds_main_cond.setColumn(0, "fromdd", utlf_getCurrentDate());
- ds_main_cond.setColumn(0, "todd", utlf_getCurrentDate());
-
- switch1.case6.grd_grdinfo06.setFormatColProperty(switch1.case6.grd_grdinfo06.getBindCellIndex("body", "orddrnm"), "size", 0);
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|