123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLQF10700" position="absolute 0 0 1200 779" titletext="Control Range 관리" oninit="SMLQF10700_oninit" onload="SMLQF10700_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="Control Range 관리" class="tit_1" position="absolute 0 0 211 23"/>
- <Shape id="line3" class="line_6" position="absolute 0 43 1194 49" anchor="left top right"/>
- <Button id="btn_exec" taborder="1" text="저장" class="btn4" position="absolute 1068 21 1124 43" anchor="top right" onclick="btn_exec_onclick"/>
- <Button id="btn_init" taborder="2" text="초기화" class="btn4" position="absolute 1127 21 1195 43" anchor="top right" onclick="btn_init_onclick"/>
- <Shape id="line7" class="line_10" position="absolute 0 418 1194 424" anchor="left top right"/>
- <Static id="cap_regno" text="사용시작일자" class="cell_1" position="absolute 0 423 190 446" anchor="left top"/>
- <Div id="group4" taborder="3" class="div_SA" position="absolute 0 48 625 83">
- <Layouts>
- <Layout>
- <Button id="btn_sea" taborder="1" text="조회" class="btn1" position="absolute 473 7 529 29" onclick="group4_btn_sea_onclick"/>
- <Static id="caption15" text="조회구분 :" class="search_name" position="absolute 15 9 101 27"/>
- <Edit id="ipt_search" taborder="2" class="input_s_button" position="absolute 313 8 413 27" onkeydown="group4_ipt_search_onkeydown"/>
- <Combo id="cbo_searchFlag" taborder="3" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_s_essential" position="absolute 103 8 203 27">
- <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">2</Col>
- <Col id="datacolumn">전체자료</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Shape id="line2" linetype="vertical" class="line_4" position="absolute 455 6 461 28"/>
- <Combo id="combo1" taborder="4" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_s_essential" position="absolute 208 8 308 27">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">Control 코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">Control 명</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_matrList" taborder="4" binddataset="ds_main_matrlist" useinputpanel="false" position="absolute 0 117 890 393" cellsizingtype="col" autofittype="col" anchor="left top" oncelldblclick="grd_matrList_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="70"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="Control 코드"/>
- <Cell col="2" text="Control 명"/>
- <Cell col="3" text="levlcd"/>
- <Cell col="4" text="Standard 명"/>
- <Cell col="5" text="LOT번호"/>
- <Cell col="6" text="사용시작일시"/>
- <Cell col="7" text="사용종료일시"/>
- <Cell col="8" text="제조회사"/>
- <Cell col="9" text="제조일시"/>
- <Cell col="10" text="입고일시"/>
- <Cell col="11" text="IF코드"/>
- <Cell col="12" text="등록자"/>
- <Cell col="13" text="등록일시"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" style="align:left middle;" text="matrcd" expr="expr:utlf_lTrim(getColumn(currow, 'matrcd'))" wordwrap="word"/>
- <Cell col="2" style="align:left middle;padding:1 0 0 1;" text="bind:matrnm" wordwrap="word"/>
- <Cell col="3" style="align:left middle;" text="bind:levlcd"/>
- <Cell col="4" style="align:left middle;" text="bind:levlnm"/>
- <Cell col="5" style="align:left middle;" text="bind:lotno"/>
- <Cell col="6" displaytype="date" text="bind:matrfromdd" calendardisplaynulltype="nulltext"/>
- <Cell col="7" displaytype="date" text="bind:matrtodd" calendardisplaynulltype="nulltext"/>
- <Cell col="8" style="align:left middle;" text="bind:prodcmpy"/>
- <Cell col="9" displaytype="date" style="align:left middle;" text="bind:proddt" calendardisplaynulltype="nulltext"/>
- <Cell col="10" displaytype="date" style="align:left middle;" text="bind:windt" calendardisplaynulltype="nulltext"/>
- <Cell col="11" style="align:left middle;" text="bind:matrifcd"/>
- <Cell col="12" style="align:left middle;" text="bind:fstrgstrid"/>
- <Cell col="13" displaytype="date" style="align:left middle;" text="bind:fstrgstdt" calendardisplaynulltype="nulltext"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line1" class="line_10" position="absolute 0 112 890 118"/>
- <Static id="caption1" text="Control 정보" class="tit_2" position="absolute -1 402 168 424" anchor="left top"/>
- <Static id="cap_sexage" text="Control 코드" class="cell_1" position="absolute 396 423 586 446" anchor="left top"/>
- <Static id="cap_psnno" text="Standard 코드" class="cell_1" position="absolute 792 423 982 446" anchor="left top"/>
- <Edit id="opt_matrfromdd" taborder="5" readonly="true" position="absolute 193 424 393 443" anchor="left top"/>
- <Edit id="out_matrcd" taborder="6" readonly="true" position="absolute 589 424 789 443" anchor="left top"/>
- <Edit id="out_levlcd" taborder="7" readonly="true" position="absolute 985 424 1194 443" anchor="left top right"/>
- <Shape id="line9" class="line_3" position="absolute 0 445 1194 451" anchor="left top right"/>
- <Static id="caption7" text="Control 리스트" class="tit_2" position="absolute 0 96 115 118"/>
- <Div id="group3" taborder="8" class="div_SA" position="absolute 630 48 1195 83" anchor="left top right">
- <Layouts>
- <Layout>
- <Button id="button1" taborder="1" text="조회" class="btn1" position="absolute 224 7 280 29" anchor="top right" onclick="group3_button1_onclick"/>
- <Static id="caption4" text="검사코드 :" class="search_name" position="absolute 5 9 91 26"/>
- <Edit id="ipt_searchTestCd" taborder="2" class="input_s_button" position="absolute 98 8 198 27" anchor="left top right" onkeydown="group3_ipt_searchTestCd_onkeydown"/>
- <Combo id="cmb_testLrgCd" taborder="3" innerdataset="@ds_init_lb0104" codecolumn="cd" datacolumn="nm" class="combo_s_essential" position="absolute 325 8 435 27" anchor="top right" onitemchanged="group3_cmb_testLrgCd_onitemchanged"/>
- <Combo id="cmb_testMdlCd" taborder="4" innerdataset="@ds_init_lb0102" codecolumn="cd" datacolumn="nm" class="combo_s_essential" position="absolute 440 8 555 27" anchor="top right" onitemchanged="group3_cmb_testMdlCd_onitemchanged"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 211 6 217 28" anchor="top right"/>
- <Shape id="line5" linetype="vertical" class="line_4" position="absolute 301 6 307 28" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_testList" taborder="9" binddataset="ds_main_testlist" useinputpanel="false" position="absolute 895 117 1194 393" autofittype="col" cellsizingtype="col" anchor="left top right">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="19" band="left"/>
- <Column size="30" band="left"/>
- <Column size="100"/>
- <Column size="120"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="검사코드"/>
- <Cell col="3" text="검사명"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'true' ? 1 : 0"/>
- <Cell col="2" style="align:left middle;" text="bind:testcd"/>
- <Cell col="3" style="align:left middle;" text="bind:testnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line14" class="line_10" position="absolute 895 112 1194 118" anchor="left top right"/>
- <Static id="caption3" text="검사항목 리스트" class="tit_2" position="absolute 895 96 1018 118"/>
- <Grid id="grd_matrTclsList" taborder="10" binddataset="ds_main_matrtclslist" useinputpanel="false" position="absolute 0 475 1194 774" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="26"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="135"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="검사코드"/>
- <Cell col="2" text="검사명"/>
- <Cell col="3" text="시작일자"/>
- <Cell col="4" text="종료일자"/>
- <Cell col="5" text="Def. DOSE"/>
- <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="참고치상한"/>
- <Cell col="13" text="참고치문자"/>
- <Cell col="14" text="소수길이"/>
- <Cell col="15" text="단위"/>
- <Cell col="16" text="평균"/>
- <Cell col="17" text="표준편차"/>
- <Cell col="18" text="WGMR범위"/>
- <Cell col="19" text="판정유형"/>
- <Cell col="20" text="반올림옵션"/>
- <Cell col="21" text="그래프"/>
- <Cell col="22" text="등록자"/>
- <Cell col="23" text="등록일시"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" style="align:left middle;" text="bind:testcd" wordwrap="word"/>
- <Cell col="2" style="align:left middle;padding:1 0 0 1;" text="bind:testnm" wordwrap="word"/>
- <Cell col="3" displaytype="date" edittype="date" text="bind:testfromdd" calendardisplaynulltype="nulltext"/>
- <Cell col="4" displaytype="date" edittype="date" text="bind:testtodd" calendardisplaynulltype="nulltext"/>
- <Cell col="5" displaytype="text" edittype="text" text="bind:ddosevalue"/>
- <Cell col="6" displaytype="combo" edittype="combo" style="padding:2 2 2 2;" text="bind:rsltkind" combodataset="ds_cmb_rsltkind" combocodecol="value" combodatacol="label"/>
- <Cell col="7" displaytype="combo" edittype="combo" style="padding:2 2 2 2;" text="bind:refkind" combodataset="ds_cmb_refkind" combocodecol="value" combodatacol="label"/>
- <Cell col="8" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:refflag" combodataset="ds_cmb_refflag" combocodecol="value" combodatacol="label"/>
- <Cell col="9" displaytype="text" edittype="text" text="bind:refl"/>
- <Cell col="10" displaytype="combo" edittype="combo" text="bind:refls" combodataset="ds_cmb_refls" combocodecol="value" combodatacol="label"/>
- <Cell col="11" displaytype="combo" edittype="combo" text="bind:refhs" combodataset="ds_cmb_refhs" combocodecol="value" combodatacol="label"/>
- <Cell col="12" displaytype="text" edittype="text" text="bind:refh"/>
- <Cell col="13" displaytype="text" edittype="text" text="bind:refcval"/>
- <Cell col="14" displaytype="combo" edittype="combo" text="bind:intrsltfrmt" combodataset="ds_cmb_intrsltfrmt" combocodecol="value" combodatacol="label"/>
- <Cell col="15" displaytype="text" edittype="text" text="bind:rsltunit"/>
- <Cell col="16" displaytype="text" edittype="text" text="bind:avg"/>
- <Cell col="17" displaytype="text" edittype="text" text="bind:sdval"/>
- <Cell col="18" displaytype="text" edittype="text" text="bind:wgmrscop"/>
- <Cell col="19" displaytype="combo" edittype="combo" text="bind:judgkind" combodataset="ds_cmb_judgkind" combocodecol="value" combodatacol="label"/>
- <Cell col="20" displaytype="combo" edittype="combo" text="bind:rundkind" combodataset="ds_cmb_rundkind" combocodecol="value" combodatacol="label"/>
- <Cell col="21" displaytype="checkbox" edittype="checkbox" text="bind::graphdispyn" taborder="undefined"/>
- <Cell col="22" style="align:left middle;" text="bind:fstrgstrid"/>
- <Cell col="23" displaytype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button52" taborder="11" text="행추가" class="btn2" enable="false" visible="false" position="absolute 1085 451 1138 470" anchor="top right"/>
- <Button id="button53" taborder="12" text="행삭제" class="btn2" position="absolute 1141 451 1194 470" anchor="top right" onclick="button53_onclick"/>
- <Button id="btn_up" taborder="13" class="icon_bottom" position="absolute 1035 396 1061 415" anchor="top right" onclick="btn_up_onclick"/>
- <Static id="caption2" text="Control 별 검사항목 설정" class="tit_2" position="absolute 0 454 178 476"/>
- <Shape id="line4" class="line_10" position="absolute 0 470 1194 476" anchor="left top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="refgbn" type="STRING" size="256"/>
- <Column id="refcont" type="STRING" size="256"/>
- <Column id="searchflag" type="STRING" size="256"/>
- <Column id="searchtestcd" type="STRING" size="256"/>
- <Column id="testlrg" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="refgbn">1</Col>
- <Col id="refcont"/>
- <Col id="searchflag">1</Col>
- <Col id="searchtestcd"/>
- <Col id="testlrg">00</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_testmdl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cd">00</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_matrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="matrcd" type="STRING" size="256" sumtext="QC물질코드"/>
- <Column id="levlcd" type="STRING" size="256" sumtext="QC레벨코드"/>
- <Column id="matrnm" type="STRING" size="256" sumtext="QC물질명"/>
- <Column id="levlnm" type="STRING" size="256" sumtext="레벨명"/>
- <Column id="lotno" type="STRING" size="256" sumtext="LOT번호"/>
- <Column id="matrfromdd" type="STRING" size="256" sumtext="사용시작일시"/>
- <Column id="matrtodd" type="STRING" size="256" sumtext="사용종료일시"/>
- <Column id="prodcmpy" type="STRING" size="256" sumtext="제조회사"/>
- <Column id="proddt" type="STRING" size="256" sumtext="제조일시"/>
- <Column id="windt" type="STRING" size="256" sumtext="입고일자"/>
- <Column id="validd" type="STRING" size="256" sumtext="유효일자"/>
- <Column id="matrifcd" type="STRING" size="256" sumtext="연동코드"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="등록자"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="등록일시"/>
- <Column id="valiterm" type="STRING" size="256" sumtext="유효만료기간"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_testlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_testlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256" sumtext="chk"/>
- <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
- <Column id="testnm" type="STRING" size="256" sumtext="검사명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_matrinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="matrfromdd" type="STRING" size="256"/>
- <Column id="matrcd" type="STRING" size="256"/>
- <Column id="levlcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="matrfromdd"/>
- <Col id="matrcd"/>
- <Col id="levlcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_matrtclslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_matrtclslist_oncolumnchanged">
- <ColumnInfo>
- <Column id="testcd" type="STRING" size="256" sumtext="testcd"/>
- <Column id="testnm" type="STRING" size="256" sumtext="검사명"/>
- <Column id="testfromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="testtodd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="rsltkind" 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="refls" type="STRING" size="256" sumtext="하한"/>
- <Column id="refhs" type="STRING" size="256" sumtext="상한"/>
- <Column id="refh" type="STRING" size="256" sumtext="참고치상한"/>
- <Column id="refcval" type="STRING" size="256" sumtext="참고치문자"/>
- <Column id="intrsltfrmt" type="STRING" size="256" sumtext="결과포멧"/>
- <Column id="rsltunit" type="STRING" size="256" sumtext="단위"/>
- <Column id="avg" type="STRING" size="256" sumtext="평균"/>
- <Column id="sdval" type="STRING" size="256" sumtext="표준편차"/>
- <Column id="wgmrscop" type="STRING" size="256" sumtext="WGMR범위"/>
- <Column id="judgkind" type="STRING" size="256" sumtext="판정유형"/>
- <Column id="rundkind" type="STRING" size="256" sumtext="반올림옵션"/>
- <Column id="graphdispyn" type="STRING" size="256" sumtext="그래프"/>
- <Column id="ddosevalue" type="STRING" size="256" sumtext="DEFDOSE"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="등록자"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="등록일자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lbLB0104" 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_lb0102" 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_cmb_rsltkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">문자+숫자</Col>
- <Col id="value">0</Col>
- </Row>
- <Row>
- <Col id="label">숫자</Col>
- <Col id="value">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_refkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">없음</Col>
- <Col id="value">0</Col>
- </Row>
- <Row>
- <Col id="label">문자</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">숫자</Col>
- <Col id="value">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_refflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">사용안함</Col>
- <Col id="value">0</Col>
- </Row>
- <Row>
- <Col id="label">하한만사용</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">상한만사용</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">모두사용</Col>
- <Col id="value">3</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_refls" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label"><</Col>
- <Col id="value">0</Col>
- </Row>
- <Row>
- <Col id="label"><=</Col>
- <Col id="value">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_refhs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label"><</Col>
- <Col id="value">0</Col>
- </Row>
- <Row>
- <Col id="label"><=</Col>
- <Col id="value">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_intrsltfrmt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">-</Col>
- <Col id="value">-</Col>
- </Row>
- <Row>
- <Col id="label">0</Col>
- <Col id="value">0</Col>
- </Row>
- <Row>
- <Col id="label">1</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">2</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">3</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">4</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">5</Col>
- <Col id="value">5</Col>
- </Row>
- <Row>
- <Col id="label">6</Col>
- <Col id="value">6</Col>
- </Row>
- <Row>
- <Col id="label">7</Col>
- <Col id="value">7</Col>
- </Row>
- <Row>
- <Col id="label">8</Col>
- <Col id="value">8</Col>
- </Row>
- <Row>
- <Col id="label">9</Col>
- <Col id="value">9</Col>
- </Row>
- <Row>
- <Col id="label">10</Col>
- <Col id="value">10</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_judgkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">미사용</Col>
- <Col id="value">0</Col>
- </Row>
- <Row>
- <Col id="label">L/H</Col>
- <Col id="value">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_rundkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">사용안함</Col>
- <Col id="value">0</Col>
- </Row>
- <Row>
- <Col id="label">반올림</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">올림</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">내림</Col>
- <Col id="value">3</Col>
- </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="codeflag" type="STRING" size="256"/>
- <Column id="refcont" type="STRING" size="256"/>
- <Column id="refgbn" type="STRING" size="256"/>
- <Column id="deptflag" type="STRING" size="256"/>
- <Column id="searchflag" type="STRING" size="256"/>
- <Column id="matrtclslist" type="STRING" size="256"/>
- <Column id="matrfromdd" type="STRING" size="256"/>
- <Column id="matrcd" type="STRING" size="256"/>
- <Column id="levlcd" type="STRING" size="256"/>
- <Column id="matrinfo" type="STRING" size="256"/>
- <Column id="testlrgcd" type="STRING" size="256"/>
- <Column id="testmdlcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codeflag"/>
- <Col id="refcont"/>
- <Col id="refgbn"/>
- <Col id="deptflag"/>
- <Col id="searchflag"/>
- <Col id="matrtclslist"/>
- <Col id="matrfromdd"/>
- <Col id="matrcd"/>
- <Col id="levlcd"/>
- <Col id="matrinfo"/>
- <Col id="testlrgcd"/>
- <Col id="testmdlcd"/>
- </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="nm" type="STRING" size="256"/>
- <Column id="cd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lb0104" 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>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group4.cbo_searchFlag" propid="value" datasetid="ds_hidden" columnid="refgbn"/>
- <BindItem id="item1" compid="group4.combo1" propid="value" datasetid="ds_hidden" columnid="searchflag"/>
- <BindItem id="item2" compid="group4.ipt_search" propid="value" datasetid="ds_hidden" columnid="refcont"/>
- <BindItem id="item3" compid="group3.ipt_searchTestCd" propid="value" datasetid="ds_hidden" columnid="searchtestcd"/>
- <BindItem id="item4" compid="group3.cmb_testLrgCd" propid="value" datasetid="ds_hidden" columnid="testlrg"/>
- <BindItem id="item5" compid="opt_matrfromdd" propid="value" datasetid="ds_main_matrinfo" columnid="matrfromdd"/>
- <BindItem id="item6" compid="out_matrcd" propid="value" datasetid="ds_main_matrinfo" columnid="matrcd"/>
- <BindItem id="item7" compid="out_levlcd" propid="value" datasetid="ds_main_matrinfo" columnid="levlcd"/>
- <BindItem id="item8" compid="group3.cmb_testMdlCd" propid="value" datasetid="ds_hidden_testmdl" columnid="cd"/>
- </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";
- function SMLQF10700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMLQF10700_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_matrList);
- grdf_initGrid(grd_matrTclsList);
- grdf_initGrid(grd_testList);
-
- grdf_setRowTypeIcon(grd_matrTclsList, 0);
-
- fSetInit();
- }
- function fSetInit()
- {
- ds_main_matrinfo.clearData();
- ds_main_matrlist.clearData();
- ds_main_testlist.clearData();
- ds_main_matrtclslist.clearData();
-
- lf_getDbDeptcd("0102|0104|0000|", "")
-
- fGetMatrList();
- fGetTestList();
- }
- function fGetMatrList()
- {
- ds_send.setColumn(0, "refgbn", ds_hidden.getColumn(0, "refgbn"));
- ds_send.setColumn(0, "searchflag", ds_hidden.getColumn(0, "searchflag"));
- ds_send.setColumn(0, "refcont", ds_hidden.getColumn(0, "refcont"));
- ds_send.setColumn(0, "deptflag", ds_init_lb0000.getColumn(0, "nm"));
-
- var oParam = {};
- oParam.id = "TRLQF00701";
- oParam.service = "grademngtbasemngtapp.QCMaterialTestItemMngt";
- oParam.method = "reqGetMatrList";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_main_matrlist=matrlist";
- oParam.async = false;
- //oParam.callback = "cf_TRLQF00701";
- tranf_submit(oParam);
- }
- function fGetTestList()
- {
- ds_send.setColumn(0, "refcont", ds_hidden.getColumn(0, "searchtestcd"));
- ds_send.setColumn(0, "deptflag", ds_init_lb0000.getColumn(0, "nm"));
-
- var oParam = {};
- oParam.id = "TRLQF00702";
- oParam.service = "grademngtbasemngtapp.QCMaterialTestItemMngt";
- oParam.method = "reqGetTestList";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_main_testlist=testlist";
- oParam.async = false;
- //oParam.callback = "cf_TRLQF00702";
- tranf_submit(oParam);
- }
- function ds_main_testlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if( e.columnid == "chk" )
- {
- obj.setColumn(e.row, "chk", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
- }
- }
- function ds_main_matrtclslist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if( e.columnid == "graphdispyn" )
- {
- obj.setColumn(e.row, "graphdispyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
-
- if(e.columnid == "refl" || e.columnid == "refh")
- {
- fSetRef();
- }
- }
- function group4_ipt_search_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- fKeyEvent("ipt_search");
- }
- }
- function group3_ipt_searchTestCd_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- fKeyEvent("ipt_searchTestCd");
- }
- }
- function group3_cmb_testLrgCd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSetTestLrgCd();
- }
- function group3_cmb_testMdlCd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fGetTclscdList();
- }
- function fKeyEvent(obj)
- {
- if(obj == "ipt_search")
- {
- fGetMatrList();
- }
-
- if(obj == "ipt_searchTestCd")
- {
- ds_send.setColumn(0, "refcont", group3.ipt_searchTestCd.value);
- fGetTestList();
- }
- }
- function group4_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetMatrList();
- }
- function group3_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetTestList();
- }
- function grd_matrList_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fGetMatrTclsList();
- }
- function fGetMatrTclsList()
- {
- ds_send.setColumn(0, "matrfromdd", ds_main_matrlist.getColumn(ds_main_matrlist.rowposition, "matrfromdd"));
- ds_send.setColumn(0, "matrcd", ds_main_matrlist.getColumn(ds_main_matrlist.rowposition, "matrcd").getTrim());
- ds_send.setColumn(0, "levlcd", ds_main_matrlist.getColumn(ds_main_matrlist.rowposition, "levlcd"));
- ds_send.setColumn(0, "deptflag", ds_init_lb0000.getColumn(0, "nm"));
-
- var oParam = {};
- oParam.id = "TRLQF00703";
- oParam.service = "grademngtbasemngtapp.QCMaterialTestItemMngt";
- oParam.method = "reqGetMatrTclsList";
- oParam.inds = "matrinfo=ds_send";
- oParam.outds = "ds_main_matrtclslist=matrtclslist ds_main_matrinfo=matrfromdd";
- oParam.async = false;
- oParam.callback = "cf_TRLQF00703";
- tranf_submit(oParam);
- }
- function cf_TRLQF00703(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return;
- }
- else
- {
- fSetMatrCopy();
- }
- }
- function fSetMatrCopy()
- {
- if(ds_main_matrinfo.rowcount == 0)
- {
- ds_main_matrinfo.addRow();
- }
- ds_main_matrinfo.setColumn(0, "matrfromdd", ds_main_matrlist.getColumn(ds_main_matrlist.rowposition, "matrfromdd"));
- ds_main_matrinfo.setColumn(0, "matrcd", ds_main_matrlist.getColumn(ds_main_matrlist.rowposition, "matrcd").getTrim());
- ds_main_matrinfo.setColumn(0, "levlcd", ds_main_matrlist.getColumn(ds_main_matrlist.rowposition, "levlcd"));
- }
- function btn_up_onclick(obj:Button, e:ClickEventInfo)
- {
- fCopyTestList();
- }
- function fCopyTestList()
- {
- var vChk = ""
- var vTestCd = ""
- var vTestNm = ""
-
- if(!utlf_isNull(ds_main_matrinfo.getColumn(0, "matrfromdd")))
- {
- for(var i = 0; i < ds_main_testlist.rowcount; i++)
- {
- vChk = ds_main_testlist.getColumn(i, "chk");
- vTestCd = ds_main_testlist.getColumn(i, "testcd");
- vTestNm = ds_main_testlist.getColumn(i, "testnm");
-
- if( vChk == "true")
- {
- if(ds_main_matrtclslist.findRow("testcd", vTestCd) == "-1")
- {
- trace(vTestCd)
- var row = ds_main_matrtclslist.addRow();
-
- ds_main_matrtclslist.setColumn(row, "testcd", vTestCd);
- ds_main_matrtclslist.setColumn(row, "testnm", vTestNm);
- ds_main_matrtclslist.setColumn(row, "testfromdd", ds_main_matrinfo.getColumn(0, "matrfromdd"));
- ds_main_matrtclslist.setColumn(row, "testtodd", "99991231");
- ds_main_testlist.setColumn(i, "chk", "false");
- }
- else
- {
- alert(vTestCd + " 항목이 중복되었습니다");
- ds_main_testlist.setColumn(i, "chk", "false");
- }
- }
- }
- }
- else
- {
- alert("물질을 먼저 선택하세요");
- }
- }
- function fSetRef()
- {
- var vRefL = ds_main_matrtclslist.getColumn(ds_main_matrtclslist.rowposition, "refl");
- var vRefH = ds_main_matrtclslist.getColumn(ds_main_matrtclslist.rowposition, "refh");
- if(!utlf_isNull(vRefL) && !utlf_isNull(vRefH))
- {
- if(parseFloat(vRefL) > parseFloat(vRefH))
- {
- alert("참고치 하한값이 상한값보다 클 수 없습니다.");
- return;
- }
- var vAvg = (parseFloat(vRefL) + parseFloat(vRefH)) / 2;
- var vSD = vAvg / 2;
-
- ds_main_matrtclslist.setColumn(ds_main_matrtclslist.rowposition, "avg", vAvg);
- ds_main_matrtclslist.setColumn(ds_main_matrtclslist.rowposition, "sdval", vSD);
- }
- }
- function button53_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_matrtclslist.deleteRow(ds_main_matrtclslist.rowposition);
- }
- function btn_exec_onclick(obj:Button, e:ClickEventInfo)
- {
- if(sysf_messageBox("", "Q002")==6)
- {
- if(grdf_getGridUpdateData(grd_matrTclsList) == 0)
- {
- sysf_messageBox("저장할 자료가 존재하지 않아 실행", "E001");
- return;
- }
- fExeMatrTclsList();
- }
- }
- function fExeMatrTclsList()
- {
- ds_send.setColumn(0, "deptflag", ds_init_lb0000.getColumn(0, "nm"));
-
- if(utlf_isNull(ds_main_matrinfo.getColumn(0, "matrfromdd")) || utlf_isNull(ds_main_matrinfo.getColumn(0, "matrcd")) || utlf_isNull(ds_main_matrinfo.getColumn(0, "levlcd"))|| utlf_isNull(ds_main_matrtclslist.getColumn(0, "testcd")) || utlf_isNull(ds_main_matrtclslist.getColumn(0, "testfromdd")))
- {
- sysf_messageBox("필수 항목이 입력되지 않았습니다.","I007");
- return false;
- }
-
- var oParam = {};
- oParam.id = "TXLQF00701";
- oParam.service = "grademngtbasemngtapp.QCMaterialTestItemMngt";
- oParam.method = "reqExeMatrTclsList";
- oParam.inds = "matrtclslist=ds_main_matrtclslist:u matrinfo=ds_main_matrinfo cond=ds_send";
- oParam.async = false;
- oParam.callback = "cf_TXLQF00701";
- tranf_submit(oParam);
- }
- function cf_TXLQF00701(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return;
- }
- else
- {
- fGetMatrTclsList();
- }
- }
- function btn_init_onclick(obj:Button, e:ClickEventInfo)
- {
- this.reload();
- }
- ]]></Script>
- </Form>
- </FDL>
|