123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPLLF10400" position="absolute 0 0 679 275" titletext="검사시행부서코드관리" onload="SPLLF10400_onload">
- <Layouts>
- <Layout>
- <Button id="button1" taborder="0" text="추가" onclick="button1_onclick" class="btn2" position="absolute 633 253 677 273" positiontype="position"/>
- <Grid id="grd_testmdl" taborder="1" useinputpanel="false" position="absolute 1 21 677 250" binddataset="ds_grid_grd_testmdl" positiontype="position">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="20"/>
- <Column size="85"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2"/>
- <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 celltype="head" expr="expr:currow+1"/>
- <Cell col="1" displaytype="image" expr="expr: getRowType(currow) == 2 ?'theme://images/ico_i.png' : (getRowType(currow) == 4 ? 'theme://images/ico_u.png' : (getRowType(currow) == 8 ? 'theme://images/ico_d.png' : 'theme://images/ico_e.png'))"/>
- <Cell col="2" displaytype="expr:lf_CheckBaccd(currow) == -1 ? 'checkbox': 'normal '" edittype="expr:lf_CheckBaccd(currow) == -1 ? 'checkbox': 'none '" text="bind:chk"/>
- <Cell col="3" displaytype="normal" edittype="none" style="align:center middle;" text="bind:testlrgcd"/>
- <Cell col="4" displaytype="normal" edittype="none" style="align:center middle;" text="bind:testmdlcd"/>
- <Cell col="5" displaytype="normal" edittype="none" style="align:left;" text="bind:testmdlnm"/>
- <Cell col="6" displaytype="normal" edittype="none" style="align:left;" text="bind:testmdlscrnnm"/>
- <Cell col="7" displaytype="normal" edittype="none" style="align:left;" text="bind:testmdlabbrnm"/>
- <Cell col="8" displaytype="normal" edittype="none" style="align:left;" text="bind:testmdlprntnm"/>
- <Cell col="9" displaytype="normal" edittype="none" style="align:left;" text="bind:testmdllblnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption1" text="통합검사중분류코드목록" class="tit_2" position="absolute 1 1 175 21" positiontype="position"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_testmdl" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING"/>
- <Column id="testlrgcd" type="STRING"/>
- <Column id="testmdlcd" type="STRING"/>
- <Column id="testmdlnm" type="STRING"/>
- <Column id="testmdlscrnnm" type="STRING"/>
- <Column id="testmdlabbrnm" type="STRING"/>
- <Column id="testmdlprntnm" type="STRING"/>
- <Column id="testmdllblnm" type="STRING"/>
- </ColumnInfo>
- </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="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <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 SPLLF10400_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- lf_setInit();
- lf_getTmdlList();
- }
- // 초기화 버튼
- function lf_setInit() {
-
- lf_getDbDeptcd("0000|");
- }
-
- // 계리스트 조회
- function lf_getTmdlList(){
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "testlrgcd", val: opener.ds_grid_grd_testlrg.getColumn(opener.ds_grid_grd_testlrg.rowposition,"testlrgcd")} //대분류코드
- , {col: "refgbn", val: "1"}
- , {col: "deptflag", val: lgv_sUserdeptflagcd}]);
- var oParam = {};
- oParam.id = "TRLLF00202";
- oParam.service = "diagtestbaseinfomngtapp.GeneralTestBaseInfoMngt";
- oParam.method = "reqGetUnityTestMdlList";
- oParam.inds = "cond="+sInDsName;
- oParam.outds = "ds_grid_grd_testmdl=getUnityTestMdlList";
- oParam.async = false;
- tranf_submit(oParam);
-
- }
-
-
- function lf_addRow(){
- var strXML = ds_grid_grd_testmdl.saveXML("ds_grid_grd_testmdl","u");
- opener.ds_grid_grd_select.loadXML(strXML);
-
- close();
- }
-
-
- //등록된 검체 검색
- function lf_CheckBaccd(nRow){
- var nFindRow=0;
- nFindRow=opener.ds_grid_grd_testmdl.findRow("testmdlcd",ds_grid_grd_testmdl.getColumn(nRow,"testmdlcd"));
- return nFindRow;
- }
- function Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- close();
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_addRow();
- }
- ]]></Script>
- </Form>
- </FDL>
|