123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPZSA20500" position="absolute 0 0 534 385" titletext="화면및보고서조회" class="frm_POP" oninit="SPZSA20500_oninit">
- <Layouts>
- <Layout>
- <Div position="absolute 8 36 526 352" id="grp_grid" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Static text="화면 및 보고서 목록" position="absolute 5 45 141 59" id="caption1" class="tit_2"/>
- <Grid position="absolute 0 64 517 315" id="grd_scrnlist" binddataset="ds_grd_scrnlist" oncelldblclick="grp_grid_grd_scrnlist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="175"/>
- <Column size="310"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="화면코드"/>
- <Cell col="1" text="화면URL"/>
- </Band>
- <Band id="body">
- <Cell text="bind:scrncd"/>
- <Cell col="1" style="align:left;" text="bind:scrnurlxp"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 8 352 526 379" id="grp_btn" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button position="absolute 402 5 458 27" id="btn_confirm" class="btn4" text="확인" onclick="grp_btn_btn_confirm_onclick"/>
- <Button position="absolute 461 5 517 27" id="btn_cancel" class="btn4" text="취소" onclick="grp_btn_btn_cancel_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 8 36 526 71" align="align:center top;" id="grp_search" class="div_SA">
- <Layouts>
- <Layout>
- <Static text="검색조건" position="absolute 16 10 102 27" id="caption3" class="search_name"/>
- <Shape position="absolute 426 5 432 27" linetype="vertical" id="line2"/>
- <Static text="화면URL" position="absolute 196 10 290 27" id="caption22" class="search_name"/>
- <Edit position="absolute 275 9 400 28" id="ipt_scrnnm" class="input_search" onkeydown="grp_search_ipt_scrnnm_onkeydown"/>
- <Button position="absolute 445 8 501 30" id="btn_search" class="btn1" text="조회" onclick="grp_search_btn_search_onclick"/>
- <Combo position="absolute 100 10 180 29" id="cmc_scrncd" class="combo_default" innerdataset="ds_init_cmc_scrncd" datacolumn="cdnm" codecolumn="cdid"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_close" taborder="1" onclick="btn_close_onclick" class="btn_POP_cls" position="absolute 504 12 518 25"/>
- <Static id="stt_titleText" text="화면및보고서관리" onclick="stt_titleText_onclick" class="sta_POP_title" transparenthittest="true" position="absolute 12 8 161 28"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_scrnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="scrncd" type="STRING"/>
- <Column id="scrnurlxp" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmc_scrncd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-10-31
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-10-31 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"; // 전체공통 스크립트
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- function SPZSA20500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
-
- fInitComcd();
- fInitialize();
- grp_search.btn_search.enable = frmf_checkAuth("R");
- }
- function btn_close_onclick(obj:Button, e:ClickEventInfo){
- this.close();
- }
- function fInitComcd() {
- var arrParam = new Array();
- arrParam = [{dsNm: "ds_init_cmc_scrncd", cdGrpId: "Z0005"}];
- appf_getCodeList(arrParam, true);
- frmf_addComboItem("grp_search.cmc_scrncd", "전 체", "-");
- grp_search.cmc_scrncd.index = 0;
- }
- function fInitialize() {
- ds_grd_scrnlist.clearData();
- ds_send.clearData();
- ///model.resetInstanceNode("/root/main/item");
- }
- function grp_search_ipt_scrnnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- ///alert(grp_search.ipt_scrnnm.value);
- fbtnSearch();
- }
- }
- function fbtnSearch() {
-
- var sInDsName = dsf_createDsRow("in_ds_search"
- , [{col: "scrnkind", val: grp_search.cmc_scrncd.value}
- ,{col: "scrnurl", val: grp_search.ipt_scrnnm.value} ]);
- var oParam = {};
- oParam.id = "TRZSA20501";
- oParam.service = "authinfoapp.AuthInfo";
- oParam.method = "reqGetScrnList";
- oParam.inds = "req="+sInDsName;
- oParam.outds = "ds_grd_scrnlist=scrnlist";
- oParam.async = false;
- oParam.callback = "cf_TRZSA20501";
- tranf_submit(oParam);
-
- ///trace(ds_grd_scrnlist.saveXML());
- }
- function cf_TRZSA20501(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function grp_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var sInDsName = dsf_createDsRow("in_ds_search"
- , [{col: "scrnkind", val: grp_search.cmc_scrncd.value}
- ,{col: "scrnurl", val: grp_search.ipt_scrnnm.value} ]);
- var oParam = {};
- oParam.id = "TRZSA20501";
- oParam.service = "authinfoapp.AuthInfo";
- oParam.method = "reqGetScrnList";
- oParam.inds = "req="+sInDsName;
- oParam.outds = "ds_grd_scrnlist=scrnlist";
- oParam.async = false;
- oParam.callback = "cf_TRZSA20501";
- tranf_submit(oParam);
- }
- function grp_grid_grd_scrnlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fbtnSelect();
- }
- function grp_btn_btn_confirm_onclick(obj:Button, e:ClickEventInfo)
- {
- fbtnSelect();
- }
- function fbtnSelect() {
- var iRow = grp_grid.grd_scrnlist.currentrow;
- if (iRow<0)
- {
- alert("전달할 데이터가 없습니다");
- return;
- }
-
- var scrncd = ds_grd_scrnlist.getColumn(iRow, "scrncd");
- close(scrncd);
- }
- function grp_btn_btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- close();
- }
- ]]></Script>
- </Form>
- </FDL>
|