12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAES05300" position="absolute 0 0 1203 713" titletext="검사별 수익 통계" oninit="SMAES05300_oninit" onload="SMAES05300_onload">
- <Layouts>
- <Layout>
- <Tab id="switch1" taborder="3" tabindex="0" position="absolute 0 62 1195 711" anchor="all" onchanged="switch1_onchanged">
- <Tabpages>
- <Tabpage id="case1" text="일별">
- <Layouts>
- <Layout>
- <Grid id="grd_daylist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 21 1193 611" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23" band="left"/>
- <Column size="240" band="left"/>
- <Column size="240" band="left"/>
- <Column size="240" band="left"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="80"/>
- </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" colspan="2" text="검사명" taborder="undefined"/>
- <Cell col="4" text="1일"/>
- <Cell col="5" text="2일"/>
- <Cell col="6" text="3일"/>
- <Cell col="7" text="4일"/>
- <Cell col="8" text="5일"/>
- <Cell col="9" text="6일"/>
- <Cell col="10" text="7일"/>
- <Cell col="11" text="8일"/>
- <Cell col="12" text="9일"/>
- <Cell col="13" text="10일"/>
- <Cell col="14" text="11일"/>
- <Cell col="15" text="12일"/>
- <Cell col="16" text="13일"/>
- <Cell col="17" text="14일"/>
- <Cell col="18" text="15일"/>
- <Cell col="19" text="16일"/>
- <Cell col="20" text="17일"/>
- <Cell col="21" text="18일"/>
- <Cell col="22" text="19일"/>
- <Cell col="23" text="20일"/>
- <Cell col="24" text="21일"/>
- <Cell col="25" text="22일"/>
- <Cell col="26" text="23일"/>
- <Cell col="27" text="24일"/>
- <Cell col="28" text="25일"/>
- <Cell col="29" text="26일"/>
- <Cell col="30" text="27일"/>
- <Cell col="31" text="28일"/>
- <Cell col="32" text="29일"/>
- <Cell col="33" text="30일"/>
- <Cell col="34" text="31일"/>
- <Cell col="35" text="합계"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:systkey1"/>
- <Cell col="2" text="bind:systkey2"/>
- <Cell col="3" text="bind:systkey3"/>
- <Cell col="4" displaytype="number" text="bind:item01"/>
- <Cell col="5" displaytype="number" text="bind:item02"/>
- <Cell col="6" displaytype="number" text="bind:item03"/>
- <Cell col="7" displaytype="number" text="bind:item04"/>
- <Cell col="8" displaytype="number" text="bind:item05"/>
- <Cell col="9" displaytype="number" text="bind:item06"/>
- <Cell col="10" displaytype="number" text="bind:item07"/>
- <Cell col="11" displaytype="number" text="bind:item08"/>
- <Cell col="12" displaytype="number" text="bind:item09"/>
- <Cell col="13" displaytype="number" text="bind:item10"/>
- <Cell col="14" displaytype="number" text="bind:item11"/>
- <Cell col="15" displaytype="number" text="bind:item12"/>
- <Cell col="16" displaytype="number" text="bind:item13"/>
- <Cell col="17" displaytype="number" text="bind:item14"/>
- <Cell col="18" displaytype="number" text="bind:item15"/>
- <Cell col="19" displaytype="number" text="bind:item16"/>
- <Cell col="20" displaytype="number" text="bind:item17"/>
- <Cell col="21" displaytype="number" text="bind:item18"/>
- <Cell col="22" displaytype="number" text="bind:item19"/>
- <Cell col="23" displaytype="number" text="bind:item20"/>
- <Cell col="24" displaytype="number" text="bind:item21"/>
- <Cell col="25" displaytype="number" text="bind:item22"/>
- <Cell col="26" displaytype="number" text="bind:item23"/>
- <Cell col="27" displaytype="number" text="bind:item24"/>
- <Cell col="28" displaytype="number" text="bind:item25"/>
- <Cell col="29" displaytype="number" text="bind:item26"/>
- <Cell col="30" displaytype="number" text="bind:item27"/>
- <Cell col="31" displaytype="number" text="bind:item28"/>
- <Cell col="32" displaytype="number" text="bind:item29"/>
- <Cell col="33" displaytype="number" text="bind:item30"/>
- <Cell col="34" displaytype="number" text="bind:item31"/>
- <Cell col="35" displaytype="number" text="bind:total"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" colspan="2" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="총계" taborder="undefined"/>
- <Cell col="4" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item01')"/>
- <Cell col="5" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item02')"/>
- <Cell col="6" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item03')"/>
- <Cell col="7" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item04')"/>
- <Cell col="8" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item05')"/>
- <Cell col="9" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item06')"/>
- <Cell col="10" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item07')"/>
- <Cell col="11" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item08')"/>
- <Cell col="12" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item09')"/>
- <Cell col="13" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item10')"/>
- <Cell col="14" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item11')"/>
- <Cell col="15" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item12')"/>
- <Cell col="16" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item13')"/>
- <Cell col="17" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item14')"/>
- <Cell col="18" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item15')"/>
- <Cell col="19" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item16')"/>
- <Cell col="20" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item17')"/>
- <Cell col="21" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item18')"/>
- <Cell col="22" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item19')"/>
- <Cell col="23" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item20')"/>
- <Cell col="24" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item21')"/>
- <Cell col="25" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item22')"/>
- <Cell col="26" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item23')"/>
- <Cell col="27" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item24')"/>
- <Cell col="28" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item25')"/>
- <Cell col="29" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item26')"/>
- <Cell col="30" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item27')"/>
- <Cell col="31" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item28')"/>
- <Cell col="32" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item29')"/>
- <Cell col="33" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item30')"/>
- <Cell col="34" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item31')"/>
- <Cell col="35" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('total')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2" text="월별">
- <Layouts>
- <Layout>
- <Grid id="grd_monthlist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 21 1193 611" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="240"/>
- <Column size="240"/>
- <Column size="240"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="64"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="검사실" taborder="undefined"/>
- <Cell col="2" rowspan="2" colspan="2" text="검사명" taborder="undefined"/>
- <Cell col="4" colspan="12" text="2006년" taborder="undefined"/>
- <Cell col="16" rowspan="2" text="합계" taborder="undefined"/>
- <Cell col="17" rowspan="2" text="전년도합계" taborder="undefined"/>
- <Cell col="18" rowspan="2" text="증감율(%)" taborder="undefined"/>
- <Cell row="1" col="4" text="1월"/>
- <Cell row="1" col="5" text="2월"/>
- <Cell row="1" col="6" text="3월"/>
- <Cell row="1" col="7" text="4월"/>
- <Cell row="1" col="8" text="5월"/>
- <Cell row="1" col="9" text="6월"/>
- <Cell row="1" col="10" text="7월"/>
- <Cell row="1" col="11" text="8월"/>
- <Cell row="1" col="12" text="9월"/>
- <Cell row="1" col="13" text="10월"/>
- <Cell row="1" col="14" text="11월"/>
- <Cell row="1" col="15" text="12월"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:systkey1"/>
- <Cell col="2" text="bind:systkey2"/>
- <Cell col="3" text="bind:systkey3"/>
- <Cell col="4" displaytype="number" text="bind:item01"/>
- <Cell col="5" displaytype="number" text="bind:item02"/>
- <Cell col="6" displaytype="number" text="bind:item03"/>
- <Cell col="7" displaytype="number" text="bind:item04"/>
- <Cell col="8" displaytype="number" text="bind:item05"/>
- <Cell col="9" displaytype="number" text="bind:item06"/>
- <Cell col="10" displaytype="number" text="bind:item07"/>
- <Cell col="11" displaytype="number" text="bind:item08"/>
- <Cell col="12" displaytype="number" text="bind:item09"/>
- <Cell col="13" displaytype="number" text="bind:item10"/>
- <Cell col="14" displaytype="number" text="bind:item11"/>
- <Cell col="15" displaytype="number" text="bind:item12"/>
- <Cell col="16" displaytype="number" text="bind:total"/>
- <Cell col="17" displaytype="number" text="bind:comparecnt"/>
- <Cell col="18" displaytype="number" text="bind:comparerate"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" colspan="2" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="총계" taborder="undefined"/>
- <Cell col="4" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item01')"/>
- <Cell col="5" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item02')"/>
- <Cell col="6" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item03')"/>
- <Cell col="7" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item04')"/>
- <Cell col="8" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item05')"/>
- <Cell col="9" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item06')"/>
- <Cell col="10" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item07')"/>
- <Cell col="11" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item08')"/>
- <Cell col="12" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item09')"/>
- <Cell col="13" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item10')"/>
- <Cell col="14" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item11')"/>
- <Cell col="15" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item12')"/>
- <Cell col="16" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('total')"/>
- <Cell col="17" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('comparecnt')"/>
- <Cell col="18" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('total') - getSum('comparecnt')) / getSum('comparecnt')) * 100)"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case3" text="분기별">
- <Layouts>
- <Layout>
- <Grid id="grd_qurtlist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 21 1193 611" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="240"/>
- <Column size="125"/>
- <Column size="137"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="73"/>
- </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" rowspan="2" colspan="2" text="검사명" taborder="undefined"/>
- <Cell col="4" colspan="2" text="1분기" taborder="undefined"/>
- <Cell col="6" colspan="2" text="2분기" taborder="undefined"/>
- <Cell col="8" colspan="2" text="3분기" taborder="undefined"/>
- <Cell col="10" colspan="2" text="4분기" taborder="undefined"/>
- <Cell col="12" colspan="4" text="전년도" taborder="undefined"/>
- <Cell col="16" rowspan="2" text="합계" taborder="undefined"/>
- <Cell col="17" rowspan="2" text="전년도합계" taborder="undefined"/>
- <Cell col="18" rowspan="2" text="증감율(%)" taborder="undefined"/>
- <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="1분기"/>
- <Cell row="1" col="13" text="2분기"/>
- <Cell row="1" col="14" text="3분기"/>
- <Cell row="1" col="15" text="4분기"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:systkey1"/>
- <Cell col="2" text="bind:systkey2"/>
- <Cell col="3" text="bind:systkey3"/>
- <Cell col="4" displaytype="number" text="bind:item01"/>
- <Cell col="5" displaytype="number" text="bind:item02"/>
- <Cell col="6" displaytype="number" text="bind:item03"/>
- <Cell col="7" displaytype="number" text="bind:item04"/>
- <Cell col="8" displaytype="number" text="bind:item05"/>
- <Cell col="9" displaytype="number" text="bind:item06"/>
- <Cell col="10" displaytype="number" text="bind:item07"/>
- <Cell col="11" displaytype="number" text="bind:item08"/>
- <Cell col="12" displaytype="number" text="bind:item09"/>
- <Cell col="13" displaytype="number" text="bind:item10"/>
- <Cell col="14" displaytype="number" text="bind:item11"/>
- <Cell col="15" displaytype="number" text="bind:item12"/>
- <Cell col="16" displaytype="number" text="bind:total"/>
- <Cell col="17" displaytype="number" text="bind:comparecnt"/>
- <Cell col="18" displaytype="number" text="bind:comparerate"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" colspan="2" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="총계" taborder="undefined"/>
- <Cell col="4" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item01')"/>
- <Cell col="5" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('item01') - getSum('item09')) / getSum('item09')) * 100)"/>
- <Cell col="6" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item03')"/>
- <Cell col="7" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('item03') - getSum('item10')) / getSum('item10')) * 100)"/>
- <Cell col="8" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item05')"/>
- <Cell col="9" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('item05') - getSum('item11')) / getSum('item11')) * 100)"/>
- <Cell col="10" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item07')"/>
- <Cell col="11" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('item07') - getSum('item12')) / getSum('item12')) * 100)"/>
- <Cell col="12" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item09')"/>
- <Cell col="13" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item10')"/>
- <Cell col="14" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item11')"/>
- <Cell col="15" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item12')"/>
- <Cell col="16" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('total')"/>
- <Cell col="17" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('comparecnt')"/>
- <Cell col="18" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('total') - getSum('comparecnt')) / getSum('comparecnt')) * 100)"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case4" text="년도별">
- <Layouts>
- <Layout>
- <Grid id="grd_yearlist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 21 1193 611" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="26"/>
- <Column size="240"/>
- <Column size="240"/>
- <Column size="240"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="70"/>
- </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" colspan="2" text="검사명" taborder="undefined"/>
- <Cell col="4" text="2005년"/>
- <Cell col="5" text="2006년"/>
- <Cell col="6" text="2007년"/>
- <Cell col="7" text="2008년"/>
- <Cell col="8" text="2009년"/>
- <Cell col="9" text="합계"/>
- <Cell col="10" text="전년도합계"/>
- <Cell col="11" text="증감율(%)"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:systkey1"/>
- <Cell col="2" text="bind:systkey2"/>
- <Cell col="3" text="bind:systkey3"/>
- <Cell col="4" displaytype="number" text="bind:item01"/>
- <Cell col="5" displaytype="number" text="bind:item02"/>
- <Cell col="6" displaytype="number" text="bind:item03"/>
- <Cell col="7" displaytype="number" text="bind:item04"/>
- <Cell col="8" displaytype="number" text="bind:item05"/>
- <Cell col="9" displaytype="number" text="bind:total"/>
- <Cell col="10" displaytype="number" text="bind:comparecnt"/>
- <Cell col="11" displaytype="number" text="bind:comparerate"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" colspan="2" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="총계" taborder="undefined"/>
- <Cell col="4" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item01')"/>
- <Cell col="5" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item02')"/>
- <Cell col="6" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item03')"/>
- <Cell col="7" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item04')"/>
- <Cell col="8" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item05')"/>
- <Cell col="9" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('total')"/>
- <Cell col="10" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('comparecnt')"/>
- <Cell col="11" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('total') - getSum('comparecnt')) / getSum('comparecnt')) * 100)"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="caption6" text="검사별 수입 통계" class="tit_1" position="absolute 0 0 255 23"/>
- <Div id="grp_sea" taborder="1" class="div_SA" position="absolute 0 24 1195 54" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1107 5 1113 25" anchor="top right"/>
- <Button id="btn_sea" taborder="1" text="조회" class="btn1" position="absolute 1120 4 1176 26" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
- <Static id="caption3" text="기준년월 :" class="search_name" position="absolute 311 7 397 24"/>
- <Calendar id="input4" taborder="2" class="input_default" position="absolute 395 6 485 25" mask="yyyy-mm" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onchanged="grp_sea_input4_onchanged" autoselect="true"/>
- <Combo id="cmb_excuroomgrp" taborder="3" innerdataset="@ds_init_initexcuroomgrp" codecolumn="basecdcnts" datacolumn="basecdcnts2" class="combo_default" position="absolute 580 6 698 25" onitemchanged="grp_sea_cmb_excuroomgrp_onitemchanged"/>
- <Combo id="cmb_excuroom" taborder="4" innerdataset="@ds_init_cmb_info_excuroom_initexcuroom" codecolumn="basecd" datacolumn="basecdflagdesc" class="combo_default" position="absolute 700 6 830 25" onitemchanged="grp_sea_cmb_excuroom_onitemchanged"/>
- <Static id="caption7" text="검사실 :" class="search_name" position="absolute 507 7 587 24"/>
- <Static id="caption12" text="구분 :" class="search_name" position="absolute 862 7 924 24"/>
- <Radio id="radio2" taborder="5" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 919 6 1055 24" onitemchanged="grp_sea_radio2_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption5" text="통계구분 :" class="search_name" position="absolute 16 7 102 24"/>
- <Combo id="cmb_statsflag" taborder="6" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 105 6 270 25" onitemchanged="grp_sea_cmb_statsflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">CS</Col>
- <Col id="datacolumn">검사별</Col>
- </Row>
- <Row>
- <Col id="codecolumn">OE</Col>
- <Col id="datacolumn">진료과별</Col>
- </Row>
- <Row>
- <Col id="codecolumn">OR</Col>
- <Col id="datacolumn">진료의별</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line1" class="line_10" position="absolute 0 105 1195 111" anchor="left top right"/>
- <Radio id="rdo_srchioflag" taborder="2" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 260 64 375 82" onitemchanged="rdo_srchioflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">G</Col>
- <Col id="datacolumn">일반</Col>
- </Row>
- <Row>
- <Col id="codecolumn">H</Col>
- <Col id="datacolumn">회기별</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button id="btn_excsave" taborder="4" text="엑셀저장" class="btn7" position="absolute 1115 64 1195 83" anchor="top right" onclick="btn_excsave_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchstatsflag" type="STRING" size="256"/>
- <Column id="srchdate" type="STRING" size="256"/>
- <Column id="excuroomgrpcdid" type="STRING" size="256"/>
- <Column id="excuroomcdid" type="STRING" size="256"/>
- <Column id="srchioflag" type="STRING" size="256"/>
- <Column id="srchseanflag" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchstatsflag">A</Col>
- <Col id="srchflag">D</Col>
- <Col id="srchioflag">A</Col>
- <Col id="srchseanflag">G</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="systkey1" type="STRING" size="256" sumtext="구분1"/>
- <Column id="systkey2" type="STRING" size="256" sumtext="소계" prop="TEXT"/>
- <Column id="systkey3" type="STRING" size="256" sumtext="구분3"/>
- <Column id="item01" type="BIGDECIMAL" size="256" sumtext="1일"/>
- <Column id="item02" type="BIGDECIMAL" size="256" sumtext="2일"/>
- <Column id="item03" type="BIGDECIMAL" size="256" sumtext="3일"/>
- <Column id="item04" type="BIGDECIMAL" size="256" sumtext="4일"/>
- <Column id="item05" type="BIGDECIMAL" size="256" sumtext="5일"/>
- <Column id="item06" type="BIGDECIMAL" size="256" sumtext="6일"/>
- <Column id="item07" type="BIGDECIMAL" size="256" sumtext="7일"/>
- <Column id="item08" type="BIGDECIMAL" size="256" sumtext="8일"/>
- <Column id="item09" type="BIGDECIMAL" size="256" sumtext="9일"/>
- <Column id="item10" type="BIGDECIMAL" size="256" sumtext="10일"/>
- <Column id="item11" type="BIGDECIMAL" size="256" sumtext="11일"/>
- <Column id="item12" type="BIGDECIMAL" size="256" sumtext="12일"/>
- <Column id="item13" type="BIGDECIMAL" size="256" sumtext="13일"/>
- <Column id="item14" type="BIGDECIMAL" size="256" sumtext="14일"/>
- <Column id="item15" type="BIGDECIMAL" size="256" sumtext="15일"/>
- <Column id="item16" type="BIGDECIMAL" size="256" sumtext="16일"/>
- <Column id="item17" type="BIGDECIMAL" size="256" sumtext="17일"/>
- <Column id="item18" type="BIGDECIMAL" size="256" sumtext="18일"/>
- <Column id="item19" type="BIGDECIMAL" size="256" sumtext="19일"/>
- <Column id="item20" type="BIGDECIMAL" size="256" sumtext="20일"/>
- <Column id="item21" type="BIGDECIMAL" size="256" sumtext="21일"/>
- <Column id="item22" type="BIGDECIMAL" size="256" sumtext="22일"/>
- <Column id="item23" type="BIGDECIMAL" size="256" sumtext="23일"/>
- <Column id="item24" type="BIGDECIMAL" size="256" sumtext="24일"/>
- <Column id="item25" type="BIGDECIMAL" size="256" sumtext="25일"/>
- <Column id="item26" type="BIGDECIMAL" size="256" sumtext="26일"/>
- <Column id="item27" type="BIGDECIMAL" size="256" sumtext="27일"/>
- <Column id="item28" type="BIGDECIMAL" size="256" sumtext="28일"/>
- <Column id="item29" type="BIGDECIMAL" size="256" sumtext="29일"/>
- <Column id="item30" type="BIGDECIMAL" size="256" sumtext="30일"/>
- <Column id="item31" type="BIGDECIMAL" size="256" sumtext="31일"/>
- <Column id="total" type="BIGDECIMAL" size="256" sumtext="합계"/>
- <Column id="comparecnt" type="BIGDECIMAL" size="256" sumtext="전년도합계"/>
- <Column id="comparerate" type="BIGDECIMAL" size="256" sumtext="증감율"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="excuroomgrpcdid" type="STRING" size="256" sumtext="검사실그룹코드"/>
- <Column id="basesuppdeptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="rbasecdflag" type="STRING" size="256" sumtext="검사실기본코드구분,검사실"/>
- <Column id="kbasecdflag" type="STRING" size="256" sumtext="검사실기본코드구분,장비코드"/>
- <Column id="nbasecdflag" type="STRING" size="256" sumtext="핵종코드"/>
- <Column id="initflag" type="STRING" size="256" sumtext="astlib,병동병실코드구분,1:병동조회"/>
- <Column id="alladdyn" type="STRING" size="256" sumtext="검사살전체선택"/>
- <Column id="flag" type="STRING" size="256" sumtext="검사살전체선택"/>
- <Column id="baseroomflag" type="STRING" size="256" sumtext="검사실구분코드"/>
- <Column id="srchflag" type="STRING" size="256" sumtext="조회구분"/>
- <Column id="basecdcnts" type="STRING" size="256" sumtext="검사실그룹코드"/>
- <Column id="ebasecdflag" type="STRING" size="256" sumtext="실시자기본코드구분"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_initexcuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecdcnts" type="STRING" size="256" sumtext="검사그룹코드"/>
- <Column id="basecdcnts2" type="STRING" size="256" sumtext="검사그룹코드명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_info_excuroom_initexcuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecd" type="STRING" size="256" sumtext="검사실코드"/>
- <Column id="basecdflagdesc" type="STRING" size="256" sumtext="검사실코드"/>
- <Column id="basecdcnts" type="STRING" size="256" sumtext="검사실코드"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.cmb_excuroomgrp" propid="value" datasetid="ds_send" columnid="excuroomgrpcdid"/>
- <BindItem id="item1" compid="grp_sea.cmb_excuroom" propid="value" datasetid="ds_send" columnid="excuroomcdid"/>
- <BindItem id="item2" compid="grp_sea.radio2" propid="value" datasetid="ds_send" columnid="srchioflag"/>
- <BindItem id="item3" compid="grp_sea.cmb_statsflag" propid="value" datasetid="ds_send" columnid="srchstatsflag"/>
- <BindItem id="item4" compid="rdo_srchioflag" propid="value" datasetid="ds_send" columnid="srchseanflag"/>
- <BindItem id="item5" compid="grp_sea.input4" propid="value" datasetid="ds_send" columnid="srchdate"/>
- </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 "ast_examcurexp::AEZ0001.xjs";
- var vSuppdeptcd;
- function SMAES05300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAES05300_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(switch1.case1.grd_daylist);
- grdf_initGrid(switch1.case2.grd_monthlist);
- grdf_initGrid(switch1.case3.grd_qurtlist);
- grdf_initGrid(switch1.case4.grd_yearlist);
-
- lf_aezfSetSuppDeptcd();
-
- vSuppdeptcd = frmf_getPrestDeptCd();
-
- ds_send.setColumn(0, "suppdeptcd", vSuppdeptcd);
- ds_send.setColumn(0, "srchdate", String(utlf_getCurrentDate()).substr(0,6));
- ds_req.setColumn(0, "basesuppdeptcd", vSuppdeptcd);
-
- switch1.tabindex = 0;
-
- dsf_setFixVal(ds_req, "rbasecdflag:R,kbasecdflag:J,nbasecdflag:N,initflag:1,alladdyn:Y,baseroomflag:1,srchflag:A");
-
- var oParam = {};
- oParam.id = "TRAES09001";
- oParam.service = "examcurestatsapp.NmedStats";
- oParam.method = "reqGetCode";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_init_initexcuroomgrp=initexcuroomgrp";
- oParam.async = false;
- //oParam.callback = "cf_TRAES09001";
- tranf_submit(oParam);
-
- frmf_addComboItem("grp_sea.cmb_excuroomgrp","--전체--","","above");
- grp_sea.cmb_excuroomgrp.index = 0;
-
- grp_sea.cmb_statsflag.index = 0;
-
- switch1.case1.grd_daylist.setFormatColProperty(1, "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(2, "size", 240);
- switch1.case1.grd_daylist.setFormatColProperty(3, "size", 0);
-
- switch1.case2.grd_monthlist.setFormatColProperty(1, "size", 0);
- switch1.case2.grd_monthlist.setFormatColProperty(2, "size", 240);
- switch1.case2.grd_monthlist.setFormatColProperty(3, "size", 0);
-
- switch1.case3.grd_qurtlist.setFormatColProperty(1, "size", 0);
- switch1.case3.grd_qurtlist.setFormatColProperty(2, "size", 240);
- switch1.case3.grd_qurtlist.setFormatColProperty(3, "size", 0);
-
- switch1.case4.grd_yearlist.setFormatColProperty(1, "size", 0);
- switch1.case4.grd_yearlist.setFormatColProperty(2, "size", 240);
- switch1.case4.grd_yearlist.setFormatColProperty(3, "size", 0);
-
- setTitle();
-
- rdo_srchioflag.visible = false;
- }
- function setTitle()
- {
- var srchstatsflag = ds_send.getColumn(0, "srchstatsflag");
- var baseDate = ds_send.getColumn(0, "srchdate") + "01";
-
- ds_main_list_item.clearData();
-
- var sDayCnt = baseDate.toDate().getMonthDay();
- var baseYear = baseDate.substr(0,4);
-
- // 검사별
- if (srchstatsflag == "CS")
- {
- switch1.case1.grd_daylist.setCellProperty("Head", 1, "text", "검사실");
- switch1.case1.grd_daylist.setCellProperty("Head", 2, "text", "검사명");
-
- switch1.case2.grd_monthlist.setCellProperty("Head", 1, "text", "검사실");
- switch1.case2.grd_monthlist.setCellProperty("Head", 2, "text", "검사명");
-
- switch1.case3.grd_qurtlist.setCellProperty("Head", 1, "text", "검사실");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 2, "text", "검사명");
-
- switch1.case4.grd_yearlist.setCellProperty("Head", 1, "text", "검사실");
- switch1.case4.grd_yearlist.setCellProperty("Head", 2, "text", "검사명");
-
- switch1.case1.grd_daylist.setFormatColProperty(1, "size", 0);
- switch1.case2.grd_monthlist.setFormatColProperty(1, "size", 0);
- switch1.case3.grd_qurtlist.setFormatColProperty(1, "size", 0);
- switch1.case4.grd_yearlist.setFormatColProperty(1, "size", 0);
-
- switch1.case1.grd_daylist.setFormatColProperty(2, "size", 240);
- switch1.case2.grd_monthlist.setFormatColProperty(2, "size", 240);
- switch1.case3.grd_qurtlist.setFormatColProperty(2, "size", 240);
- switch1.case4.grd_yearlist.setFormatColProperty(2, "size", 240);
-
- switch1.case1.grd_daylist.setFormatColProperty(3, "size", 0);
- switch1.case2.grd_monthlist.setFormatColProperty(3, "size", 0);
- switch1.case3.grd_qurtlist.setFormatColProperty(3, "size", 0);
- switch1.case4.grd_yearlist.setFormatColProperty(3, "size", 0);
- }
- else if (srchstatsflag == "OE")
- {
- switch1.case1.grd_daylist.setCellProperty("Head", 1, "text", "진료과");
- switch1.case1.grd_daylist.setCellProperty("Head", 2, "text", "검사명");
-
- switch1.case2.grd_monthlist.setCellProperty("Head", 1, "text", "진료과");
- switch1.case2.grd_monthlist.setCellProperty("Head", 2, "text", "검사명");
-
- switch1.case3.grd_qurtlist.setCellProperty("Head", 1, "text", "진료과");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 2, "text", "검사명");
-
- switch1.case4.grd_yearlist.setCellProperty("Head", 1, "text", "진료과");
- switch1.case4.grd_yearlist.setCellProperty("Head", 2, "text", "검사명");
-
- switch1.case1.grd_daylist.setFormatColProperty(1, "size", 100);
- switch1.case2.grd_monthlist.setFormatColProperty(1, "size", 100);
- switch1.case3.grd_qurtlist.setFormatColProperty(1, "size", 100);
- switch1.case4.grd_yearlist.setFormatColProperty(1, "size", 100);
-
-
- switch1.case1.grd_daylist.setFormatColProperty(2, "size", 240);
- switch1.case2.grd_monthlist.setFormatColProperty(2, "size", 240);
- switch1.case3.grd_qurtlist.setFormatColProperty(2, "size", 240);
- switch1.case4.grd_yearlist.setFormatColProperty(2, "size", 240);
-
- switch1.case1.grd_daylist.setFormatColProperty(3, "size", 0);
- switch1.case2.grd_monthlist.setFormatColProperty(3, "size", 0);
- switch1.case3.grd_qurtlist.setFormatColProperty(3, "size", 0);
- switch1.case4.grd_yearlist.setFormatColProperty(3, "size", 0);
- }
- else if (srchstatsflag == "OR")
- {
- switch1.case1.grd_daylist.setCellProperty("Head", 1, "text", "진료과");
- switch1.case1.grd_daylist.setCellProperty("Head", 2, "text", "진료의");
-
- switch1.case2.grd_monthlist.setCellProperty("Head", 1, "text", "진료과");
- switch1.case2.grd_monthlist.setCellProperty("Head", 2, "text", "진료의");
-
- switch1.case3.grd_qurtlist.setCellProperty("Head", 1, "text", "진료과");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 2, "text", "진료의");
-
- switch1.case4.grd_yearlist.setCellProperty("Head", 1, "text", "진료과");
- switch1.case4.grd_yearlist.setCellProperty("Head", 2, "text", "진료의");
-
- switch1.case1.grd_daylist.setFormatColProperty(1, "size", 100);
- switch1.case2.grd_monthlist.setFormatColProperty(1, "size", 100);
- switch1.case3.grd_qurtlist.setFormatColProperty(1, "size", 100);
- switch1.case4.grd_yearlist.setFormatColProperty(1, "size", 100);
-
- switch1.case1.grd_daylist.setFormatColProperty(2, "size", 100);
- switch1.case2.grd_monthlist.setFormatColProperty(2, "size", 100);
- switch1.case3.grd_qurtlist.setFormatColProperty(2, "size", 100);
- switch1.case4.grd_yearlist.setFormatColProperty(2, "size", 100);
-
- switch1.case1.grd_daylist.setFormatColProperty(3, "size", 240);
- switch1.case2.grd_monthlist.setFormatColProperty(3, "size", 240);
- switch1.case3.grd_qurtlist.setFormatColProperty(3, "size", 240);
- switch1.case4.grd_yearlist.setFormatColProperty(3, "size", 240);
- }
- switch1.case2.grd_monthlist.setCellProperty("Head", 3, "text", baseYear+"년");
-
- for(var i = 7; i > 2; i--)
- {
- switch1.case4.grd_yearlist.setCellProperty("Head", i, "text", baseYear+"년");
- baseYear = baseYear-1;
- }
-
- if(sDayCnt > 30)
- {
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 38);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 38);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 38);
- }
- else if(sDayCnt == 29)
- {
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 38);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 0);
- }
- else if(sDayCnt < 29)
- {
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 0);
- }
- else
- {
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 38);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 38);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 0);
- }
- }
- function grp_sea_cmb_statsflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- setTitle();
- }
- function grp_sea_input4_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- ds_send.setColumn(0, "srchdate", String(obj.value).substr(0,6));
-
- setTitle();
- }
- function grp_sea_cmb_excuroomgrp_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var excuroomgrpcdid = obj.value;
-
- if (utlf_isNull(excuroomgrpcdid))
- {
- grp_sea.cmb_excuroom.enable = false;
- }
- else
- {
- grp_sea.cmb_excuroom.enable = true;
- }
-
- ds_req.setColumn(0, "basecdcnts", excuroomgrpcdid);
- ds_req.setColumn(0, "excuroomgrpcdid", excuroomgrpcdid);
-
- var oParam = {};
- oParam.id = "TRAEA01418";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetInitNuclExamCureInfo";
- oParam.inds = "reqparam=ds_req";
- oParam.outds = "ds_init_cmb_info_excuroom_initexcuroom=initexcuroom";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA01418";
- tranf_submit(oParam);
-
- ds_main_list_item.clearData();
- }
- function grp_sea_cmb_excuroom_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- getNmedSytsStatsCaseList();
- }
- function grp_sea_radio2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- getNmedSytsStatsCaseList();
- }
- function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- getNmedSytsStatsCaseList();
- }
- function getNmedSytsStatsCaseList()
- {
- if (switch1.tabindex == 0)
- {
- ds_send.setColumn(0, "srchflag", "D");
- }
- else if (switch1.tabindex == 1)
- {
- ds_send.setColumn(0, "srchflag", "M");
- }
- else if (switch1.tabindex == 2)
- {
- ds_send.setColumn(0, "srchflag", "Q");
- }
- else if (switch1.tabindex == 3)
- {
- ds_send.setColumn(0, "srchflag", "Y");
- }
-
- ds_main_list_item.clearData();
-
- var oParam = {};
- oParam.id = "TRAES05301";
- oParam.service = "examcurestatsapp.NmedStats";
- oParam.method = "reqGetNmedSytsStatsIncmList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAES05301";
- tranf_submit(oParam);
- }
- function cf_TRAES05301(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return;
- }
- else
- {
- var cnt = ds_main_list_item.rowcount;
-
- if(cnt > 0)
- {
- var srchstatsflag = ds_send.getColumn(0, "srchstatsflag");
- if(srchstatsflag == "CS")
- {
-
- }
- else if (srchstatsflag == "OR")
- {
- ds_main_list_item.keystring = "G:systkey1";
- }
- else
- {
- ds_main_list_item.keystring = "G:systkey1";
- }
- }
- }
- }
- function rdo_srchioflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- getNmedSytsStatsCaseList();
- }
- function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(obj.tabindex == 0)
- {
- ds_main_list_item.clearData();
- rdo_srchioflag.visible = false;
-
- getNmedSytsStatsCaseList();
- }
- else if(obj.tabindex == 1)
- {
- ds_main_list_item.clearData();
- rdo_srchioflag.visible = false;
- getNmedSytsStatsCaseList();
- }
- else if(obj.tabindex == 2)
- {
- ds_main_list_item.clearData();
- rdo_srchioflag.visible = true;
- getNmedSytsStatsCaseList();
- }
- else if(obj.tabindex == 3)
- {
- ds_main_list_item.clearData();
- rdo_srchioflag.visible = false;
- getNmedSytsStatsCaseList();
- }
- }
- function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if(switch1.tabindex == 0)
- {
- grdf_exportExcel(switch1.case1.grd_daylist, "", "");
- }
- else if(switch1.tabindex == 1)
- {
- grdf_exportExcel(switch1.case2.grd_monthlist, "", "");
- }
- else if(switch1.tabindex == 2)
- {
- grdf_exportExcel(switch1.case3.grd_qurtlist, "", "");
- }
- else if(switch1.tabindex == 3)
- {
- grdf_exportExcel(switch1.case4.grd_yearlist, "", "");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|