123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLQJ10200" position="absolute 0 0 1200 775" titletext="QC 결과관리" oninit="SMLQJ10200_oninit" onload="SMLQJ10200_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="QC 결과관리" class="tit_1" position="absolute 0 0 172 23"/>
- <Shape id="line3" class="line_6" position="absolute 0 43 1194 49" anchor="left top right"/>
- <Button id="btn_reptmthdchng" taborder="1" text="보고방법변경" class="btn4" visible="false" position="absolute 784 21 888 43" anchor="top right" onclick="btn_reptmthdchng_onclick"/>
- <Button id="btn_exception" taborder="2" text="제외" class="btn4" visible="false" position="absolute 950 21 1006 43" anchor="top right" onclick="btn_exception_onclick"/>
- <Button id="btn_retest" taborder="3" text="재검" class="btn4" visible="false" position="absolute 891 21 947 43" anchor="top right"/>
- <Button id="btn_save" taborder="4" text="저장" class="btn4" position="absolute 1009 21 1065 43" anchor="top right" onclick="btn_save_onclick" enable="false"/>
- <Button id="btn_cfm" taborder="5" text="확인" class="btn4" position="absolute 1068 21 1124 43" anchor="top right" onclick="btn_cfm_onclick"/>
- <Button id="btn_cle" taborder="6" text="초기화" class="btn4" position="absolute 1127 21 1195 43" anchor="top right" onclick="btn_cle_onclick"/>
- <Grid id="grd_testRsltInfo" taborder="7" binddataset="ds_main_rsltinfo_testrsltinfo" useinputpanel="false" position="absolute 324 166 1193 771" cellsizingtype="col" anchor="all" oncellclick="grd_testRsltInfo_oncellclick" onkeydown="grd_testRsltInfo_onkeydown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="25"/>
- <Column size="100"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="90"/>
- <Column size="25"/>
- <Column size="25"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="150"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="120"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" style="align:center middle;background:center middle;background2:center middle;backgroundimage:URL('IMG::/lis/chkRPT0.png');"/>
- <Cell col="2" text="Standard"/>
- <Cell col="3" colspan="2" text="결과" taborder="undefined"/>
- <Cell col="5" text="DEF.DOSE"/>
- <Cell col="6" text="CALC DOSE"/>
- <Cell col="7" text="%B/F"/>
- <Cell col="8" text="검사항목명"/>
- <Cell col="9" text="레벨코드"/>
- <Cell col="10" text="결과등록일시"/>
- <Cell col="11" text="결과보고시간"/>
- <Cell col="12" text="N"/>
- <Cell col="13" text="S"/>
- <Cell col="14" text="W"/>
- <Cell col="15" text="WGMR판정"/>
- <Cell col="16" text="조치사항"/>
- <Cell col="17" text="bcno"/>
- <Cell col="18" text="testcd"/>
- <Cell col="19" text="판정유형"/>
- <Cell col="20" text="참고치유형"/>
- <Cell col="21" text="참고치구분"/>
- <Cell col="22" text="하한"/>
- <Cell col="23" text="상한"/>
- <Cell col="24" text="refls"/>
- <Cell col="25" text="refhs"/>
- <Cell col="26" text="실제결과"/>
- <Cell col="27" text="결과유형"/>
- <Cell col="28" text="단위"/>
- <Cell col="29" text="wgmr범위"/>
- <Cell col="30" text="표준편차"/>
- <Cell col="31" text="평균"/>
- <Cell col="32" text="반올림옵션"/>
- <Cell col="33" text="그래프표시"/>
- <Cell col="34" text="참고치문자"/>
- <Cell col="35" text="숫자결과포멧"/>
- <Cell col="36" text="이전결과"/>
- <Cell col="37" text="이전결과일"/>
- <Cell col="38" text="검사자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="2" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:levlnm"/>
- <Cell col="3" displaytype="text" edittype="text" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:buforgrslt"/>
- <Cell col="4" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:viewrslt"/>
- <Cell col="5" displaytype="text" edittype="text" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:ddosevalue"/>
- <Cell col="6" displaytype="text" edittype="text" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:cdosevalue"/>
- <Cell col="7" displaytype="text" edittype="text" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:bfvalue"/>
- <Cell col="8" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:testnm"/>
- <Cell col="9" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:levlcd"/>
- <Cell col="10" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:rsltrgstdt" mask="yyyy-mm-dd hh:mm:ss"/>
- <Cell col="11" displaytype="date" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:rsltcnfmdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
- <Cell col="12" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:judgmark"/>
- <Cell col="13" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:rsltstat"/>
- <Cell col="14" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:wgmrmark"/>
- <Cell col="15" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:wgmrstat"/>
- <Cell col="16" displaytype="text" edittype="text" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:measfactcnts"/>
- <Cell col="17" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:bcno"/>
- <Cell col="18" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:testcd"/>
- <Cell col="19" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:judgkind"/>
- <Cell col="20" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:refkind"/>
- <Cell col="21" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:refflag"/>
- <Cell col="22" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:refl"/>
- <Cell col="23" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:refh"/>
- <Cell col="24" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:refls"/>
- <Cell col="25" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:refhs"/>
- <Cell col="26" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:orgrslt"/>
- <Cell col="27" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:rsltkind"/>
- <Cell col="28" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:rsltunit"/>
- <Cell col="29" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:wgmrscop"/>
- <Cell col="30" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:sdval"/>
- <Cell col="31" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:avg"/>
- <Cell col="32" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:rundkind"/>
- <Cell col="33" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:graphdispyn"/>
- <Cell col="34" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:refcval"/>
- <Cell col="35" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:intrsltfrmt"/>
- <Cell col="36" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:bfrslt1"/>
- <Cell col="37" displaytype="date" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:bfrsltcnfmdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
- <Cell col="38" style="background:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');background2:EXPR(judgmark == 'H' ? '#f7a08b' : judgmark == 'L' ? '#b9e5fb' : wgmrmark == 'W' ? '#99cf16' : wgmrmark == 'R' ? '#fec34d' : '#EEFFFF');" text="bind:bfrsltcnfmid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line1" class="line_10" position="absolute 0 238 320 244"/>
- <Static id="caption7" text="QC 접수 리스트" class="tit_2" position="absolute 0 222 115 243"/>
- <Grid id="grd_acptList" taborder="8" binddataset="ds_main_acptlist" useinputpanel="false" position="absolute 0 243 320 771" anchor="left top bottom" oncellclick="grd_acptList_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="20"/>
- <Column size="90"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="130"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="Control코드"/>
- <Cell col="3" text="검사명"/>
- <Cell col="4" text="검사코드"/>
- <Cell col="5" text="검체번호"/>
- <Cell col="6" text="Standard 명"/>
- <Cell col="7" text="Control명"/>
- <Cell col="8" text="Standard코드"/>
- <Cell col="9" text="접수일시"/>
- <Cell col="10" text="장비코드"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:rsltmark"/>
- <Cell col="2" text="bind:matrcd"/>
- <Cell col="3" text="bind:testnm"/>
- <Cell col="4" text="bind:testcd"/>
- <Cell col="5" text="bind:bcno"/>
- <Cell col="6" text="bind:levlnm"/>
- <Cell col="7" text="bind:matrnm"/>
- <Cell col="8" text="bind:levlcd"/>
- <Cell col="9" displaytype="date" text="bind:acptdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
- <Cell col="10" text="bind:eqmtcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line14" class="line_10" position="absolute 324 161 1193 167" anchor="left top right"/>
- <Static id="caption3" text="검사항목별 결과정보" class="tit_2" position="absolute 324 145 487 167"/>
- <Div id="group3" taborder="9" class="div_SA" position="absolute 0 48 320 213" anchor="left top">
- <Layouts>
- <Layout>
- <Static id="caption1" text="접수구분 :" class="search_name" position="absolute 15 62 104 79"/>
- <Button id="btn_getAcptList" taborder="1" text="조회" class="btn1" position="absolute 249 131 305 153" onclick="group3_btn_getAcptList_onclick"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 231 131 237 153"/>
- <Static id="caption2" text="~" class="search_no_b" position="absolute 199 16 214 33"/>
- <Combo id="cbo_acptFlag" taborder="2" innerdataset="@ds_init_lb0704" codecolumn="cd" datacolumn="nm" class="combo_search" position="absolute 105 61 305 80"/>
- <Static id="caption4" text="접수일자 :" class="search_name" position="absolute 15 14 104 31"/>
- <Calendar id="ipt_acptfromdd" taborder="3" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" class="input_search" position="absolute 105 13 195 32"/>
- <Calendar id="ipt_acpttodd" taborder="4" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" class="input_search" position="absolute 215 13 305 32"/>
- <Edit id="ipt_bcno" taborder="5" autoselect="true" autoskip="true" class="input_button" visible="false" position="absolute 14 132 222 151" onkeydown="group3_ipt_bcno_onkeydown" inputmode="upper"/>
- <Combo id="cbo_eqmtCd" taborder="6" innerdataset="@ds_init_lb0701" codecolumn="cd" datacolumn="nm" class="combo_search" position="absolute 105 37 305 56"/>
- <Static id="caption9" text="장 비 :" class="search_name" position="absolute 15 37 103 54"/>
- <Static id="caption10" text="작업구분 :" class="search_name" position="absolute 15 109 109 126"/>
- <Radio id="rdo_Rsltflag" taborder="7" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 105 106 315 127" onitemchanged="group3_rdo_Rsltflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">완료</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">미완료</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit id="ipt_matr" taborder="8" class="input_s_search" visible="false" position="absolute 105 85 305 104"/>
- <Static id="caption23" text="검사항목 :" class="search_name" position="absolute 15 86 104 103"/>
- <Combo id="combo1" taborder="9" innerdataset="@ds_init_lb0702" codecolumn="cd" datacolumn="nm" class="combo_search" position="absolute 105 85 305 104"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line2" class="line_10" position="absolute 325 63 1194 69" anchor="left top right"/>
- <Static id="caption11" text="검체정보" class="tit_2" position="absolute 326 47 441 69"/>
- <Static id="caption19" text="평균" class="cell_1" position="absolute 326 116 386 139"/>
- <Static id="caption20" text="참고치" class="cell_1" position="absolute 757 116 817 139"/>
- <Static id="caption21" text="표준편차" class="cell_1" position="absolute 541 116 601 139"/>
- <Static id="caption22" text="단위" class="cell_1" position="absolute 974 116 1034 139"/>
- <Edit id="opt_matrcd" taborder="10" readonly="true" position="absolute 408 69 613 88"/>
- <Shape id="line4" class="line_2" position="absolute 325 89 1194 95" anchor="left top right"/>
- <Shape id="line5" linetype="horizontal" class="line_2" position="absolute 325 112 1194 118" anchor="left top right"/>
- <Edit id="opt_levlcd" taborder="11" readonly="true" position="absolute 699 69 904 88"/>
- <Edit id="opt_lotno" taborder="12" readonly="true" position="absolute 989 69 1194 88" anchor="left top right"/>
- <Edit id="opt_prodCmpy" taborder="13" readonly="true" position="absolute 408 94 753 113"/>
- <Edit id="opt_eqmtCd" taborder="14" readonly="true" position="absolute 840 94 1194 113" anchor="left top right"/>
- <Edit id="opt_avg" taborder="15" readonly="true" position="absolute 388 118 538 137"/>
- <Shape id="line7" class="line_3" position="absolute 325 138 1194 144" anchor="left top right"/>
- <Edit id="opt_sDVal" taborder="16" readonly="true" position="absolute 603 118 753 137"/>
- <Edit id="opt_refVal" taborder="17" readonly="true" position="absolute 820 118 970 137"/>
- <Edit id="opt_unit" taborder="18" readonly="true" position="absolute 1037 118 1194 137" anchor="left top right"/>
- <Static id="caption12" text="Standard" class="cell_1" position="absolute 616 68 696 91"/>
- <Static id="caption13" text="Control" class="cell_1" position="absolute 325 68 405 91"/>
- <Static id="caption14" text="LOT번호" class="cell_1" position="absolute 907 68 987 91"/>
- <Static id="caption16" text="장비" class="cell_1" position="absolute 757 92 836 115"/>
- <Static id="caption17" text="제조회사" class="cell_1" position="absolute 326 92 405 115"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_acptlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rsltmark" type="STRING" size="256" sumtext="결과구분"/>
- <Column id="bcno" type="STRING" size="256" sumtext="바코드구분"/>
- <Column id="matrnm" type="STRING" size="256" sumtext="물질명"/>
- <Column id="levlnm" type="STRING" size="256" sumtext="레벨명"/>
- <Column id="matrcd" type="STRING" size="256" sumtext="물질코드"/>
- <Column id="levlcd" type="STRING" size="256" sumtext="레벨코드"/>
- <Column id="acptdt" type="STRING" size="256" sumtext="접수일자"/>
- <Column id="eqmtcd" type="STRING" size="256" sumtext="장비코드"/>
- <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
- <Column id="testnm" type="STRING" size="256" sumtext="검사명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_rsltinfo_testrsltinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_rsltinfo_testrsltinfo_oncolumnchanged">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256" sumtext="check"/>
- <Column id="testnm" type="STRING" size="256" sumtext="검사명"/>
- <Column id="buforgrslt" type="STRING" size="256" sumtext="입력결과"/>
- <Column id="viewrslt" type="STRING" size="256" sumtext="보이는결과"/>
- <Column id="rsltcnfmdt" type="STRING" size="256" sumtext="보고시간"/>
- <Column id="rsltrgstdt" type="STRING" size="256" sumtext="결과등록일시"/>
- <Column id="judgmark" type="STRING" size="256" sumtext="L/H"/>
- <Column id="rsltstat" type="STRING" size="256" sumtext="결과상태"/>
- <Column id="wgmrstat" type="STRING" size="256" sumtext="WGMR상태"/>
- <Column id="wgmrmark" type="STRING" size="256" sumtext="WGMR판정"/>
- <Column id="measfactcd" type="STRING" size="256" sumtext="조치사항코드"/>
- <Column id="measfactcnts" type="STRING" size="256" sumtext="조치사항"/>
- <Column id="bcno" type="STRING" size="256" sumtext="바코드"/>
- <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
- <Column id="judgkind" type="STRING" size="256" sumtext="판정유형"/>
- <Column id="refkind" type="STRING" size="256" sumtext="참고치유형"/>
- <Column id="refflag" type="STRING" size="256" sumtext="참고치구분"/>
- <Column id="refl" type="STRING" size="256" sumtext="참고치하한"/>
- <Column id="refh" type="STRING" size="256" sumtext="참고치상한"/>
- <Column id="refls" type="STRING" size="256" sumtext="하한부등호"/>
- <Column id="refhs" type="STRING" size="256" sumtext="상한부등호"/>
- <Column id="rsltkind" type="STRING" size="256" sumtext="결과유형"/>
- <Column id="rsltunit" type="STRING" size="256" sumtext="단위"/>
- <Column id="wgmrscop" type="STRING" size="256" sumtext="wgmr범위"/>
- <Column id="sdval" type="STRING" size="256" sumtext="표준편차"/>
- <Column id="avg" type="STRING" size="256" sumtext="평균"/>
- <Column id="rundkind" type="STRING" size="256" sumtext="반올림옵션"/>
- <Column id="graphdispyn" type="STRING" size="256" sumtext="그래프표시"/>
- <Column id="refcval" type="STRING" size="256" sumtext="참고치문자"/>
- <Column id="intrsltfrmt" type="STRING" size="256" sumtext="숫자결과포멧"/>
- <Column id="orgrslt" type="STRING" size="256" sumtext="실제결과"/>
- <Column id="bfrsltcnfmdt" type="STRING" size="256" sumtext="이전결과"/>
- <Column id="bfrsltcnfmid" type="STRING" size="256" sumtext="이전결과"/>
- <Column id="rsltcnfmid" type="STRING" size="256" sumtext="결과확인자"/>
- <Column id="bfrslt1" type="STRING" size="256" sumtext="이전결과2"/>
- <Column id="bfrslt2" type="STRING" size="256" sumtext="이전결과3"/>
- <Column id="bfrslt3" type="STRING" size="256" sumtext="이전결과4"/>
- <Column id="bfrslt4" type="STRING" size="256" sumtext="이전결과5"/>
- <Column id="bfrslt5" type="STRING" size="256" sumtext="이전결과6"/>
- <Column id="bfrslt6" type="STRING" size="256" sumtext="이전결과7"/>
- <Column id="bfrslt7" type="STRING" size="256" sumtext="이전결과8"/>
- <Column id="bfrslt8" type="STRING" size="256" sumtext="이전결과9"/>
- <Column id="bfrslt9" type="STRING" size="256" sumtext="이전결과10"/>
- <Column id="ddosevalue" type="STRING" size="256"/>
- <Column id="cdosevalue" type="STRING" size="256"/>
- <Column id="bfvalue" type="STRING" size="256"/>
- <Column id="levlcd" type="STRING" size="256"/>
- <Column id="levlnm" type="STRING" size="256"/>
- <Column id="rsltrid" type="STRING" size="256"/>
- <Column id="refrslt" type="STRING" size="256"/>
- <Column id="cfmref" type="STRING" size="256"/>
- <Column id="refinfo" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bcno" type="STRING" size="256"/>
- <Column id="acptfromdd" type="STRING" size="256"/>
- <Column id="acpttodd" type="STRING" size="256"/>
- <Column id="testroom" type="STRING" size="256"/>
- <Column id="eqmtcd" type="STRING" size="256"/>
- <Column id="acptflag" type="STRING" size="256"/>
- <Column id="matrcd" type="STRING" size="256"/>
- <Column id="rsltstat" type="STRING" size="256"/>
- <Column id="check" type="STRING" size="256"/>
- <Column id="testcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="bcno"/>
- <Col id="acptfromdd"/>
- <Col id="acpttodd"/>
- <Col id="testroom">00</Col>
- <Col id="eqmtcd">00</Col>
- <Col id="acptflag">00</Col>
- <Col id="matrcd"/>
- <Col id="rsltstat">3</Col>
- <Col id="check">0</Col>
- <Col id="testcd">00</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_spcinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="matrnm" type="STRING" size="256"/>
- <Column id="levlnm" type="STRING" size="256"/>
- <Column id="lotno" type="STRING" size="256"/>
- <Column id="prodcmpy" type="STRING" size="256"/>
- <Column id="eqmtnm" type="STRING" size="256"/>
- <Column id="wgmr" type="STRING" size="256"/>
- <Column id="avg" type="STRING" size="256"/>
- <Column id="sdval" type="STRING" size="256"/>
- <Column id="refval" type="STRING" size="256"/>
- <Column id="unit" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="matrnm"/>
- <Col id="levlnm"/>
- <Col id="lotno"/>
- <Col id="prodcmpy"/>
- <Col id="eqmtnm"/>
- <Col id="wgmr"/>
- <Col id="avg"/>
- <Col id="sdval"/>
- <Col id="refval"/>
- <Col id="unit"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecdid" type="STRING" size="256"/>
- <Column id="codeflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_lb0000" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lb0704" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lb0701" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lb0702" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_rsltinfo_spcinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.ipt_acptfromdd" propid="value" datasetid="ds_hidden" columnid="acptfromdd"/>
- <BindItem id="item1" compid="group3.ipt_acpttodd" propid="value" datasetid="ds_hidden" columnid="acpttodd"/>
- <BindItem id="item2" compid="group3.cbo_eqmtCd" propid="value" datasetid="ds_hidden" columnid="eqmtcd"/>
- <BindItem id="item3" compid="group3.cbo_acptFlag" propid="value" datasetid="ds_hidden" columnid="acptflag"/>
- <BindItem id="item4" compid="group3.combo1" propid="value" datasetid="ds_hidden" columnid="testcd"/>
- <BindItem id="item5" compid="group3.rdo_Rsltflag" propid="value" datasetid="ds_hidden" columnid="rsltstat"/>
- <BindItem id="item6" compid="group3.ipt_bcno" propid="value" datasetid="ds_hidden" columnid="bcno"/>
- <BindItem id="item7" compid="opt_matrcd" propid="value" datasetid="ds_hidden_spcinfo" columnid="matrnm"/>
- <BindItem id="item8" compid="opt_levlcd" propid="value" datasetid="ds_hidden_spcinfo" columnid="levlnm"/>
- <BindItem id="item9" compid="opt_lotno" propid="value" datasetid="ds_hidden_spcinfo" columnid="lotno"/>
- <BindItem id="item10" compid="opt_eqmtCd" propid="value" datasetid="ds_hidden_spcinfo" columnid="eqmtnm"/>
- <BindItem id="item11" compid="opt_refVal" propid="value" datasetid="ds_hidden_spcinfo" columnid="refval"/>
- <BindItem id="item12" compid="opt_unit" propid="value" datasetid="ds_hidden_spcinfo" columnid="unit"/>
- <BindItem id="item13" compid="opt_prodCmpy" propid="value" datasetid="ds_hidden_spcinfo" columnid="prodcmpy"/>
- <BindItem id="item14" compid="opt_sDVal" propid="value" datasetid="ds_hidden_spcinfo" columnid="sdval"/>
- <BindItem id="item15" compid="opt_avg" propid="value" datasetid="ds_hidden_spcinfo" columnid="avg"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-05-01
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-05-01 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LLZ001.xjs";
- function SMLQJ10200_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMLQJ10200_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_acptList);
- grdf_initGrid(grd_testRsltInfo);
-
- fSetInit();
- }
- function fSetInit()
- {
- ds_main_acptlist.clearData();
- ds_main_rsltinfo_testrsltinfo.clearData();
-
- ds_hidden.setColumn(0, "acptfromdd", utlf_getCurrentDate());
- ds_hidden.setColumn(0, "acpttodd", utlf_getCurrentDate());
-
- lf_getDbDeptcd("0000|0111|0701|0702|", "")
-
- ds_send.setColumn(0, "codeflag", "0704|");
- ds_send.setColumn(0, "basecdid", ds_init_lb0000.getColumn(0, "nm"));
- var oParam = {};
- oParam.id = "TRLZZ00101";
- oParam.service = "diagtestapplib.DiagTestBaseInfoMngt";
- oParam.method = "reqGetInitCodeInfo";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_init_lb0704=0704";
- oParam.async = false;
- //oParam.callback = "cf_TRLZZ00101";
- tranf_submit(oParam);
- }
- function group3_rdo_Rsltflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(group3.rdo_Rsltflag.value == "3")
- {
- btn_save.enable = false;
- }
- else
- {
- btn_save.enable = true;
- }
- ds_main_acptlist.clearData();
- ds_main_rsltinfo_testrsltinfo.clearData();
- }
- function group3_ipt_bcno_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- fKeyEvent();
- }
- }
- function fKeyEvent()
- {
- ds_hidden.setColumn(0, "matrcd", group3.ipt_matr.value);
- fGetAcptList(0);
- }
- function fGetAcptList(pVal)
- {
- dsf_makeValue(ds_send, "bcno", "string", ds_hidden.getColumn(0, "bcno"), 0);
- dsf_makeValue(ds_send, "acptfromdd", "string", ds_hidden.getColumn(0, "acptfromdd"), 0);
- dsf_makeValue(ds_send, "acpttodd", "string", ds_hidden.getColumn(0, "acpttodd"), 0);
- dsf_makeValue(ds_send, "testroom", "string", ds_hidden.getColumn(0, "testroom"), 0);
- dsf_makeValue(ds_send, "eqmtcd", "string", ds_hidden.getColumn(0, "eqmtcd"), 0);
- dsf_makeValue(ds_send, "testcd", "string", ds_hidden.getColumn(0, "testcd"), 0);
- dsf_makeValue(ds_send, "acptflag", "string", ds_hidden.getColumn(0, "acptflag"), 0);
- dsf_makeValue(ds_send, "matrcd", "string", ds_hidden.getColumn(0, "matrcd"), 0);
- dsf_makeValue(ds_send, "rsltstat", "string", ds_hidden.getColumn(0, "rsltstat"), 0);
- dsf_makeValue(ds_send, "deptflag", "string", ds_init_lb0000.getColumn(0, "nm"), 0);
-
- var oParam = {};
- oParam.id = "TRLQJ00201";
- oParam.service = "grademngtacptrsltmngtapp.QCRsltMngt";
- oParam.method = "reqGetAcptList";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_main_acptlist=acptlist";
- oParam.async = false;
- //oParam.callback = "cf_TRLQJ00201";
- tranf_submit(oParam);
-
- if(ds_main_acptlist.rowcount != 1)
- {
- ds_main_acptlist.clearSelect();
- ds_main_acptlist.selectRow(pVal);
- ds_main_acptlist.rowposition = pVal;
- fGetDetlInfo();
- }
- }
- function fGetDetlInfo()
- {
- ds_main_rsltinfo_testrsltinfo.clearData();
-
- dsf_makeValue(ds_send, "bcno", "string", ds_main_acptlist.getColumn(ds_main_acptlist.rowposition, "bcno"), 0);
- dsf_makeValue(ds_send, "testcd", "string", ds_main_acptlist.getColumn(ds_main_acptlist.rowposition, "testcd"), 0);
- dsf_makeValue(ds_send, "matrcd", "string", ds_main_acptlist.getColumn(ds_main_acptlist.rowposition, "matrcd"), 0);
- dsf_makeValue(ds_send, "eqmtcd", "string", ds_main_acptlist.getColumn(ds_main_acptlist.rowposition, "eqmtcd"), 0);
- dsf_makeValue(ds_send, "acptdt", "string", ds_main_acptlist.getColumn(ds_main_acptlist.rowposition, "acptdt"), 0);
- dsf_makeValue(ds_send, "deptflag", "string", ds_init_lb0000.getColumn(0, "nm"), 0);
-
- var oParam = {};
- oParam.id = "TRLQJ00201";
- oParam.service = "grademngtacptrsltmngtapp.QCRsltMngt";
- oParam.method = "reqGetDetlInfo";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_main_rsltinfo_testrsltinfo=testrsltinfo ds_main_rsltinfo_spcinfo=spcinfo ds_main_rsltinfo_spcinfo2=spcinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLQJ00201";
- tranf_submit(oParam);
-
- for(var i = 0; i < ds_main_rsltinfo_testrsltinfo.rowcount; i++)
- {
- if(ds_main_rsltinfo_testrsltinfo.getColumn(i, "rsltstat") == "△")
- {
- ds_main_rsltinfo_testrsltinfo.getColumn(i, "chk", "1");
- }
- else
- {
- ds_main_rsltinfo_testrsltinfo.getColumn(i, "chk", "0");
- }
- }
- group3.ipt_bcno.setFocus();
- }
- function group3_btn_getAcptList_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetAcptList(0);
- }
- function grd_acptList_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fGetDetlInfo();
- }
- function grd_testRsltInfo_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fRsltGrdEvent();
- }
- function fRsltGrdEvent()
- {
- fGetSpcInfo();
-
- var col = grd_testRsltInfo.currentcol;
- var vOrgRslt = ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "orgrslt");
-
- for(var i = 0; i < ds_main_rsltinfo_testrsltinfo.rowcount; i++)
- {
- if (i == ds_main_rsltinfo_testrsltinfo.rowposition)
- {
- if(col==3)
- {
- if(!utlf_isNull(vOrgRslt))
- {
- ds_main_rsltinfo_testrsltinfo.setColumn(i, "buforgrslt", vOrgRslt);
- }
- }
- else
- {
- ds_main_rsltinfo_testrsltinfo.setColumn(i, "buforgrslt", "");
- }
- }
- else
- {
- ds_main_rsltinfo_testrsltinfo.setColumn(i, "buforgrslt", "");
- }
- }
- }
- function fGetSpcInfo()
- {
- var refkind = ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "refkind");
- var flevlnm = ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "levlnm");
-
- var refval = "";
-
- if(refkind == "0")
- {
- refval = "없음";
- }
- else if(refkind == "1")
- {
- refval = ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "refcval");
- }
- else if(refkind == "2")
- {
- refval = ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "refl")+"~"+ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "refh");
- }
-
- ds_hidden_spcinfo.setColumn(0, "wgmr", ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "wgmrscop"));
- ds_hidden_spcinfo.setColumn(0, "sdval", ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "sdval"));
- ds_hidden_spcinfo.setColumn(0, "avg", ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "avg"));
- ds_hidden_spcinfo.setColumn(0, "unit", ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "rsltunit"));
- ds_hidden_spcinfo.setColumn(0, "refval", ds_main_rsltinfo_testrsltinfo.getColumn(ds_main_rsltinfo_testrsltinfo.rowposition, "refval"));
-
- ds_hidden_spcinfo.setColumn(0, "matrnm", ds_main_rsltinfo_spcinfo.lookup("levlnm", flevlnm, "matrnm"));
- ds_hidden_spcinfo.setColumn(0, "levlnm", ds_main_rsltinfo_spcinfo.lookup("levlnm", flevlnm, "levlnm"));
- ds_hidden_spcinfo.setColumn(0, "lotno", ds_main_rsltinfo_spcinfo.lookup("levlnm", flevlnm, "lotno"));
- ds_hidden_spcinfo.setColumn(0, "prodcmpy", ds_main_rsltinfo_spcinfo.lookup("levlnm", flevlnm, "prodcmpy"));
- ds_hidden_spcinfo.setColumn(0, "eqmtnm", ds_main_rsltinfo_spcinfo.lookup("levlnm", flevlnm, "eqmtnm"));
- }
- function btn_exception_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send.setColumn(0, "rsltstat", "R");
- fExeSave();
- }
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send.setColumn(0, "rsltstat", "1");
- fExeSave();
- }
- function btn_cfm_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send.setColumn(0, "rsltstat", "2");
- fExeSave();
- }
- function btn_cle_onclick(obj:Button, e:ClickEventInfo)
- {
- this.reload();
- }
- function fExeSave()
- {
- if(fInsSave() != 0)
- {
- var oParam = {};
- oParam.id = "TXLQJ00201";
- oParam.service = "grademngtacptrsltmngtapp.QCRsltMngt";
- oParam.method = "reqSetTestRsltInfo";
- oParam.inds = "data=ds_main_rsltinfo_testrsltinfo cond=ds_send";
- oParam.async = false;
- //oParam.callback = "cf_TXLQJ00201";
- tranf_submit(oParam);
-
- fGetAcptList(ds_main_acptlist.rowposition);
- }
- }
- function fInsSave()
- {
- if(ds_send.getColumn(0, "rsltstat") == "1")
- {
- for(var i = 0; i < ds_main_rsltinfo_testrsltinfo.rowcount; i++)
- {
- if(ds_main_rsltinfo_testrsltinfo.getColumn(i, "chk") == "1")
- {
- if(ds_main_rsltinfo_testrsltinfo.getColumn(i, "rsltstat")== "◆" || ds_main_rsltinfo_testrsltinfo.getColumn(i, "rsltstat") == "R")
- {
- alert("선택된 항목 중 확인 완료된 항목이 있습니다.");
- return 0;
- }
-
- if(utlf_isNull(ds_main_rsltinfo_testrsltinfo.getColumn(i, "viewrslt")))
- {
- alert("선택된 항목 중 결과값이 입력되지 않은항목이 있습니다.");
- return 0;
- }
- ds_main_rsltinfo_testrsltinfo.updatecontrol = false;
- ds_main_rsltinfo_testrsltinfo.setRowType(i, "u");
- ds_main_rsltinfo_testrsltinfo.updatecontrol = true;
- }
- else
- {
- ds_main_rsltinfo_testrsltinfo.updatecontrol = false;
- ds_main_rsltinfo_testrsltinfo.setRowType(i, "");
- ds_main_rsltinfo_testrsltinfo.updatecontrol = true;
- }
- }
- }
- else if(ds_send.getColumn(0, "rsltstat") == "2")
- {
- for(var i = 0; i < ds_main_rsltinfo_testrsltinfo.rowcount; i++)
- {
- if(ds_main_rsltinfo_testrsltinfo.getColumn(i, "chk") == "1")
- {
- if(utlf_isNull(ds_main_rsltinfo_testrsltinfo.getColumn(i, "viewrslt")))
- {
- alert("선택된 항목 중 결과값이 입력되지 않은항목이 있습니다.");
- return 0;
- }
- ds_main_rsltinfo_testrsltinfo.updatecontrol = false;
- ds_main_rsltinfo_testrsltinfo.setRowType(i, "u");
- ds_main_rsltinfo_testrsltinfo.updatecontrol = true; //status 를 update 변경
- }
- else
- {
- ds_main_rsltinfo_testrsltinfo.updatecontrol = false;
- ds_main_rsltinfo_testrsltinfo.setRowType(i, "");
- ds_main_rsltinfo_testrsltinfo.updatecontrol = true;
- }
- }
- }
- else if(ds_send.getColumn(0, "rsltstat") == "R")
- {
- for(var i = 0; i < ds_main_rsltinfo_testrsltinfo.rowcount; i++)
- {
- if(ds_main_rsltinfo_testrsltinfo.getColumn(i, "chk") == "1")
- {
- if(utlf_isNull(ds_main_rsltinfo_testrsltinfo.getColumn(i, "viewrslt")))
- {
- var rtn = sysf_messageBox("결과값이 입력되지 않은항목이 있습니다.\n", "Q003");
- if(rtn != "6")
- {
- return 0;
- }
- }
- if(utlf_isNull(ds_main_rsltinfo_testrsltinfo.getColumn(i, "measfactcnts")))
- {
- alert("제외를 위해 조치사항에 사유를 입력하세요");
- return 0;
- }
- ds_main_rsltinfo_testrsltinfo.updatecontrol = false;
- ds_main_rsltinfo_testrsltinfo.setRowType(i, "u");
- ds_main_rsltinfo_testrsltinfo.updatecontrol = true;
- }
- else
- {
- ds_main_rsltinfo_testrsltinfo.updatecontrol = false;
- ds_main_rsltinfo_testrsltinfo.setRowType(i, "");
- ds_main_rsltinfo_testrsltinfo.updatecontrol = true;
- }
- }
- }
- }
- function ds_main_rsltinfo_testrsltinfo_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- obj.setColumn(e.row, "chk", "1");
- }
- function grd_testRsltInfo_onkeydown(obj:Grid, e:KeyEventInfo)
- {
-
- }
- ]]></Script>
- </Form>
- </FDL>
|