123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLLP01700" position="absolute 0 0 1238 769" titletext="다중결과조회" onload="SMLLP01700_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="다중결과조회" class="tit_1" position="absolute 1 2 156 27" anchor="default"/>
- <Shape id="line1" class="line_1" position="absolute 0 120 1194 120"/>
- <Static id="caption1" text="다중결과 리스트" class="tit_2" position="absolute 1 98 140 118"/>
- <Div id="group1" taborder="1" class="div_SA" position="absolute 1 27 1236 85" anchor="left top right">
- <Layouts>
- <Layout width="1256" height="67">
- <Button id="button3" taborder="2" text="조회" onclick="group3_group1_button3_onclick" onlbuttonup="button3_onlbuttonup" class="btn1" position="absolute 1101 10 1157 30" anchor="top right"/>
- <Shape id="line3" linetype="vertical" class="line_4" position="absolute 1109 8 1109 51"/>
- <Static id="caption5" text="접수일자" class="search_name" position="absolute 311 10 379 30"/>
- <Static id="caption8" text="~" position="absolute 534 10 549 30" style="align:center middle;"/>
- <Calendar id="ipt_usdt" taborder="3" dateformat="yyyy-MM-dd" class="input_search" position="absolute 385 10 485 30"/>
- <Calendar id="ipt_uedt" taborder="4" dateformat="yyyy-MM-dd" class="input_search" position="absolute 552 10 652 30"/>
- <Static id="caption2" text="결과구분" class="search_name" position="absolute 714 10 782 30"/>
- <Static id="caption3" text="검사항목" class="search_name" position="absolute 8 35 76 55"/>
- <Button id="button6" taborder="5" onclick="group3_group1_button6_onclick" class="icon_search" position="absolute 953 35 973 55"/>
- <Edit id="ipt_tclscdlist" taborder="6" class="input_search" enable="false" position="absolute 170 35 950 55"/>
- <Combo id="cmb_testitem" taborder="7" innerdataset="@ds_init_lb0103" codecolumn="cd" datacolumn="nm" onitemchanged="group3_group1_cmb_testitem_onitemchanged" class="combo_search" position="absolute 82 35 167 55"/>
- <Static id="caption12" text="시행부서" class="search_name" position="absolute 8 10 76 30"/>
- <Combo id="combo3" taborder="8" value="1" text="대분류" innerdataset="@ds_deptgbn" codecolumn="value" datacolumn="label" index="0" onitemchanged="group3_group1_combo3_onitemchanged" class="combo_search" position="absolute 82 10 167 30"/>
- <Combo id="combo4" taborder="9" innerdataset="@ds_init_lb0102" codecolumn="cd" datacolumn="nm" onitemchanged="group3_group1_combo4_onitemchanged" class="combo_search" visible="false" position="absolute 172 10 297 30"/>
- <Combo id="cmb_dept" taborder="10" innerdataset="@ds_init_lb0104" codecolumn="cd" datacolumn="nm" class="combo_search" position="absolute 169 10 294 30"/>
- <MaskEdit id="ipt_ustm" taborder="11" type="string" mask="##:##" class="input_search" position="absolute 488 10 531 30"/>
- <MaskEdit id="ipt_uetm" taborder="12" type="string" mask="##:##" class="input_search" position="absolute 655 10 698 30"/>
- <Combo id="combo2" taborder="13" value="0" text="전체" innerdataset="@ds_rsltgbn" codecolumn="value" datacolumn="label" index="0" class="combo_search" position="absolute 788 10 903 30"/>
- <Button id="button5" taborder="14" text="초기화" onclick="button5_onclick" class="btn3" position="absolute 1160 10 1229 30" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_rslt" taborder="2" binddataset="ds_grid_grd_rslt" useinputpanel="false" cellsizingtype="col" oncellclick="group3_grd_rslt_oncellclick" position="absolute 1 118 1236 720" style="align:center middle;" onclick="rslt_onclick" anchor="all" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="55"/>
- <Column size="46"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="200"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="220"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="No."/>
- <Cell col="1" text="바코드번호"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="성명"/>
- <Cell col="4" text="sex/age"/>
- <Cell col="5" text="진료과"/>
- <Cell col="6" text="의뢰의사"/>
- <Cell col="7" text="병동/병실"/>
- <Cell col="8" text="검사항목명"/>
- <Cell col="9" text="결과값"/>
- <Cell col="10" text="1차"/>
- <Cell col="11" text="2차"/>
- <Cell col="12" text="3차"/>
- <Cell col="13" text="4차"/>
- <Cell col="14" text="5차"/>
- <Cell col="15" text="6차"/>
- <Cell col="16" text="7차"/>
- <Cell col="17" text="8차"/>
- <Cell col="18" text="9차"/>
- <Cell col="19" text="10차"/>
- <Cell col="20" text="11차"/>
- <Cell col="21" text="12차"/>
- <Cell col="22" text="13차"/>
- <Cell col="23" text="14차"/>
- <Cell col="24" text="15차"/>
- <Cell col="25" text="16차"/>
- <Cell col="26" text="17차"/>
- <Cell col="27" text="18차"/>
- <Cell col="28" text="19차"/>
- <Cell col="29" text="20차"/>
- <Cell col="30" text="21차"/>
- <Cell col="31" text="22차"/>
- <Cell col="32" text="23차"/>
- <Cell col="33" text="24차"/>
- <Cell col="34" text="25차"/>
- <Cell col="35" text="26차"/>
- <Cell col="36" text="27차"/>
- <Cell col="37" text="28차"/>
- <Cell col="38" text="29차"/>
- <Cell col="39" text="30차"/>
- <Cell col="40" text="사유"/>
- <Cell col="41" text="bcno2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow+1"/>
- <Cell col="1" style="align:center middle;" text="bind:bcno"/>
- <Cell col="2" displaytype="text" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:sexage"/>
- <Cell col="5" text="bind:orddeptnm"/>
- <Cell col="6" text="bind:orddrnm"/>
- <Cell col="7" text="bind:wardroom"/>
- <Cell col="8" style="align:left middle;" text="bind:tclsscrnnm" wordwrap="word"/>
- <Cell col="9" style="align:left;" text="bind:result"/>
- <Cell col="10" style="align:left;" text="bind:result01"/>
- <Cell col="11" style="align:left;" text="bind:result02"/>
- <Cell col="12" style="align:left;" text="bind:result03"/>
- <Cell col="13" style="align:left;" text="bind:result04"/>
- <Cell col="14" style="align:left;" text="bind:result05"/>
- <Cell col="15" style="align:left;" text="bind:result06"/>
- <Cell col="16" style="align:left;" text="bind:result07"/>
- <Cell col="17" style="align:left;" text="bind:result08"/>
- <Cell col="18" style="align:left;" text="bind:result09"/>
- <Cell col="19" style="align:left;" text="bind:result10"/>
- <Cell col="20" style="align:left;" text="bind:result11"/>
- <Cell col="21" style="align:left;" text="bind:result12"/>
- <Cell col="22" style="align:left;" text="bind:result13"/>
- <Cell col="23" style="align:left;" text="bind:result14"/>
- <Cell col="24" style="align:left;" text="bind:result15"/>
- <Cell col="25" style="align:left;" text="bind:result16"/>
- <Cell col="26" style="align:left;" text="bind:result17"/>
- <Cell col="27" style="align:left;" text="bind:result18"/>
- <Cell col="28" style="align:left;" text="bind:result19"/>
- <Cell col="29" style="align:left;" text="bind:result20"/>
- <Cell col="30" style="align:left;" text="bind:result21"/>
- <Cell col="31" style="align:left;" text="bind:result22"/>
- <Cell col="32" style="align:left;" text="bind:result23"/>
- <Cell col="33" style="align:left;" text="bind:result24"/>
- <Cell col="34" style="align:left;" text="bind:result25"/>
- <Cell col="35" style="align:left;" text="bind:result26"/>
- <Cell col="36" style="align:left;" text="bind:result27"/>
- <Cell col="37" style="align:left;" text="bind:result28"/>
- <Cell col="38" style="align:left;" text="bind:result29"/>
- <Cell col="39" style="align:left;" text="bind:result30"/>
- <Cell col="40" style="align:left;" text="bind:updtresn"/>
- <Cell col="41"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line6" class="line_3" position="absolute 0 791 1194 791"/>
- <Shape id="line4" class="line_3" position="absolute 0 737 1193 737"/>
- <Button id="button1" taborder="3" text="엑셀" onlbuttonup="button3_onlbuttonup" class="btn7" position="absolute 1182 91 1234 111" onclick="button1_onclick" anchor="top right"/>
- <TextArea id="output5" taborder="4" readonly="true" position="absolute 84 725 1237 764" anchor="left right bottom"/>
- <Static id="caption13" text="사유" class="cell_1" position="absolute 1 723 81 766" anchor="left bottom"/>
- </Layout>
- </Layouts>
- <Objects>
- <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="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- <Column id="etc01" 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>
- <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_deptgbn" firefirstcount="0" firenextcount="0" useclientlayout="true" 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">1</Col>
- </Row>
- <Row>
- <Col id="label">중분류</Col>
- <Col id="value">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_rsltgbn" firefirstcount="0" firenextcount="0" useclientlayout="true" 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_testgrupdetl" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_grid_grd_schelist_oncolumnchanged">
- <ColumnInfo>
- <column id="chk" type="STRING" size="256"/>
- <column id="tclsnm" type="STRING" size="256"/>
- <column id="tclscd" type="STRING" size="256"/>
- <column id="spccd" type="STRING" size="256"/>
- <Column id="tclsprntnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_rslt" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_grid_grd_rslt_onrowposchanged">
- <ColumnInfo>
- <column id="bcno" type="STRING" size="255"/>
- <column id="pid" type="STRING" size="255"/>
- <column id="hngnm" type="STRING" size="255"/>
- <column id="sexage" type="STRING" size="255"/>
- <column id="orddeptnm" type="STRING" size="255"/>
- <column id="orddrnm" type="STRING" size="255"/>
- <column id="wardroom" type="STRING" size="255"/>
- <column id="updtresn" type="STRING" size="255"/>
- <column id="maxcnt" type="STRING" size="255"/>
- <column id="bcno2" type="STRING" size="255"/>
- <column id="tclsscrnnm" type="STRING" size="255"/>
- <column id="result" type="STRING" size="255"/>
- <column id="selchk01" type="STRING" size="255"/>
- <column id="result01" type="STRING" size="255"/>
- <Column id="readonly01" type="STRING" size="255"/>
- <Column id="testcd01" type="STRING" size="255"/>
- <Column id="rsltseq01" type="STRING" size="255"/>
- <Column id="inptrslt01" type="STRING" size="255"/>
- <Column id="rsltstat01" type="STRING" size="255"/>
- <Column id="tooltip01" type="STRING" size="255"/>
- <column id="selchk02" type="STRING" size="255"/>
- <column id="result02" type="STRING" size="255"/>
- <Column id="readonly02" type="STRING" size="255"/>
- <Column id="testcd02" type="STRING" size="255"/>
- <Column id="rsltseq02" type="STRING" size="255"/>
- <Column id="inptrslt02" type="STRING" size="255"/>
- <Column id="rsltstat02" type="STRING" size="255"/>
- <Column id="tooltip02" type="STRING" size="255"/>
- <column id="selchk03" type="STRING" size="255"/>
- <column id="result03" type="STRING" size="255"/>
- <Column id="readonly03" type="STRING" size="255"/>
- <Column id="testcd03" type="STRING" size="255"/>
- <Column id="rsltseq03" type="STRING" size="255"/>
- <Column id="inptrslt03" type="STRING" size="255"/>
- <Column id="rsltstat03" type="STRING" size="255"/>
- <Column id="tooltip03" type="STRING" size="255"/>
- <column id="selchk04" type="STRING" size="255"/>
- <column id="result04" type="STRING" size="255"/>
- <Column id="readonly04" type="STRING" size="255"/>
- <Column id="testcd04" type="STRING" size="255"/>
- <Column id="rsltseq04" type="STRING" size="255"/>
- <Column id="inptrslt04" type="STRING" size="255"/>
- <Column id="rsltstat04" type="STRING" size="255"/>
- <Column id="tooltip04" type="STRING" size="255"/>
- <column id="selchk05" type="STRING" size="255"/>
- <column id="result05" type="STRING" size="255"/>
- <Column id="readonly05" type="STRING" size="255"/>
- <Column id="testcd05" type="STRING" size="255"/>
- <Column id="rsltseq05" type="STRING" size="255"/>
- <Column id="inptrslt05" type="STRING" size="255"/>
- <Column id="rsltstat05" type="STRING" size="255"/>
- <Column id="tooltip05" type="STRING" size="255"/>
- <column id="selchk06" type="STRING" size="255"/>
- <column id="result06" type="STRING" size="255"/>
- <Column id="readonly06" type="STRING" size="255"/>
- <Column id="testcd06" type="STRING" size="255"/>
- <Column id="rsltseq06" type="STRING" size="255"/>
- <Column id="inptrslt06" type="STRING" size="255"/>
- <Column id="rsltstat06" type="STRING" size="255"/>
- <Column id="tooltip06" type="STRING" size="255"/>
- <column id="selchk07" type="STRING" size="255"/>
- <column id="result07" type="STRING" size="255"/>
- <Column id="readonly07" type="STRING" size="255"/>
- <Column id="testcd07" type="STRING" size="255"/>
- <Column id="rsltseq07" type="STRING" size="255"/>
- <Column id="inptrslt07" type="STRING" size="255"/>
- <Column id="rsltstat07" type="STRING" size="255"/>
- <Column id="tooltip07" type="STRING" size="255"/>
- <column id="selchk08" type="STRING" size="255"/>
- <column id="result08" type="STRING" size="255"/>
- <Column id="readonly08" type="STRING" size="255"/>
- <Column id="testcd08" type="STRING" size="255"/>
- <Column id="rsltseq08" type="STRING" size="255"/>
- <Column id="inptrslt08" type="STRING" size="255"/>
- <Column id="rsltstat08" type="STRING" size="255"/>
- <Column id="tooltip08" type="STRING" size="255"/>
- <column id="selchk09" type="STRING" size="255"/>
- <column id="result09" type="STRING" size="255"/>
- <Column id="readonly09" type="STRING" size="255"/>
- <Column id="testcd09" type="STRING" size="255"/>
- <Column id="rsltseq09" type="STRING" size="255"/>
- <Column id="inptrslt09" type="STRING" size="255"/>
- <Column id="rsltstat09" type="STRING" size="255"/>
- <Column id="tooltip09" type="STRING" size="255"/>
- <column id="selchk10" type="STRING" size="255"/>
- <column id="result10" type="STRING" size="255"/>
- <Column id="readonly10" type="STRING" size="255"/>
- <Column id="testcd10" type="STRING" size="255"/>
- <Column id="rsltseq10" type="STRING" size="255"/>
- <Column id="inptrslt10" type="STRING" size="255"/>
- <Column id="rsltstat10" type="STRING" size="255"/>
- <Column id="tooltip10" type="STRING" size="255"/>
- <column id="selchk11" type="STRING" size="255"/>
- <column id="result11" type="STRING" size="255"/>
- <Column id="readonly11" type="STRING" size="255"/>
- <Column id="testcd11" type="STRING" size="255"/>
- <Column id="rsltseq11" type="STRING" size="255"/>
- <Column id="inptrslt11" type="STRING" size="255"/>
- <Column id="rsltstat11" type="STRING" size="255"/>
- <Column id="tooltip11" type="STRING" size="255"/>
- <column id="selchk12" type="STRING" size="255"/>
- <column id="result12" type="STRING" size="255"/>
- <Column id="readonly12" type="STRING" size="255"/>
- <Column id="testcd12" type="STRING" size="255"/>
- <Column id="rsltseq12" type="STRING" size="255"/>
- <Column id="inptrslt12" type="STRING" size="255"/>
- <Column id="rsltstat12" type="STRING" size="255"/>
- <Column id="tooltip12" type="STRING" size="255"/>
- <column id="selchk13" type="STRING" size="255"/>
- <column id="result13" type="STRING" size="255"/>
- <Column id="readonly13" type="STRING" size="255"/>
- <Column id="testcd13" type="STRING" size="255"/>
- <Column id="rsltseq13" type="STRING" size="255"/>
- <Column id="inptrslt13" type="STRING" size="255"/>
- <Column id="rsltstat13" type="STRING" size="255"/>
- <Column id="tooltip13" type="STRING" size="255"/>
- <column id="selchk14" type="STRING" size="255"/>
- <column id="result14" type="STRING" size="255"/>
- <Column id="readonly14" type="STRING" size="255"/>
- <Column id="testcd14" type="STRING" size="255"/>
- <Column id="rsltseq14" type="STRING" size="255"/>
- <Column id="inptrslt14" type="STRING" size="255"/>
- <Column id="rsltstat14" type="STRING" size="255"/>
- <Column id="tooltip14" type="STRING" size="255"/>
- <column id="selchk15" type="STRING" size="255"/>
- <column id="result15" type="STRING" size="255"/>
- <Column id="readonly15" type="STRING" size="255"/>
- <Column id="testcd15" type="STRING" size="255"/>
- <Column id="rsltseq15" type="STRING" size="255"/>
- <Column id="inptrslt15" type="STRING" size="255"/>
- <Column id="rsltstat15" type="STRING" size="255"/>
- <Column id="tooltip15" type="STRING" size="255"/>
- <column id="selchk16" type="STRING" size="255"/>
- <column id="result16" type="STRING" size="255"/>
- <Column id="readonly16" type="STRING" size="255"/>
- <Column id="testcd16" type="STRING" size="255"/>
- <Column id="rsltseq16" type="STRING" size="255"/>
- <Column id="inptrslt16" type="STRING" size="255"/>
- <Column id="rsltstat16" type="STRING" size="255"/>
- <Column id="tooltip16" type="STRING" size="255"/>
- <column id="selchk17" type="STRING" size="255"/>
- <column id="result17" type="STRING" size="255"/>
- <Column id="readonly17" type="STRING" size="255"/>
- <Column id="testcd17" type="STRING" size="255"/>
- <Column id="rsltseq17" type="STRING" size="255"/>
- <Column id="inptrslt17" type="STRING" size="255"/>
- <Column id="rsltstat17" type="STRING" size="255"/>
- <Column id="tooltip17" type="STRING" size="255"/>
- <column id="selchk18" type="STRING" size="255"/>
- <column id="result18" type="STRING" size="255"/>
- <Column id="readonly18" type="STRING" size="255"/>
- <Column id="testcd18" type="STRING" size="255"/>
- <Column id="rsltseq18" type="STRING" size="255"/>
- <Column id="inptrslt18" type="STRING" size="255"/>
- <Column id="rsltstat18" type="STRING" size="255"/>
- <Column id="tooltip18" type="STRING" size="255"/>
- <column id="selchk19" type="STRING" size="255"/>
- <column id="result19" type="STRING" size="255"/>
- <Column id="readonly19" type="STRING" size="255"/>
- <Column id="testcd19" type="STRING" size="255"/>
- <Column id="rsltseq19" type="STRING" size="255"/>
- <Column id="inptrslt19" type="STRING" size="255"/>
- <Column id="rsltstat19" type="STRING" size="255"/>
- <Column id="tooltip19" type="STRING" size="255"/>
- <column id="selchk20" type="STRING" size="255"/>
- <column id="result20" type="STRING" size="255"/>
- <Column id="readonly20" type="STRING" size="255"/>
- <Column id="testcd20" type="STRING" size="255"/>
- <Column id="rsltseq20" type="STRING" size="255"/>
- <Column id="inptrslt20" type="STRING" size="255"/>
- <Column id="rsltstat20" type="STRING" size="255"/>
- <Column id="tooltip20" type="STRING" size="255"/>
- <column id="selchk21" type="STRING" size="255"/>
- <column id="result21" type="STRING" size="255"/>
- <Column id="readonly21" type="STRING" size="255"/>
- <Column id="testcd21" type="STRING" size="255"/>
- <Column id="rsltseq21" type="STRING" size="255"/>
- <Column id="inptrslt21" type="STRING" size="255"/>
- <Column id="rsltstat21" type="STRING" size="255"/>
- <Column id="tooltip21" type="STRING" size="255"/>
- <column id="selchk22" type="STRING" size="255"/>
- <column id="result22" type="STRING" size="255"/>
- <Column id="readonly22" type="STRING" size="255"/>
- <Column id="testcd22" type="STRING" size="255"/>
- <Column id="rsltseq22" type="STRING" size="255"/>
- <Column id="inptrslt22" type="STRING" size="255"/>
- <Column id="rsltstat22" type="STRING" size="255"/>
- <Column id="tooltip22" type="STRING" size="255"/>
- <column id="selchk23" type="STRING" size="255"/>
- <column id="result23" type="STRING" size="255"/>
- <Column id="readonly23" type="STRING" size="255"/>
- <Column id="testcd23" type="STRING" size="255"/>
- <Column id="rsltseq23" type="STRING" size="255"/>
- <Column id="inptrslt23" type="STRING" size="255"/>
- <Column id="rsltstat23" type="STRING" size="255"/>
- <Column id="tooltip23" type="STRING" size="255"/>
- <column id="selchk24" type="STRING" size="255"/>
- <column id="result24" type="STRING" size="255"/>
- <Column id="readonly24" type="STRING" size="255"/>
- <Column id="testcd24" type="STRING" size="255"/>
- <Column id="rsltseq24" type="STRING" size="255"/>
- <Column id="inptrslt24" type="STRING" size="255"/>
- <Column id="rsltstat24" type="STRING" size="255"/>
- <Column id="tooltip24" type="STRING" size="255"/>
- <column id="selchk25" type="STRING" size="255"/>
- <column id="result25" type="STRING" size="255"/>
- <Column id="readonly25" type="STRING" size="255"/>
- <Column id="testcd25" type="STRING" size="255"/>
- <Column id="rsltseq25" type="STRING" size="255"/>
- <Column id="inptrslt25" type="STRING" size="255"/>
- <Column id="rsltstat25" type="STRING" size="255"/>
- <Column id="tooltip25" type="STRING" size="255"/>
- <column id="selchk26" type="STRING" size="255"/>
- <column id="result26" type="STRING" size="255"/>
- <Column id="readonly26" type="STRING" size="255"/>
- <Column id="testcd26" type="STRING" size="255"/>
- <Column id="rsltseq26" type="STRING" size="255"/>
- <Column id="inptrslt26" type="STRING" size="255"/>
- <Column id="rsltstat26" type="STRING" size="255"/>
- <Column id="tooltip26" type="STRING" size="255"/>
- <column id="selchk27" type="STRING" size="255"/>
- <column id="result27" type="STRING" size="255"/>
- <Column id="readonly27" type="STRING" size="255"/>
- <Column id="testcd27" type="STRING" size="255"/>
- <Column id="rsltseq27" type="STRING" size="255"/>
- <Column id="inptrslt27" type="STRING" size="255"/>
- <Column id="rsltstat27" type="STRING" size="255"/>
- <Column id="tooltip27" type="STRING" size="255"/>
- <column id="selchk28" type="STRING" size="255"/>
- <column id="result28" type="STRING" size="255"/>
- <Column id="readonly28" type="STRING" size="255"/>
- <Column id="testcd28" type="STRING" size="255"/>
- <Column id="rsltseq28" type="STRING" size="255"/>
- <Column id="inptrslt28" type="STRING" size="255"/>
- <Column id="rsltstat28" type="STRING" size="255"/>
- <Column id="tooltip28" type="STRING" size="255"/>
- <column id="selchk29" type="STRING" size="255"/>
- <column id="result29" type="STRING" size="255"/>
- <Column id="readonly29" type="STRING" size="255"/>
- <Column id="testcd29" type="STRING" size="255"/>
- <Column id="rsltseq29" type="STRING" size="255"/>
- <Column id="inptrslt29" type="STRING" size="255"/>
- <Column id="rsltstat29" type="STRING" size="255"/>
- <Column id="tooltip29" type="STRING" size="255"/>
- <column id="selchk30" type="STRING" size="255"/>
- <column id="result30" type="STRING" size="255"/>
- <Column id="readonly30" type="STRING" size="255"/>
- <Column id="testcd30" type="STRING" size="255"/>
- <Column id="rsltseq30" type="STRING" size="255"/>
- <Column id="inptrslt30" type="STRING" size="255"/>
- <Column id="rsltstat30" type="STRING" size="255"/>
- <Column id="tooltip30" type="STRING" size="255"/>
- <column id="maxrstno30" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_resn" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="resnseq" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_sendtclsnm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <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"/>
- <Column id="tclsprntnm" type="STRING" size="256"/>
- <Column id="testgrup" type="STRING" size="256"/>
- </ColumnInfo>
- </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="tclsnmlist" type="STRING" size="256"/>
- <Column id="tclscdlist" type="STRING" size="256"/>
- <Column id="tclscdlist2" type="STRING" size="256"/>
- <Column id="testgrup" type="STRING" size="256"/>
- <Column id="tclsnmlist2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group1.cmb_testitem" propid="value" datasetid="ds_hidden_ref_tclscdlist" columnid="testgrup"/>
- <BindItem id="item1" compid="group1.ipt_tclscdlist" propid="value" datasetid="ds_hidden_ref_tclscdlist" columnid="tclsnmlist"/>
- </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";
- var tclscdlist = "";
- var tclscdlist2 = "";
- var tclsnmlist = "";
- function SMLLP01700_onload(obj:Form, e:LoadEventInfo)
- {
- //폼 초기화 함수
- frmf_initForm(obj);
- lf_setInit(1);
- group1.cmb_dept.index=0
- }
- function lf_setInit(ref) {
-
- if(ref==2) {
-
- }else {
- var curDate = utlf_getCurrentDate();
- group1.combo3.value = "1"; //1=대분류
- group1.cmb_dept.value = "00";
- group1.combo4.value = "00";
- lf_comboAalue();
- group1.ipt_usdt.value = curDate;
- group1.ipt_ustm.value = "0000";
- group1.ipt_uedt.value = curDate;
- group1.ipt_uetm.value = "2359";
- group1.combo2.value = "0"; // 결과구분 0=전체
- group1.cmb_testitem.value = "";
- group1.ipt_tclscdlist.value = "";
-
- // 사용자별 검사그룹
- lf_getDbDeptcd("0000|0103|0104|0102|","cbf_SMLLP01700");
- }
- }
- function lf_getMutiRsltList() {
-
- var fromdd = group1.ipt_usdt.value;
- var todd = group1.ipt_uedt.value;
- fromdd = fromdd.toFormatString("%Y%m%d");
- todd = todd.toFormatString("%Y%m%d");
-
- var mDate = utlf_addDate(todd, -3);
- if(toNumber(mDate) > toNumber(fromdd)) {
- sysf_messageBox("3일 이내의 기간만 검색","I006");
- return;
- }else if(todd < fromdd) {
- sysf_messageBox("기간설정이 잘못", "E005");
- group1.ipt_usdt.value = todd;
- return;
- }
- // 시행부서
- var deptgbn = group1.combo3.value;
- var deptL = group1.cmb_dept.value;
- var deptM = group1.combo4.value;
- // 접수일자
- var usdd = group1.ipt_usdt.value;
- var ustm = group1.ipt_ustm.value;
- var uedd = group1.ipt_uedt.value;
- var uetm = group1.ipt_uetm.value;
- // 검사항목
- var testitem = tclscdlist;
- // 결과구분
- var rsltgbn = group1.combo2.value; // 결과combo
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "deptgbn", val:deptgbn }
- , {col: "deptL", val:deptL }
- , {col: "deptM", val:deptM }
- , {col: "usdd", val:usdd }
- , {col: "ustm", val:ustm }
- , {col: "uedd", val:uedd }
- , {col: "uetm", val:uetm }
- , {col: "tclscdlist", val:tclscdlist }
- , {col: "rsltgbn", val:rsltgbn }
- ]);
- var oParam = {};
- oParam.id = "TRLLP01701";
- oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
- oParam.method = "reqGetMultiResultListref";
- oParam.inds = "cond="+sInDsName;
- oParam.outds = "ds_grid_grd_rslt=rstlist";
- oParam.async = false;
- oParam.callback = "cbf_SMLLP01700";
- tranf_submit(oParam);
- }
- function lf_selectTestGrup(){
-
- var index = group1.cmb_testitem.index;
- var userid = ds_init_lb0103.getColumn(index, "etc01"); //해당인덱스의 userid 넘김
- var testgrupseqno = group1.cmb_testitem.value; //검사항목시퀀스값 넘김
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "testgrupnm", val: group1.cmb_testitem.text}]);
- var oParam = {};
- oParam.id = "TRLLF90401";
- oParam.service = "diagtestapplib.LisCommon";
- oParam.method = "reqGetTestGrupDetl";
- oParam.inds = "cond="+sInDsName;
- oParam.outds = "ds_testgrupdetl=getTestGrupDetl";
- oParam.async = false;
- oParam.callback = "cbf_SMLLP01700";
- tranf_submit(oParam);
- }
- // pop 선택리스트 검사항목에 설정
- function lf_setPopUpTclscdList(){
- var count = ds_testgrupdetl.rowcount;
- if(count > 0){
- var sendtclsnm = ds_testgrupdetl.getColumn(0, "tclsnm");
- var sendtclscd = ds_testgrupdetl.getColumn(0, "tclscd");
- var sendtclscd2 = ds_testgrupdetl.getColumn(0, "tclscd");
-
- // 검사그룹 상세 목록 없을때
- if(sendtclsnm == ""){
- tclscdlist = "";
- tclsnmlist = "";
- group1.ipt_tclscdlist.value = "";
- }else{ // 검사그룹 상세 목록 있을때
- for(i=1; i<count; i++){
-
- sendtclsnm = sendtclsnm + ", " +ds_testgrupdetl.getColumn(i, "tclsnm");
- sendtclscd = sendtclscd + "','" + ds_testgrupdetl.getColumn(i, "tclscd");
- sendtclscd2 = sendtclscd2 + "▦" + ds_testgrupdetl.getColumn(i, "tclscd");
- }
- tclsnmlist = sendtclsnm;
- tclscdlist = "'" + sendtclscd + "'";
- tclscdlist2= sendtclscd2;
- group1.ipt_tclscdlist.value = tclsnmlist;
- }
- }
- }
- // 대분류 중분류 선택시 변경
- function lf_comboAalue() {
- // 대분류
- if(group1.combo3.value == "1"){
- group1.cmb_dept.visible = true;
- group1.combo4.visible = false;
- group1.cmb_dept.value = "00";
- // 중분류
- }else{
- group1.cmb_dept.visible = false;
- group1.combo4.visible = true;
- group1.combo4.value = "00";
- }
- }
- // 엑셀 저장
- function lf_exeExcel() {
- grdf_exportExcel(grd_rslt, lf_lisGetTitle(this) + "_" + "다중결과조회", "sheet1", false);
- }
- // 사유 아래에 보여주기
- function lf_getResn() {
- var row = ds_grid_grd_rslt.rowposition;
- var col = grd_rslt.currentcol;
- if(col == 40 || col ==9){
- output5.value = ds_grid_grd_rslt.getColumn(row, "updtresn");
- }else if(col > 9 && col < 40) {
-
- var aaa= col - 9;
- if(aaa < 10){
- aaa = "0" + aaa;
- }
- var bcno = ds_grid_grd_rslt.getColumn(row, "bcno2");
- var testcd = ds_grid_grd_rslt.getColumn(row, "testcd"+aaa);
- var rsltseq = ds_grid_grd_rslt.getColumn(row, "rsltseq"+aaa);
-
- if(toNumber(ds_grid_grd_rslt.getColumn(row, "rsltseq"+aaa)) > 0){
-
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "bcno", val:bcno}
- , {col: "testcd", val:testcd}
- , {col: "rsltseq", val:rsltseq}
- ]);
- var oParam = {};
- oParam.id = "TRLLP01702";
- oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
- oParam.method = "reqGetMultiResultseqResn";
- oParam.inds = "cond="+sInDsName;
- oParam.outds = "ds_resn=getMultiResultseqResn";
- oParam.async = false;
- oParam.callback = "cbf_SMLLP01700";
- tranf_submit(oParam);
- }else{
- output5.value = "";
- }
- }else{
- }
- }
- // callback 함수
- function cbf_SMLLP01700(strSvcID, nErrorCode, strErrorMag) {
-
- if(nErrorCode != 0) {
- sysf_messageBox("ID: "+ strSvcID + " Error: " + strErrorMag, "E009", "");
- }else{
- switch(strSvcID){
- case "TRLZZ00101":
-
- for(var i=15; i<= 39; i++){
- grd_rslt.setFormatColProperty(i, "size", 0);
- }
-
- break;
- case "TRLLP00501":
- break;
- case "TRLLF90401":
- lf_setPopUpTclscdList();
- break;
- case "TRLLP01701":
- if(ds_grid_grd_rslt.rowcount > 0){
- var maxcnt = ds_grid_grd_rslt.getColumn(0,"maxcnt");
- var startnum = 10 + parseInt(maxcnt);
- for(var i=10; i<= 39; i++){
- grd_rslt.setFormatColProperty(i, "size", 70);
- if(i >= startnum){
- grd_rslt.setFormatColProperty(i, "size", 0);
- }
- }
- }
- break;
- case "TRLLP01702":
- output5.value = ds_resn.getColumn(0, "resnseq");
- break;
- default:
- break;
- }
- }
- }
- function button3_onlbuttonup(obj:Button, e:MouseEventInfo)
- {
- lf_getMutiRsltList();
- }
- function group1_cmb_testitem_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- lf_selectTestGrup();
- }
- function group1_combo3_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- lf_comboAalue();
- }
- function grd_rslt_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- lf_getResn();
- }
- function button1_onlbuttonup(obj:Button, e:MouseEventInfo)
- {
- if (ds_grid_grd_rslt.rowcount ==0) return;
- lf_exeExcel();
- }
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- this.reload();
- }
- function group1_combo4_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if (e.postvalue == "00")//전체
- {
- ds_init_lb0103.filter("");
- }else{
- ds_init_lb0103.filter("etc02=='"+e.postvalue+"'");
- }
- }
- function group3_group1_button6_onclick(obj:Button, e:ClickEventInfo)
- {
- var objArg = new Object();
- objArg.testGrup = ds_hidden_ref_tclscdlist;
-
- var rtn = frmf_modal("SMLLF90400","SMLLF90400",objArg, "", "", 300, 200, "", "", "", "", "", "M");
- group1.ipt_tclscdlist.value = utlf_isNull(ds_hidden_ref_tclscdlist.getColumn(0, "tclsnmlist")) ? group1.ipt_tclscdlist.value : ds_hidden_ref_tclscdlist.getColumn(0, "tclsnmlist").replace("▦",",");
- group1.cmb_testitem.value = utlf_isNull(ds_hidden_ref_tclscdlist.getColumn(0, "testgrup")) ? group1.cmb_testitem.value : ds_hidden_ref_tclscdlist.getColumn(0, "testgrup");
- tclscdlist= utlf_isNull(ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist")) ? "'" + group1.cmb_testitem.value + "'" : ("'"+ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist2").replace("▦","','")+"'");
- }
- ]]></Script>
- </Form>
- </FDL>
|