123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPRIS00202" position="absolute 0 0 477 514" titletext="보고서 사용여부 관리" onload="SPRIS00202_onload">
- <Layouts>
- <Layout>
- <Static id="cap_title" class="tit_1" position="absolute 0 0 176 25" style="" text="보고서 사용여부 관리"/>
- <Div id="grp_reportlist" position="absolute 0 25 477 509" style="" anchor="all">
- <Layouts>
- <Layout width="477" height="490">
- <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 0 27 477 30" style="" anchor="left top right"/>
- <Static id="caption15" class="tit_2" position="absolute 0 9 128 25" style="" text="보고서 리스트" anchor="default"/>
- <Button id="btn_save" class="btn4" taborder="26" position="absolute 421 3 477 25" style="" text="저장" onclick="grp_reportlist_btn_save_onclick" anchor="top right"/>
- <Button id="btn_search" class="btn1" taborder="26" visible="false" position="absolute 364 3 420 25" style="" text="조회" onclick="grp_reportlist_btn_search_onclick" anchor="top right"/>
- <Grid id="grd_reportlist" class="datagrid2" taborder="27" binddataset="ds_main_reportinfo_reportlist" useinputpanel="false" position="absolute 0 30 477 484" anchor="all" onaftersort="grp_reportlist_grd_reportlist_onaftersort" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="55"/>
- <Column size="75"/>
- <Column size="244"/>
- <Column size="57"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="구분"/>
- <Cell col="1" text="보고서코드"/>
- <Cell col="2" text="보고서명"/>
- <Cell col="3" text="사용 여부"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="normal" style="align:center;" text="bind:reptgrp" combodataset="ds_grd_reptgrp" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="1" text="bind:reptcd"/>
- <Cell col="2" style="align:left;" text="bind:reptnm"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="align:center;" text="bind:useyn" combodataset="ds_grd_useyn" combocodecol="cdid" combodatacol="cdnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_reportinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="reportlist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reportlist"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="reportlist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reportlist"/>
- </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="reqdata" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reqdata"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_reportinfo_reportlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_grd_reptgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid">A</Col>
- <Col id="cdnm">일반</Col>
- </Row>
- <Row>
- <Col id="cdid">B</Col>
- <Col id="cdnm">동의서</Col>
- </Row>
- <Row>
- <Col id="cdid">C</Col>
- <Col id="cdnm">제증명</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_grd_useyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid">Y</Col>
- <Col id="cdnm">Y</Col>
- </Row>
- <Row>
- <Col id="cdid">N</Col>
- <Col id="cdnm">N</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind/>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- function fIni(){
- ds_send.setColumn( 0, "instcd", sysf_getUserInfo("dutplceinstcd") );
- grp_reportlist.btn_search.click();
- }
- function fSave(){
- var updtdata = grdf_getGridUpdateData(grp_reportlist.grd_reportlist);
- if (updtdata.rowcount == 0) {
- sysf_messageBox("변경된 데이터가","I004");
- return;
- }
- var oParam = {};
- oParam.id = "TXRIS00205";
- oParam.service = "ctmsapp.ReportMngt";
- oParam.method = "reqSetReportUseyn";
- oParam.inds = "req=ds_main_reportinfo_reportlist:U";
- oParam.async = false;
- // oParam.callback = "cf_TXRIS00205";
- tranf_submit(oParam);
- grp_reportlist.btn_search.click();
-
- }
- //스크립트 끝
- function SPRIS00202_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(grp_reportlist.grd_reportlist);
- fIni();
- }
- function grp_reportlist_btn_save_onclick(obj:Button, e:ClickEventInfo) {
- fSave();
- }
- function grp_reportlist_btn_search_onclick(obj:Button, e:ClickEventInfo) {
- var oParam = {};
- oParam.id = "TRRIF02102";
- oParam.service = "ctmsapp.ReportMngt";
- oParam.method = "reqGetReportList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_reportinfo_reportlist=reportlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRIF02102";
- tranf_submit(oParam);
- }
- ]]></Script>
- </Form>
- </FDL>
|