SMLPS01400_검사별보고시간.xfdl 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLPS01400" position="absolute 0 0 1197 761" titletext="검사별보고시간" oninit="SMLPS01400_oninit" onload="SMLPS01400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="검사별 보고시간(일기준)" onclick="grp_tle_caption6_onclick" class="tit_1" position="absolute 0 0 180 25"/>
  8. <Button id="button13" taborder="1" text="EXCEL저장" class="btn7" position="absolute 1103 71 1195 93" onclick="button13_onclick" anchor="top right"/>
  9. <Static id="caption4" text="검사별 보고시간 목록" class="tit_2" position="absolute 1 84 156 100" anchor="left top"/>
  10. <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 100 1194 106" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  11. <Grid id="grd_testreptlist" class="datagrid2" taborder="2" binddataset="ds_grd_testreptlist" useinputpanel="false" position="absolute 0 104 1194 757" autofittype="col" autosizingtype="row" cellsizingtype="both" anchor="all">
  12. <Formats>
  13. <Format id="default">
  14. <Columns>
  15. <Column size="40"/>
  16. <Column size="50"/>
  17. <Column size="73"/>
  18. <Column size="30"/>
  19. <Column size="30"/>
  20. <Column size="30"/>
  21. <Column size="30"/>
  22. <Column size="30"/>
  23. <Column size="30"/>
  24. <Column size="30"/>
  25. <Column size="30"/>
  26. <Column size="30"/>
  27. <Column size="30"/>
  28. <Column size="30"/>
  29. <Column size="30"/>
  30. <Column size="30"/>
  31. <Column size="30"/>
  32. <Column size="30"/>
  33. <Column size="30"/>
  34. <Column size="30"/>
  35. <Column size="30"/>
  36. <Column size="30"/>
  37. <Column size="30"/>
  38. <Column size="30"/>
  39. <Column size="30"/>
  40. <Column size="30"/>
  41. <Column size="30"/>
  42. <Column size="30"/>
  43. <Column size="30"/>
  44. <Column size="30"/>
  45. <Column size="30"/>
  46. <Column size="30"/>
  47. <Column size="30"/>
  48. <Column size="30"/>
  49. <Column size="30"/>
  50. <Column size="69"/>
  51. </Columns>
  52. <Rows>
  53. <Row size="24" band="head"/>
  54. <Row size="24"/>
  55. </Rows>
  56. <Band id="head">
  57. <Cell/>
  58. <Cell col="1" text="명칭"/>
  59. <Cell col="2" text="검사명"/>
  60. <Cell col="3" text="01"/>
  61. <Cell col="4" text="02"/>
  62. <Cell col="5" text="03"/>
  63. <Cell col="6" text="04"/>
  64. <Cell col="7" text="05"/>
  65. <Cell col="8" text="06"/>
  66. <Cell col="9" text="07"/>
  67. <Cell col="10" text="08"/>
  68. <Cell col="11" text="09"/>
  69. <Cell col="12" text="10"/>
  70. <Cell col="13" text="11"/>
  71. <Cell col="14" text="12"/>
  72. <Cell col="15" text="13"/>
  73. <Cell col="16" text="14"/>
  74. <Cell col="17" text="15"/>
  75. <Cell col="18" text="16"/>
  76. <Cell col="19" text="17"/>
  77. <Cell col="20" text="18"/>
  78. <Cell col="21" text="19"/>
  79. <Cell col="22" text="20"/>
  80. <Cell col="23" text="21"/>
  81. <Cell col="24" text="22"/>
  82. <Cell col="25" text="23"/>
  83. <Cell col="26" text="24"/>
  84. <Cell col="27" text="25"/>
  85. <Cell col="28" text="26"/>
  86. <Cell col="29" text="27"/>
  87. <Cell col="30" text="28"/>
  88. <Cell col="31" text="29"/>
  89. <Cell col="32" text="30"/>
  90. <Cell col="33" text="31"/>
  91. <Cell col="34" text="총계"/>
  92. <Cell col="35" text="평균일수"/>
  93. </Band>
  94. <Band id="body">
  95. <Cell text="expr:currow+1"/>
  96. <Cell col="1" text="bind:reptnm"/>
  97. <Cell col="2" style="padding:5 5 5 5;" text="bind:testnm" wordwrap="char" autosizerow="limitmin"/>
  98. <Cell col="3" class="text_right" text="bind:day01"/>
  99. <Cell col="4" class="text_right" text="bind:day02"/>
  100. <Cell col="5" class="text_right" text="bind:day03"/>
  101. <Cell col="6" class="text_right" text="bind:day04"/>
  102. <Cell col="7" class="text_right" text="bind:day05"/>
  103. <Cell col="8" class="text_right" text="bind:day06"/>
  104. <Cell col="9" class="text_right" text="bind:day07"/>
  105. <Cell col="10" class="text_right" text="bind:day08"/>
  106. <Cell col="11" class="text_right" text="bind:day09"/>
  107. <Cell col="12" class="text_right" text="bind:day10"/>
  108. <Cell col="13" class="text_right" text="bind:day11"/>
  109. <Cell col="14" class="text_right" text="bind:day12"/>
  110. <Cell col="15" class="text_right" text="bind:day13"/>
  111. <Cell col="16" class="text_right" text="bind:day14"/>
  112. <Cell col="17" class="text_right" text="bind:day15"/>
  113. <Cell col="18" class="text_right" text="bind:day16"/>
  114. <Cell col="19" class="text_right" text="bind:day17"/>
  115. <Cell col="20" class="text_right" text="bind:day18"/>
  116. <Cell col="21" class="text_right" text="bind:day19"/>
  117. <Cell col="22" class="text_right" text="bind:day20"/>
  118. <Cell col="23" class="text_right" text="bind:day21"/>
  119. <Cell col="24" class="text_right" text="bind:day22"/>
  120. <Cell col="25" class="text_right" text="bind:day23"/>
  121. <Cell col="26" class="text_right" text="bind:day24"/>
  122. <Cell col="27" class="text_right" text="bind:day25"/>
  123. <Cell col="28" class="text_right" text="bind:day26"/>
  124. <Cell col="29" class="text_right" text="bind:day27"/>
  125. <Cell col="30" class="text_right" text="bind:day28"/>
  126. <Cell col="31" class="text_right" text="bind:day29"/>
  127. <Cell col="32" class="text_right" text="bind:day30"/>
  128. <Cell col="33" class="text_right" text="bind:day31"/>
  129. <Cell col="34" class="text_right" text="bind:daytot"/>
  130. <Cell col="35" class="text_right" text="bind:avgtm"/>
  131. </Band>
  132. </Format>
  133. </Formats>
  134. </Grid>
  135. <Div id="grp_sea" taborder="3" position="absolute 0 25 1195 60" class="div_SA" anchor="left top right">
  136. <Layouts>
  137. <Layout>
  138. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="top right"/>
  139. <Static id="caption2" text="보고일자 :" class="search_name" position="absolute 15 9 101 26" anchor="left top"/>
  140. <Static id="caption5" text="~" class="search_no_b" position="absolute 207 8 219 25" anchor="left top"/>
  141. <Button id="btn_sea" taborder="3" text="조회" class="btn1" position="absolute 1123 7 1179 29" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  142. <Calendar id="ipt_reptfromdd" taborder="4" class="input_s_essential" position="absolute 104 8 204 27" mask="yyyy-mm-dd" anchor="left top"/>
  143. <Calendar id="ipt_repttodd" taborder="5" class="input_s_essential" position="absolute 223 8 323 27" mask="yyyy-mm-dd" anchor="left top" onkeyup="grp_sea_ipt_repttodd_onkeyup"/>
  144. </Layout>
  145. </Layouts>
  146. </Div>
  147. </Layout>
  148. </Layouts>
  149. <Objects>
  150. <Dataset id="ds_grd_testreptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  151. <ColumnInfo>
  152. <Column id="reptnm" type="STRING"/>
  153. <Column id="testnm" type="STRING"/>
  154. <Column id="day01" type="STRING"/>
  155. <Column id="day02" type="STRING"/>
  156. <Column id="day03" type="STRING"/>
  157. <Column id="day04" type="STRING"/>
  158. <Column id="day05" type="STRING"/>
  159. <Column id="day06" type="STRING"/>
  160. <Column id="day07" type="STRING"/>
  161. <Column id="day08" type="STRING"/>
  162. <Column id="day09" type="STRING"/>
  163. <Column id="day10" type="STRING"/>
  164. <Column id="day11" type="STRING"/>
  165. <Column id="day12" type="STRING"/>
  166. <Column id="day13" type="STRING"/>
  167. <Column id="day14" type="STRING"/>
  168. <Column id="day15" type="STRING"/>
  169. <Column id="day16" type="STRING"/>
  170. <Column id="day17" type="STRING"/>
  171. <Column id="day18" type="STRING"/>
  172. <Column id="day19" type="STRING"/>
  173. <Column id="day20" type="STRING"/>
  174. <Column id="day21" type="STRING"/>
  175. <Column id="day22" type="STRING"/>
  176. <Column id="day23" type="STRING"/>
  177. <Column id="day24" type="STRING"/>
  178. <Column id="day25" type="STRING"/>
  179. <Column id="day26" type="STRING"/>
  180. <Column id="day27" type="STRING"/>
  181. <Column id="day28" type="STRING"/>
  182. <Column id="day29" type="STRING"/>
  183. <Column id="day30" type="STRING"/>
  184. <Column id="day31" type="STRING"/>
  185. <Column id="daytot" type="STRING"/>
  186. <Column id="avgtm" type="STRING"/>
  187. </ColumnInfo>
  188. <Rows>
  189. <Row>
  190. <Col id="avgtm">2345.78</Col>
  191. </Row>
  192. </Rows>
  193. </Dataset>
  194. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  195. <ColumnInfo>
  196. <Column id="reptfromdd" type="STRING" size="256"/>
  197. <Column id="repttodd" type="STRING" size="256"/>
  198. </ColumnInfo>
  199. <Rows>
  200. <Row/>
  201. </Rows>
  202. </Dataset>
  203. <Dataset id="ds_data_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  204. <ColumnInfo>
  205. <Column id="sysdd" type="STRING" size="256"/>
  206. <Column id="systm" type="STRING" size="256"/>
  207. </ColumnInfo>
  208. </Dataset>
  209. </Objects>
  210. <Bind>
  211. <BindItem id="item0" compid="grp_sea.ipt_reptfromdd" propid="value" datasetid="ds_hidden" columnid="reptfromdd"/>
  212. <BindItem id="item1" compid="grp_sea.ipt_repttodd" propid="value" datasetid="ds_hidden" columnid="repttodd"/>
  213. </Bind>
  214. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  215. * System Name :
  216. * Job Name :
  217. * Creator :
  218. * Make Date : 2015-11-13
  219. * Description :
  220. *---------------------------------------------------------------------------------------
  221. * Modify Date Modifier Modify Description
  222. *---------------------------------------------------------------------------------------
  223. * 2015-11-13 Live Converter TF->XP
  224. *
  225. *---------------------------------------------------------------------------------------
  226. ****************************************************************************************/
  227. include "com_commonxp::comm_main.xjs";
  228. function SMLPS01400_oninit(obj:Form, e:InitEventInfo)
  229. {
  230. frmf_initForm(obj);
  231. }
  232. function SMLPS01400_onload(obj:Form, e:LoadEventInfo)
  233. {
  234. grdf_initGrid(grd_testreptlist);
  235. fExeInitialize();
  236. }
  237. function fExeInitialize()
  238. {
  239. // 시스템일자 조회
  240. dsf_createDsRow("ds_send", [{col: "instcd", val: sysf_getUserInfo("dutplceinstcd")}]);
  241. var oParam = {};
  242. oParam.id = "TRLPZ00102";
  243. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  244. oParam.method = "reqGetSystemDateTimeInformation";
  245. oParam.inds = "refData=ds_send";
  246. oParam.outds = "ds_data_sysdtinfo=sysdtinfo";
  247. oParam.async = false;
  248. //oParam.callback = "cf_TRLPZ00102";
  249. tranf_submit(oParam);
  250. //------------
  251. // 초기값 설정
  252. ds_hidden.setColumn(0, "reptfromdd", utlf_getCurrentDate());
  253. ds_hidden.setColumn(0, "repttodd", utlf_getCurrentDate());
  254. }
  255. //조회
  256. function fGetTestReptTmList()
  257. {
  258. dsf_createDsRow("ds_send", [{col: "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  259. ,{col: "reptfromdd", val : ds_hidden.getColumn(0, "reptfromdd")}
  260. ,{col: "repttodd", val : ds_hidden.getColumn(0, "repttodd")}]);
  261. var oParam = {};
  262. oParam.id = "TRLPS01401";
  263. oParam.service = "plgystatsmngtapp.StatsMngtRef";
  264. oParam.method = "reqGetTestReptTmList";
  265. oParam.inds = "refData=ds_send";
  266. oParam.outds = "ds_grd_testreptlist=testrepttmlist";
  267. oParam.async = false;
  268. //oParam.callback = "cf_TRLPS01401";
  269. tranf_submit(oParam);
  270. }
  271. //조회
  272. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  273. {
  274. fGetTestReptTmList();
  275. }
  276. //엑셀저장
  277. function button13_onclick(obj:Button, e:ClickEventInfo)
  278. {
  279. grdf_exportExcel(grd_testreptlist, "검사별 보고시간 목록", "sheet1", false);
  280. }
  281. function grp_sea_ipt_repttodd_onkeyup(obj:Calendar, e:KeyEventInfo)
  282. {
  283. if(e.keycode == 13)
  284. {
  285. fGetTestReptTmList();
  286. }
  287. }
  288. ]]></Script>
  289. </Form>
  290. </FDL>