123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLLC00600" position="absolute 0 0 1206 761" titletext="핵의학 검체 조회" oninit="SMLLC00600_oninit" onload="SMLLC00600_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="핵의학 검체 조회" class="tit_1" position="absolute 0 0 136 25" anchor="left top"/>
- <Button id="btn_reset" taborder="1" text="초기화" class="btn4" position="absolute 1133 66 1201 88" onclick="btn_reset_onclick" anchor="top right"/>
- <Static id="caption1" text="핵의학 검체 List" class="tit_2" position="absolute 1 70 124 86" anchor="left top"/>
- <Grid id="grd_nspclist" taborder="2" binddataset="ds_grd_nspclist" useinputpanel="false" position="absolute 0 90 1202 757" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="28"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="222"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="150"/>
- <Column size="160"/>
- <Column size="160"/>
- <Column size="160"/>
- </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="검체명"/>
- <Cell col="6" text="검체상태"/>
- <Cell col="7" text="채혈정보"/>
- <Cell col="8" text="가접수정보"/>
- <Cell col="9" text="접수정보"/>
- <Cell col="10" text="취소정보"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" text="bind:bcno"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" style="align:left middle;" text="bind:tclsnm"/>
- <Cell col="5" text="bind:spcnm"/>
- <Cell col="6" text="bind:spcstat"/>
- <Cell col="7" style="align:left middle;" text="bind:bcoll"/>
- <Cell col="8" style="align:left middle;" text="bind:spcpseuacpt"/>
- <Cell col="9" style="align:left middle;" text="bind:spcacpt"/>
- <Cell col="10" text="bind:spccncl"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="group2" taborder="3" position="absolute 0 25 1201 60" anchor="left top right" class="div_SA">
- <Layouts>
- <Layout>
- <Shape id="line3" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="left top"/>
- <Button id="btn_Ref" taborder="13" text="조회" class="btn1" position="absolute 1123 7 1179 29" anchor="left top" onclick="group2_btn_Ref_onclick"/>
- <Combo id="cmb_refgbn" taborder="14" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 755 10 845 29" anchor="left top">
- <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>
- <Edit id="ipt_text" taborder="15" class="input_button" position="absolute 850 10 950 29" anchor="left top" onkeydown="group2_ipt_text_onkeydown"/>
- <Static id="caption4" text="조회기간 :" class="search_name" position="absolute 48 11 138 28" anchor="left top"/>
- <Calendar id="ipt_fromdd" taborder="16" class="input_s_essential" position="absolute 142 10 248 29" anchor="left top"/>
- <Static id="caption5" text="~" class="search_no_b" position="absolute 250 11 265 28" anchor="left top"/>
- <Calendar id="ipt_todd" taborder="17" class="input_s_essential" position="absolute 265 10 371 29" anchor="left top"/>
- <Static id="caption2" text="조회구분 :" class="search_name" position="absolute 665 10 755 27" anchor="left top"/>
- <Static id="caption3" text="검체상태 :" class="search_name" position="absolute 425 10 515 27" anchor="left top"/>
- <Combo id="cmb_spcflag" taborder="18" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 515 10 605 29" anchor="left top">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">00</Col>
- <Col id="datacolumn">-전체-</Col>
- </Row>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">취소</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">채혈</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">가접수</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">접수</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_nspclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bcno" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="tclsnm" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="spcstat" type="STRING"/>
- <Column id="bcoll" type="STRING"/>
- <Column id="spcpseuacpt" type="STRING"/>
- <Column id="spcacpt" type="STRING"/>
- <Column id="spccncl" type="STRING"/>
- <Column id="Column0" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_spcflag" 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">00</Col>
- </Row>
- <Row>
- <Col id="label">취소</Col>
- <Col id="value">0</Col>
- </Row>
- <Row>
- <Col id="label">채혈</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">가접수</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">접수</Col>
- <Col id="value">4</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_refgbn" 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">1</Col>
- </Row>
- <Row>
- <Col id="label">검체번호</Col>
- <Col id="value">2</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="refflag" type="STRING" size="256"/>
- <Column id="reftext" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="spcflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="refflag">1</Col>
- <Col id="spcflag">00</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="refflag" type="STRING" size="256"/>
- <Column id="reftext" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="spcflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item1" compid="group2.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
- <BindItem id="item2" compid="group2.ipt_text" propid="value" datasetid="ds_send" columnid="reftext"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-09
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-09 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LLZ001.xjs";
- function cf_TRLLC00601(strSvcID, nErrorCode, strErrorMag)
- {
- if(nErrorCode != 0) sysf_messageBox("ID: " + strSvcID + " Error: " + strErrorMag, "E009", "");
- }
- function SMLLC00600_oninit(obj:Form, e:InitEventInfo)
- {
- //폼 초기화 함수
- frmf_initForm(obj);
- }
- function SMLLC00600_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_nspclist);
-
- group2.ipt_fromdd.value = utlf_getCurrentDate();
- group2.ipt_todd.value = utlf_getCurrentDate();
- group2.cmb_spcflag.value = '00';
- group2.cmb_refgbn.value= '1';
-
- ds_send.setColumn(0, "fromdd", ds_send.getColumn(0, "fromdd"));
- ds_send.setColumn(0, "todd", ds_send.getColumn(0, "todd"));
- }
- //조회
- function fGetNSpcList()
- {
-
- ds_send.setColumn(0, "spcflag", group2.cmb_spcflag.value);
- ds_send.setColumn(0, "refflag", group2.cmb_refgbn.value);
-
- var oParam = {};
- oParam.id = "TRLLC00601";
- oParam.service = "bcollmngtapp.BCollMngt";
- oParam.method = "reqGetNSpcList";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_grd_nspclist=nspclist";
- oParam.async = false;
- oParam.callback = "cf_TRLLC00601";
- tranf_submit(oParam);
- }
- //조회
- function group2_btn_Ref_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetNSpcList();
- }
- //초기화
- function btn_reset_onclick(obj:Button, e:ClickEventInfo)
- {
- this.reload();
- }
- //키검색
- function group2_ipt_text_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- if( !utlf_isNull(group2.ipt_text.value))
- {
- ds_send.setColumn(0, "reftext", (group2.ipt_text.text).toUpperCase());
- fGetNSpcList();
- }
- else
- {
- alert("검색어를 입력하십시오");
- }
- ds_grd_nspclist.rowposition = 0;
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|