SMLPS01100_FrozenSectionReview.xfdl 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLPS01100" position="absolute 0 0 1200 763" titletext="FrozenSectionReview" oninit="SMLPS01100_oninit" onload="SMLPS01100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button id="btn_excel" taborder="1" text="EXCEL저장" class="btn7" position="absolute 1102 66 1194 88" onclick="btn_excel_onclick" anchor="top right"/>
  8. <Static id="caption6" text="FrozenSectionReview" class="tit_1" position="absolute 0 0 173 25" anchor="left top"/>
  9. <Static id="caption4" text="보고시간" class="tit_2" position="absolute 0 84 90 101" anchor="left top"/>
  10. <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 101 1194 107" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  11. <Grid id="grd_repttmlist" class="datagrid2" taborder="2" binddataset="ds_grd_repttmlist" useinputpanel="false" position="absolute 0 105 1194 758" anchor="all" autofittype="col">
  12. <Formats>
  13. <Format id="default">
  14. <Columns>
  15. <Column size="23"/>
  16. <Column size="370"/>
  17. <Column size="200"/>
  18. <Column size="200"/>
  19. <Column size="200"/>
  20. <Column size="200"/>
  21. </Columns>
  22. <Rows>
  23. <Row size="24" band="head"/>
  24. <Row size="24"/>
  25. </Rows>
  26. <Band id="head">
  27. <Cell/>
  28. <Cell col="1" text="명칭"/>
  29. <Cell col="2" text="총건수"/>
  30. <Cell col="3" text="평균시간"/>
  31. <Cell col="4" text="이내건수"/>
  32. <Cell col="5" text="이상건수"/>
  33. </Band>
  34. <Band id="body">
  35. <Cell text="expr:currow+1"/>
  36. <Cell col="1" text="bind:reptnm"/>
  37. <Cell col="2" text="bind:totcnt"/>
  38. <Cell col="3" class="avgtm" text="bind:avgtm"/>
  39. <Cell col="4" class="bfcnt" text="bind:bfcnt"/>
  40. <Cell col="5" class="aftcnt" text="bind:aftcnt"/>
  41. </Band>
  42. </Format>
  43. </Formats>
  44. </Grid>
  45. <Div id="grp_sea" taborder="3" position="absolute 0 25 1195 60" class="div_SA" anchor="left top right">
  46. <Layouts>
  47. <Layout>
  48. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="top right"/>
  49. <Static id="caption2" text="접수일자 :" class="search_name" position="absolute 25 9 100 26" anchor="left top"/>
  50. <Static id="caption5" text="~" class="search_no_b" position="absolute 216 11 228 28" anchor="left top"/>
  51. <Button id="btn_sea" taborder="3" text="조회" class="btn1" position="absolute 1123 7 1179 29" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  52. <Calendar id="ipt_cnclfromdd" taborder="4" class="input_s_essential" position="absolute 114 8 214 27" mask="yyyy-mm-dd" anchor="left top"/>
  53. <Calendar id="ipt_cncltodd" taborder="5" class="input_s_essential" position="absolute 233 8 333 27" mask="yyyy-mm-dd" anchor="left top"/>
  54. <Static id="caption8" text="시간(분) :" class="search_name" position="absolute 904 9 979 26" anchor="top right"/>
  55. <Edit id="input1" taborder="6" position="absolute 993 8 1093 27" anchor="top right"/>
  56. </Layout>
  57. </Layouts>
  58. </Div>
  59. </Layout>
  60. </Layouts>
  61. <Objects>
  62. <Dataset id="ds_grd_repttmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  63. <ColumnInfo>
  64. <Column id="reptnm" type="STRING"/>
  65. <Column id="totcnt" type="STRING"/>
  66. <Column id="avgtm" type="STRING"/>
  67. <Column id="bfcnt" type="STRING"/>
  68. <Column id="aftcnt" type="STRING"/>
  69. </ColumnInfo>
  70. </Dataset>
  71. <Dataset id="ds_data_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  72. <ColumnInfo>
  73. <Column id="sysdd" type="STRING" size="256"/>
  74. <Column id="systm" type="STRING" size="256"/>
  75. </ColumnInfo>
  76. </Dataset>
  77. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  78. <ColumnInfo>
  79. <Column id="seaval" type="STRING" size="256"/>
  80. <Column id="acptfromdd" type="STRING" size="256"/>
  81. <Column id="acpttodd" type="STRING" size="256"/>
  82. </ColumnInfo>
  83. <Rows>
  84. <Row/>
  85. </Rows>
  86. </Dataset>
  87. </Objects>
  88. <Bind>
  89. <BindItem id="item0" compid="grp_sea.ipt_cnclfromdd" propid="value" datasetid="ds_hidden" columnid="acptfromdd"/>
  90. <BindItem id="item1" compid="grp_sea.ipt_cncltodd" propid="value" datasetid="ds_hidden" columnid="acpttodd"/>
  91. <BindItem id="item2" compid="grp_sea.input1" propid="value" datasetid="ds_hidden" columnid="seaval"/>
  92. </Bind>
  93. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  94. * System Name :
  95. * Job Name :
  96. * Creator :
  97. * Make Date : 2015-11-13
  98. * Description :
  99. *---------------------------------------------------------------------------------------
  100. * Modify Date Modifier Modify Description
  101. *---------------------------------------------------------------------------------------
  102. * 2015-11-13 Live Converter TF->XP
  103. *
  104. *---------------------------------------------------------------------------------------
  105. ****************************************************************************************/
  106. include "com_commonxp::comm_main.xjs";
  107. function SMLPS01100_oninit(obj:Form, e:InitEventInfo)
  108. {
  109. frmf_initForm(obj);
  110. }
  111. function SMLPS01100_onload(obj:Form, e:LoadEventInfo)
  112. {
  113. grdf_initGrid(grd_repttmlist);
  114. fExeInitialize();
  115. }
  116. //초기화
  117. function fExeInitialize()
  118. {
  119. dsf_createDsRow("ds_send", [{col: "instcd", val: sysf_getUserInfo("dutplceinstcd")}]);
  120. var oParam = {};
  121. oParam.id = "TRLPZ00102";
  122. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  123. oParam.method = "reqGetSystemDateTimeInformation";
  124. oParam.inds = "refData=ds_send";
  125. oParam.outds = "ds_data_sysdtinfo=sysdtinfo";
  126. oParam.async = false;
  127. //oParam.callback = "cf_TRLPZ00102";
  128. tranf_submit(oParam);
  129. ds_hidden.setColumn(0, "seaval", 0);
  130. ds_hidden.setColumn(0, "acptfromdd", utlf_getCurrentDate());
  131. ds_hidden.setColumn(0, "acpttodd", utlf_getCurrentDate());
  132. }
  133. //조회
  134. function fGetfrozenSectionReview()
  135. {
  136. if( utlf_isNull(ds_hidden.getColumn(0, "seaval")) || ds_hidden.getColumn(0,"seaval") == 0)
  137. {
  138. sysf_messageBox("시간(분)이 입력되지 않았습니다..","I");
  139. return false;
  140. }
  141. dsf_createDsRow("ds_send", [{col: "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  142. ,{col: "acptfromdd", val : ds_hidden.getColumn(0, "acptfromdd")}
  143. ,{col: "acpttodd", val : ds_hidden.getColumn(0, "acpttodd")}
  144. ,{col: "seaval", val : ds_hidden.getColumn(0, "seaval")}]);
  145. //submit("TRLPS01101");
  146. var oParam = {};
  147. oParam.id = "TRLPS01101";
  148. oParam.service = "plgystatsmngtapp.StatsMngtRef";
  149. oParam.method = "reqGetFrozenSection";
  150. oParam.inds = "refData=ds_send";
  151. oParam.outds = "ds_grd_repttmlist=repttmlist";
  152. oParam.async = false;
  153. //oParam.callback = "cf_TRLPS01101";
  154. tranf_submit(oParam);
  155. }
  156. //조회
  157. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  158. {
  159. fGetfrozenSectionReview();
  160. }
  161. function grp_sea_input1_onkeyup(obj:Edit, e:KeyEventInfo)
  162. {
  163. if(e.keycode == 13)
  164. {
  165. fGetfrozenSectionReview();
  166. }
  167. }
  168. ]]></Script>
  169. </Form>
  170. </FDL>