123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPLPC02300" position="absolute 0 0 466 346" titletext="검사항목" onload="SPLPC02300_onload">
- <Layouts>
- <Layout>
- <Static id="stt_titleText" text="검사항목" onclick="caption00_onclick" class="sta_POP_title" position="absolute 12 8 161 28"/>
- <Grid id="grd_testcodelist" taborder="1" useinputpanel="false" position="absolute 1 1 464 322" binddataset="ds_grid_grd_testcodelist" positiontype="position" ondbclick="grd_testcodelist_ondbclick" autofittype="col" oncelldblclick="grd_testcodelist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="30"/>
- <Column size="102"/>
- <Column size="330"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="병원코드"/>
- <Cell col="1"/>
- <Cell col="2" text="검사코드"/>
- <Cell col="3" text="검사명칭"/>
- <Cell col="4" text="검사그룹약칭"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" celltype="head" expr="expr:currow+1"/>
- <Cell col="2" style="align:left middle;" text="bind:testcd"/>
- <Cell col="3" style="align:left;" text="bind:testnm"/>
- <Cell col="4" text="bind:testabbr"/>
- <Cell col="5"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_cfm" taborder="5" text="확인" position="absolute 406 324 462 344" class="btn4" onclick="btn_cfm_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_testcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="testnm" type="STRING"/>
- <Column id="testabbr" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_scrndata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Script type="xscript4.0"><![CDATA[
- /***************************************************************************************
- * System Name : KU2.0
- * Job Name :
- * File Name : SPLPC02300_검사항목팝업.xfdl
- * Creator :
- * Make Date : 2015-12-10
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- function lf_GetRefData(){
- ds_hidden_scrndata.copyData(arg_ds_hidden_scrndata);
-
- var test_code_flag = opener.ds_hidden_scrndata.getColumn(0,"testcdflag")
- dsf_createDsRow("ds_send"
- , [{col: "delflagcd", val: "0"}
- , {col: "instcd", val: opener.ds_hidden_userinfo.getColumn(0,"instcd")}
- , {col: "testflag", val: test_code_flag}
- ]);
-
-
-
- // 서브밋호출
- var oParam = {};
- oParam.id = "TRLPC02301";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetTestCodeList";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_grid_grd_testcodelist=refrslt";
- oParam.async = false;
- oParam.callback = "cbf_SPLPC02300";
- tranf_submit(oParam);
-
- }
- //콜백함수
- function cbf_SPLPC02300(strSvcID, nErrorCode, strErrorMag){
- if(nErrorCode != 0){
- sysf_messageBox("ID: " + strSvcID + " Error: " + strErrorMag, "E009", "");
- }else{
- switch(strSvcID){
- case "TXLPQ02701" :
- in_ds_search.clear();
- sysf_messageBox("검사코드 변경이 완료되었습니다.", "I");
- opener.lf_getWorkList();
- this.close();
- break;
- }
- }
- }
- // 검사코드, 검사명칭 보내기
- function lf_ExeChoitestcode(){
-
-
- var curRow = ds_grid_grd_testcodelist.rowposition;
- opener.ds_hidden_scrndata.setColumn(0,"testcd",ds_grid_grd_testcodelist.getColumn(curRow, "testcd"));
- opener.ds_hidden_scrndata.setColumn(0,"testhngnm",ds_grid_grd_testcodelist.getColumn(curRow, "testnm"));
- opener.ds_hidden_scrndata.setColumn(0,"testhngabbr",ds_grid_grd_testcodelist.getColumn(curRow, "testabbr"));
-
-
- close();
-
-
-
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SPLPC02300
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SPLPC02300_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
- lf_GetRefData();
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_cfm
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- // 확인버튼
- function btn_cfm_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_ExeChoitestcode();
- }
- /****************************************************************************************
- * Components :
- * Components ID : grd_testcodelist
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- // 데이터 더블클릭
- function grd_testcodelist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- lf_ExeChoitestcode();
- }
- function btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|