123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLLR00420" position="absolute 0 0 1197 770" titletext="" onload="SMLLR00420_onload" scrollbars="none">
- <Layouts>
- <Layout>
- <Div id="group3" scrollbars="none" position="absolute 0 22 1195 784" style="">
- <Layouts>
- <Layout>
- <Div id="group4" position="absolute 0 10 1195 70" style="" anchor="default">
- <Layouts>
- <Layout>
- <Shape id="roundrect2" anchor="default" class="roundrect_search" type="roundrectangle" position="absolute 0 0 1194 60" style=""/>
- <Button id="button3" class="btn1" position="absolute 1123 31 1179 53" style="" text="조회" onclick="group3_group4_button3_onclick" anchor="default"/>
- <Shape id="line9" class="line_4" linetype="vertical" position="absolute 1108 31 1111 53" style="" anchor="default"/>
- <Static id="caption23" class="search_name" position="absolute 15 9 105 26" style="" text="작업일자 :" anchor="default"/>
- <Combo innerdataset="ds_init_LB0106" datacolumn="nm" codecolumn="cd" columncount="-1" rowcount="-1" id="combo3" class="combo_search" position="absolute 105 35 210 54" style="" anchor="default"/>
- <Static id="caption24" class="search_no_b" position="absolute 193 10 205 27" style="" text="~" anchor="default"/>
- <Static id="caption25" class="search_name" position="absolute 15 36 105 53" style="" text="작업그룹 :" anchor="default"/>
- <Static id="caption26" class="search_name" position="absolute 304 9 394 26" style="" text="작업번호 :" anchor="default"/>
- <Calendar id="input5" class="input_search" position="absolute 105 8 190 27" style="" anchor="default"/>
- <Static id="caption27" class="search_no_b" position="absolute 440 10 452 27" style="" text="~" anchor="default"/>
- <Calendar id="input6" class="input_search" position="absolute 209 8 294 27" style="" anchor="default"/>
- <Edit id="input7" class="input_search" position="absolute 392 8 437 27" style="" anchor="default"/>
- <Edit id="input8" class="input_search" position="absolute 457 8 502 27" style="" anchor="default"/>
- <Static id="caption29" class="search_name" position="absolute 414 34 504 51" style="" text="검사항목 :" anchor="default"/>
- <Button id="button4" class="icon_search" position="absolute 1071 32 1087 48" text="" onclick="group3_group4_button4_onclick" anchor="default"/>
- <Edit id="input9" class="input_search" position="absolute 625 33 1059 52" style="" anchor="default"/>
- <Combo innerdataset="ds_init_LB0103" datacolumn="nm" codecolumn="cd" columncount="-1" rowcount="-1" id="combo4" class="combo_search" position="absolute 506 33 624 52" style="" onitemchanged="group3_group4_combo4_onitemchanged" anchor="default"/>
- <Static id="caption30" class="search_name" position="absolute 225 35 320 52" style="" text="결과코드 :" anchor="default"/>
- <Edit id="input10" class="input_essential" position="absolute 1018 7 1094 26" style="" anchor="default" onkeyup="group3_group4_input10_onkeyup"/>
- <Edit id="output11" class="output_fix" position="absolute 1096 7 1178 26" style="" anchor="default" readonly="true"/>
- <Static id="caption31" class="tit_2" position="absolute 948 10 1014 23" style="" text="검사자 :" anchor="default"/>
- <Combo innerdataset="ds_init_LB0109[etc01='']" datacolumn="nm" codecolumn="cd" columncount="-1" rowcount="-1" id="combo5" class="combo_search" position="absolute 315 34 400 53" style="" onitemchanged="group3_group4_combo5_onitemchanged" anchor="default"/>
- <Static id="caption32" class="tit_2" position="absolute 948 10 1014 23" style="" text="검사자 :" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group1" position="absolute 0 10 1195 70" style="" anchor="default" class="div_SA2">
- <Layouts>
- <Layout>
- <Button id="button1" class="btn1" position="absolute 855 20 911 42" style="" text="조회" onclick="group3_group1_button1_onclick" anchor="default"/>
- <Shape id="line11" class="line_4" linetype="vertical" position="absolute 820 5 823 53" style="" anchor="default"/>
- <Static id="caption1" class="search_name" position="absolute 15 9 105 26" style="" text="접수일자 :" anchor="default"/>
- <Combo innerdataset="ds_init_LB0106" datacolumn="nm" codecolumn="cd" columncount="-1" rowcount="-1" id="combo1" class="combo_search" visible="false" position="absolute 500 10 605 29" style="" anchor="default"/>
- <Static id="caption3" class="search_no_b" position="absolute 238 10 250 27" style="" text="~" anchor="default"/>
- <Calendar id="input1" class="input_search" position="absolute 105 8 190 27" style="" anchor="default" autoselect="true"/>
- <MaskEdit id="input_starttm" class="input_search" mask="##:##" position="absolute 190 8 235 27" style="" anchor="default" type="string"/>
- <Calendar id="input2" class="input_search" position="absolute 254 8 339 27" style="" anchor="default" autoselect="true"/>
- <MaskEdit id="input_endtm" class="input_search" mask="##:##" position="absolute 340 8 385 27" style="" anchor="default" type="string"/>
- <Static id="caption9" class="search_name" position="absolute 15 35 105 52" style="" text="검사항목 :" anchor="default"/>
- <Button id="button61" class="icon_search" position="absolute 610 35 626 51" text="" onclick="group3_group1_button61_onclick" anchor="default"/>
- <Edit id="ipt_tclscdlist" class="input_search" position="absolute 230 35 605 54" style="" anchor="default"/>
- <Combo innerdataset="@ds_init_LB0103" datacolumn="nm" codecolumn="cd" columncount="-1" rowcount="-1" id="combo2" class="combo_search" position="absolute 105 35 223 54" style="itemheight:15;" onitemchanged="group3_group1_combo2_onitemchanged" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="datagrid4" binddataset="ds_hidden_ordcd" class="datagrid2" position="absolute 965 270 1040 355" style="" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- </Columns>
- <Rows>
- <Row size="23" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell text="bcno"/>
- <Cell col="1" text="주검사코드"/>
- <Cell col="2" text="검체코드"/>
- <Cell col="3" text="부검사코드"/>
- <Cell col="4" text="소견코드"/>
- <Cell col="5" text="소견명"/>
- <Cell col="6" text="사용자id"/>
- <Cell col="7" text="instcd"/>
- </Band>
- <Band id="body">
- <Cell text="bind:bcno"/>
- <Cell col="1" text="bind:tclscd"/>
- <Cell col="2" text="bind:spccd"/>
- <Cell col="3" text="bind:testcd"/>
- <Cell col="4" text="bind:testcontcd"/>
- <Cell col="5" text="bind:testcont"/>
- <Cell col="6" text="bind:userid"/>
- <Cell col="7" text="bind:instcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="datagrid3" binddataset="ds_hidden_test" class="datagrid2" position="absolute 135 180 640 290" style="" onmousedown="group3_datagrid3_onmousedown" onaftersort="group3_datagrid3_onaftersort" oncopy="group3_datagrid3_oncopy" onkeydown="group3_datagrid3_onkeydown" oncellclick="group3_datagrid3_oncellclick" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- </Columns>
- <Rows>
- <Row size="23" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell text="instcd"/>
- <Cell col="1" text="검사코드"/>
- <Cell col="2" text="바코드번호"/>
- <Cell col="3" text="등록번호"/>
- <Cell col="4" text="ioflag"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:testcd"/>
- <Cell col="2" text="bind:bcno"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" text="bind:ioflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="datagrid5" binddataset="_root_rsltlist" class="datagrid2" position="absolute 290 310 795 420" style="" onmousedown="group3_datagrid5_onmousedown" onaftersort="group3_datagrid5_onaftersort" oncopy="group3_datagrid5_oncopy" onkeydown="group3_datagrid5_onkeydown" oncellclick="group3_datagrid5_oncellclick" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="300"/>
- </Columns>
- <Rows>
- <Row size="23" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell text="RESULT"/>
- </Band>
- <Band id="body">
- <Cell text="bind:reptrslt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 95 1194 98" style="strokepen:5 solid #33bbbbff;" anchor="default"/>
- <Static id="caption2" class="tit_2" position="absolute 5 80 139 94" style="" text="검사항목내역" anchor="default"/>
- <Button id="button2" class="btn7" position="absolute 925 30 976 53" style="" text="엑셀" onclick="group3_button2_onclick" anchor="default"/>
- <Grid id="datagrid1" binddataset="ds_main_testinfo_testlist" class="datagrid2" visible="false" position="absolute 135 305 435 385" style="" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="150"/>
- <Column size="118"/>
- <Column size="104"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="rkey"/>
- <Cell col="1" text="workno"/>
- <Cell col="2" text="bcno"/>
- <Cell col="3" text="execprcpuniqno"/>
- <Cell col="4" text="testcd"/>
- <Cell col="5" text="spccd"/>
- <Cell col="6" text="bufinptrslt"/>
- <Cell col="7" text="reptrslt"/>
- <Cell col="8" text="rsltunit"/>
- <Cell col="9" text="judgmark"/>
- <Cell col="10" text="panicmark"/>
- <Cell col="11" text="deltamark"/>
- <Cell col="12" text="criticalmark"/>
- <Cell col="13" text="alertmark"/>
- <Cell col="14" text="rsltmark"/>
- <Cell col="15" text="rsltstat"/>
- <Cell col="16" text="bfbcno"/>
- <Cell col="17" text="bflastreptdt"/>
- <Cell col="18" text="testeqmtcd"/>
- <Cell col="19" text="comment"/>
- <Cell col="20" text="tclskind"/>
- <Cell col="21" text="spcacptid"/>
- <Cell col="22" text="spcacptdt"/>
- <Cell col="23" text="spcacptnm"/>
- <Cell col="24" text="rsltrgsgid"/>
- <Cell col="25" text="rsltrgstdt"/>
- <Cell col="26" text="rsltrgstnm"/>
- <Cell col="27" text="mdlreptid"/>
- <Cell col="28" text="mdlreptdt"/>
- <Cell col="29" text="mdlreptnm"/>
- <Cell col="30" text="lastreptid"/>
- <Cell col="31" text="lastreptdt"/>
- <Cell col="32" text="lastreptnm"/>
- <Cell col="33" text="tclscd"/>
- <Cell col="34" text="bfinptrslt"/>
- <Cell col="35" text="bfreptrslt"/>
- <Cell col="36" text="rsltseq"/>
- <Cell col="37" text="prcpgenrflag"/>
- <Cell col="38" text="rsltkind"/>
- <Cell col="39" text="rsltintsize"/>
- <Cell col="40" text="rsltdcmlsize"/>
- <Cell col="41" text="rundkind"/>
- <Cell col="42" text="rvalflag"/>
- <Cell col="43" text="descrval"/>
- <Cell col="44" text="judgkind"/>
- <Cell col="45" text="userjudgchar1"/>
- <Cell col="46" text="userjudgchar2"/>
- <Cell col="47" text="userjudgchar3"/>
- <Cell col="48" text="panicflag"/>
- <Cell col="49" text="panicminval"/>
- <Cell col="50" text="panicmaxval"/>
- <Cell col="51" text="deltaflag"/>
- <Cell col="52" text="deltaminval"/>
- <Cell col="53" text="deltamaxval"/>
- <Cell col="54" text="deltaterm"/>
- <Cell col="55" text="criticflag"/>
- <Cell col="56" text="criticminval"/>
- <Cell col="57" text="criticmaxval"/>
- <Cell col="58" text="alertflag"/>
- <Cell col="59" text="alertminval"/>
- <Cell col="60" text="allertmaxval"/>
- <Cell col="61" text="alimitls"/>
- <Cell col="62" text="alimitflag"/>
- <Cell col="63" text="alimitminval"/>
- <Cell col="64" text="alimith"/>
- <Cell col="65" text="alimiths"/>
- <Cell col="66" text="alimitls"/>
- <Cell col="67" text="refl"/>
- <Cell col="68" text="refls"/>
- <Cell col="69" text="refh"/>
- <Cell col="70" text="refhs"/>
- <Cell col="71" text="reflt"/>
- <Cell col="72" text="rstinterval"/>
- <Cell col="73" text="iud"/>
- <Cell col="74" text="spcscrnnm"/>
- <Cell col="75" text="inptrslt"/>
- <Cell col="76" text="testcmt"/>
- </Band>
- <Band id="body">
- <Cell text="bind:rkey"/>
- <Cell col="1" text="bind:workno"/>
- <Cell col="2" text="bind:bcno"/>
- <Cell col="3" text="bind:execprcpuniqno"/>
- <Cell col="4" text="bind:testcd"/>
- <Cell col="5" text="bind:spccd"/>
- <Cell col="6" text="bind:bufinptrslt"/>
- <Cell col="7" text="bind:reptrslt"/>
- <Cell col="8" text="bind:rsltunit"/>
- <Cell col="9" text="bind:judgmark"/>
- <Cell col="10" text="bind:panicmark"/>
- <Cell col="11" text="bind:deltamark"/>
- <Cell col="12" text="bind:criticalmark"/>
- <Cell col="13" text="bind:alertmark"/>
- <Cell col="14" text="bind:rsltmark"/>
- <Cell col="15" text="bind:rsltstat"/>
- <Cell col="16" text="bind:bfbcno"/>
- <Cell col="17" text="bind:bflastreptdt"/>
- <Cell col="18" text="bind:testeqmtcd"/>
- <Cell col="19" text="bind:comment"/>
- <Cell col="20" text="bind:tclskind"/>
- <Cell col="21" text="bind:spcacptid"/>
- <Cell col="22" text="bind:spcacptdt"/>
- <Cell col="23" text="bind:spcacptnm"/>
- <Cell col="24" text="bind:rsltrgsgid"/>
- <Cell col="25" text="bind:rsltrgstdt"/>
- <Cell col="26" text="bind:rsltrgstnm"/>
- <Cell col="27" text="bind:mdlreptid"/>
- <Cell col="28" text="bind:mdlreptdt"/>
- <Cell col="29" text="bind:mdlreptnm"/>
- <Cell col="30" text="bind:lastreptid"/>
- <Cell col="31" text="bind:lastreptdt"/>
- <Cell col="32" text="bind:lastreptnm"/>
- <Cell col="33" text="bind:tclscd"/>
- <Cell col="34" text="bind:bfinptrslt"/>
- <Cell col="35" text="bind:bfreptrslt"/>
- <Cell col="36" text="bind:rsltseq"/>
- <Cell col="37" text="bind:prcpgenrflag"/>
- <Cell col="38" text="bind:rsltkind"/>
- <Cell col="39" text="bind:rsltintsize"/>
- <Cell col="40" text="bind:rsltdcmlsize"/>
- <Cell col="41" text="bind:rundkind"/>
- <Cell col="42" text="bind:rvalflag"/>
- <Cell col="43" text="bind:descrval"/>
- <Cell col="44" text="bind:judgkind"/>
- <Cell col="45" text="bind:userjudgchar1"/>
- <Cell col="46" text="bind:userjudgchar2"/>
- <Cell col="47" text="bind:userjudgchar3"/>
- <Cell col="48" text="bind:panicflag"/>
- <Cell col="49" text="bind:panicminval"/>
- <Cell col="50" text="bind:panicmaxval"/>
- <Cell col="51" text="bind:deltaflag"/>
- <Cell col="52" text="bind:deltaminval"/>
- <Cell col="53" text="bind:deltamaxval"/>
- <Cell col="54" text="bind:deltaterm"/>
- <Cell col="55" text="bind:criticflag"/>
- <Cell col="56" text="bind:criticminval"/>
- <Cell col="57" text="bind:criticmaxval"/>
- <Cell col="58" text="bind:alertflag"/>
- <Cell col="59" text="bind:alertminval"/>
- <Cell col="60" text="bind:allertmaxval"/>
- <Cell col="61" text="bind:alimitls"/>
- <Cell col="62" text="bind:alimitflag"/>
- <Cell col="63" text="bind:alimitminval"/>
- <Cell col="64" text="bind:alimith"/>
- <Cell col="65" text="bind:alimiths"/>
- <Cell col="66" text="bind:alimitls"/>
- <Cell col="67" text="bind:refl"/>
- <Cell col="68" text="bind:refls"/>
- <Cell col="69" text="bind:refh"/>
- <Cell col="70" text="bind:refhs"/>
- <Cell col="71" text="bind:reflt"/>
- <Cell col="72" text="bind:rstinterval"/>
- <Cell col="73" text="bind:iud"/>
- <Cell col="74" text="bind:spcscrnnm"/>
- <Cell col="75" text="bind:inptrslt"/>
- <Cell col="76" text="bind:testcmt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line8" class="line_2" linetype="horizontal" position="absolute 267 687 522 690" style="" anchor="default"/>
- <Edit id="ipt_bf" class="input_fix" position="absolute 343 642 522 661" style="" anchor="default"/>
- <Grid id="datagrid2" binddataset="ds_main_testinfo_spcinfo" position="absolute 83 664 262 712" style="" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="27"/>
- </Columns>
- <Rows>
- <Row size="23" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell text="N"/>
- <Cell col="1" text="P"/>
- <Cell col="2" text="D"/>
- <Cell col="3" text="C"/>
- <Cell col="4" text="A"/>
- <Cell col="5" text="R"/>
- </Band>
- <Band id="body">
- <Cell text="bind:judgmark"/>
- <Cell col="1" text="bind:panicmark"/>
- <Cell col="2" text="bind:deltamark"/>
- <Cell col="3" text="bind:criticalmark"/>
- <Cell col="4" text="bind:alertmark"/>
- <Cell col="5" text="bind:rsltmark"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Combo innerdataset="ds_init_LB0210" datacolumn="nm" codecolumn="cd" columncount="-1" rowcount="-1" id="cmb_cmt" class="combo_default" position="absolute 923 617 1173 636" style="" onitemclick="group3_cmb_cmt_onitemclick" anchor="default"/>
- <MaskEdit id="ipt_bfdt" class="input_fix" mask="yyyy-mm-dd hh:nn:ss" position="absolute 343 666 522 685" style="" anchor="default"/>
- <Edit id="output10" class="output_fix" position="absolute 436 720 521 739" style="" anchor="default" readonly="true"/>
- <Edit id="output6" class="output_fix" position="absolute 343 690 522 709" style="" anchor="default" readonly="true"/>
- <Edit id="output7" position="absolute 680 591 780 610" style="" anchor="default" readonly="true"/>
- <Shape id="line10" class="line_1" linetype="horizontal" position="absolute 785 610 1194 613" style="" anchor="default"/>
- <Edit id="output8" class="output_fix" position="absolute 83 720 168 739" style="" anchor="default" readonly="true"/>
- <Static id="caption20" class="cell_1" position="absolute 0 719 80 742" style="" text="결과입력자" anchor="default"/>
- <Button id="button5" class="icon_search" position="absolute 1178 617 1194 633" text="" onclick="group3_button5_onclick" anchor="default"/>
- <Edit id="output9" class="output_fix" position="absolute 274 720 359 739" style="" anchor="default" readonly="true"/>
- <Shape id="line12" class="line_1" linetype="horizontal" position="absolute 527 610 780 613" style="" anchor="default"/>
- <Button id="button6" class="btn2" position="absolute 1130 591 1194 610" style="" text="소견저장" onclick="group3_button6_onclick" anchor="default"/>
- <Static id="caption21" class="cell_1" position="absolute 171 719 271 742" style="" text="중간보고자" anchor="default"/>
- <Shape id="line13" class="line_2" linetype="horizontal" position="absolute 267 711 522 714" style="" anchor="default"/>
- <Static id="caption10" class="tit_2" position="absolute 5 595 79 608" style="" text="검체정보" anchor="default"/>
- <Static id="caption11" class="cell_1" position="absolute 0 615 80 638" style="" text="검체명" anchor="default"/>
- <Static id="caption22" class="cell_1" position="absolute 363 719 433 742" style="" text="최종보고자" anchor="default"/>
- <Static id="caption12" class="cell_1" position="absolute 0 639 80 717" style="" text="참고치&판정" anchor="default"/>
- <Static id="caption35" class="tit_2" position="absolute 790 595 874 609" style="" text="소견" anchor="default"/>
- <Static id="caption13" class="cell_1" position="absolute 267 617 340 640" style="" text="보이는결과" anchor="default"/>
- <Static id="caption14" class="cell_1" position="absolute 267 641 340 664" style="" text="이전결과" anchor="default"/>
- <Shape id="line2" class="line_1" linetype="horizontal" position="absolute 0 610 522 613" style="" anchor="default"/>
- <Static id="caption15" class="cell_1" position="absolute 267 665 340 688" style="" text="이전결과일" anchor="default"/>
- <Shape id="line3" class="line_2" linetype="horizontal" position="absolute 0 717 262 720" style="" anchor="default"/>
- <Static id="caption16" class="cell_1" position="absolute 267 689 340 712" style="" text="검사장비" anchor="default"/>
- <TextArea id="textarea1" position="absolute 527 617 780 742" style="" onkillfocus="group3_textarea1_onkillfocus" anchor="default"/>
- <Shape id="line4" class="line_2" linetype="horizontal" position="absolute 0 637 262 640" style="" anchor="default"/>
- <TextArea id="textarea3" position="absolute 825 639 1194 689" style="" onkillfocus="group3_textarea3_onkillfocus" onclick="group3_textarea3_onclick" anchor="default"/>
- <TextArea id="text_testcmts" position="absolute 825 690 1194 742" style="" onkillfocus="group3_text_testcmts_onkillfocus" onclick="group3_text_testcmts_onclick" anchor="default"/>
- <Static id="cap_1818" class="cell_1" position="absolute 785 638 823 741" style="" text="시행 부서 검사 항목" anchor="default"/>
- <Combo innerdataset="ds_hidden_testconttsectcd" datacolumn="nm" codecolumn="cd" columncount="-1" rowcount="-1" id="cmb_sect" class="combo_default" position="absolute 785 617 920 636" style="" onitemclick="group3_cmb_sect_onitemclick" anchor="default"/>
- <Static id="caption18" class="tit_2" position="absolute 532 595 616 608" style="" text="comment" anchor="default"/>
- <Shape id="line5" class="line_2" linetype="horizontal" position="absolute 83 661 262 664" style="" anchor="default"/>
- <Edit id="output1" class="output_fix" position="absolute 83 616 262 635" style="" anchor="default" readonly="true"/>
- <Shape id="line6" class="line_2" linetype="horizontal" position="absolute 267 639 522 642" style="" anchor="default"/>
- <Edit id="output2" class="output_fix" position="absolute 83 640 262 659" style="" anchor="default" readonly="true"/>
- <Shape id="line7" class="line_2" linetype="horizontal" position="absolute 267 663 522 666" style="" anchor="default"/>
- <Edit id="output3" class="output_fix" position="absolute 343 618 522 637" style="" anchor="default" readonly="true"/>
- <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="radio2" position="absolute 795 623 810 708" style="" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn"/>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button id="btn_cle" class="btn4" position="absolute 705 30 773 52" style="" text="초기화" onclick="group3_btn_cle_onclick" anchor="default"/>
- <Grid id="grd_testlist" binddataset="ds_main_testinfo_patlist" class="datagrid2" position="absolute 0 100 1194 746" onkeypress="group3_grd_testlist_onkeypress" onmousedown="group3_grd_testlist_onmousedown" onaftersort="group3_grd_testlist_onaftersort" oncopy="group3_grd_testlist_oncopy" onkeydown="group3_grd_testlist_onkeydown" scrollbars="autoboth" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="26"/>
- <Column size="20"/>
- <Column size="114"/>
- <Column size="98"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="140"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="77"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="35" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="접수일시"/>
- <Cell col="3" text="바코드번호"/>
- <Cell col="4" text="등록번호"/>
- <Cell col="5" text="성명"/>
- <Cell col="6" text="성별"/>
- <Cell col="7" text="나이"/>
- <Cell col="8" text="진료과"/>
- <Cell col="9" text="병동_병실"/>
- <Cell col="10" text="의뢰의사"/>
- <Cell col="11" text="검체명"/>
- <Cell col="12" text="inptrslt1" wordwrap="char"/>
- <Cell col="13" text="inptrslt12" wordwrap="char"/>
- <Cell col="14" text="inptrslt3" wordwrap="char"/>
- <Cell col="15" text="inptrslt4" wordwrap="char"/>
- <Cell col="16" text="inptrslt5" wordwrap="char"/>
- <Cell col="17" text="inptrslt6" wordwrap="char"/>
- <Cell col="18" text="inptrslt7"/>
- <Cell col="19" text="inptrslt8"/>
- <Cell col="20" text="inptrslt9"/>
- <Cell col="21" text="inptrslt10"/>
- <Cell col="22" text="inptrslt11"/>
- <Cell col="23" text="inptrslt12"/>
- <Cell col="24" text="inptrslt13"/>
- <Cell col="25" text="inptrslt14"/>
- <Cell col="26" text="inptrslt15"/>
- <Cell col="27" text="inptrslt16"/>
- <Cell col="28" text="inptrslt17"/>
- <Cell col="29" text="inptrslt18"/>
- <Cell col="30" text="inptrslt19"/>
- <Cell col="31" text="inptrslt20"/>
- <Cell col="32" text="inptrslt21"/>
- <Cell col="33" text="inptrslt22"/>
- <Cell col="34" text="inptrslt23"/>
- <Cell col="35" text="inptrslt24"/>
- <Cell col="36" text="inptrslt25"/>
- <Cell col="37" text="inptrslt26"/>
- <Cell col="38" text="inptrslt27"/>
- <Cell col="39" text="inptrslt28"/>
- <Cell col="40" text="inptrslt29"/>
- <Cell col="41" text="inptrslt30"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="2" displaytype="date" text="bind:spcacptdt" mask="yyyy-MM-dd HH:mm"/>
- <Cell col="3" text="bind:bcno"/>
- <Cell col="4" text="bind:pid"/>
- <Cell col="5" text="bind:patnm"/>
- <Cell col="6" text="bind:patsex"/>
- <Cell col="7" text="bind:patage"/>
- <Cell col="8" text="bind:orddeptnm"/>
- <Cell col="9" text="bind:wardroom"/>
- <Cell col="10" text="bind:orddrnm"/>
- <Cell col="11" displaytype="combo" text="bind:spccd" combodataset="ds_init_LB0105" combocodecol="cd" combodatacol="nm"/>
- <Cell col="12" text="bind:inptrslt1" wordwrap="char"/>
- <Cell col="13" text="bind:inptrslt2"/>
- <Cell col="14" text="bind:inptrslt3" wordwrap="char"/>
- <Cell col="15" text="bind:inptrslt4"/>
- <Cell col="16" text="bind:inptrslt5"/>
- <Cell col="17" text="bind:inptrslt6"/>
- <Cell col="18" text="bind:inptrslt7"/>
- <Cell col="19" text="bind:inptrslt8"/>
- <Cell col="20" text="bind:inptrslt9"/>
- <Cell col="21" text="bind:inptrslt10"/>
- <Cell col="22" style="background:#ffffffff;background2:#ffffffff;" text="bind:inptrslt11"/>
- <Cell col="23" style="background:#ffffffff;background2:#ffffffff;" text="bind:inptrslt12"/>
- <Cell col="24" text="bind:inptrslt13"/>
- <Cell col="25" text="bind:inptrslt14"/>
- <Cell col="26" text="bind:inptrslt15"/>
- <Cell col="27" text="bind:inptrslt16"/>
- <Cell col="28" text="bind:inptrslt17"/>
- <Cell col="29" text="bind:inptrslt18"/>
- <Cell col="30" text="bind:inptrslt19"/>
- <Cell col="31" text="bind:inptrslt20"/>
- <Cell col="32" text="bind:inptrslt21"/>
- <Cell col="33" text="bind:inptrslt22"/>
- <Cell col="34" text="bind:inptrslt23"/>
- <Cell col="35" text="bind:inptrslt24"/>
- <Cell col="36" text="bind:inptrslt25"/>
- <Cell col="37" text="bind:inptrslt26"/>
- <Cell col="38" text="bind:inptrslt27"/>
- <Cell col="39" text="bind:inptrslt28"/>
- <Cell col="40" text="bind:inptrslt29"/>
- <Cell col="41" text="bind:inptrslt30"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group2" position="absolute 0 0 1195 37" style="">
- <Layouts>
- <Layout>
- <Static id="caption17" class="tit_1" position="absolute 0 0 179 25" style="" text="ABO 두검사결과 비교조회" ondblclick="group2_caption17_ondblclick" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_testinfo_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_testinfo_testlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_testinfo_spcinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_refparam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="startdd" type="STRING" size="256"/>
- <Column id="enddd" type="STRING" size="256"/>
- <Column id="tsectcd" type="STRING" size="256"/>
- <Column id="sworkseq" type="STRING" size="256"/>
- <Column id="eworkseq" type="STRING" size="256"/>
- <Column id="starttm" type="STRING" size="256"/>
- <Column id="endtm" type="STRING" size="256"/>
- <Column id="rsltstat0" type="STRING" size="256"/>
- <Column id="rsltstat1" type="STRING" size="256"/>
- <Column id="rsltstat2" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="tclscdlist" type="STRING" size="256"/>
- <Column id="tclscdlist2" type="STRING" size="256"/>
- <Column id="rsltstat" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_ref_tclscdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="testgrup" type="STRING" size="256"/>
- <Column id="tclsnmlist" type="STRING" size="256"/>
- <Column id="tclscdlist" type="STRING" size="256"/>
- <Column id="tclscdlist2" type="STRING" size="256"/>
- <Column id="tclsnmlist2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_getUsernm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_testconttsectcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="Column0" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_LB0106" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_LB0103" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="BIGDECIMAL" size="255"/>
- <Column id="nm" type="STRING" size="255"/>
- <Column id="etc01" type="STRING" size="255"/>
- <Column id="etc02" type="STRING" size="255"/>
- <Column id="etc03" type="STRING" size="255"/>
- <Column id="etc04" type="STRING" size="255"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_LB0109" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_LB0000" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_LB0210" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_LB0105" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_LB1005" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_testgrupdetl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_tclscdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tclscdlist" type="STRING" size="256"/>
- <Column id="tclsnmlist" type="STRING" size="256"/>
- <Column id="tclscdlist2" type="STRING" size="256"/>
- <Column id="tclsnmlist2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_default" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.group4.combo3" propid="value" datasetid="ds_hidden_refparam" columnid="tsectcd"/>
- <BindItem id="item1" compid="group3.group4.input5" propid="value" datasetid="ds_hidden_refparam" columnid="startdd"/>
- <BindItem id="item2" compid="group3.group4.input6" propid="value" datasetid="ds_hidden_refparam" columnid="enddd"/>
- <BindItem id="item3" compid="group3.group4.input7" propid="value" datasetid="ds_hidden_refparam" columnid="sworkseq"/>
- <BindItem id="item4" compid="group3.group4.input8" propid="value" datasetid="ds_hidden_refparam" columnid="eworkseq"/>
- <BindItem id="item5" compid="group3.group4.input9" propid="value" datasetid="ds_hidden_ref_tclscdlist" columnid="tclsnmlist"/>
- <BindItem id="item6" compid="group3.group4.combo4" propid="value" datasetid="ds_hidden_ref_tclscdlist" columnid="testgrup"/>
- <BindItem id="item7" compid="group3.group4.input10" propid="value" datasetid="ds_hidden_refparam" columnid="userid"/>
- <BindItem id="item8" compid="group3.group4.output11" propid="value" datasetid="ds_main_getUsernm" columnid="usernm"/>
- <BindItem id="item9" compid="group3.group4.combo5" propid="value" datasetid="ds_hidden" columnid="rsltcont"/>
- <BindItem id="item10" compid="group3.group1.combo1" propid="value" datasetid="ds_hidden_refparam" columnid="tsectcd"/>
- <BindItem id="item11" compid="group3.group1.input1" propid="value" datasetid="ds_hidden_refparam" columnid="startdd"/>
- <BindItem id="item12" compid="group3.group1.input_starttm" propid="value" datasetid="ds_hidden_refparam" columnid="starttm"/>
- <BindItem id="item13" compid="group3.group1.input2" propid="value" datasetid="ds_hidden_refparam" columnid="enddd"/>
- <BindItem id="item14" compid="group3.group1.input_endtm" propid="value" datasetid="ds_hidden_refparam" columnid="endtm"/>
- <BindItem id="item15" compid="group3.group1.ipt_tclscdlist" propid="value" datasetid="ds_hidden_ref_tclscdlist" columnid="tclsnmlist"/>
- <BindItem id="item16" compid="group3.group1.combo2" propid="value" datasetid="ds_hidden_ref_tclscdlist" columnid="testgrup"/>
- <BindItem id="item17" compid="group3.ipt_bf" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="bfreptrslt"/>
- <BindItem id="item18" compid="group3.cmb_cmt" propid="value" datasetid="ds_hidden_testcont" columnid="testcontcd"/>
- <BindItem id="item19" compid="group3.ipt_bfdt" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="bflastreptdt"/>
- <BindItem id="item20" compid="group3.output10" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="lastreptnm"/>
- <BindItem id="item21" compid="group3.output6" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="testeqmtcd"/>
- <BindItem id="item22" compid="group3.output7" propid="value" datasetid="ds_hidden" columnid="currenRow"/>
- <BindItem id="item23" compid="group3.output8" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="rsltrgsgnm"/>
- <BindItem id="item24" compid="group3.output9" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="mdlreptnm"/>
- <BindItem id="item25" compid="group3.textarea1" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="testcmt"/>
- <BindItem id="item26" compid="group3.textarea3" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="testcont"/>
- <BindItem id="item27" compid="group3.text_testcmts" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="testcmts"/>
- <BindItem id="item28" compid="group3.cmb_sect" propid="value" datasetid="ds_hidden_testcont" columnid="tsectcd"/>
- <BindItem id="item29" compid="group3.output1" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="spcscrnnm"/>
- <BindItem id="item30" compid="group3.output2" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="refval"/>
- <BindItem id="item31" compid="group3.output3" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="reptrslt"/>
- <BindItem id="item32" compid="group3.radio2" propid="value" datasetid="ds_hidden" columnid="cmtflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LLZ001.xjs";
- // include "lis_commonxp::LZZ001.xjs";
- // include "lis_commonxp::LZZ002.xjs";
- // include "lis_commonxp::LPZ001.xjs";
- // include "com_commodulexp::SSZFM00901.xjs";
- // include '../../.._com_commonweb_js_common.js'
- // include '../../.._com_commonweb_js_dateHelper.js'
- // include '../../.._com_commonweb_js_numericHelper.js'
- // include '../../.._lis_commonweb_js_LLZ001.js'
- // include '../../.._com_commonweb_js_tfHelper.js'
- // include '../../.._com_commonweb_js_stringHelper.js'
- var gStartCol = 12;
- function SMLLR00420_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(group3.grd_testlist);
- lf_setInit();
- }
- function lf_setInit(ref){
- if(ref != 2) {
- ds_main_testinfo_patlist.clearData();
- ds_main_testinfo_testlist.clearData();
- ds_main_testinfo_spcinfo.clearData(); ds_main_testinfo_spcinfo.addRow();
- ds_hidden_refparam.setColumn( 0, "startdd" , utlf_getCurrentDate());
- ds_hidden_refparam.setColumn( 0, "enddd" , utlf_getCurrentDate());
- ds_hidden_refparam.setColumn( 0, "tsectcd" , "00");
- ds_hidden_refparam.setColumn( 0, "sworkseq" , "0");
- ds_hidden_refparam.setColumn( 0, "eworkseq" , "0");
- ds_hidden_refparam.setColumn( 0, "starttm" , "0000");
- ds_hidden_refparam.setColumn( 0, "endtm" , "2359");
- ds_hidden_refparam.setColumn( 0, "rsltstat0" , "1");
- ds_hidden_ref_tclscdlist.setColumn( 0, "tclsnmlist" , "");
- ds_hidden_ref_tclscdlist.setColumn( 0, "testgrup" , "");
- ds_hidden.setColumn( 0, "rsltcont" , "");
- ds_hidden_refparam.setColumn( 0, "rsltstat1" , "");
- ds_hidden_refparam.setColumn( 0, "rsltstat2" , "");
- ds_hidden.setColumn( 0, "cursor" , "1");
- // group3.datagrid2.setCellProprty("body", 1, "background", "#FFFFFF");
- // datagrid2.setCellProperty("body", 1, "background2", "#FFFFFF");
- //ds_hidden_refparam.setColumn( 0, "testgrupseqno", ds_init_LB0103.getColumn(0, "cd"));
- group3.datagrid2.enable = false;
- // group3.grd_testlist.fixedcellcheckbox(0, 1) = true;
- // group3.grd_testlist.fixedcellischeck(0, 1) = false;
- //group3.grd_testlist.removeRow();
- for(i=group3.grd_testlist.cols ; i >= gStartCol ; i--)
- group3.grd_testlist.setFormatColProperty( i, "size", 0);
- if(ref != 1) {
- ds_hidden_refparam.setColumn( 0, "userid" , "");
- ds_main_getUsernm.setColumn( 0, "usernm" , "");
- }
- }
- //fBaseInfoRef("0106|0103|0109|0000|0210|0105|1005|");
- // dsf_createDs("ds_init_LB0106");
- // dsf_createDs("ds_init_LB0103");
- // dsf_createDs("ds_init_LB0109");
- // dsf_createDs("ds_init_LB0000");
- // dsf_createDs("ds_init_LB0210");
- // dsf_createDs("ds_init_LB0105");
- // dsf_createDs("ds_init_LB1005");
-
- dsf_createDsRow("ds_temp_search"
- , [{col: "codeflag", val: "0106|0103|0109|0000|0210|0105|1005|"}]);
-
- // 서브밋호출
- var oParam = {};
- oParam.id = "TRLZZ00101";
- oParam.service = "diagtestapplib.DiagTestBaseInfoMngt";
- oParam.method = "reqGetInitCodeInfo";
- oParam.inds = "cond=ds_temp_search";
- oParam.outds = "ds_init_LB0106=0106 "
- +"ds_init_LB0103=0103 "
- +"ds_init_LB0109=0109 "
- +"ds_init_LB0000=0000 "
- +"ds_init_LB0210=0210 "
- +"ds_init_LB0105=0105 "
- +"ds_init_LB1005=1005 ";
- oParam.async = false;
-
- tranf_submit(oParam);
- fCMTPCD_ChangeNodeset();
- //model.refresh();
- }
- //스크립트 시작 ***
- //전체에서 event와 src를 제외한 script 를 모두포함.
- function fOnclick_btnRef()
- {
- if(utlf_isNull(ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist")))
- {
- sysf_messageBox("검사항목을","C002","") ;
- return;
- }
- var sworkseq = ds_hidden_refparam.getColumn(0, "sworkseq");
- var eworkseq = ds_hidden_refparam.getColumn(0, "eworkseq");
- // sworkseq = sworkseq.getLeftPad(4,"0");
- eworkseq = eworkseq.getLeftPad(4,"0");
- ds_hidden_refparam.setColumn( 0, "sworkseq" , sworkseq);
- ds_hidden_refparam.setColumn( 0, "eworkseq" , eworkseq);
- ds_hidden_refparam.setColumn( 0, "tclscdlist" , ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist"));
- ds_hidden_refparam.setColumn( 0, "tclscdlist2" , ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist2"));
- var rsltstat0 = ds_hidden_refparam.getColumn(0, "rsltstat0");
- var rsltstat1 = ds_hidden_refparam.getColumn(0, "rsltstat1");
- var rsltstat2 = ds_hidden_refparam.getColumn(0, "rsltstat2");
- if(rsltstat0 == "" && rsltstat1 == "" && rsltstat2 == ""){
- sysf_messageBox("결과구분을 하나이상","C002","") ;
- return;
- }
- // 결과구분 정의
- var isRstGbn0 = false; //결과미입력
- var isRstGbn1 = false; //결과입력
- var isRstGbn2 = false; //최종보고
- if(rsltstat0 == "1") isRstGbn0 = true;
- if(rsltstat1 == "1") isRstGbn1 = true;
- if(rsltstat2 == "1") isRstGbn2 = true;
- if (isRstGbn2) {
- ds_hidden_refparam.setColumn( 0, "rsltstat" , "3");
- } else {
- if (isRstGbn0 && isRstGbn1) {
- ds_hidden_refparam.setColumn( 0, "rsltstat" , "2");
- } else if (isRstGbn1) {
- ds_hidden_refparam.setColumn( 0, "rsltstat" , "1");
- } else {
- ds_hidden_refparam.setColumn( 0, "rsltstat" , "0");
- }
- }
- ds_send_data1.copyData(ds_hidden_refparam);
- dsf_makeValue( ds_send_data1, "userdeptflagcd", "string", ds_init_LB0000.getColumn(0, "nm"));
- // submit("TRLLR00403" , false);
- var oParam = {};
- oParam.id = "TRLLR00403";
- oParam.service = "rsltmngtapp.RsltMngt";
- oParam.method = "reqGetTestItemInfo3";
- oParam.inds = "refparam=ds_send_data1";
- oParam.outds = "ds_main_testinfo_patlist=patlist ds_main_testinfo_testlist=testlist ds_=BAK_TESTITEM ds_=testcont ds_main_testinfo_spcinfo=testcmts";
- oParam.async = false;
- //oParam.callback = "cf_TRLLR00403";
- tranf_submit(oParam);
- ds_main_testinfo_patlist.addColumn("bgcolor","string");
- ds_main_testinfo_patlist.addColumn("chk","string");
- ds_send_data1.copyData(ds_hidden_default);
- //model.refresh();
- fGrdReMake2();
- }
- //조회후 그리드 리메이크
- function fGrdReMake2(){
- //var vCdList = ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist2").split("▦");
- //var vCdCount = vCdList.length;
- //var vOrgrst = "";
- //var curCol = 0;
- var inodelist = ds_main_testinfo_patlist.rowcount;
- if(inodelist > 0 ){
- for (var row = 0; row <= ds_main_testinfo_patlist.rowcount; row++) {
-
- var l1 = "";
- var l2 = "";
- if (!utlf_isNull(ds_main_testinfo_patlist.getColumn(row, "inptrslt1"))) {
- l1 = ds_main_testinfo_patlist.getColumn(row, "inptrslt1").toString().replace("+", "");
- }
- var l2 = ds_main_testinfo_patlist.getColumn(row, "inptrslt3");
- if (l1 != l2) {
- ds_main_testinfo_patlist.setColumn(row, "bgcolor", "#F56755");
- }else{
- ds_main_testinfo_patlist.setColumn(row, "bgcolor", "#FFFFFF");
- }
- // }else{
- // ds_main_testinfo_patlist.setColumn(row, "bgcolor", "#FFFFFF");
- // }
- }
- }
-
-
-
- var sExprBgColor = "";
- sExprBgColor = "EXPR(bgcolor)";
-
- //
- //for(var i=1; i<16; i++){
- for(var i=1; i<group3.grd_testlist.getCellCount("Head"); i++){
-
- group3.grd_testlist.setCellProperty("Body", i, "background" , sExprBgColor);
- group3.grd_testlist.setCellProperty("Body", i, "background2" , sExprBgColor);
-
- // var hTitle = group3.grd_testlist.getCellText(-1,i);
- // trace("hTitle :"+i+':'+hTitle);
- // if (i > 10 && (hTitle.substr(0,4) == "inpt" || hTitle.substr(0,3) == "HBV" || hTitle.substr(0,6) == "검사자")) {
- // group3.grd_testlist.setFormatColProperty( i, "size", 0); //
- // }
-
- }
- }
- // alert(l1);
- //검사그룹 선택시 그리드 리 메이크
- function fGrdReMake(){
- if(!utlf_isNull(ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist"))){
- ds_main_testinfo_patlist.clearData();
- //trace("222 :"+group3.grd_testlist.getCellCount("body"));
- //model.refresh();
- if(group3.grd_testlist.getCellCount("head") > gStartCol){
- var cols = group3.grd_testlist.getCellCount("head") ;
- for(i= 16 ; i < cols ; i++)
- //trace("i :"+i);
- group3.grd_testlist.setFormatColProperty( i, "size", 0);
- }
- var caption = "^접수일시^바코드번호^등록번호^성명^성별^나이^진료과^병동_병실^의뢰의사^검체명";
- var vTclsnmA = ds_hidden_ref_tclscdlist.getColumn(0, "tclsnmlist2").split("▦");
- //trace("vTclsnmA :"+vTclsnmA+" / "+vTclsnmA.length);
- //
- // group3.grd_testlist.setFormatColProperty( 13, "size", 60);
- // group3.grd_testlist.setFormatColProperty( 14, "size", 60);
- // group3.grd_testlist.setFormatColProperty( 15, "size", 60);
- // group3.grd_testlist.setFormatColProperty( 16, "size", 60);
- //trace("vTclsnmA.length :"+vTclsnmA.length);
- for(i=0;i<vTclsnmA.length;i++){
- caption += "^" + vTclsnmA[i] ;
- caption += "^" + '검사자' ;
- }
- //trace("caption :"+caption);
-
- var vTclsnmB = caption.split("^");
-
- //trace("vTclsnmB :"+vTclsnmB.length);
- for(i=0;i< vTclsnmB.length;i++){
- group3.grd_testlist.setCellProperty("head", i+1, "text" , vTclsnmB[i]);
-
- }
-
- //group3.grd_testlist.caption = caption;
- //group3.grd_testlist.setCellProperty("Head", 13, "text" , "aaa");
- //group3.grd_testlist.rebuild();
- }
- }
- function fPatGridClick(pRow,pCol, Event){
- trace("fPatGridClick aaaaa");
- var sDetilRow = fGetRow(pRow,pCol);
- //fCurrentHangMok(pCol);
- //결과코드 값 가져오기
- var testcd = ds_main_testinfo_testlist.getColumn(sDetilRow, "testcd");
- cmb_rslt.choices.itemset.attribute("nodeset") = "ds_init_LB0109[etc01='"+ testcd +"']";
- if(sDetilRow > 0){
- ds_hidden.setColumn( 0, "currenRow", sDetilRow);
- dsf_makeValue( ds_main_testinfo_spcinfo, "spcscrnnm", "string", ds_main_testinfo_testlist.getColumn(sDetilRow, "spcscrnnm"));
- dsf_makeValue( ds_main_testinfo_spcinfo, "refval", "string", ds_main_testinfo_testlist.getColumn(sDetilRow, "refval"));
- dsf_makeValue( ds_main_testinfo_spcinfo, "judgmark", "string", ds_main_testinfo_testlist.getColumn(sDetilRow, "judgmark"));
- dsf_makeValue( ds_main_testinfo_spcinfo, "panicmark", "string", ds_main_testinfo_testlist.getColumn(sDetilRow, "panicmark"));
- dsf_makeValue( ds_main_testinfo_spcinfo, "deltamark", "string", ds_main_testinfo_testlist.getColumn(sDetilRow, "deltamark"));
- dsf_makeValue( ds_main_testinfo_spcinfo, "criticalmark", "string", ds_main_testinfo_testlist.getColumn(sDetilRow, "criticalmark"));
- dsf_makeValue( ds_main_testinfo_spcinfo, "alertmark", "string", ds_main_testinfo_testlist.getColumn(sDetilRow, "alertmark"));
- dsf_makeValue( ds_main_testinfo_spcinfo, "rsltmark", "string", ds_main_testinfo_testlist.getColumn(sDetilRow, "rsltmark"));
- dsf_makeValue( ds_main_testinfo_spcinfo, "reptrslt", "string", ds_main_testinfo_testlist.getColumn(sDetilRow, "reptrslt"));
- dsf_makeValue( ds_main_testinfo_spcinfo, "bfreptrslt", "string", ds_main_testinfo_testlist.getColumn(sDetilRow, "bfreptrslt"));
- dsf_makeValue( ds_main_testinfo_spcinfo, "bflastreptdt", "string", ds_main_testinfo_testlist.getColumn(sDetilRow, "bflastreptdt"));
- dsf_makeValue( ds_main_testinfo_spcinfo, "testeqmtcd", "string", ds_main_testinfo_testlist.getColumn(sDetilRow, "testeqmtcd"));
- dsf_makeValue( ds_main_testinfo_spcinfo, "rsltrgsgnm", "string", ds_main_testinfo_testlist.getColumn(sDetilRow, "rsltrgsgnm"));
- dsf_makeValue( ds_main_testinfo_spcinfo, "mdlreptnm", "string", ds_main_testinfo_testlist.getColumn(sDetilRow, "mdlreptnm"));
- dsf_makeValue( ds_main_testinfo_spcinfo, "lastreptnm", "string", ds_main_testinfo_testlist.getColumn(sDetilRow, "lastreptnm"));
- //dsf_makeValue( ds_main_testinfo_spcinfo, "comment", "string", ds_main_testinfo_testlist.getColumn(sDetilRow, "comment"));
- dsf_makeValue( ds_main_testinfo_spcinfo, "testcmt", "string", ds_main_testinfo_testlist.getColumn(sDetilRow, "testcmt"));
- dsf_makeValue( ds_main_testinfo_spcinfo, "testcont", "string", "");
- dsf_makeValue( ds_main_testinfo_spcinfo, "testcmts", "string", ""); //검사항목별소견
- var vJudg = ds_main_testinfo_testlist.getColumn(sDetilRow, "judgmark");
- if(vJudg == "H"){
- group3.datagrid2.cellStyle ("background-color",1,0,1,0) = "#f7a08b";
- }
- else if(vJudg == "L"){
- group3.datagrid2.cellStyle ("background-color",1,0,1,0) = "#b9e5fb";
- }
- else{
- group3.datagrid2.cellStyle ("background-color",1,0,1,0) = "#ffffff";
- }
- //panic
- var vPanic = ds_main_testinfo_testlist.getColumn(sDetilRow, "panicmark");
- if(vPanic == "P"){
- group3.datagrid2.cellStyle ("background-color",1,1,1,1) = "#7BE6B7";
- //group3.datagrid2.cellStyle ("background-color",1,1,1,1) = "#7BE6B7";
- }
- else{
- group3.datagrid2.cellStyle ("background-color",1,1,1,1) = "#ffffff";
- }
- //delta
- var vDelta = ds_main_testinfo_testlist.getColumn(sDetilRow, "deltamark");
- if(vDelta == "D"){
- group3.datagrid2.cellStyle ("background-color",1,2,1,2) = "#dec6a4";
- //grd_TestInfoCnts.cellstyle("background-color" , i,4) = "#7BE6B7";
- }
- else{
- group3.datagrid2.cellStyle ("background-color",1,2,1,2) = "#ffffff";
- }
- //critical
- var vCritical = ds_main_testinfo_testlist.getColumn(sDetilRow, "criticalmark");
- if(vCritical == "C"){
- group3.datagrid2.cellStyle ("background-color",1,3,1,3) = "#ffe79d";
- //grd_TestInfoCnts.cellstyle("background-color" , i,4) = "#7BE6B7";
- }
- else{
- group3.datagrid2.cellStyle ("background-color",1,3,1,3) = "#ffffff";
- }
- //alert
- var vAlert= ds_main_testinfo_testlist.getColumn(sDetilRow, "alertmark");
- if(vAlert == "A"){
- group3.datagrid2.cellStyle ("background-color",1,4,1,4) = "#fec34d";
- //grd_TestInfoCnts.cellstyle("background-color" , i,4) = "#7BE6B7";
- }
- else{
- group3.datagrid2.cellStyle ("background-color",1,4,1,4) = "#ffffff";
- }
- /*if(ds_main_testinfo_testlist.getColumn(sDetilRow, "judgmark")) != ""
- || ds_main_testinfo_testlist.getColumn(sDetilRow, "panicmark")) != ""
- || ds_main_testinfo_testlist.getColumn(sDetilRow, "deltamark")) != ""
- || ds_main_testinfo_testlist.getColumn(sDetilRow, "criticalmark")) != ""
- || ds_main_testinfo_testlist.getColumn(sDetilRow, "alertmark")) != ""
- || ds_main_testinfo_testlist.getColumn(sDetilRow, "relatingmark")) != ""
- || ds_main_testinfo_testlist.getColumn(sDetilRow, "amrmark")) != "") {
- group3.grd_testlist.cellStyle("color", pRow, pCol) = "#f7a08b";
- }else {
- group3.grd_testlist.cellStyle("color", pRow, pCol) = "#000000";
- }*/
- //ds_main_testinfo_spcinfo.setColumn( 0, "comment" , "-")
- if(Event != "M") { //이벤트가 mousemove가 아닐때..
- var vSectcd = ds_main_testinfo_testlist.getColumn(sDetilRow, "sectcd");
- var vTsectcd = ds_main_testinfo_testlist.getColumn(sDetilRow, "tsectcd");
- fCMTPCD_ChangeNodeset(vSectcd, vTsectcd, sDetilRow);
- fInitializeSoGyeon(sDetilRow); //소견 조회초기화
- }
- //model.refresh();
- }
- else{
- ds_hidden.setColumn( 0, "currenRow", "");
- ds_main_testinfo_spcinfo.clearData();
- ds_main_testinfo_spcinfo.addRow();
- //model.refresh();
- }
- }
- // 환자 선택, 취소 클릭
- function fSelectCancle() {
- pCol = group3.grd_testlist.col;
- pRow = group3.grd_testlist.row;
- if(pRow == 0) {
- for(i = 1; i < group3.grd_testlist.rows; i++) {
- var isChk = ds_main_testinfo_patlist.getColumn(i, "chk");
- var vWorkno = ds_main_testinfo_patlist.getColumn(i, "workno");
- var vCdList = ds_hidden_refparam.getColumn(0, "tclscdlist2").split("▦");
- if (isChk == "true") {
- group3.grd_testlist.setCellProprty("body", i, "background", "#f3e1bf"); grd_testlist.setCellProperty("body", i, "background2", "#f3e1bf");
- } else {
- group3.grd_testlist.setCellProprty("body", i, "background", "#FFFFFF"); grd_testlist.setCellProperty("body", i, "background2", "#FFFFFF");
- fGrdReMake2();
- }
- for (var idx=0; idx < vCdList.length; idx++) {
- var vInptRslt = "";
- vInptRslt = "inptrslt" + (eval(idx+1) );
- var readonly = model.getValue("ds_main_testinfo_patlist["+ i +"]/"+vInptRslt+"//readonly");
- var rstval = model.getValue("ds_main_testinfo_patlist["+ i +"]/"+vInptRslt);
- if (readonly == "false") {
- col = idx + gStartCol;
- var refRow = fGetRow(i, col);
- if(rstval == ""){
- ds_main_testinfo.setColumn( refRow , "iud", "");
- }else{
- // 수정된항목 색변경
- // group3.grd_testlist.cellStyle("background-color", i, col, i, col) = "#f3e1bf";
- ds_main_testinfo.setColumn( refRow , "iud", (isChk != "true") ? "" : "U");
- }
- }
- }
- }
- } else {
- var isChk = ds_main_testinfo_patlist.getColumn(pRow, "chk");
- var vWorkno = ds_main_testinfo_patlist.getColumn(pRow, "workno");
- var vCdList = ds_hidden_refparam.getColumn(0, "tclscdlist2").split("▦");
- if (isChk == "true") {
- group3.grd_testlist.setCellProprty("body", pRow, "background", "#f3e1bf"); grd_testlist.setCellProperty("body", pRow, "background2", "#f3e1bf");
- } else {
- group3.grd_testlist.setCellProprty("body", pRow, "background", "#FFFFFF"); grd_testlist.setCellProperty("body", pRow, "background2", "#FFFFFF");
- fGrdReMake2();
- }
- for (var idx=0; idx < vCdList.length; idx++) {
- var vInptRslt = "";
- vInptRslt = "inptrslt" + (eval(idx+1) );
- var readonly = model.getValue("ds_main_testinfo_patlist["+pRow+"]/"+vInptRslt+"//readonly");
- var rstval = model.getValue("ds_main_testinfo_patlist["+pRow+"]/"+vInptRslt);
- if (readonly == "false") {
- //var find = group3.grd_testlist.findRow("true", 1, 1, true, true);
- col = idx + gStartCol;
- //group3.grd_testlist.col = col;
- //group3.grd_testlist.row = pRow;
- group3.grd_testlist.select(pRow, col) = true;
- var refRow = fGetRow(pRow, col);
- if(rstval == ""){
- ds_main_testinfo.setColumn( refRow , "iud", "");
- }else{
- // 수정된항목 색변경
- // group3.grd_testlist.cellStyle("background-color", pRow, col, pRow, col) = "#f3e1bf";
- ds_main_testinfo.setColumn( refRow , "iud", (isChk != "true") ? "" : "U");
- }
- }
- }
- }
- //결과코드 값 가져오기
- var testcd = ds_main_testinfo_testlist.getColumn(refRow, "testcd");
- cmb_rslt.choices.itemset.attribute("nodeset") = "ds_init_LB0109[etc01='"+ testcd +"']";
- //model.refresh();
- }
- //소견 노드 셋팅
- function fCMTPCD_ChangeNodeset(pSectcd, pTsectcd, refRow) {
- ds_hidden_testconttsectcd.clearData();
- ds_hidden_testconttsectcd.addRow();
- var sFilter = "cd =='00'";
-
- if(typeof(pSectcd) == "undefined") {
- //group3.cmb_cmt.choices.itemset.attribute("nodeset") ="ds_init_LB0210[cd='00']";
- //group3.cmb_cmt.innerdataset ="ds_init_LB0210[cd='00']";
- //ds_init_LB0210.filter(sFilter);
- //ds_hidden_testcont.setColumn( 0, "testcontcd", "-");
- } else {
- //group3.cmb_cmt.choices.itemset.attribute("nodeset")="ds_init_LB0210[cd='00' or (etc01='" + pSectcd + "' and etc02='" + pTsectcd + "')]";
- }
- // ds_hidden_testcont.setColumn( 0, "testcontcd" , "00");
- //group3.cmb_cmt.refresh();
- var vCmtTsect = ds_main_testinfo_testlist.getColumn(refRow, "tsectcd");
- ds_hidden.setColumn( 0, "testconttsectcd[1]_cd", "00");
- ds_hidden.setColumn( 0, "testconttsectcd[1]_nm", "- 시행부서선택 -");
- if(vCmtTsect != ""){
- //model.makeValue("ds_hidden_testconttsectcd[2]_cd" , vCmtTsect);
- //model.makeValue("ds_hidden_testconttsectcd[2]_nm" ,
- //ds_init_LB0106.lookupExpr("cd == '" + vCmtTsect + "'", "nm");
- }
- else{
- ds_hidden_testcont.setColumn( 0, "tsectcd" , "00");
- }
- //group3.cmb_sect.refresh();
- }
- //시행부서선택시 소견노드 셋팅
- function fCMTPCD_ChangeNodeset2(){
- var tsectcd = ds_hidden_testcont.getColumn(0, "tsectcd");
- if(tsectcd == "00"){
- group3.cmb_cmt.choices.itemset.attribute("nodeset") ="ds_init_LB0210[cd='00']";
- }
- else{
- group3.cmb_cmt.choices.itemset.attribute("nodeset")="ds_init_LB0210[cd='00' or (etc02='" + tsectcd + "')]" ;
- }
- ds_hidden_testcont.setColumn( 0, "testcontcd" , "00");
- //group3.cmb_cmt.refresh();
- }
- //소견 초기화
- function fInitializeSoGyeon(refRow){
- var cntTsect = ds_hidden_testconttsectcd.rowcount;
- var cntSG = ds_main_testinfo_testcont.rowcount;
- var curTsect = "";
- var strSG = "";
- var plusIdx = 1;
- /*if(cntSG == 0){
- dsf_makeValue( ds_main_testinfo, "testcont", "string", "" );
- }
- for(var sNum = 2; sNum <= cntTsect; sNum++){
- curTsect = ds_hidden_testconttsectcd.getColumn(sNum, "cd"));
- if(ds_main_testinfo_testcont.lookupExpr("execdeptcd == '" + curTsect + "'", "execdeptcd") == ""){
- var SG = parseInt(cntSG)+parseInt(plusIdx);
- model.makeNode("ds_main_testinfo_testcont[" + SG + "]_testcontcd");
- model.makeNode("ds_main_testinfo_testcont[" + SG + "]_execdeptcd");
- model.makeNode("ds_main_testinfo_testcont[" + SG + "]_testcont");
- model.makeNode("ds_main_testinfo_testcont[" + SG + "]_testcontkind");
- //model.makeNode("ds_main_TestInfo_testcont[" + (cntSG+plusIdx) + "]_rsltstat");
- model.makeNode("ds_main_testinfo_testcont[" + SG+ "]_iud");
- ds_main_testinfo.setColumn( SG , "execdeptcd", curTsect);
- ds_main_testinfo.setColumn( SG , "iud", "n");
- plusIdx++;
- }
- }
- */
- if(cntTsect == 2){
- ds_hidden_testcont.setColumn( 0, "tsectcd", ds_hidden_testconttsectcd.getColumn(2, "cd"));
- ds_hidden_testcont.setColumn( 0, "testcontcd", "00");
- }else{
- ds_hidden_testcont.setColumn( 0, "tsectcd", "00");
- ds_hidden_testcont.setColumn( 0, "testcontcd", "00");
- }
- fSelectTestContTsect(refRow);
- //dsf_makeValue( ds_hidden_refflag, "p_isedit", "string", "");
- //
- //model.refresh();
- }
- //선택 시행부서 소견
- function fSelectTestContTsect(refRow){
- var selTsectcd = ds_hidden_testcont.getColumn(0, "tsectcd").getTrim();
- var vSectcd = "";
- var vTsectcd = "";
- var vBcno = "";
- var vTestcd = "";
- if(refRow != "return") {
- vSectcd = ds_main_testinfo_testlist.getColumn(refRow, "sectcd");
- vTsectcd = ds_main_testinfo_testlist.getColumn(refRow, "tsectcd");
- vBcno = ds_main_testinfo_testlist.getColumn(refRow, "bcno");
- vTestcd = ds_main_testinfo_testlist.getColumn(refRow, "testcd");
- }else{//소견 시행부서 변경시 그냥 return
- return;
- }
- //오류있음.. 전체 선택시 해당 검체의 모든 시행부서 소견을 가져와야 하나 다른 검체 소견 같이 가져옴..
- //주석처리합니다.20100205
- /*var cntSoGyeon = ds_main_testinfo_testcont.rowcount; //소견 저장 개수
- var strSG = "";
- if(selTsectcd == "00"){
- for(var slipR = 1; slipR <= cntSoGyeon; slipR++){
- if(ds_main_testinfo_testcont.getColumn(slipR, "iud")) != "n"){
- strSG += "【" + ds_main_testinfo_testcont.getColumn(slipR, "execdeptcd")) + "】"
- + ds_main_testinfo_testcont.getColumn(slipR, "testcont")) + "\n";
- }
- }
- }else{
- for(var slipR = 1; slipR <= cntSoGyeon; slipR++){
- if(ds_main_testinfo_testcont.getColumn(slipR, "execdeptcd")) == vTsectcd){
- if(ds_main_testinfo_testcont.getColumn(slipR, "bcno")) == vBcno){
- strSG += ds_main_testinfo_testcont.getColumn(slipR, "testcont")) + "\n";
- //strSG += "【" + selSlip + "】"
- // + ds_MainData_GSHMSangSe_GeomSaSoGyeon.getColumn(slipR, "cmtp")) + "\n";
- }
- }
- }
- }*/
- //시행부서별 소견 전체는.. 걍 버리고 해당 검사 시행부서 소견만 조회
- ds_main_testinfo_spcinfo.setColumn( 0, "testcont"
- , model.getValue("ds_main_testinfo_testcont[bcno = '"+ vBcno + "' and execdeptcd = '" + selTsectcd + "']_testcont"));
- //검사항목별 소견 추가----------------
- // ds_main_testinfo_spcinfo.setColumn( 0, "testcmts"
- // , model.getValue("ds_main_testinfo_testcmts[bcno = '"+ vBcno + "' and testcd = '"+ vTestcd + "']_testcont") != "" ?
- // model.getValue("ds_main_testinfo_testcmts[bcno = '"+ vBcno + "' and testcd = '"+ vTestcd + "']_testcont") : ds_main_testinfo_testlist.getColumn(refRow, "tclsscrnnm")) + " : ");
- //model.refresh();
- }
- //소견 선택시
- function fSetCmt(pRow,pCol){
- var sDetilRow = fGetRow(pRow,pCol); //testlist row 조회
- var curSlip = ds_hidden_testcont.getColumn(0, "tsectcd");
- var curCmptcd = ds_hidden_testcont.getColumn(0, "testcontcd");
- if(curSlip == "00"){
- //TFGetMsgBox( -1, "소견을 입력할 슬립을 지정하여 주세요", "소견입력오류", "I", "OK" );
- ds_hidden_testcont.setColumn( 0, "testcontcd", "00");
- //model.refresh();
- return;
- }
- var vSectcd = ds_main_testinfo_testlist.getColumn(sDetilRow, "sectcd");
- var vTsectcd = ds_main_testinfo_testlist.getColumn(sDetilRow, "tsectcd");
- var newCmt = model.getValue("ds_init_LB0210[cd='" + curCmptcd + "' and etc01='" + vSectcd + "' and etc02='" + vTsectcd + "']_etc03");
- var vContFlag = ds_hidden.getColumn(0, "cmtflag");
- if(vContFlag == 1){ //시행부서별 소견
- var curCmt = ds_main_testinfo_spcinfo.getColumn(0, "testcont");
- if(curCmt == "\n" || curCmt=="") {
- var rstCmt = newCmt;
- } else{
- var rstCmt = curCmt + "\n" + newCmt;
- }
- ds_main_testinfo_spcinfo.setColumn( 0, "testcont", rstCmt);
- group3.textarea3.selBegin = (rstCmt).length;
- }else{ //검사항목별 소견
- var curCmt = ds_main_testinfo_spcinfo.getColumn(0, "testcmts");
- var rstCmt = curCmt + " " + newCmt;
- ds_main_testinfo_spcinfo.setColumn( 0, "testcmts", rstCmt);
- group3.text_testcmts.selBegin = (rstCmt).length;
- }
- //
- //model.refresh();
- fSoGyeonJeoJang(vContFlag);
- }
- //소견저장
- function fSetContCmt(pRow,pCol){
- var sDetilRow = fGetRow(pRow,pCol); //testlist row 조회
- if(ds_hidden_refparam.getColumn(0, "userid") == "" || ds_main_getUsernm.getColumn(0, "usernm") == ""){
- sysf_messageBox("검사자를 " , "C001" ,"");
- ipt_testpsn.setFocus();
- return;
- }
- /* 결과 저장시 소견 입력 여부에 따라 등록되지 않은게 있다면 같이 저장하기 위해 막음
- if(ds_main_testinfo_testlist.getColumn(sDetilRow, "rsltstat")) == "-") {
- sysf_messageBox("소견등록은 결과저장 이후에 가능합니다. " , "C" ,"");
- return;
- }*/
- /*if(ds_main_testpatlist_patlist.getColumn(grd_patList.row, "rsltstat")) == "4") {
- sysf_messageBox("최종보고된 검체의 소견은 수정할수 없습니다." , "C" ,"");
- return;
- }*/
- if (ds_hidden_refflag.getColumn(0, "p_isedit") != "true"
- && model.getxPathValue('count(ds_main_testinfo_testcmts[m = ""])') == "0") {
- sysf_messageBox("소견을 입력 하세요!" , "C" ,"");
- return;
- }
- ds_send.setColumn( 0, "data1", "m▦rownum▦selchk▦tclsscrnm▦bufinptrslt▦reptrslt▦multiflag▦rstdt▦refval▦rsltunit▦judgmark▦panicmark▦deltamark▦criticalmark▦alertmark▦▦▦rsltmark▦erprcpflag▦bfreptrslt▦bflastreptdt▦rstnm▦eqmtnm▦testcmt▦tclskind▦testcd▦spccd▦rsltseq▦inptrslt▩");
- ds_hidden_refflag.setColumn( 0, "bcno", ds_main_testinfo_testlist.getColumn(sDetilRow, "bcno"));
- ds_hidden_refflag.setColumn( 0, "rsltstat", "1");
- ds_hidden_refflag.setColumn( 0, "testlrgkind", "-");
- ds_hidden_refflag.setColumn( 0, "userid", ds_hidden_refparam.getColumn(0, "userid"));
- //여러 검체 동시에 일괄 저장 때리기 위한 구분
- dsf_makeValue( ds_hidden_refflag, "rsltscrflag", "string", "test");
- ds_send_data2.copyData(ds_hidden_refflag);
- //시행부서별, 검사항목별 소견 저장데이터 생성
- fMakeSendSoGyeon();
- }
- //소견 저장을 위한 소견 데이터 만들기
- function fMakeSendSoGyeon(){
- //시행부서별 소견
- var cntSG = ds_main_testinfo_testcont.rowcount; //소견 저장 개수
- var vSndSG = "m▦bcno▦testcontcd▦execdeptcd▦testcont▦testcontkind▩";
- for(var i = 1; i <= cntSG; i++){
- if(ds_main_testinfo_testcont.getColumn(i, "iud") != ""){
- vSndSG += "u" + "▦" //i로 넣었다 왜 u로 넣고 있어? ㅡ,.ㅡ
- + ds_main_testinfo_testcont.getColumn(i, "bcno") + "▦"
- + ds_main_testinfo_testcont.getColumn(i, "testcontcd") + "▦"
- + ds_main_testinfo_testcont.getColumn(i, "execdeptcd") + "▦"
- + ds_main_testinfo_testcont.getColumn(i, "testcont") + "▦"
- + ds_main_testinfo_testcont.getColumn(i, "testcontkind") + "▩";
- }
- }
- dsf_makeValue( ds_send, "data3", "string", vSndSG);
- //검사항목별 소견
- var vSndTestcmts = "m▦bcno▦tclscd▦testcd▦spccd▦rsltseq▦testcontcd▦testcont▦flag▩";
- var vTestCmtCounts = model.getxPathValue('count(ds_main_testinfo_testcmts)');
- var xPath = "ds_main_testinfo_testcmts";
- for (j = 1; j <= vTestCmtCounts; j++){
- if(eval(xPath).getColumn(j, "m") != ""){
- vSndTestcmts += eval(xPath).getColumn(j, "m") + "▦"
- + eval(xPath).getColumn(j, "bcno") + "▦"
- + eval(xPath).getColumn(j, "tclscd") + "▦"
- + eval(xPath).getColumn(j, "testcd") + "▦"
- + eval(xPath).getColumn(j, "spccd") + "▦"
- + eval(xPath).getColumn(j, "rsltseq") + "▦"
- + eval(xPath).getColumn(j, "testcontcd") + "▦"
- + eval(xPath).getColumn(j, "testcont") + "▦"
- + "2▩"; //소견만 저장하기때문에 2보냄 결과등록시와 소견만 저장시 결과seq때문에..
- }
- }
- dsf_makeValue( ds_send, "data4", "string", vSndTestcmts);
- // submit("TXLLR80101",false);
- var oParam = {};
- oParam.id = "TXLLR80101";
- oParam.service = "rsltmngtapp.RsltMngt";
- oParam.method = "reqSetResultSave";
- oParam.inds = "TestData=ds_ RefFalg=ds_ SpcCmtInfo=ds_ TestCmtInfo=ds_";
- oParam.async = false;
- oParam.callback = "cf_TXLLR80101";
- tranf_submit(oParam);
- /*
- function cf_TXLLR80101(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TXLLR80101(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TXLLR80101") > -1
- arErrorCode.pop("TXLLR80101") < 0
- */
- //저장 후 소견 iud초기화
- for (j = 1; j <= vTestCmtCounts; j++){
- eval(xPath).setColumn( j, "m", "");
- }
- ds_hidden_refflag.setColumn( 0, "p_isedit", "");
- ds_send_data2.clearData(); //아씨..이게 소견저장할때와 검사결과 저장할때 같은 노드임 ㅡ,.ㅡ
- dsf_makeValue( ds_send, "data2", "string", "" );
- //model.refresh();
- }
- //소견내용이 바뀔경우
- function fSoGyeonJeoJang(pRef){ //pRef : 소견구분 1:시행부서별, 2:검사항목별
- var curSlip = ds_hidden_testcont.getColumn(0, "tsectcd");
- var curCmptcd = ds_hidden_testcont.getColumn(0, "testcontcd");
- var vCmtp = ds_main_testinfo_spcinfo.getColumn(0, "testcont"); //시행부서별 소견
- var vTestCmts = ds_main_testinfo_spcinfo.getColumn(0, "testcmts"); //검사항목별 소견
- var vNodeCnt, vContNodeCount;
- var vRow = fGetRow(group3.grd_testlist.row,group3.grd_testlist.col);
- var vBcno = ds_main_testinfo_testlist.getColumn(vRow, "bcno");
- var vTestcd = ds_main_testinfo_testlist.getColumn(vRow, "testcd"); //검사코드
- var vTsectcd = ds_main_testinfo_testlist.getColumn(vRow, "tsectcd"); //시행부서
- var vTclscd, vSpccd, vRsltseq;
- if(curSlip == "-"){
- return;
- }
- if(pRef == 1){ //시행부서별 소견
- var xPath_Cont = "ds_main_testinfo_testcont";
- //해당 바코드, 시행부서 노드 존재 여부 판단 위해
- vNodeCnt = model.getxPathValue('count(ds_main_testinfo_testcont[bcno = "'+ vBcno + '" and execdeptcd = "'+ vTsectcd + '"]_testcont)');
- if(String(vCmtp).trim() == "" || String(vCmtp).trim() == "-"){
- if(vNodeCnt > 0){ //소견 변경했는데 소견이 빈값이고 저장된 소견이 존재 할 경우
- model.setValue(xPath_Cont + "[bcno = '" + vBcno + "' and execdeptcd = '" + vTsectcd + "' ]_testcontcd", "-");
- model.setValue(xPath_Cont + "[bcno = '" + vBcno + "' and execdeptcd = '" + vTsectcd + "' ]_testcont", "-");
- //시행부서별 소견은 무조건 넣고 이력쌓아서 무조건 i로 날림
- model.setValue(xPath_Cont + "[bcno = '" + vBcno + "' and execdeptcd = '" + vTsectcd + "' ]_iud", "i");
- model.setValue(xPath_Cont + "[bcno = '" + vBcno + "' and execdeptcd = '" + vTsectcd + "' ]_testcontkind", "3"); //이건 어떤 용도?
- }else{
- return; //소견내용 없고 저장된소견도 없을때 return;
- }
- }else{
- if(vNodeCnt > 0){ //소견 존재시 setValue
- model.setValue(xPath_Cont + "[bcno = '" + vBcno + "' and execdeptcd = '" + vTsectcd + "' ]_testcontcd", curCmptcd);
- model.setValue(xPath_Cont + "[bcno = '" + vBcno + "' and execdeptcd = '" + vTsectcd + "' ]_testcont", vCmtp);
- model.setValue(xPath_Cont + "[bcno = '" + vBcno + "' and execdeptcd = '" + vTsectcd + "' ]_iud", "i");
- }else{ //없을때 만들어 넣기
- vContNodeCount = model.getxPathValue('count(ds_main_testinfo_testcont)');
- vContNodeCount = parseInt(vContNodeCount) + 1;
- model.makeValue(xPath_Cont + "[" + vContNodeCount + "]_iud" , "i")
- //model.makeValue(xPath_Cont + "[" + vContNodeCount + "]_bcno" , vBcno)
- eval(xPath_Cont).setColumn(vContNodeCount, "bcno", vBcno);//model.makeValue(xPath_Cont + "[" + vContNodeCount + "]_testcontcd" , curCmptcd)
- eval(xPath_Cont).setColumn(vContNodeCount, "testcontcd", curCmptcd);//model.makeValue(xPath_Cont + "[" + vContNodeCount + "]_testcont" , vCmtp)
- eval(xPath_Cont).setColumn(vContNodeCount, "testcont", vCmtp);model.makeValue(xPath_Cont + "[" + vContNodeCount + "]_testcontkind" , "01")
- //model.makeValue(xPath_Cont + "[" + vContNodeCount + "]_execdeptcd" , vTsectcd)
- eval(xPath_Cont).setColumn(vContNodeCount, "execdeptcd", vTsectcd);}
- ds_hidden_refflag.setColumn( 0, "p_isedit", "true"); //저장할거 생겼다.
- }
- }else{ //검사항목별 소견
- var xPath_TestCmts = "ds_main_testinfo_testcmts";
- //검사별 소견 노드 존재 여부
- vNodeCnt = model.getxPathValue('count(ds_main_testinfo_testcmts[bcno = "'+ vBcno + '" and testcd = "'+ vTestcd + '"]_testcont)');
- //소견을 수정했는데 빈값일경우
- if(String(vTestCmts).trim() == ""){
- if(vNodeCnt > 0){
- if(model.getvalue("ds_main_testinfo_testcmts[bcno = '"+ vBcno + "' and testcd = '"+ vTestcd + "']_m") == "i"){
- //신규로 저장하고자 존재 했다면 노드 삭제
- model.removeNode("ds_main_testinfo_testcmts[bcno = '"+ vBcno + "' and testcd = '"+ vTestcd + "']");
- }else{ //u, d일경우 d로 변경
- ds_main_testinfo.setColumn( 0, "testcmts[bcno = '"+ vBcno + "' and testcd = '"+ vTestcd + "']_m", "d");
- model.setValue(xPath_TestCmts + "[bcno = '"+ vBcno + "' and testcd = '"+ vTestcd + "']_testcont", vTestCmts);
- }
- }
- return;
- }
- if( vNodeCnt > 0){
- model.setValue(xPath_TestCmts + "[bcno = '"+ vBcno + "' and testcd = '"+ vTestcd + "']_testcont", vTestCmts);
- model.setValue(xPath_TestCmts+ "[bcno = '"+ vBcno + "' and testcd = '"+ vTestcd + "']_testcontcd", curCmptcd);
- if(model.getvalue(xPath_TestCmts + "[bcno = '"+ vBcno + "' and testcd = '"+ vTestcd + "']_m") == "i"){ //신규 소견등록시
- //저장 내역 조회될때 m에는 빈값, 신규 저장시 i넣어주고, 수정될때 u로 바꿈
- model.setValue(xPath_TestCmts + "[bcno = '"+ vBcno + "' and testcd = '"+ vTestcd + "']_m", "i");
- }else{
- //신규저장이 아니면 저장내역으로 보고 u로 변경
- model.setValue(xPath_TestCmts + "[bcno = '"+ vBcno + "' and testcd = '"+ vTestcd + "']_m", "u");
- }
- }else{ //없다면 makeValue
- vContNodeCount = model.getxPathValue('count(ds_main_testinfo_testcmts)');
- vTclscd = ds_main_testinfo_testlist.getColumn(vRow, "tclscd");
- vSpccd = ds_main_testinfo_testlist.getColumn(vRow, "spccd");
- vRsltseq = ds_main_testinfo_testlist.getColumn(vRow, "rsltseq");
- vContNodeCount = parseInt(vContNodeCount) +1;
- model.makeValue(xPath_TestCmts + "[" + vContNodeCount + "]_m" , "i")
- //model.makeValue(xPath_TestCmts + "[" + vContNodeCount + "]_bcno" , vBcno);
- eval(xPath_TestCmts).setColumn(vContNodeCount, "bcno", vBcno);
- //model.makeValue(xPath_TestCmts + "[" + vContNodeCount + "]_tclscd" , vTclscd);
- eval(xPath_TestCmts).setColumn(vContNodeCount, "tclscd", vTclscd);
- //model.makeValue(xPath_TestCmts + "[" + vContNodeCount + "]_testcd" , vTestcd);
- eval(xPath_TestCmts).setColumn(vContNodeCount, "testcd", vTestcd);
- //model.makeValue(xPath_TestCmts + "[" + vContNodeCount + "]_spccd" , vSpccd);
- eval(xPath_TestCmts).setColumn(vContNodeCount, "spccd", vSpccd);
- //model.makeValue(xPath_TestCmts + "[" + vContNodeCount + "]_rsltseq" , vRsltseq);
- eval(xPath_TestCmts).setColumn(vContNodeCount, "rsltseq", vRsltseq);
- //model.makeValue(xPath_TestCmts + "[" + vContNodeCount + "]_testcontcd", curCmptcd);
- eval(xPath_TestCmts).setColumn(vContNodeCount, "testcontcd", curCmptcd);
- //model.makeValue(xPath_TestCmts + "[" + vContNodeCount + "]_testcont" , vTestCmts)
- eval(xPath_TestCmts).setColumn(vContNodeCount, "testcont", vTestCmts);}
- ds_hidden_refflag.setColumn( 0, "p_isedit", "true"); //저장할거 생겼다.
- //
- }
- //model.refresh();
- }
- //선택한 testlist row 알기
- function fGetRow(pRow, pCol) {
- var findRow = pRow;
- if (!pRow>0) return 0;
- if (pCol < gStartCol) {
- } else {
- var vWorkno = ds_main_testinfo_patlist.getColumn(pRow, "workno").getTrim();
- var vCdList = ds_hidden_refparam.getColumn(0, "tclscdlist2").split("▦");
- var vIdx = parseInt(pCol) - parseInt(gStartCol);
- if(vCdList.length > vIdx) {
- var vRkey = vWorkno+vCdList[vIdx].getTrim();
- findRow = group3.datagrid1.findRow(vRkey, 1,1, false, true);
- }
- return findRow;
- }
- return 0;
- }
- function fCvtViewResult(pInptRslt, pRefRow, pMatch) {
- trace('99999999999999');
- var vRow = pRefRow;
- if (typeof(pMatch) == "undefined") pMatch = false
- // 실제 결과
- var vBufInptRslt = pInptRslt;
- // 입력결과와 기존의 결과가 같으면 판정안함...
- if (!pMatch) {
- ds_main_testinfo.setColumn( vRow , "inptrslt", vBufInptRslt);
- var colorTF = false;
- var vRsltkind = ds_main_testinfo_testlist.getColumn(vRow, "testrsltkind");
- var vRsltintsize = ds_main_testinfo_testlist.getColumn(vRow, "rsltintsize");
- var vRsltdcmlsize = ds_main_testinfo_testlist.getColumn(vRow, "rsltdcmlsize");
- var vRundkind = ds_main_testinfo_testlist.getColumn(vRow, "rundkind");
- var vNvalrsltlimyn = ds_main_testinfo_testlist.getColumn(vRow, "nvalrsltlimyn");
- var vReptrslt = fCOMLIS_CvtReptrslt(vBufInptRslt, vRsltkind, vRsltintsize, vRsltdcmlsize, vRundkind,vNvalrsltlimyn);
- if(vReptrslt == "err") {
- ds_main_testinfo.setColumn( vRow , "bufinptrslt","");
- return;
- }
- ds_main_testinfo.setColumn( vRow , "inptrslt",vBufInptRslt);
- //LH 판정
- var vJudgkind = ds_main_testinfo_testlist.getColumn(vRow, "judgkind");
- var vRefL = ds_main_testinfo_testlist.getColumn(vRow, "refl");
- var vRefLS = ds_main_testinfo_testlist.getColumn(vRow, "refls");
- var vRefH = ds_main_testinfo_testlist.getColumn(vRow, "refh");
- var vRefHS = ds_main_testinfo_testlist.getColumn(vRow, "refhs");
- var vRefLT = ds_main_testinfo_testlist.getColumn(vRow, "reflt");
- var vRvalflag = ds_main_testinfo_testlist.getColumn(vRow, "rvalflag");
- var vJudgLH = fCOMLIS_JudgLH(vReptrslt, vJudgkind, vRefL, vRefLS, vRefH, vRefHS, vRefLT,vRvalflag);
- ds_main_testinfo.setColumn( vRow , "judgmark",vJudgLH);
- if(vJudgLH == "H"){
- group3.datagrid2.cellStyle ("background-color", 1,0,1,0) = "#f7a08b";
- }
- else if(vJudgLH == "L"){
- group3.datagrid2.cellStyle ("background-color", 1,0,1,0) = "#b9e5fb";
- }
- else{
- group3.datagrid2.cellStyle ("background-color", 1,0,1,0) = "#fffff:"
- }
- //grd_TestInfoCnts.cellStyle("text-align",vRow,8) = "center";
- //panic 판정
- var vJudgGbn = ds_main_testinfo_testlist.getColumn(vRow, "panicflag").getTrim();
- var vRefL = ds_main_testinfo_testlist.getColumn(vRow, "panicminval").getTrim();
- var vRefH = ds_main_testinfo_testlist.getColumn(vRow, "panicmaxval").getTrim();
- var vJudgPanic = fCOMLIS_JudgPCA(vReptrslt, vJudgGbn, vRefL, vRefH, "P");
- if(vJudgPanic == "P"){
- group3.datagrid2.cellStyle ("background-color", 1,1,1,1) = "#7BE6B7";
- //group3.datagrid2.cellstyle ("background-color" , vRow,4,vRow,4) = "#7BE6B7";
- colorTF = true;
- }
- else{
- group3.datagrid2.cellStyle ("background-color", 1,1,1,1) = "#ffffff";
- }
- ds_main_testinfo.setColumn( vRow , "panicmark", vJudgPanic);
- // Panic판정의 전경_배경색 변경
- // Delta판정
- var vBfResult = ds_main_testinfo_testlist.getColumn(vRow, "bfreptrslt").getTrim();
- var vJudgGbn = ds_main_testinfo_testlist.getColumn(vRow, "deltaflag").getTrim();
- var vRefH = ds_main_testinfo_testlist.getColumn(vRow, "deltamaxval").getTrim();
- var vDeltaday = ds_main_testinfo_testlist.getColumn(vRow, "deltaterm").getTrim();
- var vRstinterval = ds_main_testinfo_testlist.getColumn(vRow, "rstinterval").getTrim();
- var vJudgDelta = fCOMLIS_JudgDelta(vReptrslt, vBfResult, vJudgGbn, vRefH, vDeltaday, vRstinterval);
- ds_main_testinfo.setColumn( vRow , "deltamark", vJudgDelta);
- if(vJudgDelta == "D"){
- group3.datagrid2.cellStyle ("background-color", 1,2,1,2) = "#dec6a4";
- //grd_TestInfoCnts.cellstyle("background-color" , vRow,4) = "#7BE6B7";
- colorTF = true;
- }
- else{
- group3.datagrid2.cellStyle ("background-color", 1,2,1,2) = "#ffffff";
- }
- // Critical판정
- var vJudgGbn = ds_main_testinfo_testlist.getColumn(vRow, "criticalflag").getTrim();
- var vRefL = ds_main_testinfo_testlist.getColumn(vRow, "criticalminval").getTrim();
- var vRefH = ds_main_testinfo_testlist.getColumn(vRow, "criticalmaxval").getTrim();
- var vJudgCritical = fCOMLIS_JudgPCA(vReptrslt, vJudgGbn, vRefL, vRefH, "C");
- ds_main_testinfo.setColumn( vRow , "criticalmark", vJudgCritical);
- // Critical판정의 전경_배경색 변경
- if(vJudgCritical == "C"){
- group3.datagrid2.cellStyle ("background-color", 1,3,1,3) = "#ffe79d";
- //grd_TestInfoCnts.cellstyle("background-color" , vRow,4) = "#7BE6B7";
- colorTF = true;
- }
- else{
- group3.datagrid2.cellStyle ("background-color", 1,3,1,3) = "#ffffff";
- }
- // Alert판정
- var vJudgGbn = ds_main_testinfo_testlist.getColumn(vRow, "alertflag").getTrim();
- var vRefL = ds_main_testinfo_testlist.getColumn(vRow, "alertminval").getTrim();
- var vRefH = ds_main_testinfo_testlist.getColumn(vRow, "alertmaxval").getTrim();
- var vJudgAlert = fCOMLIS_JudgPCA(vReptrslt, vJudgGbn, vRefL, vRefH, "A");
- ds_main_testinfo.setColumn( vRow , "alertmark", vJudgAlert)
- // Alert판정의 전경_배경색 변경
- if(vJudgAlert == "A"){
- group3.datagrid2.cellStyle ("background-color", 1,4,1,4) = "#fec34d";
- //grd_TestInfoCnts.cellstyle("background-color" , vRow,4) = "#7BE6B7";
- colorTF = true;
- }
- else{
- group3.datagrid2.cellStyle ("background-color", 1,4,1,4) = "#ffffff";
- }
- //if(!colorTF) grd_TestInfoCnts.cellstyle("background-color" , vRow,4) = "#FFFFFA";
- // 허용참고치 판정
- var vJudgGbn = ds_main_testinfo_testlist.getColumn(vRow, "alimitflag").getTrim();
- var vRefL = ds_main_testinfo_testlist.getColumn(vRow, "alimitminval").getTrim();
- var vRefLS = ds_main_testinfo_testlist.getColumn(vRow, "alimitmaxval").getTrim();
- var vRefH = ds_main_testinfo_testlist.getColumn(vRow, "alimitmaxvalsinq").getTrim();
- var vRefHS = ds_main_testinfo_testlist.getColumn(vRow, "alimiminvalsinq").getTrim();
- vReptrslt = fCOMLIS_JudgLimit(vReptrslt, vJudgGbn, vRefL, vRefLS, vRefH, vRefHS);
- // 사용자정의판정 결과변경
- var vUjudglt = new Array(3);
- vUjudglt[0] = vJudgkind;
- for (var i = 1; i <= 3; i++) {
- vUjudglt[i] = model.getValue("ds_main_testinfo_testlist["+vRow+"]_userjudgchar" + i.toString());
- }
- vReptrslt = fCOMLIS_CvtUjudgRst(vBufInptRslt, vReptrslt, vJudgLH, vUjudglt);
- ds_main_testinfo.setColumn( vRow , "reptrslt",vReptrslt);
- // 수정데이타 반영
- ds_main_testinfo.setColumn( vRow , "iud", "U");
- //model.refresh();
- }
- }
- function fValidation(pRstflag) {
- if(ds_hidden_refparam.getColumn(0, "userid") == "" || ds_main_getUsernm.getColumn(0, "usernm") == ""){
- sysf_messageBox("검사자를 " , "C001" ,"");
- ipt_testpsn.setFocus();
- return;
- }
- //수정된 소견이 있을경우 소견부터 저장
- if (ds_hidden_refflag.getColumn(0, "p_isedit") == "true"
- || model.getxPathValue('count(ds_main_testinfo_testcmts[m != ""])') > 0) {
- fSetContCmt();
- }
- var nMaxRow = group3.grd_testlist.rows - 1;
- var isErr = false;
- var sErrMsg = "";
- if (pRstflag == "1") {
- sErrMsg = "결과저장";
- } else if (pRstflag == "2") {
- sErrMsg = "중간(예비)보고";
- } else if (pRstflag == "4") {
- sErrMsg = "최종보고";
- }
- // 수정_선택한 환자 유무
- if (nMaxRow > 0) {
- var findRow = group3.datagrid1.findRow("U", 1, 74, false, false);
- if (findRow < 0) isErr = true;
- } else {
- isErr = true;
- }
- if (isErr) {
- alert( "수정된 항목이 없습니다.");
- return false;
- }
- return true;
- }
- function fCheckChangeValue(pState){
- var nMaxRow = group3.datagrid1.rows;
- var rkey = "";
- var vO_inptrslt = "";
- var vN_inptrslt = "";
- var vRstflag = "";
- var isErr = "false";
- for(var vRow = 1; vRow < nMaxRow; vRow++){
- isUpdate = ds_main_testinfo_testlist.getColumn(vRow, "iud");
- if(pState == "3"){
- //"권한관리"
- }
- if(isUpdate == "U"){
- group3.datagrid1.addStatus(vRow , "update");
- rkey = ds_main_testinfo_testlist.getColumn(vRow, "rkey");
- vO_inptrslt = ds_main_testinfo_BAK_TESTITEM.lookupExpr("rkey == '" + rkey + "'", "inptrslt");
- vN_inptrslt = ds_main_testinfo_testlist.getColumn(vRow, "inptrslt");
- vRstflag = ds_main_testinfo_testlist.getColumn(vRow, "rsltstat");
- if(vO_inptrslt == vN_inptrslt){
- if(vRstflag == pState){
- ds_main_testinfo.setColumn( vRow , "iud", "");
- group3.datagrid1.removeStatus(vRow,"update");
- }
- }
- }
- }
- return isErr;
- }
- // 결과저장
- function fInsRsltSave(){
- //ds_HideData.setColumn( 0, "RstCode", "");
- if(fCheckChangeValue("1") == "false"){
- if (fValidation("1")) {
- ds_hidden_updateparam.setColumn( 0, "rsltstat" , "1") ;
- ds_send_data1.copyData(ds_hidden_updateparam);
- ds_send.setColumn( 0, "data2", group3.datagrid1.getUpdateData());
- // submit("TXLLR00401" , false);
- var oParam = {};
- oParam.id = "TXLLR00401";
- oParam.service = "rsltmngtapp.RsltMngt";
- oParam.method = "reqSetItemResultSave";
- oParam.inds = "TestData=ds_ RefFalg=ds_ signinfo=ds_ HLAform=ds_ TestCmtInfo=ds_";
- oParam.transaction = false;
- oParam.async = false;
- oParam.callback = "cf_TXLLR00401";
- tranf_submit(oParam);
- /*
- function cf_TXLLR00401(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TXLLR00401(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TXLLR00401") > -1
- arErrorCode.pop("TXLLR00401") < 0
- */
- group3.datagrid1.clearStatus();
- ds_hidden.setColumn( 0, "currenRow", "");
- group3.datagrid2.cellStyle("background-color",1,1,1,5) = "#ffffff";
- fSetClear2();
- }
- }
- }
- // 중간보고
- function fSetMdlRept(){
- if(fCheckChangeValue("2") == "false"){
- if (fValidation("2")) {
- ds_hidden_updateparam.setColumn( 0, "rsltstat" , "2") ;
- ds_send_data1.copyData(ds_hidden_updateparam);
- ds_send.setColumn( 0, "data2", group3.datagrid1.getUpdateData());
- // submit("TXLLR00401" , false);
- var oParam = {};
- oParam.id = "TXLLR00401";
- oParam.service = "rsltmngtapp.RsltMngt";
- oParam.method = "reqSetItemResultSave";
- oParam.inds = "TestData=ds_ RefFalg=ds_ signinfo=ds_ HLAform=ds_ TestCmtInfo=ds_";
- oParam.transaction = false;
- oParam.async = false;
- oParam.callback = "cf_TXLLR00401";
- tranf_submit(oParam);
- /*
- function cf_TXLLR00401(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TXLLR00401(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TXLLR00401") > -1
- arErrorCode.pop("TXLLR00401") < 0
- */
- group3.datagrid1.clearStatus();
- ds_hidden.setColumn( 0, "currenRow", "");
- group3.datagrid2.cellStyle("background-color",1,1,1,5) = "#ffffff";
- fSetClear2();
- }
- }
- }
- // 최종보고
- function fSetLstRept(){
- if(fCheckChangeValue("4") == "false"){
- if (fValidation("4")) {
- if(fUpdtRslt() != 0) return;
- ds_hidden_updateparam.setColumn( 0, "rsltstat" , "4") ;
- ds_send_data1.copyData(ds_hidden_updateparam);
- ds_send.setColumn( 0, "data2", group3.datagrid1.getUpdateData());
- // submit("TXLLR00401" , false);
- var oParam = {};
- oParam.id = "TXLLR00401";
- oParam.service = "rsltmngtapp.RsltMngt";
- oParam.method = "reqSetItemResultSave";
- oParam.inds = "TestData=ds_ RefFalg=ds_ signinfo=ds_ HLAform=ds_ TestCmtInfo=ds_";
- oParam.transaction = false;
- oParam.async = false;
- oParam.callback = "cf_TXLLR00401";
- tranf_submit(oParam);
- /*
- function cf_TXLLR00401(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TXLLR00401(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TXLLR00401") > -1
- arErrorCode.pop("TXLLR00401") < 0
- */
- group3.datagrid1.clearStatus();
- ds_hidden.setColumn( 0, "currenRow", "");
- group3.datagrid2.cellStyle("background-color",1,1,1,5) = "#ffffff";
- fSetClear2();
- }
- }
- }
- //수정결과 팝업 띄우기
- function fUpdtRslt(){
- var testlist = "";
- var returnyn = "";
- var bufDJGG = "";
- for(i = 0; i < group3.datagrid1.rows; i++) {
- if(((ds_main_testinfo_testlist.getColumn(i, "rsltstat") == "4") || (ds_main_testinfo_testlist.getColumn(i, "rsltstat") == "5"))
- && (ds_main_testinfo_testlist.getColumn(i, "iud") == "U")) { //수정 및 선택된 경우
- var vPID = ds_main_testinfo_testlist.getColumn(i, "pid"); //등록번호
- var vBcno = ds_main_testinfo_testlist.getColumn(i, "bcno"); //바코드
- bufDJGG += ds_main_testinfo_testlist.getColumn(i, "testcd") + "▦" + ds_main_testinfo_testlist.getColumn(i, "reptrslt") + "▩";
- testlist += "'" + ds_main_testinfo_testlist.getColumn(i, "testcd") + "',"; //'testcd', 'testcd',
- //ds_hidden_DJGGParm.setColumn( 0, "userid" , ds_hidden_refflag.getColumn(0, "userid")); 6_12일 수정자ID 직접입력을 원하셔서 막음..
- if((vPID != "") //pid가 있고
- && (vBcno != ds_main_testinfo_testlist.getColumn((i+1), "bcno")) //이전바코드번호랑 다르고
- && (i != 0)){ //i != 0임
- dsf_makeValue( ds_hidden_DJGGParm, "bcno", "string", vBcno);
- dsf_makeValue( ds_hidden_DJGGParm, "testcdlist", "string", testlist.substr(0, testlist.length - 1)); //'testcd', 'testcd', <-맨뒤의 ',' 빼기 위해
- dsf_makeValue( ds_hidden_DJGGParm, "bufDJGG", "string", bufDJGG);
- dsf_makeValue( ds_hidden_DJGGParm, "userid", "string", "" );
- dsf_makeValue( ds_hidden_DJGGParm, "rsltsaveYN", "string", "" );
- testlist = ""; //초기화
- //------------------
- //frmf_modal("SMLLR90600", "", "ds_hidden_DJGGParm" "ds_hidden_DJGGParm", "", "", "", "", "", "", "", "", "", "M");
- if(ds_hidden_DJGGParm.getColumn(0, "rsltsaveYN") == "Y")
- returnyn = 0;
- else
- returnyn = 1;
- }
- }
- }
- return returnyn;
- }
- //onkeypress 이벤트시..
- function fGridKeyEvent(){
- var curRow = group3.grd_testlist.row;
- var curCol = group3.grd_testlist.col;
- if (event.keyCode == 13) {
- var refRow = fGetRow(curRow, curCol);
- if (refRow > 0) {
- // 입력 실제결과
- var vInptRslt = group3.grd_testlist.valueMatrix(curRow, curCol).getTrim();
- // if(vInptRslt == ""){
- //return;
- // }
- //결과코드 검색
- /*var vTclscd = ds_HideData_CurrentHangMok.getColumn(0, "tclscd");
- var vCvtRst = fGetSeekRst(vTclscd, vOrgRst);
- if (vOrgRst != vCvtRst) {
- vOrgRst = vCvtRst;
- group3.grd_testlist.valueMatrix(curRow, curCol) = vOrgRst;
- }*/
- /*------------------------------------------------------------------시작
- DPD 검사일 경우 Urine Creatinine(LCU102) 검사의 결과와 계산하여 결과 보고 하여야 한다고 함
- DPD / (Creatinine × 0.088)
- Creatinine 조회 기준은 같은 처방일 임 */
- var vTestcd = ds_main_testinfo_testlist.getColumn(refRow, "testcd");
- var vPrcpdd = ds_main_testinfo_testlist.getColumn(refRow, "prcpdd");
- var vPid = ds_main_testinfo_testlist.getColumn(refRow, "pid");
- //일단 하드코딩 합니다 ^^
- if(vTestcd == "LSS180"){
- dsf_makeValue( ds_send_dpd, "prcpdd", "string", vPrcpdd);
- dsf_makeValue( ds_send_dpd, "testcd", "string", "LCU102");
- dsf_makeValue( ds_send_dpd, "pid", "string", vPid);
- if(vInptRslt.isFloat()){
- // submit("TRLLR80104");
- var oParam = {};
- oParam.id = "TRLLR80104";
- oParam.service = "rsltmngtapp.RsltMngt";
- oParam.method = "reqGetCreatineRslt";
- oParam.inds = "cond=ds_";
- oParam.outds = "ds_=dpdrslt";
- oParam.async = false;
- oParam.callback = "cf_TRLLR80104";
- tranf_submit(oParam);
- /*
- function cf_TRLLR80104(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRLLR80104(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRLLR80104") > -1
- arErrorCode.pop("TRLLR80104") < 0
- */
- var vUrineRslt = ds_hidden_dpdrslt.getColumn(0, "rslt");
- var vUrineRsltDt = ds_hidden_dpdrslt.getColumn(0, "dt");
- if(vUrineRslt == ""){
- sysf_messageBox("해당 처방일에 Urine Creatinine 검사결과가 없습니다.", "I");
- }else{
- if(vUrineRslt.isFloat()){
- var rtn = sysf_messageBox("Urine Creatinine 결과 : " + vUrineRslt + "\n보고일 : " + vUrineRsltDt + "\n계산식 : DPD / (Creatinine × 0.088)\n변환", "S001");
- if(rtn == 6){ //예
- //계산적용
- vInptRslt = parseFloat(vInptRslt) / (parseFloat(vUrineRslt) * 0.088) ;
- //소숫점 2째에서 반올림
- vInptRslt = Math.round(vInptRslt * Math.pow(10, -2 * (-1)-1)) / Math.pow(10, -2 *(-1)-1);
- vInptRslt = vInptRslt.toString(); //요거 String으로 안바꿔주면 에러남
- //보이는 그리드에 변환 된 값 설정
- group3.grd_testlist.valueMatrix(curRow, curCol) = vInptRslt;
- }
- else if(rtn == 2){ //취소
- group3.grd_testlist.valueMatrix(curRow, curCol) = "";
- return;
- }
- }else{
- sysf_messageBox("Urine Creatinine검사 결과 수치가 부적합 합니다.\n검사결과 : "+ vUrineRslt, "I");
- }
- }
- }else{
- sysf_messageBox("DPD검사 결과변환은 숫자만 가능합니다!!", "E");
- }
- }
- //-------------------------------------------------------------------끝
- fCvtViewResult(vInptRslt, refRow);
- /*if(ds_main_testinfo_testlist.getColumn(refRow, "judgmark")) != ""
- || ds_main_testinfo_testlist.getColumn(refRow, "panicmark")) != ""
- || ds_main_testinfo_testlist.getColumn(refRow, "deltamark")) != ""
- || ds_main_testinfo_testlist.getColumn(refRow, "criticalmark")) != ""
- || ds_main_testinfo_testlist.getColumn(refRow, "alertmark")) != ""
- || ds_main_testinfo_testlist.getColumn(refRow, "relatingmark")) != ""
- || ds_main_testinfo_testlist.getColumn(refRow, "amrmark")) != "") {
- group3.grd_testlist.cellStyle("color", curRow, curCol) = "#f7a08b";
- } else {
- group3.grd_testlist.cellStyle("color", curRow, curCol) = "#000000";
- }*/
- if(vInptRslt == ""){
- if(ds_main_testinfo_testlist.getColumn(refRow, "iud") != "") {
- ds_main_testinfo.setColumn( refRow , "iud", "");
- group3.datagrid1.rebuild();
- }
- ds_main_testinfo.setColumn( curRow , "chk", "false");
- //return;
- } else {
- ds_main_testinfo.setColumn( curRow , "chk", "true");
- }
- group3.grd_testlist.cellStyle("background-color", curRow, curCol, curRow, curCol) = "#f3e1bf";
- if(ds_hidden.getColumn(0, "cursor") == "1") {
- // 다음 Row로 이동
- var max = group3.grd_testlist.rows;
- var vRstNo = parseInt(eval(curCol - gStartCol + 1)).toString();
- var posRow = -1
- for (var r = (curRow + 1); r < max; r++) {
- var isReadonly = model.getValue("ds_main_testinfo_patlist[" + r + "]_inptrslt" + vRstNo + "//readonly");
- if (isReadonly == "false") {
- posRow = r;
- break;
- }
- }
- if (posRow > 0) {
- group3.grd_testlist.row= posRow;
- group3.grd_testlist.col = curCol;
- fPatGridClick(posRow, curCol);
- } else {
- fPatGridClick(curRow, curCol);
- }
- } else {
- // 다음 Col로 이동
- var max = group3.grd_testlist.cols;
- var posCol = -1
- for (var r = (curCol + 1); r < max; r++) {
- var vRstNo = parseInt(eval(r - gStartCol + 1)).toString();
- var isReadonly = model.getValue("ds_main_testinfo_patlist[" + curRow + "]_inptrslt" + vRstNo + "//readonly");
- if (isReadonly == "false") {
- posCol = r;
- break;
- }
- }
- if (posCol > 0) {
- group3.grd_testlist.row= curRow;
- group3.grd_testlist.col = posCol;
- fPatGridClick(curRow, posCol);
- } else {
- fPatGridClick(curRow, curCol);
- }
- }
- } else {
- //fg.textMatrix(curRow, curCol) = "";
- }
- }
- }
- //onkeydown 이벤트시
- function fGridKeyDown(){
- var curRow = group3.grd_testlist.rowposition; //현재로우
- var curCol = group3.grd_testlist.currentcol; //현재컬럼
- //group3.grd_testlist.currentcol
- trace("curCol :"+curCol);
- if (curCol == 37 || curCol == 38 || curCol == 39 || curCol == 40) {
- if (curCol == 37) { //←
- --curCol;
- } else if (curCol == 38) { //↑
- --curRow;
- } else if (curCol == 39) { //→
- ++curCol;
- } else if (curCol == 40) { //↓
- ++curRow;
- }
- var refRow = fGetRow(curRow, curCol); //실제 데이터있는 그리드의 로우 검색
- fPatGridClick(curRow, curCol); //검체정보 조회
- if (refRow > 0) {
- var vInptRslt = ds_main_testinfo_testlist.getColumn(refRow, "inptrslt");
- group3.grd_testlist.valueMatrix(curRow, curCol) = vInptRslt;
- }
- }
- }
- function fRstGbn_XForms_Value_Changed(pIdx) {
- // alert(pIdx);
- if (pIdx == "0") {
- // 결과미입력 클릭
- if (ds_hidden_refparam.getColumn(0, "rsltstat0") == "1") {
- ds_hidden_refparam.setColumn( 0, "rsltstat2", "");
- }
- } else if (pIdx == "1") {
- // 결과입력 클릭
- if (ds_hidden_refparam.getColumn(0, "rsltstat1") == "1") {
- ds_hidden_refparam.setColumn( 0, "rsltstat2", "");
- }
- } else {
- // 최종보고 클릭
- if (ds_hidden_refparam.getColumn(0, "rsltstat2") == "1") {
- ds_hidden_refparam.setColumn( 0, "rsltstat0", "");
- ds_hidden_refparam.setColumn( 0, "rsltstat1", "");
- }
- }
- //model.refresh();
- }
- function fSelectTestGrup(){
- dsf_makeValue( ds_send, "testgrupnm", "string", group3.group1.combo2.text);
- // submit("TRLLF90401" ,false);
- var oParam = {};
- oParam.id = "TRLLF90401";
- oParam.service = "diagtestapplib.LisCommon";
- oParam.method = "reqGetTestGrupDetl";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_main_testgrupdetl=getTestGrupDetl";
- oParam.async = false;
- //oParam.callback = "cf_TRLLF90401";
- tranf_submit(oParam);
- fSetPopUpTclscdList();
- }
- function fSetPopUpTclscdList(){
- var count = ds_main_testgrupdetl.rowcount;
-
- if(count > 0){
- var sendtclsnm = ds_main_testgrupdetl.getColumn(0, "tclsnm");
- var sendtclsnm2 = ds_main_testgrupdetl.getColumn(0, "tclsnm");
- var sendtclscd = ds_main_testgrupdetl.getColumn(0, "tclscd");
- var sendtclscd2 = ds_main_testgrupdetl.getColumn(0, "tclscd");
- // 검사그룹 상세 목록 없을때
- if(sendtclsnm == ""){
- ds_hidden_tclscdlist.setColumn( 0, "tclscdlist", "");
- ds_hidden_tclscdlist.setColumn( 0, "tclsnmlist", "");
- }else{ // 검사그룹 상세 목록 있을때
- for(i=1; i< count; i++){
- sendtclsnm = sendtclsnm + ", " + ds_main_testgrupdetl.getColumn(i, "tclsnm");
- sendtclsnm2 = sendtclsnm2 + "▦ " + ds_main_testgrupdetl.getColumn(i, "tclsnm");
- //sendtclscd = sendtclscd + "▦" + ds_main_testgrupdetl.getColumn(i, "tclscd");
- sendtclscd = sendtclscd + "','" + ds_main_testgrupdetl.getColumn(i, "tclscd");
- sendtclscd2 = sendtclscd2 + "▦" + ds_main_testgrupdetl.getColumn(i, "tclscd");
- }
- ds_hidden_ref_tclscdlist.setColumn( 0, "tclsnmlist", sendtclsnm);
- ds_hidden_ref_tclscdlist.setColumn( 0, "tclscdlist", "'" + sendtclscd + "'");
- ds_hidden_ref_tclscdlist.setColumn( 0, "tclscdlist2", sendtclscd2);
- ds_hidden_ref_tclscdlist.setColumn( 0, "tclsnmlist2", sendtclsnm2);
- }
- //model.refresh();
- fGrdReMake();
- }
- }
-
- function fSetClear2(){
- ds_main_testinfo_patlist.clearData();
- ds_main_testinfo_spcinfo.clearData(); ds_main_testinfo_spcinfo.addRow();
- ds_main_testinfo_testlist.clearData();
- group3.datagrid2.setCellProprty("body", 1, "background", "#FFFFFF"); datagrid2.setCellProperty("body", 1, "background2", "#FFFFFF");
- //ds_hidden_refparam.setColumn( 0, "userid" , "");
- //ds_main_getUsernm.setColumn( 0, "usernm" , "");
- //model.refresh();
- }
- function fRsltCDEnterKey(vInptRslt){
- //var vInptRslt = cmb_rslt.String(label).trim(); // 적용할 실제결과
- var curRow = group3.grd_testlist.row;
- var curCol = group3.grd_testlist.Col;
- if (curCol < parseInt(gStartCol)) return;
- if (curRow < 0) return;
- if (String(vInptRslt).trim() == "") return;
- var vTclscd = ds_hidden_currentest.getColumn(0, "tclscd");
- var vCvtRst = fGetSeekRst(vTclscd, vInptRslt);
- if (vInptRslt != vCvtRst) {
- vInptRslt = vCvtRst;
- }
- var selectedCells = group3.grd_testlist.selectedCells;
- for (var i=0; i<selectedCells.length; i++){
- var cell = selectedCells.item(i);
- if (cell){
- var curRow = cell.row;
- var curCol = cell.col;
- var refRow = fGetRow(curRow, curCol);
- var vOrgrstseq = "inptrslt" + eval((curCol - gStartCol) + 1).toString();
- if (refRow > 0) {
- ds_main_testinfo.setColumn( 0, "patlist[" + curRow + "]/" + vOrgrstseq, vInptRslt);
- fCvtViewResult(vInptRslt, refRow);
- if(vInptRslt == ""){
- if(ds_main_testinfo_testlist.getColumn(refRow, "iud") != "") {
- ds_main_testinfo.setColumn( refRow , "iud", "");
- group3.datagrid1.rebuild();
- }
- ds_main_testinfo.setColumn( curRow , "chk", "false");
- //return;
- } else {
- ds_main_testinfo.setColumn( curRow , "chk", "true");
- }
- // 수정항목 색변경
- //var color = fCOMLIS_getBackColor("GREEN");
- group3.grd_testlist.cellStyle("background-color", curRow, curCol, curRow, curCol) = "#f3e1bf";
- //TFGridRowColor("grdHwanJaGSHML", i, curCol, i, curCol, 1, color[0], color[1], color[2]);
- }
- }
- }
- ds_hidden.setColumn( 0, "rsltcont", "");
- }
- function fGetSeekRst(vTestcd, vInptRslt) {
- var result = vInptRslt
- var cdNodes = instance1.selectNodes("ds_init_LB0109[etc01='" + vTestcd + "']_cd");
- var cdNodes2 = instance1.selectNodes("ds_init_LB0109[etc01='" + vTestcd + "']_nm");
- var vRstcontLower ="";
- var vRstcontUpper = "";
- for (i = 1; i <= cdNodes.length; i++) {
- var cd = cdNodes.item(i - 1).text;
- var nm = cdNodes2.item(i - 1).text;
- if(vInptRslt.toLowerCase() == cd) vRstcontLower = nm;
- if(vInptRslt.toUpperCase() == cd) vRstcontUpper = nm;
- }
- if (String(vRstcontLower).trim() != "" || String(vRstcontUpper).trim() != "" ) {
- result = (String(vRstcontLower).trim() != "") ? String(vRstcontLower).trim() : String(vRstcontUpper).trim();
- }
- return result;
- }
- function fUserNMRef(){
- if(ds_hidden_refparam.getColumn(0, "userid") != ""){
- dsf_makeValue( ds_send, "userid", "string", ds_hidden_refparam.getColumn(0, "userid"));
- // submit("TRLZZ00104");
- var oParam = {};
- oParam.id = "TRLZZ00104";
- oParam.service = "diagtestapplib.LisCommon";
- oParam.method = "reqGetUserNM";
- oParam.inds = "cond=ds_";
- oParam.outds = "ds_=usernm";
- oParam.async = false;
- oParam.callback = "cf_TRLZZ00104";
- tranf_submit(oParam);
- /*
- function cf_TRLZZ00104(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRLZZ00104(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRLZZ00104") > -1
- arErrorCode.pop("TRLZZ00104") < 0
- */
- }
- }
- //마우스오른쪽 클릭시 결과코드 보이기
- function fGetMouseDown(){
- ds_hidden_popupmenu.clearData();
- if(event.button == 3){ // 라이트클릭 메뉴만들기...
- dsf_makeValue( ds_hidden_popupmenu, "grid", "string", "" );
- dsf_makeValue( ds_hidden_popupmenu_grid, "item", "string", "" );
- var curRow = group3.grd_testlist.mouseRow;
- var curCol = group3.grd_testlist.mouseCol;
- var refRow = fGetRow(curRow, curCol);
- if(curCol >= gStartCol && refRow >0){
- var testcd = ds_main_testinfo_testlist.getColumn(refRow, "testcd");
- //결과코드관련
- var n = dsds_init_LB0109.filter("etc01='" + testcd + "'").rowcount ;
- if (n > 0) {
- var cdNodes = instance1.selectNodes("ds_init_LB0109[etc01='" + testcd + "']_cd");
- var cdNodes2 = instance1.selectNodes("ds_init_LB0109[etc01='" + testcd + "']_nm");
- var dispyn = instance1.selectNodes("ds_init_LB0109[etc01='" + testcd + "']_etc03");
- for (i = 1; i <= n; i++) {
- var cd = cdNodes.item(i - 1).text;
- var nm = cdNodes2.item(i - 1).text;
- var yn = dispyn.item(i - 1).text;
- if(yn == "Y"){
- //var cd = model.getvalue("ds_init_LB0109[etc01='" + testcd + "']["+ i +"]_cd");
- //var nm = model.getvalue("ds_init_LB0109[etc01='" + testcd + "']["+ i +"]_nm");
- ds_hidden_popupmenu_grid_item.setColumn( i, "name", "["+cd+"] "+ nm);
- ds_hidden_popupmenu_grid_item.setColumn( i, "func", nm + "▦" + refRow);
- //ds_hidden_popupmenu_grid_item.setColumn( i, "value", cd);
- }
- }
- }
- n = parseInt(ds_hidden_popupmenu_grid_item.rowcount) + 1;
- if(n>1){
- ds_hidden_popupmenu_grid_item.setColumn( n, "name", "-");
- ds_hidden_popupmenu_grid_item.setColumn( n, "func", "");
- n++
- }
- ds_hidden_popupmenu_grid_item.setColumn( n, "name", "▶ 누적결과조회");
- ds_hidden_popupmenu_grid_item.setColumn( n, "func", "fAcmlRsltRef▦" + refRow);
- }
- }
- if((group3.grd_testlist.isCell(event.target) && group3.grd_testlist.row >= group3.grd_testlist.fixedRows) && group3.grd_testlist.col >= gStartCol ){
- window.setPopupMenu(true , "ds_hidden_popupmenu_grid_item" , "name", "func" , true);
- //setPopupMenu("grd_TestInfoCnts" , true, "ds_hidden_popupmenu_grid_item", "name", "func");
- }else{
- window.setPopupMenu(false);
- }
- }
- //누적결과조회
- function fAcmlRsltRef(row){
- dsf_makeValue( ds_hidden_AcmlRsltRef, "pid", "string", ds_main_testinfo_testlist.getColumn(row, "pid"));
- dsf_makeValue( ds_hidden_AcmlRsltRef, "testcd", "string", ds_main_testinfo_testlist.getColumn(row, "testcd"));
- dsf_makeValue( ds_hidden_AcmlRsltRef, "hngnm", "string", ds_main_testinfo_testlist.getColumn(row, "patnm"));
- dsf_makeValue( ds_hidden_AcmlRsltRef, "sex", "string", ds_main_testinfo_testlist.getColumn(row, "patsex"));
- dsf_makeValue( ds_hidden_AcmlRsltRef, "age", "string", ds_main_testinfo_testlist.getColumn(row, "patage"));
- //-------------------
- //frmf_modal("SPLLP90100 ", "", "ds_hidden_AcmlRsltRef","ds_init_baseinfo"", "", "", "", "", "", "", "", "", "", "M");
- }
- //팝업메뉴
- function fOnmenu(popupParam){
- if(popupParam.substring(0,12) == "fAcmlRsltRef") { //누적결과조회
- var aL = popupParam.split("▦");
- fAcmlRsltRef(aL[1]);
- }else{
- if(popupParam != ""){
- var aL = popupParam.split("▦");
- fRsltCDEnterKey(aL[0]);
- }
- }
- }
- //스크립트 끝
-
- function group3_group4_button3_onclick(obj:Button, e:ClickEventInfo) {
- //fOnclick_btnRef();
- fSelectTestGrup();
- }
- function group3_group4_button4_onclick(obj:Button, e:ClickEventInfo) {
- //----
- //frmf_modal("SMLLF90400", "", "ds_hidden_ref_tclscdlist_testgrup""-"ds_hidden_tclscdlist_testgrup"", "", "", "", "", "", "", "", "", "", "M");
- fGrdReMake();
- }
- function group3_group4_combo4_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- fSelectTestGrup();
- }
- function group3_group4_input10_onkeyup(obj:Edit, e:KeyEventInfo) {
- if(event.keyCode == "13"){
- ds_hidden_refparam.setColumn( 0, "userid",ipt_testpsn.text);
- //model.refresh();
- fUserNMRef();
- ipt_testpsn.selBegin = 0;
- ipt_testpsn.selEnd = ipt_testpsn.text.length;
- }
- }
- function group3_group4_combo5_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- fRsltCDEnterKey(cmb_rslt.String(label).trim());
- }
- function group3_group1_button1_onclick(obj:Button, e:ClickEventInfo) {
- fOnclick_btnRef();
- }
- function group3_group1_button61_onclick(obj:Button, e:ClickEventInfo)
- {
- var objArg = new Object();
- objArg.testGrup = ds_hidden_ref_tclscdlist.getColumn(0, "testgrup");
- frmf_modal("SMLLF90400","SMLLF90400",objArg, "", "", "", "", "", "", "", "", "", "M");
- fGrdReMake();
- }
- function group3_group1_combo2_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- fSelectTestGrup();
- }
- function group3_datagrid3_onmousedown(obj:Grid, e:GridMouseEventInfo) {
- fGetMouseDown();
- }
- function group3_datagrid3_onaftersort() {
- group3.grd_testlist.gridToInstance();
- }
- function group3_datagrid3_oncopy() {
- //grid_oncopy();
- }
- function group3_datagrid3_onkeydown(obj:Grid, e:KeyEventInfo) {
- fGridKeyDown();
- }
- function group3_datagrid3_oncellclick(obj:Grid, e:GridClickEventInfo) {
- if((group3.grd_testlist.isCell(event.target) && group3.grd_testlist.row >= group3.grd_testlist.fixedRows) && group3.grd_testlist.col >= 2 ){ //검사항목
- fPatGridClick(group3.grd_testlist.row,group3.grd_testlist.col);
- if(group3.grd_testlist.col == 3){
- var strBcno = ds_main_testinfo_patlist.getColumn(group3.grd_testlist.row, "bcno");
- window.clipBoardData = strBcno;
- }
- } else if(group3.grd_testlist.col == 1) { //체크박스
- fSelectCancle();
- }
- }
- function group3_datagrid5_onmousedown(obj:Grid, e:GridMouseEventInfo) {
- fGetMouseDown();
- }
- function group3_datagrid5_onaftersort() {
- group3.grd_testlist.gridToInstance();
- }
- function group3_datagrid5_oncopy() {
- //grid_oncopy();
- }
- function group3_datagrid5_onkeydown(obj:Grid, e:KeyEventInfo) {
- fGridKeyDown();
- }
- function group3_datagrid5_oncellclick(obj:Grid, e:GridClickEventInfo) {
- if((group3.grd_testlist.isCell(event.target) && group3.grd_testlist.row >= group3.grd_testlist.fixedRows) && group3.grd_testlist.col >= 2 ){ //검사항목
- fPatGridClick(group3.grd_testlist.row,group3.grd_testlist.col);
- if(group3.grd_testlist.col == 3){
- var strBcno = ds_main_testinfo_patlist.getColumn(group3.grd_testlist.row, "bcno");
- window.clipBoardData = strBcno;
- }
- } else if(group3.grd_testlist.col == 1) { //체크박스
- fSelectCancle();
- }
- }
- function group3_button2_onclick(obj:Button, e:ClickEventInfo) {
-
- grdf_exportExcel(group3.grd_testlist, "검사항목별결과관리", "sheet1", false);
- }
- function group3_cmb_cmt_onitemclick(obj:Combo, e:ListBoxClickEventInfo) {
- fSetCmt(group3.grd_testlist.row,group3.grd_testlist.col);
- }
- function group3_button5_onclick(obj:Button, e:ClickEventInfo) {
- frmf_modal("SMLLF00800", "", ""-"", "", "", "", "", "", "", "", "", "", "M");
- ds_init_LB0210.clearData();
- fBaseInfoRef2("0210|");
- var vSectcd = ds_main_TestInfo_getSpcInfo.getColumn(0, "sectcd");
- var vTsectcd = ds_main_TestInfo_getSpcInfo.getColumn(0, "tsectcd");
- //alert(ds_main_TestInfo_getSpcInfo.getColumn(0, "sectcd"));
- //alert(ds_main_TestInfo_getSpcInfo.getColumn(0, "tsectcd"));
- fCMTPCD_ChangeNodeset(vSectcd, vTsectcd);
- //fGrdReMake();
- }
- function group3_button6_onclick(obj:Button, e:ClickEventInfo) {
- fSetContCmt(group3.grd_testlist.row,group3.grd_testlist.col);
- }
- function group3_textarea1_onkillfocus(obj:TextArea, e:KillFocusEventInfo) {
- var vCurrentRow = ds_hidden.getColumn(0, "currenRow");
- if(vCurrentRow !="") {
- var vComment = ds_main_testinfo_spcinfo.getColumn(0, "testcmt");
- ds_main_testinfo.setColumn( vCurrentRow , "testcmt", vComment);
- }
- }
- function group3_textarea3_onkillfocus(obj:TextArea, e:KillFocusEventInfo) {
- fSoGyeonJeoJang(1);
- }
- function group3_textarea3_onclick(obj:TextArea, e:ClickEventInfo) {
- group3.textarea3.selBegin = (group3.textarea3.value).length;
- }
- function group3_text_testcmts_onkillfocus(obj:TextArea, e:KillFocusEventInfo) {
- fSoGyeonJeoJang(2);
- }
- function group3_text_testcmts_onclick(obj:TextArea, e:ClickEventInfo) {
- group3.text_testcmts.selBegin = (group3.text_testcmts.value).length;
- }
- function group3_cmb_sect_onitemclick(obj:Combo, e:ListBoxClickEventInfo) {
- fSelectTestContTsect("return");
- fCMTPCD_ChangeNodeset2();
- }
- function group3_btn_cle_onclick(obj:Button, e:ClickEventInfo) {
- lf_setInit(1);
- }
- function group3_grd_testlist_onkeydown(obj:Grid, e:KeyEventInfo) {
- // fGridKeyEvent();
- }
- function group3_grd_testlist_onmousedown(obj:Grid, e:GridMouseEventInfo) {
- // fGetMouseDown();
- }
- function group3_grd_testlist_onaftersort() {
- group3.grd_testlist.gridToInstance();
- }
- function group3_grd_testlist_oncopy() {
- //grid_oncopy();
- }
- function group3_grd_testlist_onkeydown(obj:Grid, e:KeyEventInfo) {
- fGridKeyDown();
- }
- function group2_caption17_onclick(obj:Static, e:MouseEventInfo) {
- if(group3.datagrid1.visible == true){
- group3.datagrid1.visible = false;
- }else{
- group3.datagrid1.visible = true;
- }
- }
- // function _onmenu() {
- //
- // var popupParam = event.description;
- // fOnmenu(popupParam);
- //
- // }
- //
- ]]></Script>
- </Form>
- </FDL>
|