SMAES00700_검사통합예약현황.xfdl 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAES00700" position="absolute 0 0 1196 765" titletext="검사통합예약현황" onload="SMAES00700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="검사통합예약현황" class="tit_1" position="absolute 0 0 140 25"/>
  8. <Grid id="grd_list" taborder="1" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 94 1195 764" autofittype="col" selecttype="multirow" anchor="all">
  9. <Formats>
  10. <Format id="default">
  11. <Columns>
  12. <Column size="25" band="left"/>
  13. <Column size="183"/>
  14. <Column size="183"/>
  15. <Column size="75"/>
  16. <Column size="75"/>
  17. <Column size="75"/>
  18. <Column size="65"/>
  19. <Column size="65"/>
  20. <Column size="75"/>
  21. <Column size="65"/>
  22. <Column size="65"/>
  23. <Column size="75"/>
  24. <Column size="75"/>
  25. <Column size="75"/>
  26. </Columns>
  27. <Rows>
  28. <Row size="24" band="head"/>
  29. <Row size="24" band="head"/>
  30. <Row size="24"/>
  31. <Row size="24" band="summ"/>
  32. </Rows>
  33. <Band id="head">
  34. <Cell rowspan="2" taborder="undefined"/>
  35. <Cell col="1" rowspan="2" text="구분" taborder="undefined"/>
  36. <Cell col="2" rowspan="2" text="검사실명" taborder="undefined"/>
  37. <Cell col="3" rowspan="2" text="총처방건수" taborder="undefined"/>
  38. <Cell col="4" rowspan="2" text="수납건수" taborder="undefined"/>
  39. <Cell col="5" rowspan="2" text="미수납건수" taborder="undefined"/>
  40. <Cell col="6" colspan="2" text="미예약건수" taborder="undefined"/>
  41. <Cell col="8" rowspan="2" text="전화&#10;예약건수" taborder="undefined"/>
  42. <Cell col="9" colspan="2" text="통합예약건수" taborder="undefined"/>
  43. <Cell col="11" rowspan="2" text="검사실&#10;예약건수" taborder="undefined"/>
  44. <Cell col="12" rowspan="2" text="예약실&#10;변경건수" taborder="undefined"/>
  45. <Cell col="13" rowspan="2" text="검사실&#10;변경건수" taborder="undefined"/>
  46. <Cell col="14" text="구분"/>
  47. <Cell col="15" text="검사실명"/>
  48. <Cell col="16" text="총처방건수"/>
  49. <Cell col="17" text="수납건수"/>
  50. <Cell col="18" text="미수납건수"/>
  51. <Cell col="19" text="미수납"/>
  52. <Cell col="20" text="수납"/>
  53. <Cell col="21" text="전화&#10;예약건수"/>
  54. <Cell col="22" text="미수납"/>
  55. <Cell col="23" text="수납"/>
  56. <Cell col="24" text="검사실&#10;예약건수"/>
  57. <Cell col="25" text="예약실&#10;변경건수"/>
  58. <Cell col="26" text="검사실&#10;변경건수"/>
  59. <Cell row="1" col="6" text="미수납"/>
  60. <Cell row="1" col="7" text="수납"/>
  61. <Cell row="1" col="9" text="미수납"/>
  62. <Cell row="1" col="10" text="수납"/>
  63. </Band>
  64. <Band id="body">
  65. <Cell celltype="head" text="expr:currow+1"/>
  66. <Cell col="1" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:testnm" wordwrap="char" suppress="1" suppressalign="middle,over"/>
  67. <Cell col="2" displaytype="text" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:testroom" suppress="2" suppressalign="middle,over"/>
  68. <Cell col="3" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:outprcpcnt"/>
  69. <Cell col="4" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:rcptcnt"/>
  70. <Cell col="5" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:unrcptcnt"/>
  71. <Cell col="6" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:unrcptunrsrvcnt"/>
  72. <Cell col="7" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:rcptunrsrvcnt"/>
  73. <Cell col="8" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:telrsrvcnt"/>
  74. <Cell col="9" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:sytsrsrvunrcptcnt"/>
  75. <Cell col="10" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:sytsrsrvrcptcnt"/>
  76. <Cell col="11" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:excuroomrsrvcnt"/>
  77. <Cell col="12" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:rsrvroomupdtvcnt"/>
  78. <Cell col="13" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:excuroomupdtcnt"/>
  79. </Band>
  80. <Band id="summary" style="background:#ccffccff;cellfont:Dotum,9,bold;cellcolor:#0000ffff;">
  81. <Cell/>
  82. <Cell col="1" colspan="2" text="총계" taborder="undefined"/>
  83. <Cell col="3" displaytype="number" text="expr:getSum('outprcpcnt')"/>
  84. <Cell col="4" displaytype="number" text="expr:getSum('rcptcnt')"/>
  85. <Cell col="5" displaytype="number" text="expr:getSum('unrcptcnt')"/>
  86. <Cell col="6" displaytype="number" text="expr:getSum('unrcptunrsrvcnt')"/>
  87. <Cell col="7" displaytype="number" text="expr:getSum('rcptunrsrvcnt')"/>
  88. <Cell col="8" displaytype="number" text="expr:getSum('telrsrvcnt')"/>
  89. <Cell col="9" displaytype="number" text="expr:getSum('sytsrsrvunrcptcnt')"/>
  90. <Cell col="10" displaytype="number" text="expr:getSum('sytsrsrvrcptcnt')"/>
  91. <Cell col="11" displaytype="number" text="expr:getSum('excuroomrsrvcnt')"/>
  92. <Cell col="12" displaytype="number" text="expr:getSum('rsrvroomupdtvcnt')"/>
  93. <Cell col="13" displaytype="number" text="expr:getSum('excuroomupdtcnt')"/>
  94. </Band>
  95. </Format>
  96. </Formats>
  97. </Grid>
  98. <Button id="btn_excsave" taborder="2" text="엑셀저장" onclick="btn_excsave_onclick" class="btn7" position="absolute 1119 67 1195 89" anchor="top right"/>
  99. <Shape id="line1" class="line_10" position="absolute 0 89 1195 95" anchor="left top right"/>
  100. <Div id="grp_sea" anchor="left top right" taborder="3" style="align: top;" class="div_SA" position="absolute 0 25 1195 65">
  101. <Layouts>
  102. <Layout>
  103. <Static id="caption2" text="조회기간 :" class="search_name" position="absolute 15 12 101 29"/>
  104. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1110 10 1113 30" anchor="top right"/>
  105. <Button id="btn_sea" taborder="6" text="조회" onclick="grp_sea_btn_sea_onclick" class="btn1" position="absolute 1126 9 1182 31" anchor="top right"/>
  106. <Calendar id="ipt_fromdd" taborder="0" class="input_default" position="absolute 109 11 217 30" autoselect="true"/>
  107. <Calendar id="ipt_todd" taborder="1" class="input_default" position="absolute 235 11 343 30" autoselect="true"/>
  108. <Static id="caption5" text="~" class="search_no_b" position="absolute 220 11 232 28"/>
  109. </Layout>
  110. </Layouts>
  111. </Div>
  112. <Static id="caption1" text="검사통합예약현황" class="tit_2" position="absolute 0 73 200 90"/>
  113. </Layout>
  114. </Layouts>
  115. <Objects>
  116. <Dataset id="ds_main_list_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  117. <ColumnInfo>
  118. <Column id="testnm" type="STRING" size="256"/>
  119. <Column id="testroom" type="STRING" size="256"/>
  120. <Column id="outprcpcnt" type="STRING" size="256"/>
  121. <Column id="rcptcnt" type="STRING" size="256"/>
  122. <Column id="unrcptcnt" type="STRING" size="256"/>
  123. <Column id="unrsrvcnt" type="STRING" size="256"/>
  124. <Column id="telrsrvcnt" type="STRING" size="256"/>
  125. <Column id="sytsrsrvcnt" type="STRING" size="256"/>
  126. <Column id="itslfcnt" type="STRING" size="256"/>
  127. <Column id="inrsrvcnt" type="STRING" size="256"/>
  128. <Column id="totrsrvcnt" type="STRING" size="256"/>
  129. <Column id="outrsrvcnt" type="STRING" size="256"/>
  130. </ColumnInfo>
  131. <Rows>
  132. <Row>
  133. <Col id="testnm"/>
  134. <Col id="testroom"/>
  135. <Col id="outprcpcnt"/>
  136. <Col id="rcptcnt"/>
  137. <Col id="unrcptcnt"/>
  138. <Col id="unrsrvcnt"/>
  139. <Col id="telrsrvcnt"/>
  140. <Col id="sytsrsrvcnt"/>
  141. <Col id="itslfcnt"/>
  142. <Col id="inrsrvcnt"/>
  143. <Col id="totrsrvcnt"/>
  144. <Col id="outrsrvcnt"/>
  145. </Row>
  146. </Rows>
  147. </Dataset>
  148. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  149. <ColumnInfo>
  150. <Column id="execfromdd" type="STRING" size="256"/>
  151. <Column id="exectodd" type="STRING" size="256"/>
  152. <Column id="comparefromdd" type="STRING" size="256"/>
  153. <Column id="comparetodd" type="STRING" size="256"/>
  154. <Column id="orddeptcd" type="STRING" size="256"/>
  155. <Column id="orddrid" type="STRING" size="256"/>
  156. <Column id="execdeptcd" type="STRING" size="256"/>
  157. <Column id="execdrid" type="STRING" size="256"/>
  158. <Column id="suppdeptcd" type="STRING" size="256"/>
  159. </ColumnInfo>
  160. <Rows>
  161. <Row>
  162. <Col id="execfromdd"/>
  163. <Col id="exectodd"/>
  164. <Col id="comparefromdd"/>
  165. <Col id="comparetodd"/>
  166. <Col id="orddeptcd"/>
  167. <Col id="orddrid"/>
  168. <Col id="execdeptcd"/>
  169. <Col id="execdrid"/>
  170. </Row>
  171. </Rows>
  172. </Dataset>
  173. <Dataset id="ds_send_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  174. <ColumnInfo>
  175. <Column id="instance1" type="STRING" size="256"/>
  176. </ColumnInfo>
  177. <Rows>
  178. <Row>
  179. <Col id="instance1"/>
  180. </Row>
  181. </Rows>
  182. </Dataset>
  183. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  184. <ColumnInfo>
  185. <Column id="hidden" type="STRING" size="256"/>
  186. </ColumnInfo>
  187. </Dataset>
  188. </Objects>
  189. <Bind>
  190. <BindItem id="item0" compid="grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="execfromdd"/>
  191. <BindItem id="item1" compid="grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="exectodd"/>
  192. </Bind>
  193. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  194. * System Name :
  195. * Job Name :
  196. * Creator :
  197. * Make Date : 2017-12-04
  198. * Description :
  199. *---------------------------------------------------------------------------------------
  200. * Modify Date Modifier Modify Description
  201. *---------------------------------------------------------------------------------------
  202. * 2017-06-19 Live Converter TF->XP
  203. *
  204. *---------------------------------------------------------------------------------------
  205. ****************************************************************************************/
  206. //=======================================================================================
  207. // Lib Include
  208. //---------------------------------------------------------------------------------------
  209. include "com_commonxp::comm_main.xjs";
  210. include "ast_examcurexp::AEZ0001.xjs";
  211. //=======================================================================================
  212. // Global Form Variable
  213. //---------------------------------------------------------------------------------------
  214. var arErrorCode = new HashArray();
  215. //=======================================================================================
  216. // Function
  217. //---------------------------------------------------------------------------------------
  218. /*-**************************************************************************************
  219. * Argument : N/A
  220. * Description :
  221. ****************************************************************************************/
  222. //=======================================================================================
  223. // Event
  224. //---------------------------------------------------------------------------------------
  225. /****************************************************************************************
  226. * Components : Form
  227. * Description : 화면 처음 초기화시 폼초기화
  228. ****************************************************************************************/
  229. function SMAES00700_onload(obj:Form, e:LoadEventInfo) {
  230. frmf_initForm(obj);
  231. //grdf_initGrid(grd_XXX);
  232. grdf_setGridSort(grd_list);
  233. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  234. lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
  235. ds_send_globalinstance.setColumn(0, "instance1", frmf_getParameter("AST_DEPTCD"));
  236. ds_main_list_item.clearData();
  237. ds_send.setColumn( 0, "suppdeptcd", ds_send_globalinstance.getColumn(0, "instance1"));
  238. ds_send.setColumn( 0, "execfromdd", utlf_getCurrentDate().toDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD"));
  239. ds_send.setColumn( 0, "exectodd", utlf_getCurrentDate().toDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD"));
  240. }
  241. /****************************************************************************************
  242. * Components : Button
  243. * Description : 조회
  244. ****************************************************************************************/
  245. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo) {
  246. ds_main_list_item.clearData();
  247. var oParam = {};
  248. oParam.id = "TRAES00701";
  249. oParam.service = "examcurestatsapp.RsrvSysts";
  250. oParam.method = "reqGetRsrvSystsCntList";
  251. oParam.inds = "req=ds_send";
  252. oParam.outds = "ds_main_list_item=item";
  253. oParam.async = false;
  254. //oParam.callback = "cf_TRAES00701";
  255. tranf_submit(oParam);
  256. if(arErrorCode.pop("TRAES00701") > -1) {
  257. ds_main_list_item.keystring = "S:testnm"
  258. }
  259. }
  260. function cf_TRAES00701(sSvcId, nErrorCode, sErrorMsg) {
  261. arErrorCode.push(sSvcId, nErrorCode);
  262. }
  263. /****************************************************************************************
  264. * Components : Button
  265. * Description : 엑셀저장
  266. ****************************************************************************************/
  267. function btn_excsave_onclick(obj:Button, e:ClickEventInfo) {
  268. if( ds_main_list_item.rowcount > 0 ){
  269. grdf_exportExcel(grd_list, "Excel", "Sheet1", false, "", "user", false);
  270. } else {
  271. sysf_messageBox("조회된 데이터가 ", "I004");
  272. }
  273. }
  274. ]]></Script>
  275. </Form>
  276. </FDL>