123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPLLF10300" position="absolute 0 0 677 276" titletext="검사시행부서코드관리" onload="SPLLF10300_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_testlrg" taborder="2" useinputpanel="false" position="absolute 1 21 677 250" binddataset="ds_grid_grd_testlrg" 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="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'" style="align:center middle;" text="bind:chk"/>
- <Cell col="3" displaytype="normal" edittype="none" style="align:center middle;" text="bind:testlrgcd"/>
- <Cell col="4" style="align:left;" text="bind:testlrgkind" expr="expr:testlrgkind == 'M' ?'미생물' : (testlrgkind == 'B' ? '혈액은행' : (testlrgkind == 'G' ? '분자/세포 유전' : (testlrgkind =='N' ? '핵의학-체외': '')))"/>
- <Cell col="5" displaytype="normal" edittype="none" style="align:left;" text="bind:testlrgnm"/>
- <Cell col="6" displaytype="normal" edittype="none" style="align:left;" text="bind:testlrgscrnnm"/>
- <Cell col="7" displaytype="normal" edittype="none" style="align:left;" text="bind:testlrgabbrnm"/>
- <Cell col="8" displaytype="normal" edittype="none" style="align:left;" text="bind:testlrgprntnm"/>
- <Cell col="9" displaytype="normal" edittype="none" style="align:left;" text="bind:testlrglblnm"/>
- </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_testlrg" 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="testlrgkind" type="STRING"/>
- <Column id="testlrgnm" type="STRING"/>
- <Column id="testlrgscrnnm" type="STRING"/>
- <Column id="testlrgabbrnm" type="STRING"/>
- <Column id="testlrgprntnm" type="STRING"/>
- <Column id="testlrglblnm" 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 : Himed
- * Job Name :
- * File Name : SPLLF10300_통합검사대분류조회.xfdl
- * Creator :
- * Make Date : 2014-04-14
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-04-14 HIT Converting Program(TF->XP)
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LLZ001.xjs";
-
- function SPLLF10300_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- lf_setInit();
- lf_getTLrgList();
- grdf_setGridSort(grd_testlrg); //그리드 정렬
- }
- // 초기화 버튼
- function lf_setInit(){
-
- lf_getDbDeptcd("0000|");
- }
-
- // 통합검사대분류코드 목록 조회
- function lf_getTLrgList(){
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "refgbn", val: "1"}
- , {col: "deptflag", val: lgv_sUserdeptflagcd}]);
- var oParam = {};
- oParam.id = "TRLLF00201";
- oParam.service = "diagtestbaseinfomngtapp.GeneralTestBaseInfoMngt";
- oParam.method = "reqGetUnityTestLrgList";
- oParam.inds = "cond="+sInDsName;
- oParam.outds = "ds_grid_grd_testlrg=getUnityTestLrgList";
- oParam.async = false;
- tranf_submit(oParam);
- }
-
- //추가
- function lf_addRow(){
- var strXML = ds_grid_grd_testlrg.saveXML("ds_grid_grd_testlrg","u");
- opener.ds_grid_grd_select.loadXML(strXML);
-
- close();
- }
-
- //등록된 검체 검색
- function lf_CheckBaccd(nRow){
- var nFindRow=0;
- nFindRow=opener.ds_grid_grd_testlrg.findRow("testlrgcd",ds_grid_grd_testlrg.getColumn(nRow,"testlrgcd"));
- return nFindRow;
- }
- // 닫기버튼
- function Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- close();
- }
- //추가
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_addRow();
- }
- ]]></Script>
- </Form>
- </FDL>
|