123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPADB62200" position="absolute 0 0 431 380" titletext="TDM검사조회" oninit="SPADB62200_oninit" onload="SPADB62200_onload">
- <Layouts>
- <Layout>
- <Static text="TDM 검사조회" position="absolute 0 6 140 22" align="align:center middle;" id="caption2" class="tit_2"/>
- <Shape position="absolute 0 58 431 64" linetype="horizontal" id="line3" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
- <Button position="absolute 317 354 373 376" id="btn_cfm" class="btn4" text="확인" onclick="btn_cfm_onclick"/>
- <Button position="absolute 374 354 430 376" id="btn_can" class="btn4" text="취소" onclick="btn_can_onclick"/>
- <Grid position="absolute 0 63 431 349" id="grd_testlist" binddataset="ds_main_testlist" autosizebandtype="body" autofittype="col" cellsizingtype="both" oncelldblclick="grd_testlist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="309"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="검사코드"/>
- <Cell col="1" text="검사명"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;padding:0 2 0 2;" text="bind:testcd" wordwrap="char"/>
- <Cell col="1" style="align:left middle;padding:0 2 0 2;" text="bind:testnm" wordwrap="char"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_srch" taborder="1" position="absolute 0 23 431 58" class="div_SA2">
- <Layouts>
- <Layout>
- <Static id="caption3" text="검 색 어 :" class="search_name" position="absolute 13 9 99 26" anchor="default"/>
- <Shape id="line1" linetype="vertical" position="absolute 349 6 355 28" anchor="default"/>
- <Edit id="input1" taborder="1" class="input_search" position="absolute 102 8 261 27" anchor="default" onkeyup="grp_srch_input1_onkeyup"/>
- <Button id="btn_req" taborder="2" text="조회" class="btn1" position="absolute 364 7 420 29" anchor="default" onclick="grp_srch_btn_req_onclick"/>
- <Combo id="combo1" taborder="3" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 263 8 343 27" anchor="default">
- <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>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_testlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="testcd" type="STRING"/>
- <Column id="testnm" type="STRING"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchcnts" type="STRING" size="256"/>
- <Column id="srchcond" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="receiveref" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_srch.input1" propid="value" datasetid="ds_send_srchinfo" columnid="srchcnts"/>
- <BindItem id="item1" compid="grp_srch.combo1" propid="value" datasetid="ds_send_srchinfo" columnid="srchcond"/>
- </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
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "ast_commonxp::AST.xjs"
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
-
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPADB62200
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPADB62200_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPADB62200
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPADB62200_onload(obj:Form, e:LoadEventInfo)
- {
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("grp_srch.btn_req", "onclick", ev );
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grp_srch.btn_req
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭
- ****************************************************************************************/
- function grp_srch_btn_req_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRADB62201";
- oParam.service = "pharmacybaseapp.TDMBase";
- oParam.method = "reqGetTestNmList";
- oParam.inds = "req=ds_send_srchinfo";
- oParam.outds = "ds_main_testlist=item";
- oParam.async = false;
- //oParam.callback = "cf_TRADB62201";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : grp_srch.input1
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 검색어 입력 후 엔터로 조회
- ****************************************************************************************/
- function grp_srch_input1_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("grp_srch.btn_req", "onclick", ev );
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_testlist
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : TDM검사 조회리스트 클릭하여 모화면에 전송
- ****************************************************************************************/
- function grd_testlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row > -1) {
- if ( frmf_checkOpener() ) {
- opener.ds_temp_testinfo.setColumn(0,"testcd",ds_main_testlist.getColumn(e.row,"testcd"));
- opener.ds_temp_testinfo.setColumn(0,"testnm",ds_main_testlist.getColumn(e.row,"testnm"));
- this.close();
- } else {
- alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_cfm
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : TDM검사 조회리스트 클릭하여 모화면에 전송
- ****************************************************************************************/
- function btn_cfm_onclick(obj:Button, e:ClickEventInfo)
- {
- var ev = new GridClickEventInfo;
- frmf_inputEnterKey("grd_testlist", "oncelldblclick", ev );
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_can
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 닫기
- ****************************************************************************************/
- function btn_can_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|