123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPLLF10600" position="absolute 0 0 858 777" titletext="검사시행부서코드관리" oninit="SPLLF10600_oninit" onload="SPLLF10600_onload">
- <Layouts>
- <Layout>
- <Div id="group4" taborder="0" class="div_SA2" position="absolute 1 30 857 65">
- <Layouts>
- <Layout>
- <Button id="button4" taborder="7" text="검색" class="btn1" position="absolute 398 7 454 29" anchor="default"/>
- <Shape id="line3" linetype="vertical" class="line_4" position="absolute 380 6 386 28" anchor="default"/>
- <Combo id="combo1" taborder="8" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 105 8 255 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>
- <Static id="caption3" text="검색구분 :" class="search_name" position="absolute 12 9 102 26" anchor="default"/>
- <Edit id="input1" taborder="9" class="input_search" position="absolute 258 8 368 27" anchor="default" onkeyup="group4_input1_onkeyup"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="button3" taborder="1" text="닫기" class="btn4" position="absolute 801 5 857 27" onclick="button3_onclick"/>
- <Button id="button2" taborder="2" text="추가" class="btn4" position="absolute 742 5 798 27" onclick="button2_onclick"/>
- <Grid id="datagrid1" taborder="3" binddataset="ds_datagrid1" useinputpanel="false" position="absolute 1 75 856 775" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="20"/>
- <Column size="85"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <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="단위"/>
- </Band>
- <Band id="body">
- <Cell style="background:URL('theme://images/bg_gridHead.png') stretch 3,3;background2:URL('theme://images/bg_gridHead.png') stretch 3,3;" text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="2" displaytype="normal" edittype="text" text="bind:tubecd"/>
- <Cell col="3" displaytype="normal" edittype="text" text="bind:tubenm"/>
- <Cell col="4" displaytype="normal" edittype="text" text="bind:tubescrnnm"/>
- <Cell col="5" displaytype="normal" edittype="text" text="bind:tubeabbrnm"/>
- <Cell col="6" displaytype="normal" edittype="text" text="bind:tubeprntnm"/>
- <Cell col="7" displaytype="normal" edittype="text" text="bind:tubelblnm"/>
- <Cell col="8" displaytype="normal" edittype="text" style="align:right middle;" text="bind:tubevol"/>
- <Cell col="9" displaytype="normal" edittype="text" text="bind:tubeunit"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line1" class="line_1" position="absolute 1 71 856 77" style="strokepen:3 solid #33bbbbff;"/>
- <Static id="caption2" text="통합용기코드목록" class="tit_2" position="absolute 2 2 162 23"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_tube" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING"/>
- <Column id="tubecd" type="STRING"/>
- <Column id="tubenm" type="STRING"/>
- <Column id="tubescrnnm" type="STRING"/>
- <Column id="tubeabbrnm" type="STRING"/>
- <Column id="tubeprntnm" type="STRING"/>
- <Column id="tubelblnm" type="STRING"/>
- <Column id="tubevol" type="STRING"/>
- <Column id="tubeunit" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING"/>
- <Column id="tubecd" type="STRING"/>
- <Column id="tubenm" type="STRING"/>
- <Column id="tubescrnnm" type="STRING"/>
- <Column id="tubeabbrnm" type="STRING"/>
- <Column id="tubeprntnm" type="STRING"/>
- <Column id="tubelblnm" type="STRING"/>
- <Column id="tubevol" type="STRING"/>
- <Column id="tubeunit" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_0000" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="코드명"/>
- <Column id="chk" type="STRING" size="256" sumtext="chk"/>
- <Column id="etc01" type="STRING" size="256" sumtext="기타1"/>
- <Column id="etc02" type="STRING" size="256" sumtext="기타2"/>
- <Column id="etc03" type="STRING" size="256" sumtext="기타3"/>
- <Column id="etc04" type="STRING" size="256" sumtext="기타4"/>
- <Column id="etc05" type="STRING" size="256" sumtext="기타4"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_ref" 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="searchgbn" type="STRING" size="256"/>
- <Column id="searchtext" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="refgbn">1</Col>
- <Col id="searchgbn">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="refgbn" type="STRING" size="256"/>
- <Column id="spcdata" type="STRING" size="256"/>
- <Column id="searchgbn" type="STRING" size="256"/>
- <Column id="text" type="STRING" size="256"/>
- <Column id="deptflag" type="STRING" size="256"/>
- <Column id="codeflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group4.combo1" propid="value" datasetid="ds_hidden_ref" columnid="searchgbn"/>
- <BindItem id="item1" compid="group4.input1" propid="value" datasetid="ds_hidden_ref" columnid="searchtext"/>
- </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";
- function SPLLF10600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPLLF10600_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(datagrid1);
- ds_send.setColumn(0, "codeflag", "0000|");
-
- var oParam = {};
- oParam.id = "TRLZZ00101";
- oParam.service = "diagtestapplib.DiagTestBaseInfoMngt";
- oParam.method = "reqGetInitCodeInfo";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_init_0000=0000";
- oParam.async = false;
- //oParam.callback = "cf_TRLZZ00101";
- tranf_submit(oParam);
-
- fSetInit();
- fGetTubeList();
- }
- // 초기화 버튼
- function fSetInit()
- {
- ds_datagrid1.clearData();
- }
- function fGetTubeList()
- {
- ds_send.setColumn(0, "refgbn", ds_hidden_ref.getColumn(0, "refgbn"));
- ds_send.setColumn(0, "deptflag", ds_init_0000.getColumn(0, "nm"));
-
- var oParam = {};
- oParam.id = "TRLLF10401";
- oParam.service = "diagtestbaseinfomngtapp.GeneralTestBaseInfoMngt";
- oParam.method = "reqGetUnityTubeList";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_datagrid1=getUnityTubeList";
- oParam.async = false;
- //oParam.callback = "cf_TRLLF10401";
- tranf_submit(oParam);
- }
- function group4_input1_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- ds_hidden_ref.setColumn(0, "searchtext", group4.input1.text);
- fGetTubeSrch();
- }
- }
- //검색
- function fGetTubeSrch()
- {
- ds_send.setColumn(0, "searchgbn", ds_hidden_ref.getColumn(0, "searchgbn"));
- ds_send.setColumn(0, "text", ds_hidden_ref.getColumn(0, "searchtext").toUpperCase());
- ds_send.setColumn(0, "deptflag", ds_init_0000.getColumn(0, "nm"));
-
- if( utlf_isNull(ds_hidden_ref.getColumn(0, "searchtext")))
- {
- fGetTubeList();
- }
- else
- {
- var oParam = {};
- oParam.id = "TRLLF10402";
- oParam.service = "diagtestbaseinfomngtapp.GeneralTestBaseInfoMngt";
- oParam.method = "reqGetUnityTubeListRef";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_grd_tube=getUnityTubeListRef";
- oParam.async = false;
- //oParam.callback = "cf_TRLLF10402";
- tranf_submit(oParam);
-
- ds_datagrid1.copyData(ds_grd_tube);
- }
- }
- //추가버튼
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- fAddRow();
- }
- function fAddRow()
- {
- var strXML = ds_datagrid1.saveXML("ds_datagrid1","u");
- opener.ds_grid_grd_select.loadXML(strXML);
-
- this.close();
- }
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|