123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPAEA01500" position="absolute 0 0 513 392" titletext="코드조회" oninit="model1_oninit" onload="SPAEA01500_onload">
- <Layouts>
- <Layout>
- <Grid id="grd_basecd" taborder="1" useinputpanel="false" onkeydown="grd_basecd_onkeydown" position="absolute 1 1 512 357" anchor="all" binddataset="ds_grid_grd_basecd" positiontype="position" ondbclick="grd_basecd_ondbclick" autofittype="col" oncelldblclick="grd_basecd_ondbclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30" band="left"/>
- <Column size="0"/>
- <Column size="462"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="순번"/>
- <Cell col="1" text="취소코드"/>
- <Cell col="2" text="취소사유"/>
- </Band>
- <Band id="body" style="cellpadding: ;">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:basecd"/>
- <Cell col="2" style="align:left middle;padding:0 0 0 10;" text="bind:basecdflagdesc"/>
- <Cell col="3"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_cfm" taborder="2" text="확인" onlbuttonup="btn_cfm_onlbuttonup" class="btn4" position="absolute 397 363 453 383" anchor="right bottom" positiontype="position" onclick="btn_cfm_onclick"/>
- <Button id="btn_cls" taborder="3" text="닫기" class="btn4" position="absolute 456 363 512 383" anchor="right bottom" positiontype="position" onclick="btn_cls_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_basecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sortno" type="STRING"/>
- <Column id="basecd" type="STRING"/>
- <Column id="basecdflagdesc" type="STRING"/>
- <Column id="basecdcnts" type="STRING" size="256"/>
- <Column id="basecdflag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecdflag" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="basecd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_cnclcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cnclcd" type="STRING" size="256"/>
- <Column id="cnclcdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_receivedata" 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 : SPAEA01500_취소코드조회.xfdl
- * Creator :
- * Make Date : 2015-11-24
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // submission
- //---------------------------------------------------------------------------------------
- function fn_TRAEB01602() {
- ds_send.setColumn(0, "suppdeptcd", suppdeptcd);
-
- var objParam = new Object();
- objParam.id = "TRAEB01602";
- objParam.service = "examcurebaseapp.CnclCode";
- objParam.method = "reqGetCnclCodeList";
- objParam.inds = "req=ds_send";
- objParam.outds ="ds_grid_grd_basecd=item";
- objParam.callback = "cf_TRAEB01602";
- tranf_submit(objParam);
-
- }
- //=======================================================================================
- // callback
- //---------------------------------------------------------------------------------------
-
- function cf_TRAEB01602(strSvcID, nErrorCode, strErrorMsg){
- //에러 처리
- if(nErrorCode == 0){
- ds_grid_grd_basecd.rowposition = -1;
- }else{
- }
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SPAEA01500
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SPAEA01500_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- lf_aezfSetSuppDeptcd();//suppdeptcd가져옴.
-
- try{
- ds_hidden_receivedata.copyData(arg_ds_receivedata);
- }catch(e){
- //sysf_catchTrace(e);
- }
- ds_send.setColumn(0, "basecdflag", ds_hidden_receivedata.getColumn(0,"basecdflag"));
- fn_TRAEB01602();
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : grd_basecd
- * Event : ondbclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function grd_basecd_ondbclick(obj:Grid, e:MouseEventInfo)
- {
- var cnclresncd = ds_grid_grd_basecd.getColumn(ds_grid_grd_basecd.rowposition, "basecd");
-
- btn_cfm_onclick();
- }
- /****************************************************************************************
- * 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)
- {
- var cnclcd = ds_grid_grd_basecd.getColumn(ds_grid_grd_basecd.rowposition, "basecd");
- var cnclcdnm = ds_grid_grd_basecd.getColumn(ds_grid_grd_basecd.rowposition, "basecdflagdesc");
-
- dsf_makeValue(opener.ds_hidden_cnclcdlist, "cnclcd", "string", cnclcd);
- dsf_makeValue(opener.ds_hidden_cnclcdlist, "cnclcdnm", "string", cnclcdnm);
-
- //opener.ds_hidden_cnclcdlist.copyData(ds_hidden_cnclcdlist);
- this.close();
- }
- function btn_cls_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close("N");
- }
- function Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close("N");
- }
- ]]></Script>
- </Form>
- </FDL>
|