SMMRI08002_열람목적조회.xfdl 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMRI08000" position="absolute 0 0 829 837" titletext="열람목적 조회" oninit="SMMRI08001_oninit" onload="SMMRI08001_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="열람목적 조회" position="absolute 0 0 118 25" id="caption6" class="tit_1"/>
  8. <Shape position="absolute 0 123 580 129" linetype="horizontal" id="line1" class="line_1"/>
  9. <Grid id="grd_data" class="datagrid2" taborder="1" binddataset="ds_grd_data" useinputpanel="false" cellsizingtype="col" oncellclick="grd_readapplist_oncellclick" position="absolute 2 33 792 824">
  10. <Formats>
  11. <Format id="default">
  12. <Columns>
  13. <Column size="69"/>
  14. <Column size="239"/>
  15. <Column size="117"/>
  16. <Column size="112"/>
  17. <Column size="36"/>
  18. <Column size="38"/>
  19. <Column size="0"/>
  20. <Column size="40"/>
  21. <Column size="42"/>
  22. <Column size="40"/>
  23. <Column size="40"/>
  24. </Columns>
  25. <Rows>
  26. <Row size="26" band="head"/>
  27. <Row size="24"/>
  28. </Rows>
  29. <Band id="head">
  30. <Cell text="코드"/>
  31. <Cell col="1" text="명칭"/>
  32. <Cell col="2" text="직종"/>
  33. <Cell col="3" text="부서"/>
  34. <Cell col="4" text="기간"/>
  35. <Cell col="5" text="사용"/>
  36. <Cell col="6" text="appid"/>
  37. <Cell col="7" text="순번"/>
  38. <Cell col="8" text="상단"/>
  39. <Cell col="9" text="스텝"/>
  40. <Cell col="10" text="정정"/>
  41. </Band>
  42. <Band id="body">
  43. <Cell text="bind:rsncd"/>
  44. <Cell col="1" style="align:left;" text="bind:rsnnm"/>
  45. <Cell col="2" displaytype="normal" edittype="none" text="bind:jobkind"/>
  46. <Cell col="3" text="bind:deptnm"/>
  47. <Cell col="4" text="bind:readterm"/>
  48. <Cell col="5" text="bind:useyn"/>
  49. <Cell col="6" displaytype="combo" edittype="none" style="align:center middle;" text="bind:appid" combodataset="ds_init_cmb_appid" combocodecol="userid" combodatacol="usernm"/>
  50. <Cell col="7" text="bind:sortno"/>
  51. <Cell col="8" text="bind:topyn"/>
  52. <Cell col="9" text="bind:staffsignyn"/>
  53. <Cell col="10"/>
  54. </Band>
  55. </Format>
  56. </Formats>
  57. </Grid>
  58. <Combo id="Combo00" taborder="2" text="Combo00" position="absolute 228 8 328 28" onitemchanged="Combo00_onitemchanged" codecolumn="codecolumn" datacolumn="datacolumn">
  59. <Dataset id="innerdataset">
  60. <ColumnInfo>
  61. <Column id="codecolumn" size="256"/>
  62. <Column id="datacolumn" size="256"/>
  63. </ColumnInfo>
  64. <Rows>
  65. <Row>
  66. <Col id="codecolumn">Y</Col>
  67. <Col id="datacolumn">Y</Col>
  68. </Row>
  69. <Row>
  70. <Col id="codecolumn">N</Col>
  71. <Col id="datacolumn">N</Col>
  72. </Row>
  73. </Rows>
  74. </Dataset>
  75. </Combo>
  76. <Static id="Static00" text="사용유무" position="absolute 160 12 220 24" onclick="Static00_onclick"/>
  77. <Button id="btn_search" taborder="3" text="조회" class="btn4" position="absolute 672 4 728 26" onclick="btn_search_onclick"/>
  78. <Button id="btn_excel" taborder="4" text="엑셀" onclick="btn_excel_onclick" class="btn7" position="absolute 732 4 788 26" anchor="top right"/>
  79. </Layout>
  80. </Layouts>
  81. <Objects>
  82. <Dataset id="ds_grd_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  83. <ColumnInfo>
  84. <Column id="rsncd" type="STRING" size="256"/>
  85. <Column id="rsnnm" type="STRING" size="256"/>
  86. <Column id="jobkind" type="STRING" size="256"/>
  87. <Column id="deptnm" type="STRING" size="256"/>
  88. <Column id="readterm" type="STRING" size="256"/>
  89. <Column id="sortno" type="STRING" size="256"/>
  90. <Column id="staffsignyn" type="STRING" size="256"/>
  91. <Column id="topyn" type="STRING" size="256"/>
  92. <Column id="useyn" type="STRING" size="256"/>
  93. </ColumnInfo>
  94. </Dataset>
  95. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  96. <ColumnInfo>
  97. <Column id="useyn" type="STRING" size="256"/>
  98. </ColumnInfo>
  99. <Rows>
  100. <Row/>
  101. </Rows>
  102. </Dataset>
  103. </Objects>
  104. <Bind/>
  105. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  106. * System Name :
  107. * Job Name :
  108. * Creator :
  109. * Make Date : 2014-10-30
  110. * Description :
  111. *---------------------------------------------------------------------------------------
  112. * Modify Date Modifier Modify Description
  113. *---------------------------------------------------------------------------------------
  114. * 2014-10-30 Live Converter TF->XP
  115. *
  116. *---------------------------------------------------------------------------------------
  117. ****************************************************************************************/
  118. //=======================================================================================
  119. // Lib Include
  120. //---------------------------------------------------------------------------------------
  121. include "com_commonxp::comm_main.xjs"
  122. function SMMRI08001_oninit(obj:Form, e:InitEventInfo)
  123. {
  124. frmf_initForm(obj);
  125. }
  126. function SMMRI08001_onload(obj:Form, e:LoadEventInfo)
  127. {
  128. Combo00.value = "Y";
  129. grdf_initGrid(grd_data);
  130. fSearch();
  131. }
  132. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  133. {
  134. fSearch();
  135. }
  136. function fSearch() {
  137. ds_send.setColumn(0, "useyn",Combo00.value);
  138. var oParam = {};
  139. oParam.id = "S_SMMRI08001";
  140. oParam.service = "recmngtapp.IntegrityRec";
  141. oParam.method = "reqGetArsnList";
  142. oParam.inds = "req=ds_send";
  143. oParam.outds = "ds_grd_data=arsnlist";
  144. oParam.async = false;
  145. oParam.callback = "cf_S_SMMRI08001";
  146. tranf_submit(oParam);
  147. }
  148. function cf_S_SMMRI08001(sSvcId, nErrorCode, sErrorMsg) {
  149. if(nErrorCode < 0) return;
  150. }
  151. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  152. {
  153. grdf_exportExcel(grd_data, "열람목적", "SheetName");
  154. }
  155. ]]></Script>
  156. </Form>
  157. </FDL>