123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMRT01100" position="absolute 0 0 536 650" titletext="과색인" onload="SPMRT01100_onload">
- <Layouts>
- <Layout>
- <Grid id="trv_dgindx" taborder="0" useinputpanel="false" treeusecheckbox="false" position="absolute 0 29 535 624" autofit="col" binddataset="ds_main_deptindxlist_item" oncelldblclick="trv_dgindx_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="534"/>
- </Columns>
- <Rows>
- <Row size="20"/>
- </Rows>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" text="bind:deptindxnm" treestartlevel="1" treelevel="bind:depth"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption19" text="색인명" class="cell_1" position="absolute 0 5 535 28" style="padding:0 0 0 0;align:center middle;"/>
- <Shape id="line1" class="line_10" position="absolute 0 0 535 6"/>
- <Button id="btn_select" taborder="1" text="선택" class="btn4" position="absolute 417 626 473 648" onclick="btn_select_onclick"/>
- <Button id="btn_close" taborder="2" text="닫기" class="btn4" position="absolute 476 626 532 648" onclick="btn_close_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="selectedindxcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="selectedindxcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="init" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_deptindxlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="depth" type="STRING" size="256"/>
- <Column id="deptindxcd" type="STRING" size="256"/>
- <Column id="deptupindxcd" type="STRING" size="256"/>
- <Column id="deptindxnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="depth"/>
- <Col id="deptindxcd"/>
- <Col id="deptupindxcd"/>
- <Col id="deptindxnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="send" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="send"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-12-04
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /*-**************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPMRT01100_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- dsf_makeValue( ds_send, "indxflag", "string", opener.frmf_getParameter("indxflag"));
- dsf_makeValue( ds_send, "deptcd", "string", opener.frmf_getParameter("deptcd"));
- var oParam = {};
- oParam.id = "TRMRT01101";
- oParam.service = "termmngtapp.DeptSetMngt";
- oParam.method = "reqGetDeptIndxList";
- oParam.inds = "reqCond=ds_send";
- oParam.outds = "ds_main_deptindxlist_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRMRT01101";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 선택
- ****************************************************************************************/
- function btn_select_onclick(obj:Button, e:ClickEventInfo) {
- opener.frmf_setParameter("indxcd", ds_main_deptindxlist_item.getColumn(e.row, "deptindxcd"));
- opener.frmf_setParameter("indxnm", ds_main_deptindxlist_item.getColumn(e.row, "deptindxnm"));
- this.close();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 닫기
- ****************************************************************************************/
- function btn_close_onclick(obj:Button, e:ClickEventInfo) {
- this.close();
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 리스트 더블클릭으로 선택
- ****************************************************************************************/
- function trv_dgindx_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- opener.frmf_setParameter("indxcd", ds_main_deptindxlist_item.getColumn(e.row, "deptindxcd"));
- opener.frmf_setParameter("indxnm", ds_main_deptindxlist_item.getColumn(e.row, "deptindxnm"));
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|