123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPLLF10200" position="absolute 0 0 680 277" titletext="검사시행부서코드관리" onload="SPLLF10200_onload">
- <Layouts>
- <Layout>
- <Grid id="grd_tsect" taborder="0" useinputpanel="false" position="absolute 1 22 677 251" autofittype="col" binddataset="ds_grid_grd_tsect">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="20"/>
- <Column size="85"/>
- <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" text="검사계코드"/>
- <Cell col="3" text="검사계명"/>
- <Cell col="4" text="검사계명(화면)"/>
- <Cell col="5" text="검사계명(약어)"/>
- <Cell col="6" text="검사계명(출력)"/>
- <Cell col="7" text="검사계명(라벨)"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="2" style="align:left middle;" text="bind:tsectcd"/>
- <Cell col="3" style="align:left middle;" text="bind:tsectnm"/>
- <Cell col="4" style="align:left middle;" text="bind:tsectscrnnm"/>
- <Cell col="5" style="align:left middle;" text="bind:tsectabbrnm"/>
- <Cell col="6" style="align:left middle;" text="bind:tsectprntnm"/>
- <Cell col="7" style="align:left middle;" text="bind:tsectlblnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_add" taborder="1" text="추가" class="btn2" position="absolute 632 254 676 274" onclick="btn_add_onclick"/>
- <Static id="caption1" text="통합검사계코드목록" class="tit_2" position="absolute 1 2 175 22"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_lb0000" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING"/>
- <Column id="nm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_tsect" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tsectfromdd" type="STRING"/>
- <Column id="tsecttodd" type="STRING"/>
- <Column id="sectcd" type="STRING"/>
- <Column id="tsectcd" type="STRING"/>
- <Column id="tsectscrnnm" type="STRING"/>
- <Column id="tsectnm" type="STRING"/>
- <Column id="tsectabbrnm" type="STRING"/>
- <Column id="tsectprntnm" type="STRING"/>
- <Column id="tsectlblnm" type="STRING"/>
- <Column id="chk" type="STRING"/>
- </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 SPLLF10200_onload(obj:Form, e:LoadEventInfo)
- {
- //폼 초기화 함수
- frmf_initForm(obj);
- // 초기정보 조회
- lf_initDataSet();
- lf_setInit();
- lf_getTsecTsect();
- }
- // 초기화 버튼
- function lf_setInit() {
- ds_grid_grd_tsect.clearData();
- }
- // 계리스트 조회
- function lf_getTsecTsect(){
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "refgbn", val: "1"}
- , {col: "cd", val: sVal01}
- , {col: "deptflag", val: lgv_sUserdeptflagcd}]);
-
-
- var oParam = {};
- oParam.id = "TRLLF00102";
- oParam.service = "diagtestbaseinfomngtapp.GeneralTestBaseInfoMngt";
- oParam.method = "reqGetUnityTsectList";
- oParam.inds = "cond="+sInDsName;
- oParam.outds = "ds_grid_grd_tsect=getUnityTsectList";
- oParam.async = false;
- oParam.callback = "cbf_SPLLF10200";
- tranf_submit(oParam);
- }
- function lf_addRow(){
- var strXML = ds_grid_grd_tsect.saveXML("ds_grid_grd_tsect","u");
- opener.ds_grid_grd_addlist.loadXML(strXML);
-
- close();
-
- }
- //초기화 데이타셋 조회
- function lf_initDataSet(){
- lf_getDbDeptcd("0000|","cbf_SPLLF10200");
- }
- //콜백함수
- function cbf_SPLLF10200(strSvcID, nErrorCode, strErrorMag){
- if(nErrorCode != 0) sysf_messageBox("ID: " + strSvcID + " Error: " + strErrorMag, "E009", "");
- }
- //통합검사계코드 중 등록된 코드 검색
- function lf_checkTsectcd(nRow){
- var nFindRow=0;
- nFindRow=opener.ds_grid_grd_tsect.findRow("tsectcd",ds_grid_grd_tsect.getColumn(nRow,"tsectcd"));
- return nFindRow;
- }
- function btn_add_onclick(obj:Button, e:ClickEventInfo){
- lf_addRow()
- }
- function btn_cose_onclick(obj:Button, e:ClickEventInfo){
- close();
- }
- ]]></Script>
- </Form>
- </FDL>
|