SPRIS00202_보고서관리.xfdl 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPRIS00202" position="absolute 0 0 477 514" titletext="보고서 사용여부 관리" onload="SPRIS00202_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="cap_title" class="tit_1" position="absolute 0 0 176 25" style="" text="보고서 사용여부 관리"/>
  8. <Div id="grp_reportlist" position="absolute 0 25 477 509" style="" anchor="all">
  9. <Layouts>
  10. <Layout width="477" height="490">
  11. <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 0 27 477 30" style="" anchor="left top right"/>
  12. <Static id="caption15" class="tit_2" position="absolute 0 9 128 25" style="" text="보고서 리스트" anchor="default"/>
  13. <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"/>
  14. <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"/>
  15. <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">
  16. <Formats>
  17. <Format id="default">
  18. <Columns>
  19. <Column size="55"/>
  20. <Column size="75"/>
  21. <Column size="244"/>
  22. <Column size="57"/>
  23. </Columns>
  24. <Rows>
  25. <Row size="24" band="head"/>
  26. <Row size="24"/>
  27. </Rows>
  28. <Band id="head">
  29. <Cell text="구분"/>
  30. <Cell col="1" text="보고서코드"/>
  31. <Cell col="2" text="보고서명"/>
  32. <Cell col="3" text="사용&#10;여부"/>
  33. </Band>
  34. <Band id="body">
  35. <Cell displaytype="combo" edittype="normal" style="align:center;" text="bind:reptgrp" combodataset="ds_grd_reptgrp" combocodecol="cdid" combodatacol="cdnm"/>
  36. <Cell col="1" text="bind:reptcd"/>
  37. <Cell col="2" style="align:left;" text="bind:reptnm"/>
  38. <Cell col="3" displaytype="combo" edittype="combo" style="align:center;" text="bind:useyn" combodataset="ds_grd_useyn" combocodecol="cdid" combodatacol="cdnm"/>
  39. </Band>
  40. </Format>
  41. </Formats>
  42. </Grid>
  43. </Layout>
  44. </Layouts>
  45. </Div>
  46. </Layout>
  47. </Layouts>
  48. <Objects>
  49. <Dataset id="ds_main_reportinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  50. <ColumnInfo>
  51. <Column id="reportlist" type="STRING" size="256"/>
  52. </ColumnInfo>
  53. <Rows>
  54. <Row>
  55. <Col id="reportlist"/>
  56. </Row>
  57. </Rows>
  58. </Dataset>
  59. <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  60. <ColumnInfo>
  61. <Column id="reportlist" type="STRING" size="256"/>
  62. </ColumnInfo>
  63. <Rows>
  64. <Row>
  65. <Col id="reportlist"/>
  66. </Row>
  67. </Rows>
  68. </Dataset>
  69. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  70. <ColumnInfo>
  71. <Column id="reqdata" type="STRING" size="256"/>
  72. <Column id="instcd" type="STRING" size="256"/>
  73. </ColumnInfo>
  74. <Rows>
  75. <Row>
  76. <Col id="reqdata"/>
  77. </Row>
  78. </Rows>
  79. </Dataset>
  80. <Dataset id="ds_main_reportinfo_reportlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  81. <Dataset id="ds_grd_reptgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  82. <ColumnInfo>
  83. <Column id="cdid" type="STRING" size="256"/>
  84. <Column id="cdnm" type="STRING" size="256"/>
  85. </ColumnInfo>
  86. <Rows>
  87. <Row>
  88. <Col id="cdid">A</Col>
  89. <Col id="cdnm">일반</Col>
  90. </Row>
  91. <Row>
  92. <Col id="cdid">B</Col>
  93. <Col id="cdnm">동의서</Col>
  94. </Row>
  95. <Row>
  96. <Col id="cdid">C</Col>
  97. <Col id="cdnm">제증명</Col>
  98. </Row>
  99. </Rows>
  100. </Dataset>
  101. <Dataset id="ds_grd_useyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  102. <ColumnInfo>
  103. <Column id="cdid" type="STRING" size="256"/>
  104. <Column id="cdnm" type="STRING" size="256"/>
  105. </ColumnInfo>
  106. <Rows>
  107. <Row>
  108. <Col id="cdid">Y</Col>
  109. <Col id="cdnm">Y</Col>
  110. </Row>
  111. <Row>
  112. <Col id="cdid">N</Col>
  113. <Col id="cdnm">N</Col>
  114. </Row>
  115. </Rows>
  116. </Dataset>
  117. </Objects>
  118. <Bind/>
  119. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
  120. function fIni(){
  121. ds_send.setColumn( 0, "instcd", sysf_getUserInfo("dutplceinstcd") );
  122. grp_reportlist.btn_search.click();
  123. }
  124. function fSave(){
  125. var updtdata = grdf_getGridUpdateData(grp_reportlist.grd_reportlist);
  126. if (updtdata.rowcount == 0) {
  127. sysf_messageBox("변경된 데이터가","I004");
  128. return;
  129. }
  130. var oParam = {};
  131. oParam.id = "TXRIS00205";
  132. oParam.service = "ctmsapp.ReportMngt";
  133. oParam.method = "reqSetReportUseyn";
  134. oParam.inds = "req=ds_main_reportinfo_reportlist:U";
  135. oParam.async = false;
  136. // oParam.callback = "cf_TXRIS00205";
  137. tranf_submit(oParam);
  138. grp_reportlist.btn_search.click();
  139. }
  140. //스크립트 끝
  141. function SPRIS00202_onload(obj:Form, e:LoadEventInfo) {
  142. frmf_initForm(obj);
  143. grdf_initGrid(grp_reportlist.grd_reportlist);
  144. fIni();
  145. }
  146. function grp_reportlist_btn_save_onclick(obj:Button, e:ClickEventInfo) {
  147. fSave();
  148. }
  149. function grp_reportlist_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  150. var oParam = {};
  151. oParam.id = "TRRIF02102";
  152. oParam.service = "ctmsapp.ReportMngt";
  153. oParam.method = "reqGetReportList";
  154. oParam.inds = "req=ds_send";
  155. oParam.outds = "ds_main_reportinfo_reportlist=reportlist";
  156. oParam.async = false;
  157. //oParam.callback = "cf_TRRIF02102";
  158. tranf_submit(oParam);
  159. }
  160. ]]></Script>
  161. </Form>
  162. </FDL>