12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMADB01900" position="absolute 0 0 1256 812" titletext="약품편람조회" onload="SMADB01900_onload" onmousemove="SMADB01900_onmousemove">
- <Layouts>
- <Layout>
- <Div id="group3" position="absolute 0 28 1256 788" anchor="all" positiontype="position" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Tab id="switch1" position="absolute 0 0 1256 758" anchor="all" onchanged="group3_switch1_onchanged" positiontype="position">
- <Tabpages>
- <Tabpage id="case1" position="absolute 0 0 1195 717" text="목차" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Tab id="switch2" position="absolute 360 269 1256 732" anchor="all" positiontype="position">
- <Tabpages>
- <Tabpage id="case4" position="absolute 0 0 808 403" text="기본정보">
- <Layouts>
- <Layout>
- <Static id="caption1" class="search_name" position="absolute 0 -1 73 19" anchor="default" text="상품명" positiontype="position"/>
- <Static id="caption2" class="search_name" position="absolute 0 144 73 164" anchor="default" text="성분" positiontype="position"/>
- <Static id="caption3" class="search_name" position="absolute 0 290 73 310" anchor="default" text="약가" positiontype="position"/>
- <Static id="caption4" class="search_name" position="absolute 375 -1 431 19" anchor="default" text="용법" positiontype="position"/>
- <Static id="Static05" text="h5" class="sta_guide" visible="false" position="absolute 9 142 100 147" anchor="default"/>
- <Static id="Static00" text="h5" class="sta_guide" visible="false" position="absolute 9 287 100 292" anchor="default"/>
- <Static id="Static14" text="w 10" class="sta_guide" visible="false" position="absolute 365 103 375 218" anchor="default"/>
- <TextArea id="tar_drugnm1" taborder="5" position="absolute 0 19 363 141" scrollbars="autoboth" wordwrap="word" style="border:1 solid black ;font:Dotum,11;" readonly="true" maxlength="0" anchor="default"/>
- <TextArea id="tar_comnm1" taborder="6" scrollbars="autovert" wordwrap="word" position="absolute 0 163 363 285" style="border:1 solid black ;font:Dotum,11;" readonly="true" anchor="default"/>
- <TextArea id="tar_cost1" taborder="7" scrollbars="autovert" wordwrap="word" position="absolute 0 311 363 433" style="border:1 solid black ;font:Dotum,11;" readonly="true" anchor="default"/>
- <TextArea id="tar_mthdvolsmm1" taborder="8" scrollbars="autovert" wordwrap="word" position="absolute 377 19 889 434" style="border:1 solid black ;font:Dotum,11;" readonly="true" anchor="all"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case5" text="약리작용 및 효능">
- <Layouts>
- <Layout>
- <Static id="caption5" class="search_name" position="absolute 0 -1 145 19" anchor="default" text="약리작용 및 효능" positiontype="position"/>
- <TextArea id="tar_efcysmm1" taborder="1" position="absolute 0 22 889 432" style="border:1 solid black ;font:Dotum,11;" readonly="true" anchor="all" wordwrap="char" scrollbars="autovert"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case6" text="부작용">
- <Layouts>
- <Layout>
- <Static id="caption23" class="search_name" position="absolute 0 -1 73 19" anchor="default" text="부작용" positiontype="position"/>
- <TextArea id="tar_seffcsmm1" taborder="1" position="absolute 2 19 888 434" scrollbars="autovert" readonly="true" style="border:1 solid black ;font:Dotum,11;" anchor="all"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case7" text="주의/금기/참고문헌">
- <Layouts>
- <Layout>
- <Static id="caption24" class="search_name" position="absolute 0 -1 81 19" text="주의/금기" anchor="default" positiontype="position"/>
- <Static id="caption25" class="search_name" position="absolute 1 223 126 240" text="참고문헌" anchor="default" positiontype="position"/>
- <TextArea id="tar_refcnts1" taborder="1" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 1 243 889 430" style="border:1 solid black ;font:Dotum,11;" anchor="all"/>
- <TextArea id="tar_etc1" taborder="2" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 1 20 889 217" style="border:1 solid black ;font:Dotum,11;" anchor="left top right"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Div id="grp_img1" position="absolute 907 4 1256 259" anchor="top right" style="background:transparent;border:1 solid #808080ff ;" onmouseleave="group3_switch1_case1_grp_img1_onmouseleave" positiontype="position">
- <Layouts>
- <Layout>
- <Button id="button1" taborder="0" text="-축소" onlbuttonup="button1_onlbuttonup" class="btn2" position="absolute 282 204 335 224" anchor="top right" onclick="button1_onclick" positiontype="position"/>
- <Button id="button25" taborder="1" text="+확대" class="btn2" position="absolute 226 204 279 224" anchor="top right" onclick="button25_onclick" positiontype="position"/>
- <ImageViewer id="img_phot1" taborder="2" position="absolute 8 65 341 180" anchor="top right" stretch="fit"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_druglist1" position="absolute 360 4 903 259" anchor="left top right" binddataset="ds_grid_grd_druglist1" oncelldblclick="group3_switch1_case1_grd_druglist1_oncelldblclick" autofittype="col" positiontype="position" oncellclick="group3_switch1_case1_grd_druglist1_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="150"/>
- <Column size="130"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="처방입력구분"/>
- <Cell col="1" text="약품코드"/>
- <Cell col="2" text="상품명"/>
- <Cell col="3" text="성분명"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="none" style="align:left;" text="bind:ordinptflag" combodataset="ds_init_ordinptflag" combocodecol="value" combodatacol="label"/>
- <Cell col="1" displaytype="normal" edittype="none" style="align:left;" text="bind:drugcd"/>
- <Cell col="2" displaytype="normal" edittype="none" style="align:left;" text="bind:drugnm"/>
- <Cell col="3" displaytype="normal" edittype="none" style="align:left;" text="bind:comnm"/>
- <Cell col="4"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit readonly="true" id="opt_title1" position="absolute 916 185 1249 205" style="align:center middle;" anchor="top right" visible="false" positiontype="position"/>
- <Grid id="trv_druglist" taborder="1" binddataset="ds_trv_druglist" useinputpanel="false" position="absolute 0 4 350 730" autoenter="select" treeusecheckbox="false" treeuseexpandkey="true" treeusebutton="use" anchor="left top bottom" oncelldblclick="group3_switch1_case1_trv_druglist_oncelldblclick" treeinitstatus="expand,null" oncellclick="group3_switch1_case1_trv_druglist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="347"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell text="bind:efcycd"/>
- <Cell col="1" displaytype="tree" edittype="tree" text="bind:efcynm" treelevel="bind:efcylevel"/>
- <Cell col="2" text="bind:efcylevel"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_totimg1" position="absolute 358 44 960 269" anchor="top right" style="background:aliceblue;border:1 solid #808080ff ;" visible="false" positiontype="position">
- <Layouts>
- <Layout width="602" height="225">
- <ImageViewer id="img_totphot1" position="absolute -1 -1 599 222" anchor="all" visible="true" stretch="fit" positiontype="position"/>
- <Edit readonly="true" id="opt_tottitle1" position="absolute -1 197 599 217" style="align:center middle;" anchor="top right" visible="false" positiontype="position"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <InitValue/>
- </Tabpage>
- <Tabpage id="case2" text="색인">
- <Layouts>
- <Layout>
- <Grid id="grd_druglist2" class="datagrid2" position="absolute 252 1 913 256" anchor="left top right" onclick="grd_druglist2_onclick" binddataset="ds_main_druglist" oncelldblclick="group3_switch1_case2_grd_druglist2_oncelldblclick" autofittype="col" positiontype="position" oncellclick="group3_switch1_case2_grd_druglist2_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="90"/>
- <Column size="100"/>
- <Column size="254"/>
- <Column size="201"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="처방입력구분"/>
- <Cell col="1" text="약품코드"/>
- <Cell col="2" text="상품명"/>
- <Cell col="3" text="성분명"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="none" style="align:center middle;" text="bind:ordinptflag" combodataset="ds_init_ordinptflag2" combocodecol="value" combodatacol="label"/>
- <Cell col="1" displaytype="normal" edittype="none" style="align:left;" text="bind:drugcd"/>
- <Cell col="2" displaytype="normal" edittype="none" style="align:left;" text="bind:drugnm"/>
- <Cell col="3" displaytype="normal" edittype="none" style="align:left;" text="bind:comnm"/>
- <Cell col="4"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_img2" position="absolute 916 1 1255 256" anchor="top right" style="border:1 solid #808080ff ;" positiontype="position">
- <Layouts>
- <Layout>
- <ImageViewer id="img_phot2" position="absolute 2 47 332 162" anchor="top right" stretch="fit" positiontype="position"/>
- <Edit readonly="true" id="opt_title2" position="absolute 2 172 332 192" style="align:center middle;" anchor="top right" positiontype="position"/>
- <Button id="button2" class="btn2" position="absolute 223 195 276 215" anchor="top right" text="+확대" onclick="group3_switch1_case2_grp_img2_button2_onclick" positiontype="position"/>
- <Button id="button3" class="btn2" position="absolute 279 195 332 215" anchor="top right" text="-축소" onclick="group3_switch1_case2_grp_img2_button3_onclick" positiontype="position"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group5" taborder="1" style="align:center top;" class="div_SA" position="absolute 0 0 244 729" anchor="default">
- <Layouts>
- <Layout>
- <Static id="caption11" text="내용조회 혹은 효능조회를 선택하고,찾는약품정보를 검색하십시오." onclick="caption11_onclick" position="absolute 8 0 164 60" style="align:left middle;" anchor="default" positiontype="position"/>
- <Static id="caption6" onclick="group5_caption6_onclick" class="search_name" position="absolute 18 80 22 97" anchor="default" positiontype="position"/>
- <Radio id="rdo_srchflag1" taborder="31" columncount="0" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 31 77 111 97" anchor="default" index="0" value="1" onitemchanged="group3_switch1_case2_group5_rdo_srchflag1_onitemchanged" positiontype="position">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">내용조회</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio id="rdo_srchcntsflag" taborder="32" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 10 102 220 192" anchor="default" index="0" value="1" style="background:#e3ddd1ff;border:1 solid #808080ff ;padding:1 0 0 10;bordertype:round 10 10 lefttop righttop leftbottom rightbottom;" onitemchanged="group3_switch1_case2_group5_rdo_srchcntsflag_onitemchanged" positiontype="position">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">약품코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">성분명</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">영문상품명</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">한글상품명</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio id="rdo_srchflag" taborder="33" columncount="0" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 31 222 111 242" anchor="default" index="-1" onitemchanged="group3_switch1_case2_group5_rdo_srchflag_onitemchanged" positiontype="position">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">효능조회</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Combo id="cmb_srchefcy1" taborder="34" position="absolute 9 247 233 267" anchor="default" onitemchanged="group3_switch1_case2_group5_cmb_srchefcy1_onitemchanged" innerdataset="@ds_init_srchefcy1" datacolumn="efcynm" codecolumn="efcycd" positiontype="position"/>
- <Combo id="cmb_srchefcy2" taborder="35" position="absolute 9 272 233 292" anchor="default" onitemchanged="group3_switch1_case2_group5_cmb_srchefcy2_onitemchanged" innerdataset="@ds_init_srchefcy2" datacolumn="efcynm" codecolumn="efcycd" positiontype="position"/>
- <Combo id="cmb_srchefcy3" taborder="36" position="absolute 9 297 233 317" anchor="default" onitemchanged="group3_switch1_case2_group5_cmb_srchefcy3_onitemchanged" datacolumn="efcynm" codecolumn="efcycd" innerdataset="@ds_init_srchefcy3" positiontype="position"/>
- <Combo id="cmb_srchefcy4" taborder="37" position="absolute 9 322 233 342" anchor="default" onitemchanged="group3_switch1_case2_group5_cmb_srchefcy4_onitemchanged" innerdataset="@ds_init_srchefcy4" datacolumn="efcynm" codecolumn="efcycd" positiontype="position"/>
- <Combo id="cmb_srchefcy5" taborder="38" position="absolute 9 347 233 367" anchor="default" onitemchanged="group3_switch1_case2_group5_cmb_srchefcy5_onitemchanged" innerdataset="@ds_init_srchefcy5" datacolumn="efcynm" codecolumn="efcycd" positiontype="position"/>
- <Button id="btn_sea" taborder="39" text="조회" class="btn1" position="absolute 67 397 123 417" anchor="default" onclick="group3_switch1_case2_group5_btn_sea_onclick" positiontype="position"/>
- <Edit id="ipt_srchdrugcd" taborder="40" class="input_search" position="absolute 9 197 182 217" anchor="default" imemode="alpha" maxlength="12" onkeyup="group3_switch1_case2_group5_ipt_srchdrugcd_onkeyup" positiontype="position"/>
- <Static id="caption13" class="tit_2" position="absolute 8 225 28 242" anchor="default" positiontype="position"/>
- <CheckBox id="chk_hosout" taborder="41" text="원외전용" onclick="lst_druglist_onclick" visible="true" position="absolute 8 371 97 393" anchor="default" truevalue="Y" falsevalue="N"/>
- <Static id="Static00" position="absolute 10 461 236 705" class="sta_DA_box" anchor="default"/>
- <Static id="Static01" text="* 원외전용약제(관리분류)" position="absolute 13 436 176 457" visible="false" style="font:돋움,9,bold;" anchor="default"/>
- <Static id="caption00" class="tit_2" position="absolute 16 473 124 490" text="원내원외구분" anchor="default"/>
- <Edit id="Edit_hosinflag" taborder="42" position="absolute 19 498 225 518" style="align:center middle;" anchor="default"/>
- <Static id="caption01" text="품절삭제여부" class="tit_2" position="absolute 16 529 124 546" anchor="default"/>
- <Edit id="Edit_absnyn" taborder="43" position="absolute 19 554 225 574" style="align:center middle;" anchor="default"/>
- <Static id="caption02" text="산제불가여부" class="tit_2" position="absolute 16 585 124 602" anchor="default"/>
- <Edit id="Edit_powdimpsi" taborder="44" position="absolute 19 610 225 630" style="align:center middle;" anchor="default"/>
- <Static id="caption03" text="처방분할금지여부" class="tit_2" position="absolute 16 641 145 658" anchor="default"/>
- <Edit id="Edit_devidebanyn" taborder="45" position="absolute 19 666 225 686" style="align:center middle;" anchor="default"/>
- <Static id="caption04" class="tit_2" position="absolute 8 80 28 97" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Tab id="switch3" anchor="all" taborder="2" tabindex="0" position="absolute 256 269 1249 731" style="font:Dotum,9;">
- <Tabpages>
- <Tabpage id="case4" text="기본정보">
- <Layouts>
- <Layout>
- <Static id="caption1" text="상품명" class="search_name" position="absolute 0 -1 73 19" anchor="default"/>
- <Static id="caption2" text="성분" class="search_name" position="absolute 0 144 73 164" anchor="default"/>
- <Static id="caption3" text="약가" class="search_name" position="absolute 0 290 73 310" anchor="default"/>
- <Static id="caption4" text="용법" class="search_name" position="absolute 375 -1 431 19" anchor="default"/>
- <Static id="Static05" text="h5" class="sta_guide" visible="false" position="absolute 9 142 100 147" anchor="default"/>
- <Static id="Static00" text="h5" class="sta_guide" visible="false" position="absolute 9 287 100 292" anchor="default"/>
- <Static id="Static14" text="w 10" class="sta_guide" visible="false" position="absolute 365 103 375 218" anchor="default"/>
- <TextArea id="tar_drugnm1" taborder="9" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 0 19 363 141" style="background:stretch 5,5;border:1 solid black ;font:Dotum,11;" anchor="default"/>
- <TextArea id="tar_comnm1" taborder="10" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 0 163 363 285" style="background:stretch 5,5;border:1 solid black ;font:Dotum,11;" anchor="default"/>
- <TextArea id="tar_cost1" taborder="11" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 0 311 363 433" style="background:stretch 5,5;border:1 solid black ;font:Dotum,11;" anchor="default"/>
- <TextArea id="tar_mthdvolsmm1" taborder="12" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 377 19 993 434" style="background:stretch 5,5;border:1 solid black ;font:Dotum,11;" anchor="all"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case5" text="약리작용 및 효능">
- <Layouts>
- <Layout>
- <Static id="caption5" text="약리작용 및 효능" class="search_name" position="absolute 0 -1 145 19" anchor="default"/>
- <TextArea id="tar_efcysmm1" taborder="1" position="absolute 0 22 990 432" style="border:1 solid black ;font:Dotum,11;" readonly="true" anchor="all" wordwrap="char" scrollbars="autovert"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case6" text="부작용">
- <Layouts>
- <Layout>
- <Static id="caption23" text="부작용" class="search_name" position="absolute 0 -1 73 19" anchor="default"/>
- <TextArea id="tar_seffcsmm1" taborder="1" scrollbars="autovert" readonly="true" position="absolute 2 19 992 434" style="border:1 solid black ;font:Dotum,11;" anchor="all" wordwrap="char"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case7" text="주의/금기/참고문헌">
- <Layouts>
- <Layout>
- <Static id="caption24" text="주의/금기" class="search_name" position="absolute 0 -1 81 19" anchor="default"/>
- <Static id="caption25" text="참고문헌" class="search_name" position="absolute 1 223 126 240" anchor="default"/>
- <TextArea id="tar_refcnts1" taborder="3" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 1 243 992 430" style="border:1 solid black ;font:Dotum,11;" anchor="all"/>
- <TextArea id="tar_etc1" taborder="4" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 1 20 992 217" style="border:1 solid black ;font:Dotum,11;" anchor="left top right"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Div id="grp_totimg2" anchor="top right" taborder="3" style="background:aliceblue;border:1 solid #808080ff ;" visible="false" position="absolute 358 36 960 261">
- <Layouts>
- <Layout width="602" height="225">
- <ImageViewer id="img_totphot2" taborder="1" stretch="fit" position="absolute -1 -1 599 222" anchor="all"/>
- <Edit id="opt_tottitle2" taborder="2" readonly="true" visible="false" position="absolute -1 197 599 217" anchor="top right" style="align:center middle;"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case3" text="전체코드중/약품명찾기">
- <Layouts>
- <Layout>
- <Tab id="switch4" anchor="all" taborder="6" tabindex="0" position="absolute 280 268 1247 729">
- <Tabpages>
- <Tabpage id="case4" text="기본정보">
- <Layouts>
- <Layout>
- <Static id="caption1" text="상품명" class="search_name" position="absolute 0 -1 73 19" anchor="default"/>
- <Static id="caption2" text="성분" class="search_name" position="absolute 0 144 73 164" anchor="default"/>
- <Static id="caption3" text="약가" class="search_name" position="absolute 0 290 73 310" anchor="default"/>
- <Static id="caption4" text="용법" class="search_name" position="absolute 375 -1 431 19" anchor="default"/>
- <Static id="Static05" text="h5" class="sta_guide" visible="false" position="absolute 9 142 100 147" anchor="default"/>
- <Static id="Static00" text="h5" class="sta_guide" visible="false" position="absolute 9 287 100 292" anchor="default"/>
- <Static id="Static14" text="w 10" class="sta_guide" visible="false" position="absolute 365 103 375 218" anchor="default"/>
- <TextArea id="tar_drugnm1" taborder="13" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 0 19 363 141" style="border:1 solid black ;font:Dotum,11;" anchor="default"/>
- <TextArea id="tar_comnm1" taborder="14" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 0 163 363 285" style="border:1 solid black ;font:Dotum,11;" anchor="default"/>
- <TextArea id="tar_cost1" taborder="15" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 0 311 363 433" style="border:1 solid black ;font:Dotum,11;" anchor="default"/>
- <TextArea id="tar_mthdvolsmm1" taborder="16" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 377 19 961 434" style="border:1 solid black ;font:Dotum,11;" anchor="all"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case5" text="약리작용 및 효능">
- <Layouts>
- <Layout>
- <Static id="caption5" text="약리작용 및 효능" class="search_name" position="absolute 0 -1 145 19" anchor="default"/>
- <TextArea id="tar_efcysmm1" taborder="1" position="absolute 0 22 966 434" style="border:1 solid black ;font:Dotum,11;" readonly="true" anchor="all" wordwrap="char" scrollbars="autovert"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case6" text="부작용">
- <Layouts>
- <Layout>
- <Static id="caption23" text="부작용" class="search_name" position="absolute 0 -1 73 19" anchor="default"/>
- <TextArea id="tar_seffcsmm1" taborder="1" scrollbars="autovert" readonly="true" position="absolute 2 19 966 434" style="border:1 solid black ;font:Dotum,11;" wordwrap="char" anchor="all"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case7" text="주의/금기/참고문헌">
- <Layouts>
- <Layout>
- <Static id="caption24" text="주의/금기" class="search_name" position="absolute 0 -1 81 19" anchor="default"/>
- <Static id="caption25" text="참고문헌" class="search_name" position="absolute 1 223 126 240" anchor="default"/>
- <TextArea id="tar_refcnts1" taborder="5" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 1 243 966 430" style="border:1 solid black ;font:Dotum,11;" anchor="all"/>
- <TextArea id="tar_etc1" taborder="6" scrollbars="autovert" wordwrap="word" readonly="true" position="absolute 1 20 966 217" anchor="left top right" style="border:1 solid black ;font:Dotum,11;"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="Static01" position="absolute 82 7 264 33" style="background:beige;" anchor="default"/>
- <Div id="grp_img3" position="absolute 918 0 1256 255" anchor="top right" style="border:1 solid #808080ff ;" positiontype="position">
- <Layouts>
- <Layout>
- <Button id="button28" class="btn2" position="absolute 224 203 277 223" anchor="top right" text="+확대" onclick="group3_switch1_case3_grp_img3_button28_onclick" positiontype="position"/>
- <ImageViewer id="img_phot3" position="absolute 0 55 333 170" anchor="top right" positiontype="position"/>
- <Edit readonly="true" id="opt_title3" position="absolute 0 180 333 200" style="align:center middle;" anchor="top right" visible="false" positiontype="position"/>
- <Button id="button4" class="btn2" position="absolute 280 203 333 223" anchor="top right" text="-축소" onclick="group3_switch1_case3_grp_img3_button4_onclick" positiontype="position"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="lst_druglist" position="absolute 8 82 273 729" anchor="left top bottom" onclick="datagrid2_onclick" binddataset="ds_grid_datagrid2" oncelldblclick="lf_detailSch" oncellclick="lf_detailSch" positiontype="position">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="88"/>
- <Column size="243"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="약품코드"/>
- <Cell col="1" text="약품명"/>
- </Band>
- <Band id="body">
- <Cell style="align:left;" text="bind:drugcd"/>
- <Cell col="1" style="align:left;" text="bind:drugnm"/>
- <Cell col="2"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="Div00" taborder="4" text="Div00" class="div_DA_box" position="absolute 280 0 905 255" anchor="default">
- <Layouts>
- <Layout>
- <Button id="button17" taborder="10" text="A" class="btn2" position="absolute 17 38 59 58" onclick="group3_switch1_case3_Div00_button17_onclick" anchor="default"/>
- <Button id="button51" taborder="11" text="B" class="btn2" position="absolute 62 38 104 58" onclick="group3_switch1_case3_Div00_button51_onclick" anchor="default"/>
- <Button id="button36" taborder="12" text="C" class="btn2" position="absolute 107 38 149 58" onclick="group3_switch1_case3_Div00_button36_onclick" anchor="default"/>
- <Button id="button35" taborder="13" text="D" class="btn2" position="absolute 152 38 194 58" onclick="group3_switch1_case3_Div00_button35_onclick" anchor="default"/>
- <Button id="button16" taborder="14" text="E" class="btn2" position="absolute 197 38 239 58" onclick="group3_switch1_case3_Div00_button16_onclick" anchor="default"/>
- <Button id="button19" taborder="15" text="F" class="btn2" position="absolute 242 38 284 58" onclick="group3_switch1_case3_Div00_button19_onclick" anchor="default"/>
- <Button id="button18" taborder="16" text="G" class="btn2" position="absolute 286 38 328 58" onclick="group3_switch1_case3_Div00_button18_onclick" anchor="default"/>
- <Button id="button20" taborder="17" text="H" class="btn2" position="absolute 331 38 373 58" onclick="group3_switch1_case3_Div00_button20_onclick" anchor="default"/>
- <Button id="button21" taborder="18" text="I" class="btn2" position="absolute 376 38 418 58" onclick="group3_switch1_case3_Div00_button21_onclick" anchor="default"/>
- <Button id="button38" taborder="19" text="J" class="btn2" position="absolute 421 38 463 58" onclick="group3_switch1_case3_Div00_button38_onclick" anchor="default"/>
- <Button id="button41" taborder="20" text="K" class="btn2" position="absolute 17 71 59 91" onclick="group3_switch1_case3_Div00_button41_onclick" anchor="default"/>
- <Button id="button45" taborder="21" text="L" class="btn2" position="absolute 62 71 104 91" onclick="group3_switch1_case3_Div00_button45_onclick" anchor="default"/>
- <Button id="button49" taborder="22" text="M" class="btn2" position="absolute 107 71 149 91" onclick="group3_switch1_case3_Div00_button49_onclick" anchor="default"/>
- <Button id="button48" taborder="23" text="N" class="btn2" position="absolute 152 71 194 91" onclick="group3_switch1_case3_Div00_button48_onclick" anchor="default"/>
- <Button id="button40" taborder="24" text="O" class="btn2" position="absolute 197 71 239 91" onclick="group3_switch1_case3_Div00_button40_onclick" anchor="default"/>
- <Button id="button44" taborder="25" text="P" class="btn2" position="absolute 242 71 284 91" onclick="group3_switch1_case3_Div00_button44_onclick" anchor="default"/>
- <Button id="button43" taborder="26" text="Q" class="btn2" position="absolute 287 71 329 91" onclick="group3_switch1_case3_Div00_button43_onclick" anchor="default"/>
- <Button id="button46" taborder="27" text="R" class="btn2" position="absolute 332 71 374 91" onclick="group3_switch1_case3_Div00_button46_onclick" anchor="default"/>
- <Button id="button47" taborder="28" text="S" class="btn2" position="absolute 377 71 419 91" onclick="group3_switch1_case3_Div00_button47_onclick" anchor="default"/>
- <Button id="button39" taborder="29" text="T" class="btn2" position="absolute 422 71 464 91" onclick="group3_switch1_case3_Div00_button39_onclick" anchor="default"/>
- <Button id="button55" taborder="30" text="U" class="btn2" position="absolute 17 105 59 125" onclick="group3_switch1_case3_Div00_button55_onclick" anchor="default"/>
- <Button id="button58" taborder="31" text="V" class="btn2" position="absolute 62 105 104 125" onclick="group3_switch1_case3_Div00_button58_onclick" anchor="default"/>
- <Button id="button52" taborder="32" text="W" class="btn2" position="absolute 107 105 149 125" onclick="group3_switch1_case3_Div00_button52_onclick" anchor="default"/>
- <Button id="button50" taborder="33" text="X" class="btn2" position="absolute 152 105 194 125" onclick="group3_switch1_case3_Div00_button50_onclick" anchor="default"/>
- <Button id="button54" taborder="34" text="Y" class="btn2" position="absolute 198 105 240 125" onclick="group3_switch1_case3_Div00_button54_onclick" anchor="default"/>
- <Button id="button57" taborder="35" text="Z" class="btn2" position="absolute 243 105 285 125" onclick="group3_switch1_case3_Div00_button57_onclick" anchor="default"/>
- <Button id="button22" taborder="36" text="숫자로 시작" class="btn2" position="absolute 288 105 375 125" onclick="group3_switch1_case3_Div00_button22_onclick" anchor="default"/>
- <Static id="caption22" text="코드의 첫글자를 누르십시오." position="absolute 16 5 294 30" style="align:left middle;font:돋움,9,bold;" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption22" text="코드를 클릭하면" position="absolute 8 44 208 59" style="linespace:10;align:left middle;" anchor="default"/>
- <Radio id="rdo_set" taborder="5" columncount="2" rowcount="1" position="absolute 88 6 251 31" codecolumn="codecolumn" datacolumn="datacolumn" value="3" index="0" onitemchanged="group3_switch1_case3_rdo_set_onitemchanged" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">약품명</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="Static00" text="조건선택" position="absolute 6 11 88 29" class="tit_2" anchor="default"/>
- <Static id="caption00" text="약품정보가 표시됩니다." position="absolute 8 62 208 77" style="linespace:10;align:left middle;" anchor="default"/>
- <Div id="grp_totimg3" anchor="top right" taborder="7" style="background:aliceblue;border:1 solid #808080ff ;" visible="false" position="absolute 358 36 960 261">
- <Layouts>
- <Layout width="602" height="225">
- <ImageViewer id="img_totphot3" taborder="3" stretch="fit" position="absolute -1 -1 599 222" anchor="all"/>
- <Edit id="opt_tottitle3" taborder="4" readonly="true" visible="false" position="absolute -1 197 599 217" anchor="top right" style="align:center middle;"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group4" position="absolute 0 789 1256 809" anchor="left right bottom" positiontype="position" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button id="button33" class="btn4" visible="false" position="absolute 1090 0 1248 20" anchor="right bottom" text="신규/품절/삭제약 조회" positiontype="position"/>
- <Button id="btn_prt" class="btn6" position="absolute 0 0 56 20" anchor="default" text="출력" onclick="group4_btn_prt_onclick" positiontype="position"/>
- <Button id="btn_allprt" taborder="1" text="전체출력" onclick="group4_btn_prt_onclick" class="btn6" position="absolute 64 0 142 20"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption19" text="약품편람조회" class="tit_1" position="absolute 0 0 120 25"/>
- <Button id="But_preview" taborder="2" text="Skin Test보기" position="absolute 361 21 471 47" onclick="But_preview_onclick"/>
- <Button id="But_fileadd" taborder="4" text="첨부파일" position="absolute 477 23 577 43" onclick="But_fileadd_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_druglist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ordinptflag" type="STRING"/>
- <Column id="drugcd" type="STRING"/>
- <Column id="drugnm" type="STRING"/>
- <Column id="comnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_druglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ordinptflag" type="STRING"/>
- <Column id="drugcd" type="STRING"/>
- <Column id="drugnm" type="STRING"/>
- <Column id="comnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ordinptflag" type="STRING"/>
- <Column id="drugcd" type="STRING"/>
- <Column id="drugnm" type="STRING"/>
- <Column id="comnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_datagrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drugcd" type="STRING"/>
- <Column id="drugnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_trv_druglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="efcycd" type="STRING" size="256"/>
- <Column id="efcynm" type="STRING" size="256"/>
- <Column id="efcylevel" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_ordinptflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">처방가능</Col>
- <Col id="value">A</Col>
- </Row>
- <Row>
- <Col id="label">Invisible</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">처방불가</Col>
- <Col id="value">X</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_hbookdetlinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hbookseq" type="STRING" size="256"/>
- <Column id="efcycd1" type="STRING" size="256"/>
- <Column id="efcycd2" type="STRING" size="256"/>
- <Column id="efcycd3" type="STRING" size="256"/>
- <Column id="efcycd4" type="STRING" size="256"/>
- <Column id="efcycd5" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="drugnm" type="STRING" size="256"/>
- <Column id="comnm" type="STRING" size="256"/>
- <Column id="efcysmm" type="STRING" size="256"/>
- <Column id="mthdvolsmm" type="STRING" size="256"/>
- <Column id="seffcsmm" type="STRING" size="256"/>
- <Column id="refcnts" type="STRING" size="256"/>
- <Column id="etc" type="STRING" size="256"/>
- <Column id="efcynm" type="STRING" size="256"/>
- <Column id="cost" type="STRING" size="256"/>
- <Column id="drugphot" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_druglist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_ordinptflag2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">처방가능</Col>
- <Col id="value">A</Col>
- </Row>
- <Row>
- <Col id="label">Invisible</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">처방불가</Col>
- <Col id="value">X</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_srchefcy1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="efcycd" type="STRING" size="256"/>
- <Column id="efcynm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_srchefcy2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="efcycd" type="STRING" size="256"/>
- <Column id="efcynm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_srchefcy3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="efcycd" type="STRING" size="256"/>
- <Column id="efcynm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_srchefcy4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="efcycd" type="STRING" size="256"/>
- <Column id="efcynm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_srchefcy5" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_hbookdetlinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_auth" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="Column0" type="STRING" size="256"/>
- <Column id="Column1" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="Column0">group4.btn_prt</Col>
- <Col id="Column1">P</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_receivedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_save_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filenm" type="STRING" size="256" sumtext="파일명"/>
- <Column id="filedata" type="BLOB" size="256" sumtext="파일데이터"/>
- <Column id="filesize" type="STRING" size="256" sumtext="파일크기"/>
- <Column id="filetype" type="STRING" size="256" sumtext="파일종류"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_save_devfile" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filenm" type="STRING" size="256" sumtext="파일명"/>
- <Column id="filedata" type="BLOB" size="256" sumtext="파일데이터"/>
- <Column id="filesize" type="STRING" size="256" sumtext="파일크기"/>
- <Column id="filetype" type="STRING" size="256" sumtext="파일종류"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_filedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filetitle" type="STRING" size="256" sumtext="요청제목"/>
- <Column id="fileconts" type="STRING" size="256" sumtext="요청내용"/>
- <Column id="attfilenm" type="STRING" size="256" sumtext="첨부파일명"/>
- <Column id="attfilepath" type="STRING" size="256" sumtext="첨부경로"/>
- <Column id="devattfilenm" type="STRING" size="256" sumtext="첨부파일명"/>
- <Column id="devattfilepath" type="STRING" size="256" sumtext="첨부경로"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="attfilenm">항생제 주사 전 피부반응검사 가이드라인 Ver1.0(201705).docx</Col>
- <Col id="attfilepath">com\reqprgm\20170919\20170919113322000000_AST</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_attfile" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="attfilepath" type="STRING" size="256" sumtext="filepath"/>
- <Column id="filepathcolnm" type="STRING" size="256" sumtext="filepath이름"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_filelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item24" compid="group3.switch1.case3.switch4.case7.tar_etc1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="etc"/>
- <BindItem id="item2" compid="group3.switch1.case1.grp_totimg1.img_totphot1" propid="image" datasetid="ds_data_hbookdetlinfo" columnid="drugphot"/>
- <BindItem id="item0" compid="group3.switch1.case1.switch2.case4.tar_drugnm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="drugnm"/>
- <BindItem id="item1" compid="group3.switch1.case1.switch2.case4.tar_comnm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="comnm"/>
- <BindItem id="item4" compid="group3.switch1.case1.switch2.case4.tar_cost1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="cost"/>
- <BindItem id="item3" compid="group3.switch1.case1.switch2.case4.tar_mthdvolsmm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="mthdvolsmm"/>
- <BindItem id="item5" compid="group3.switch1.case1.switch2.case5.tar_efcysmm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="efcysmm"/>
- <BindItem id="item6" compid="group3.switch1.case1.switch2.case6.tar_seffcsmm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="efcysmm"/>
- <BindItem id="item8" compid="group3.switch1.case1.switch2.case7.tar_refcnts1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="refcnts"/>
- <BindItem id="item7" compid="group3.switch1.case1.switch2.case7.tar_etc1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="etc"/>
- <BindItem id="item9" compid="group3.switch1.case2.switch3.case4.tar_drugnm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="drugnm"/>
- <BindItem id="item10" compid="group3.switch1.case2.switch3.case4.tar_comnm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="comnm"/>
- <BindItem id="item11" compid="group3.switch1.case2.switch3.case4.tar_cost1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="cost"/>
- <BindItem id="item12" compid="group3.switch1.case2.switch3.case4.tar_mthdvolsmm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="mthdvolsmm"/>
- <BindItem id="item13" compid="group3.switch1.case2.switch3.case5.tar_efcysmm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="efcysmm"/>
- <BindItem id="item14" compid="group3.switch1.case2.grp_totimg2.img_totphot2" propid="image" datasetid="ds_data_hbookdetlinfo" columnid="drugphot"/>
- <BindItem id="item15" compid="group3.switch1.case2.switch3.case6.tar_seffcsmm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="seffcsmm"/>
- <BindItem id="item16" compid="group3.switch1.case2.switch3.case7.tar_etc1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="etc"/>
- <BindItem id="item17" compid="group3.switch1.case2.switch3.case7.tar_refcnts1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="refcnts"/>
- <BindItem id="item18" compid="group3.switch1.case3.switch4.case4.tar_drugnm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="drugnm"/>
- <BindItem id="item19" compid="group3.switch1.case3.switch4.case4.tar_comnm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="comnm"/>
- <BindItem id="item20" compid="group3.switch1.case3.switch4.case4.tar_cost1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="cost"/>
- <BindItem id="item21" compid="group3.switch1.case3.switch4.case4.tar_mthdvolsmm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="mthdvolsmm"/>
- <BindItem id="item22" compid="group3.switch1.case3.switch4.case5.tar_efcysmm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="efcysmm"/>
- <BindItem id="item23" compid="group3.switch1.case3.switch4.case6.tar_seffcsmm1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="seffcsmm"/>
- <BindItem id="item25" compid="group3.switch1.case3.switch4.case7.tar_refcnts1" propid="value" datasetid="ds_data_hbookdetlinfo" columnid="refcnts"/>
- <BindItem id="item26" compid="group3.switch1.case3.grp_img3.img_phot3" propid="image" datasetid="ds_data_hbookdetlinfo" columnid="drugphot"/>
- <BindItem id="item27" compid="group3.switch1.case2.grp_img2.img_phot2" propid="image" datasetid="ds_data_hbookdetlinfo" columnid="drugphot"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-05-25
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- //include "com_commodulexp::SMZFS00401.xjs";
- include "ast_commonxp::PHARMACY.xjs";
- include "com_commodulexp::SMZFS00501.xjs"; // 공통코드 모듈
- var gMaxSize = 10485760;
- var lsSrchGubun = "code";
- function lf_init(){
- ds_grid_grd_druglist1.clearData();
- ds_main_druglist.clearData();
- ds_data_druglist2.clearData();
- ds_data_hbookdetlinfo.clearData();
-
- group3.switch1.case1.grp_img1.img_phot1.image = "";
- group3.switch1.case1.grp_totimg1.img_totphot1.image = "";
-
- group3.switch1.case2.grp_img2.img_phot2.image = "";
- group3.switch1.case2.grp_totimg2.img_totphot2.image = "";
-
- group3.switch1.case3.grp_img3.img_phot3.image = "";
- group3.switch1.case3.grp_totimg3.img_totphot3.image = "";
-
- group3.switch1.case1.switch2.case4.tar_comnm1.value = "";
- group3.switch1.case1.switch2.case4.tar_cost1.value = "";
- group3.switch1.case1.switch2.case4.tar_drugnm1.value = "";
- group3.switch1.case1.switch2.case4.tar_mthdvolsmm1.value = "";
- //약리작용 및 효능
- group3.switch1.case1.switch2.case5.tar_efcysmm1.value = "";
- // 부작용
- group3.switch1.case1.switch2.case6.tar_seffcsmm1.value = "";
- // 주의/금기/참고문헌
- group3.switch1.case1.switch2.case7.tar_etc1.value = "";
- group3.switch1.case1.switch2.case7.tar_refcnts1.value = "";
-
- group3.switch1.case2.switch3.case4.tar_comnm1.value = "";
- group3.switch1.case2.switch3.case4.tar_cost1.value = "";
- group3.switch1.case2.switch3.case4.tar_drugnm1.value = "";
- group3.switch1.case2.switch3.case4.tar_mthdvolsmm1.value = "";
- //약리작용 및 효능
- group3.switch1.case2.switch3.case5.tar_efcysmm1.value = "";
- // 부작용
- group3.switch1.case2.switch3.case6.tar_seffcsmm1.value = "";
- // 주의/금기/참고문헌
- group3.switch1.case2.switch3.case7.tar_etc1.value = "";
- group3.switch1.case2.switch3.case7.tar_refcnts1.value = "";
-
- group3.switch1.case3.switch4.case4.tar_comnm1.value = "";
- group3.switch1.case3.switch4.case4.tar_cost1.value = "";
- group3.switch1.case3.switch4.case4.tar_drugnm1.value = "";
- group3.switch1.case3.switch4.case4.tar_mthdvolsmm1.value = "";
- //약리작용 및 효능
- group3.switch1.case3.switch4.case5.tar_efcysmm1.value = "";
- // 부작용
- group3.switch1.case3.switch4.case6.tar_seffcsmm1.value = "";
- // 주의/금기/참고문헌
- group3.switch1.case3.switch4.case7.tar_etc1.value = "";
- group3.switch1.case3.switch4.case7.tar_refcnts1.value = "";
- }
- function lf_detailSch(){
- if(group3.switch1.tabindex == 0 ){
- lf_init();
- lf_fSubmitHBookList2();
- group3.switch1.case1.grp_totimg1.visible = false;
- }else if(group3.switch1.tabindex == 1 ){
- lf_init();
- lf_fSubmitHBookList2();
- group3.switch1.case1.grp_totimg1.visible = false;
- }else if(group3.switch1.tabindex == 2 ){
- lf_init();
- lf_HBookList2();
- group3.switch1.case3.grp_totimg3.visible = false;
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 약품 상세 조회
- ****************************************************************************************/
- function lf_fSubmitHBookDetl(){
-
- var objDs = new Object();
- if(group3.switch1.tabindex == 0 ){//목차
- objDs = ds_grid_grd_druglist1;
- }else if(group3.switch1.tabindex == 1 ){//색인
- objDs = ds_main_druglist;
- }else if(group3.switch1.tabindex == 2 ){//전체코드중찾기
- objDs = ds_data_druglist2;
- }
- var inDsNm = dsf_createDsRow("ds_temp_inds"
- ,[{col : "srchhbookseq", val : objDs.getColumn(objDs.rowposition,"hbookseq")} // 편람등록번호
- , {col : "srchefcycd", val : objDs.getColumn(objDs.rowposition,"efcycd")} // 효능분류코드
- , {col : "srchtodd", val : objDs.getColumn(objDs.rowposition,"todd")} // 종료일자
- , {col : "srchdrugcd", val : objDs.getColumn(objDs.rowposition,"drugcd")} // 약품코드
- , {col : "srchflag", val : "2"} // 검색구분
- ])
- tranf_submit({
- id : "TRADB01903"
- , service : "pharmacybaseapp.DrugInfo"
- , method : "reqGetHBookDetlInfo"
- , inds : "req=ds_temp_inds"
- , outds : "ds_data_hbookdetlinfo=hbookdetlinfo"
- , callback : "cbf_TRADB01903"
- });
- }
- /****************************************************************************************
- * Argument :
- * Description : 목차, 색인, 전체코드중 찾기 탭의 약품 상세 조회 후 셋팅
- ****************************************************************************************/
- function cbf_TRADB01903(){
-
- group3.switch1.case3.grp_totimg3.visible = false;
- group3.switch1.case2.grp_totimg2.visible = false;
- group3.switch1.case1.grp_totimg1.visible = false;
-
- lf_deleteDs("ds_temp_inds");
- var objDs = new Object();
- var objImg = new Object();
- var objImg_big = new Object();
- if(group3.switch1.tabindex == 0 ){//목차
- objDs = ds_grid_grd_druglist1;
- objImg = group3.switch1.case1.grp_img1.img_phot1;
- objImg_big = group3.switch1.case1.grp_totimg1.img_totphot1;
-
- }else if(group3.switch1.tabindex == 1 ){// 색인
- objDs = ds_main_druglist;
- objImg = group3.switch1.case2.grp_img2.img_phot2;
- objImg_big = group3.switch1.case2.grp_totimg2.img_totphot2;
- group3.switch1.case2.grp_img2.opt_title2.value = "[fig1] " + ds_main_druglist.getColumn(ds_main_druglist.rowposition,"drugcd")
-
- group3.switch1.case2.group5.cmb_srchefcy1.value = ds_data_hbookdetlinfo.getColumn(0,"efcycd1");
- lf_fSetEfcyCode( "S", group3.switch1.case2.group5.cmb_srchefcy1.value+"%", 2 );
- group3.switch1.case2.group5.cmb_srchefcy2.value = ds_data_hbookdetlinfo.getColumn(0,"efcycd2");
- lf_fSetEfcyCode( "S", group3.switch1.case2.group5.cmb_srchefcy2.value+"%", 3 );
- group3.switch1.case2.group5.cmb_srchefcy3.value = ds_data_hbookdetlinfo.getColumn(0,"efcycd3");
- lf_fSetEfcyCode( "S", group3.switch1.case2.group5.cmb_srchefcy3.value+"%", 4 );
- group3.switch1.case2.group5.cmb_srchefcy4.value = ds_data_hbookdetlinfo.getColumn(0,"efcycd4");
- lf_fSetEfcyCode( "S", group3.switch1.case2.group5.cmb_srchefcy4.value+"%", 5 );
- group3.switch1.case2.group5.cmb_srchefcy5.value = ds_data_hbookdetlinfo.getColumn(0,"efcycd5");
-
- group3.switch1.case2.group5.Edit_hosinflag.value = ds_main_druglist.getColumn(ds_main_druglist.rowposition,"hosinflag");
- group3.switch1.case2.group5.Edit_absnyn.value = ds_main_druglist.getColumn(ds_main_druglist.rowposition,"absnyn");
- group3.switch1.case2.group5.Edit_powdimpsi.value = ds_main_druglist.getColumn(ds_main_druglist.rowposition,"powdimpsi");
- group3.switch1.case2.group5.Edit_devidebanyn.value = ds_main_druglist.getColumn(ds_main_druglist.rowposition,"devidebanyn");
-
- }else if(group3.switch1.tabindex == 2 ){// 색인
- objDs = ds_data_druglist2;
- objImg = group3.switch1.case3.grp_img3.img_phot3;
- objImg_big = group3.switch1.case3.grp_totimg3.img_totphot3;
-
- }
-
- try{
- objImg.image = ds_data_hbookdetlinfo.getColumn(0,"drugphot");
- objImg_big.image = ds_data_hbookdetlinfo.getColumn(0,"drugphot");
-
- }catch(e){
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 약품코드, 효능에 대한 상세 조회
- ****************************************************************************************/
- function lf_fSubmitHBookList2(){
- var sSrchefcycd;
- var sSrchcntsflag;
- var sSrchcnts;
- var nSrchflag;
- var sSrchefcycd1;
- var sSrchefcycd2;
- var sSrchefcycd3;
- var sSrchefcycd4;
- var sSrchefcycd5;
- var outDsNm;
-
- if(group3.switch1.tabindex == 0){// 목차 -> 효능조회
- sSrchefcycd = ds_trv_druglist.getColumn(ds_trv_druglist.rowposition,"efcycd")
- nSrchflag = 2;
- outDsNm = "ds_grid_grd_druglist1"
- }else if(group3.switch1.tabindex == 1){// 색인 -> 내용조회
- //sSrchefcycd = group3.switch1.case2.group5;
-
- if(group3.switch1.case2.group5.rdo_srchflag1.value == 1){ // 내용조회
- nSrchflag = 1;
- sSrchcntsflag = group3.switch1.case2.group5.rdo_srchcntsflag.value;
- sSrchcnts = group3.switch1.case2.group5.ipt_srchdrugcd.value;
-
- if(utlf_isNull(sSrchcnts)){
- sysf_messageBox("조회 내용을","C001");
- return;
- }
- }
-
- if(group3.switch1.case2.group5.rdo_srchflag.value == 2){//효능조회
- nSrchflag = 2;
-
- sSrchefcycd1 = utlf_transNullToEmpty(group3.switch1.case2.group5.cmb_srchefcy1.value);
- sSrchefcycd2 = utlf_transNullToEmpty(group3.switch1.case2.group5.cmb_srchefcy2.value);
- sSrchefcycd3 = utlf_transNullToEmpty(group3.switch1.case2.group5.cmb_srchefcy3.value);
- sSrchefcycd4 = utlf_transNullToEmpty(group3.switch1.case2.group5.cmb_srchefcy4.value);
- sSrchefcycd5 = utlf_transNullToEmpty(group3.switch1.case2.group5.cmb_srchefcy5.value);
-
- if(utlf_isNull(sSrchefcycd5)){
- if(utlf_isNull(sSrchefcycd4)){
- if(utlf_isNull(sSrchefcycd3)){
- if(utlf_isNull(sSrchefcycd2)){
- if(!utlf_isNull(sSrchefcycd1)){
- sSrchefcycd = sSrchefcycd1;
-
- }
- }
- else
- {
- sSrchefcycd = sSrchefcycd2;
-
- }
- }
- else
- {
- sSrchefcycd = sSrchefcycd3;
-
- }
- }
- else
- {
- sSrchefcycd = sSrchefcycd4;
-
- }
- }
- else
- {
- sSrchefcycd = sSrchefcycd5;
- }
-
- }
-
- outDsNm = "ds_main_druglist"
- }
-
- var inDsNm = dsf_createDsRow("ds_send"
- ,[{col : "srchefcycd", val : sSrchefcycd} // 효능분류코드
- , {col : "srchcntsflag", val : sSrchcntsflag} // 검색내용구분
- , {col : "srchcnts", val : sSrchcnts} // 조회내용
- , {col : "srchflag", val : nSrchflag} // 검색구분
- , {col : "ishosout", val : group3.switch1.case2.group5.chk_hosout.value} // 검색구분
- ]);
-
- var oParam = {};
- oParam.id = "TRADB01902";
- oParam.service = "pharmacybaseapp.DrugInfo";
- oParam.method = "reqGetHBookList2";
- oParam.inds = "req=ds_send";
- oParam.outds = outDsNm+"=druglist";
- oParam.async = false;
- oParam.callback = "cbf_TRADB01902";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Argument :
- * Description :
- ****************************************************************************************/
- function cbf_TRADB01902(sSvcId, nErrorCode, sErrorMsg){
- if(group3.switch1.tabindex == 0){// 목차 -> 효능조회
- if(ds_grid_grd_druglist1.rowcount == 0){
- sysf_messageBox("조회된 내용이 없습니다.","I000");
- return;
- }
- }else{
- if(ds_main_druglist.rowcount == 0 ){
- sysf_messageBox("조회된 내용이 없습니다.","I000");
- return;
- }
- }
- lf_fSubmitHBookDetl();
- }
- /****************************************************************************************
- * Argument :
- * Description : 전체코드중찾기 약품 LIST 조회
- ****************************************************************************************/
- function lf_allDrugList(){
- tranf_submit({
- id : "TRADB01904"
- , service : "pharmacybaseapp.DrugInfo"
- , method : "reqGetDrugCdList"
- // , inds : "req=ds_temp_inds"
- , outds : "ds_grid_datagrid2=druglist"
- // , callback : "cbf_TRADB01902"
- });
- }
- /****************************************************************************************
- * Argument :
- * Description : 전체코드중 찾기의 약품
- ****************************************************************************************/
- function lf_HBookList2(){
- dsf_createDsRow("ds_temp_inds"
- ,[{col : "srchflag", val : "1"}
- , {col : "srchcntsflag", val : "1"}
- , {col : "srchcnts", val : ds_grid_datagrid2.getColumn(ds_grid_datagrid2.rowposition,"drugcd")}
- , {col : "srchefcycd", val : ""}
- ]);
-
- tranf_submit({
- id : "TRADB01906"
- , service : "pharmacybaseapp.DrugInfo"
- , method : "reqGetHBookList2"
- , inds : "req=ds_temp_inds"
- , outds : "ds_data_druglist2=druglist"
- , callback : "cbf_TRADB01906"
- });
- }
- /****************************************************************************************
- * Argument :
- * Description :
- ****************************************************************************************/
- function cbf_TRADB01906(sSvcId, nErrorCode, sErrorMsg){
- if ( ds_data_druglist2.rowcount > 0 ) {
- lf_fSubmitHBookDetl();
- }
- }
- /****************************************************************************************
- * Argument :
- * Description :
- ****************************************************************************************/
- function cbf_getAllBizCodeList(){}
- /****************************************************************************************
- * Argument :
- * Description : 목차 효능 Tree뷰 조회
- ****************************************************************************************/
- function lf_TRADB01901(){
- var inDsNm = dsf_createDsRow("ds_temp_inds"
- ,[{col : "srchefcycd", val : "%"}
- , {col : "srchefcylevel", val : ""}
- , {col : "srchtype", val : ""}
- , {col : "srchflag", val : "1"}
- ])
-
- tranf_submit({
- id : "TRADB01901"
- , service : "pharmacybaseapp.DrugInfo"
- , method : "reqGetEfcyList"
- , inds : "req=ds_temp_inds"
- , outds : "ds_trv_druglist=item"
- // , callback : "cbf_TRADB01901"
- });
- }
- /****************************************************************************************
- * Argument :
- * Description : 색인의 효능 콤보 조회
- ****************************************************************************************/
- function lf_fSetEfcyCode(sTypeFlag, sEfcyCd, nEfcyLevel){
- //콤보 초기화
- lf_initCmbSrchefcy(nEfcyLevel);
-
- dsf_createDsRow("ds_temp_inds"
- ,[{col : "srchefcycd", val : sEfcyCd}
- , {col : "srchefcylevel", val : nEfcyLevel}
- ]);
-
-
-
-
- tranf_submit({
- id : "TRADB01905"
- , service : "pharmacybaseapp.DrugInfo"
- , method : "reqGetEfcyList"
- , inds : "req=ds_temp_inds"
- , outds : "ds_init_srchefcy"+nEfcyLevel + "=item"
- });
-
- var objDsNm = this.objects["ds_init_srchefcy"+nEfcyLevel];
-
-
- ds_trv_druglist.appendData(objDsNm);
-
- }
-
- /****************************************************************************************
- * Argument :
- * Description : 색인 효능조회 콤보 초기화
- ****************************************************************************************/
- function lf_initCmbSrchefcy(nEfcyLevel){
- if(nEfcyLevel == 1){
- group3.switch1.case2.group5.cmb_srchefcy1.index = -1;
- // ds_init_srchefcy1.clear();
- group3.switch1.case2.group5.cmb_srchefcy1.value = "";
- ds_init_srchefcy2.clear();
- group3.switch1.case2.group5.cmb_srchefcy2.value = "";
- ds_init_srchefcy3.clear();
- group3.switch1.case2.group5.cmb_srchefcy3.value = "";
- ds_init_srchefcy4.clear();
- group3.switch1.case2.group5.cmb_srchefcy4.value = "";
- ds_init_srchefcy5.clear();
- group3.switch1.case2.group5.cmb_srchefcy5.value = "";
- }else if(nEfcyLevel == 2){
- // ds_init_srchefcy2.clear();
- group3.switch1.case2.group5.cmb_srchefcy2.value = "";
- ds_init_srchefcy3.clear();
- group3.switch1.case2.group5.cmb_srchefcy3.value = "";
- ds_init_srchefcy4.clear();
- group3.switch1.case2.group5.cmb_srchefcy4.value = "";
- ds_init_srchefcy5.clear();
- group3.switch1.case2.group5.cmb_srchefcy5.value = "";
- }else if(nEfcyLevel == 3){
- // ds_init_srchefcy3.clear();
- group3.switch1.case2.group5.cmb_srchefcy3.value = "";
- ds_init_srchefcy4.clear();
- group3.switch1.case2.group5.cmb_srchefcy4.value = "";
- ds_init_srchefcy5.clear();
- group3.switch1.case2.group5.cmb_srchefcy5.value = "";
- }else if(nEfcyLevel == 4){
- // ds_init_srchefcy4.clear();
- group3.switch1.case2.group5.cmb_srchefcy4.value = "";
- ds_init_srchefcy5.clear();
- group3.switch1.case2.group5.cmb_srchefcy5.value = "";
- }else if(nEfcyLevel == 5){
- // ds_init_srchefcy5.clear();
- group3.switch1.case2.group5.cmb_srchefcy5.value = "";
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : html 태그 제거
- ****************************************************************************************/
- function lf_strip_tag(str)
- {
- if ( utlf_isNull(str) ) {
- str = "";
- }
- return str.replace(/(<([^>]+)>)/ig,"");
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SMADB01900
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SMADB01900_onload(obj:Form, e:LoadEventInfo)
- {
- // 폼 초기화
- frmf_initForm(obj);
- try
- {
- ds_hidden_receivedata.copyData(arg_ds_hidden_receivedata);
- }
- catch(e)
- {
- ds_hidden_receivedata.addColumn("srchdrugcd","string");
- ds_hidden_receivedata.addRow();
- }
- dsf_createDsRow("ds_send"
- ,[{col : "srchefcycd", val : "%"}
- // , {col : "srchefcylevel", type:"INT", val : 0}
- , {col : "srchtype", val : ""}]);
-
-
-
- //dsf_setTypeFormat(ds_send, "srchefcylevel:INT");
-
- var oParam = {};
- oParam.id = "TRADB01901";
- oParam.service = "pharmacybaseapp.DrugInfo";
- oParam.method = "reqGetEfcyList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_trv_druglist=item";
- oParam.async = false;
- tranf_submit(oParam);
-
- var srchdrugcd = ds_hidden_receivedata.getColumn(0,"srchdrugcd");
- if ( !utlf_isNull(srchdrugcd) ) {
- lf_fSetEfcyCode("S", "%", 1 );
- group3.switch1.tabindex = 1;
- group3.switch1.case2.group5.ipt_srchdrugcd.value = srchdrugcd;
- lf_fSubmitHBookList2();
-
- }
- else
- {
- lf_fSetEfcyCode("S", "%", 1 ); // 조회용 효능분류
- // lf_fSetEfcyCode("I", "%", 1 ); // 입력용 효능분류
- group3.switch1.tabindex = 1;
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.switch1.case1.grp_totimg1.visible = false;
- }
- /****************************************************************************************
- * Components :
- * Components ID : button25
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button25_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.switch1.case1.grp_totimg1.visible = true;
-
- }
- function group3_switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- //ds_data_hbookdetlinfo.clearData();
- lf_init();
- if(obj.tabindex == 2 ){
-
- group3.switch1.case3.rdo_set.value = 3;
- lf_allDrugList();
- }
- }
- function group3_switch1_case1_Grid00_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- lf_init();
- lf_fSubmitHBookList2();
- group3.switch1.case1.grp_totimg1.visible = false;
- }
- function group3_switch1_case1_grd_druglist1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- lf_fSubmitHBookDetl();
- }
- function GlassStart(oGlass:ImageViewer, oBack:ImageViewer, oTarget)
- {
- var glass_ratio = oGlass.ratio;
-
- oGlass.visible = false;
- oBack.image = oTarget.saveToImageObject();
- oBack.position = oTarget.position;
- oBack.position.width = glass_ratio*oTarget.position.width;
- oBack.position.height = glass_ratio*oTarget.position.height;
- oBack.stretch = "fit";
- oBack.visible = true;
- oGlass.image = oBack.saveToImageObject();
- oBack.visible = false;
- oGlass.visible = true;
- }
- function GlassMove(oGlass:ImageViewer, e:MouseEventInfo, oTarget)
- {
- if( oGlass.visible == false )
- return;
-
- var glass_ratio = oGlass.ratio;
- var border_width = oGlass.style.border.width;
- var mx = e.clientX-oGlass.position.width;
- var my = e.clientY-oGlass.position.width;
-
- if( ( mx < oTarget.position.left || e.clientX > oTarget.position.right ) ||
- ( my < oTarget.position.top || e.clientY > oTarget.position.bottom ) )
- return;
-
- oGlass.move(mx, my);
- oGlass.bringToFront();
- var cw = Math.round(oGlass.position.width/2);
- var ch = Math.round(oGlass.position.height/2);
- oGlass.style.padding.left = -1*glass_ratio*(oGlass.position.left+cw) + cw - border_width;
- oGlass.style.padding.top = -1*glass_ratio*(oGlass.position.top+ch) + ch - border_width;
- }
- function SMADB01900_onmousemove(obj:Form, e:MouseEventInfo)
- {
- //GlassMove(img_glass, e, this);
- }
- function group3_switch1_case2_group5_ipt_srchdrugcd_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- lf_detailSch();
- }
- }
- function group3_switch1_case2_grd_druglist2_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- lf_fSubmitHBookDetl();
- }
- function group3_switch1_case3_datagrid2_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- lf_init();
- lf_HBookList2();
- group3.switch1.case3.grp_totimg3.visible = false;
- }
- function group3_switch1_case3_datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- lf_fSubmitHBookDetl();
- }
- function group3_switch1_case3_btn_alldrug_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_grid_datagrid2.filter("");
- }
- function group3_switch1_case2_grp_img2_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.switch1.case2.grp_totimg2.visible = true;
- }
- function group3_switch1_case2_grp_img2_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.switch1.case2.grp_totimg2.visible = false;
- }
- function group3_switch1_case3_grp_img3_button28_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.switch1.case3.grp_totimg3.visible = true;
- }
- function group3_switch1_case3_grp_img3_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.switch1.case3.grp_totimg3.visible = false;
- }
- function group3_switch1_case2_group5_cmb_srchefcy1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- group3.switch1.case2.group5.rdo_srchcntsflag.index = -1;
- group3.switch1.case2.group5.rdo_srchflag.value = 2;
- group3.switch1.case2.group5.rdo_srchflag1.value = 0;
- lf_fSetEfcyCode( "S", obj.value+"%", 2 );
- }
- function group3_switch1_case2_group5_cmb_srchefcy2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- group3.switch1.case2.group5.rdo_srchcntsflag.index = -1;
- group3.switch1.case2.group5.rdo_srchflag.value = 2;
- group3.switch1.case2.group5.rdo_srchflag1.value = 0;
- lf_fSetEfcyCode( "S", obj.value+"%", 3 );
- }
- function group3_switch1_case2_group5_cmb_srchefcy3_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- group3.switch1.case2.group5.rdo_srchcntsflag.index = -1;
- group3.switch1.case2.group5.rdo_srchflag.value = 2;
- group3.switch1.case2.group5.rdo_srchflag1.value = 0;
- lf_fSetEfcyCode( "S", obj.value+"%", 4 );
- }
- function group3_switch1_case2_group5_cmb_srchefcy4_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- group3.switch1.case2.group5.rdo_srchcntsflag.index = -1;
- group3.switch1.case2.group5.rdo_srchflag.value = 2;
- group3.switch1.case2.group5.rdo_srchflag1.value = 0;
- lf_fSetEfcyCode( "S", obj.value+"%", 5 );
- }
- function group3_switch1_case2_group5_rdo_srchflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- group3.switch1.case2.group5.rdo_srchcntsflag.index = -1;
- group3.switch1.case2.group5.rdo_srchflag1.index = -1;
- group3.switch1.case2.group5.ipt_srchdrugcd.value = "";
-
- //fselSrchFlag(2);
- }
- function group3_switch1_case2_group5_rdo_srchflag1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- group3.switch1.case2.group5.rdo_srchflag.index = -1;
- group3.switch1.case2.group5.rdo_srchcntsflag.index = 0;
-
- lf_initCmbSrchefcy(1);
- }
- function group4_btn_prt_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_data_hbookdetlinfo.rowcount < 1 ) {
- sysf_messageBox("출력할 내용이","I004");
- return;
- }
-
- ds_temp_hbookdetlinfo.clearData();
- ds_temp_hbookdetlinfo.copyData(ds_data_hbookdetlinfo);
-
-
- var efcysmm = lf_strip_tag(ds_temp_hbookdetlinfo.getColumn(0, "efcysmm"));
- var seffcsmm = lf_strip_tag(ds_temp_hbookdetlinfo.getColumn(0, "seffcsmm"));
- var etc = lf_strip_tag(ds_temp_hbookdetlinfo.getColumn(0, "etc"));
- var refcnts = lf_strip_tag(ds_temp_hbookdetlinfo.getColumn(0, "refcnts"));
-
-
- ds_temp_hbookdetlinfo.setColumn(0, "efcysmm", efcysmm); // 약리작용
- ds_temp_hbookdetlinfo.setColumn(0, "seffcsmm", seffcsmm); // 부작용
- ds_temp_hbookdetlinfo.setColumn(0, "etc", etc); // 주의
- ds_temp_hbookdetlinfo.setColumn(0, "refcnts", refcnts); // 참고문헌
-
- var objDOM = rptf_createDOM(); // DOM 객체 설정
-
- //rptf_setNodeListToDOM(objDOM, "/root/main/hbookdetlinfo", ds_data_hbookdetlinfo); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "/root/main/hbookdetlinfo", ds_temp_hbookdetlinfo); // 데이터셋 1
-
- //trace(objDOM.documentElement.source); // XML 내용출력
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- var nOpen = 1 ;
-
-
- var sOption = "open="+nOpen+";save=1;directprint=0;print=1;zoom=0";
- //trace(sOption);
- rptf_exeReportPreview30(["RPADB01901"],[objParam], sOption);
- }
- function group3_switch1_case3_rdo_set_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(e.postindex == 0)
- {
- group3.switch1.case3.switch4.tabindex = 0;
- group3.switch1.case3.caption22.text = "약품코드를 클릭하면," ;
- group3.switch1.case3.Div00.caption22.text = "약품코드의 첫글자를 누르십시오.";
- lsSrchGubun = "code";
- group3.switch1.case3.lst_druglist.setRealColSize(0,240);
- group3.switch1.case3.lst_druglist.setRealColSize(1,0);
- }
- else
- {
- group3.switch1.case3.switch4.tabindex = 0;
- group3.switch1.case3.caption22.text = "약품영문명을 클릭하면," ;
- group3.switch1.case3.Div00.caption22.text = "약품영문명의 첫글자를 누르십시오.";
- lsSrchGubun = "ename";
- group3.switch1.case3.lst_druglist.setRealColSize(0,0);
- group3.switch1.case3.lst_druglist.setRealColSize(1,240);
- }
-
- }
- function group3_switch1_case3_button22_onlbuttonup(obj:Button, e:MouseEventInfo)
- {
-
- }
- function group3_switch1_case2_group5_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_detailSch();
- }
- function group3_switch1_case3_Div00_button17_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+group3.switch1.case3.Div00.button17.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+group3.switch1.case3.Div00.button17.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button51_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button16_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button18_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button19_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button20_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button21_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button22_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button35_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button36_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button38_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button39_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button40_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button41_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button43_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button44_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button45_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button46_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button47_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button48_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button49_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button50_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button52_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button54_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button55_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button57_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case3_Div00_button58_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.case3.rdo_set.value == 3)
- {
- ds_grid_datagrid2.filter("String(drugcd).indexOf(\""+ obj.text +"\") == 0");
- }
- else
- {
- ds_grid_datagrid2.filter("String(drugnm).indexOf(\""+ obj.text +"\") == 0");
- }
- }
- function group3_switch1_case1_trv_druglist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- lf_detailSch();
- }
- function group3_switch1_case3_lst_druglist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
-
- }
- function group3_switch1_case2_group5_cmb_srchefcy5_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- group3.switch1.case2.group5.rdo_srchflag.enableevent = false;
- group3.switch1.case2.group5.rdo_srchflag.index = 0;
- group3.switch1.case2.group5.rdo_srchflag1.index = -1;
- group3.switch1.case2.group5.rdo_srchflag.enableevent = true;
- }
- function group3_switch1_case2_group5_rdo_srchcntsflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- group3.switch1.case2.group5.rdo_srchflag.index = -1;
- group3.switch1.case2.group5.rdo_srchflag1.index = 0;
- // group3.switch1.case2.group5.rdo_srchcntsflag.index = 0;
-
- lf_initCmbSrchefcy(1);
- }
- function group3_switch1_case2_grd_druglist2_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- lf_fSubmitHBookDetl();
- }
- function group3_switch1_case1_trv_druglist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- lf_detailSch();
- }
- function group3_switch1_case1_grd_druglist1_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- lf_fSubmitHBookDetl();
- }
- //////////////
- /////Skin Test 업무
- ////////////
- function But_preview_onclick(obj:Button, e:ClickEventInfo)
- {
- fFilePreview(ds_filedata.getColumn(0, "attfilenm"), ds_filedata.getColumn(0, "attfilepath"));
- }
- function But_down_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileDown(ds_filedata.getColumn(0, "attfilenm"), "attfilepath");
- }
- function But_fileadd_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileAdd("attfilenm");
- }
- function fFileAdd(colName) {
- //******파일을 첨부하기 위해 파일열기가 open 되게 한다.
- var oDsSaveFile = (colName == "devattfilenm") ? ds_send_save_devfile : ds_send_save_file;
- var name = ds_filedata.getColumn(0, colName);
-
- if(!utlf_isNull(name)){
- var fileupdata = sysf_messageBox(name + " 파일 수정을" , "S001");
-
- if(fileupdata == '6'){
- //파일 삭제
- //input박스에 나타난 명을 제거
- ds_filedata.setColumn(0, colName, "");
-
- //파일 저장
- //파일을 받아오기 위해 파일열기 팝업창을 띄운다.
- var fd = new FileDialog;
- var objVFileList = fd.open("첨부 할 파일을 선택하여 주십시오.", FileDialog.LOAD);
- trace(objVFileList);
- ds_filedata.setColumn(0, colName, objVFileList.filename);
-
- //선택한 파일이 저장버튼을 눌렀을때 저장이 되게 하기 위해 파일 저장 인스턴스에 파일주소를 저장해 둔다.
- var objFileinfo = dsf_writeFileToDs(objVFileList, oDsSaveFile, 0, "filedata");
- oDsSaveFile.setColumn(0, "filenm", objFileinfo.filename);
- oDsSaveFile.setColumn(0, "filesize", objFileinfo.filesize);
- oDsSaveFile.setColumn(0, "filetype", objFileinfo.filetype);
-
- //파일 크기가 너무 큰경우 메세지를 띄운다.
- if (!checkFileSize(objFileinfo.filesize)){
- ds_filedata.setColumn(0, colName, "");
- sysf_messageBox("파일 크기가 최대치(" + gMaxSize + "Byte)를", "E003");
- oDsSaveFile.setColumn(0, "filedata", "");
- }
-
- }else if(fileupdata == '7'){
- sysf_messageBox(name + " 파일 수정을 하지", "E007");
- }
- }else{
-
- //파일을 받아오기 위해 파일열기 팝업창을 띄운다.
- var fd = new FileDialog;
- var objVFileList = fd.open("첨부 할 파일을 선택하여 주십시오.", FileDialog.LOAD);
- //파일 경로가 아닌 이름만 input박스에 넣기 위한 처리
- ds_filedata.setColumn(0, colName, objVFileList.filename);
-
- //선택한 파일이 저장버튼을 눌렀을때 저장이 되게 하기 위해 파일 저장 인스턴스에 파일주소를 저장해 둔다.
- var objFileinfo = dsf_writeFileToDs(objVFileList, oDsSaveFile, 0, "filedata");
- oDsSaveFile.setColumn(0, "filenm", objFileinfo.filename);
- oDsSaveFile.setColumn(0, "filesize", objFileinfo.filesize);
- oDsSaveFile.setColumn(0, "filetype", objFileinfo.filetype);
-
- //파일 크기가 너무 큰경우 메세지를 띄운다.
- if (!checkFileSize(objFileinfo.filesize)){
- ds_filedata.setColumn(0, colName, "");
- sysf_messageBox("파일 크기가 최대치(" + gMaxSize + "Byte)를", "E003");
- oDsSaveFile.setColumn(0, "filedata", "");
- }
-
-
- var oParam = {};
- oParam.id = "TXADE10001";
- oParam.service = "pharmacybaseapp.DrugIdBase";
- oParam.method = "reqUpFileSave";
- oParam.inds = "prgmrlist=ds_send_save_file req=ds_send_save_file attach=ds_send_save_file devattach=ds_send_save_file";
- oParam.outds = "ds_result_saveresultinfo=saveresultlist";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- }
- }
- function fFilePreview(filenm, filepath) {
- //파일명이 있는 경우 다운로드
- if(!utlf_isNull(filenm) ){
- var temp_path = "C:\\temp2";
-
- //키값을 받아옴
- ds_attfile.setColumn(0, "attfilepath", filepath);
- ds_attfile.setColumn(0, "filepathcolnm", "attfilepath");
-
- //키값을 가지고 DB에 저장된 데이타를 조회하러 간다
- var oParam = {};
- oParam.id = "TRADE10003";
- oParam.service = "pharmacybaseapp.DrugIdBase";
- oParam.method = "reqExeFileDownLoad";
- oParam.inds = "req=ds_attfile";
- oParam.outds = "ds_filelist=filelist";
- oParam.async = false;
- tranf_submit(oParam);
- dsf_readFileFromDs(temp_path+"\\"+filenm, ds_filelist, 0, "attfilecnts"); // 파일저장
- system.execShell("\"" + temp_path+"\\"+filenm + "\"");
- } else {
- sysf_messageBox("파일이 첨부되지 않은상태입니다.", "C000");
- }
- }
- function fFileDown(filenm, filepath) {
- //파일명이 있는 경우 다운로드
- if(!utlf_isNull(filenm) ){
- //파일명의 확장자만 받아옴
- var fileext = filenm.lastIndexOf(".");
- var ext = filenm.substring(fileext +1);
-
- //파일을 다운로드 하기 위해 저장할 창을 띄움
- var fd = new FileDialog;
- var objVFileList = fd.open("다운 받을 위치를 선택하여 주십시오.", FileDialog.SAVE, "", filenm);
- //키값을 받아옴
- ds_attfile.setColumn(0, "attfilepath", filepath);
- ds_attfile.setColumn(0, "filepathcolnm", "attfilepath");
-
- //키값을 가지고 DB에 저장된 데이타를 조회하러 간다
- var oParam = {};
- oParam.id = "TRADE10003";
- oParam.service = "pharmacybaseapp.DrugIdBase";
- oParam.method = "reqExeFileDownLoad";
- oParam.inds = "req=ds_attfile";
- oParam.outds = "ds_filelist=filelist";
- oParam.async = false;
- tranf_submit(oParam);
-
- if (objVFileList != null) {
- dsf_readFileFromDs(objVFileList.fullpath, ds_filelist, 0, "attfilecnts"); // 파일저장
- }
- } else {
- sysf_messageBox("파일이 첨부되지 않은상태입니다.", "C000");
- }
- }
- function checkFileSize(fileSize)
- {
- if (fileSize <= gMaxSize)
- return true;
- else
- return false;
- }
- ]]></Script>
- </Form>
- </FDL>
|