SMAES07000_기능검사실실시자검사건수.xfdl 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAES06600" position="absolute 0 0 1198 768" titletext="재활근전도 기능검사실 통계(월별)" oninit="SMAES06600_oninit" onload="SMAES06600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_sea" taborder="1" class="div_SA" position="absolute 0 25 1195 61" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption2" text="조회기간 :" class="search_name" position="absolute 15 11 87 28" anchor="default"/>
  11. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1107 7 1113 29" anchor="top right"/>
  12. <Button id="btn_sea" taborder="3" text="조회" class="btn1" position="absolute 1125 8 1181 30" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  13. <Calendar id="ipt_todd" taborder="4" class="input_default" position="absolute 199 8 284 29" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
  14. <Static id="caption5" text="~" class="search_no_b" position="absolute 182 11 194 28" anchor="default"/>
  15. <Calendar id="ipt_fromdd" taborder="5" class="input_default" position="absolute 90 8 175 29" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
  16. <Static id="caption9" text="검사실 :" class="search_name" position="absolute 620 11 678 28" anchor="default"/>
  17. <Combo id="cmb_excuroomcd" taborder="6" innerdataset="@ds_init_cmb_initexcuroom" codecolumn="basecd" datacolumn="basecdflagdesc" position="absolute 684 8 799 29" anchor="default"/>
  18. </Layout>
  19. </Layouts>
  20. </Div>
  21. <Button id="btn_excsave" taborder="2" text="엑셀저장" class="btn7" position="absolute 1027 32 1104 54" anchor="top right" onclick="btn_excsave_onclick"/>
  22. <Static id="caption6" text="기능검사실 실시자별 통계(월별)" class="tit_1" position="absolute 0 0 230 25"/>
  23. <Tab id="switch1" taborder="4" tabindex="0" scrollbars="autoboth" position="absolute 2 64 1192 749">
  24. <Tabpages>
  25. <Tabpage id="case1" text="검사실별">
  26. <Layouts>
  27. <Layout>
  28. <Grid id="grd_list" taborder="0" binddataset="ds_main_list" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute -3 0 1188 645" anchor="all">
  29. <Formats>
  30. <Format id="default">
  31. <Columns>
  32. <Column size="25"/>
  33. <Column size="270"/>
  34. <Column size="62"/>
  35. <Column size="44"/>
  36. <Column size="44"/>
  37. <Column size="44"/>
  38. <Column size="44"/>
  39. <Column size="44"/>
  40. <Column size="44"/>
  41. <Column size="44"/>
  42. <Column size="44"/>
  43. <Column size="44"/>
  44. <Column size="44"/>
  45. <Column size="44"/>
  46. <Column size="44"/>
  47. <Column size="70"/>
  48. </Columns>
  49. <Rows>
  50. <Row size="24" band="head"/>
  51. <Row size="24"/>
  52. <Row size="24" band="summ"/>
  53. </Rows>
  54. <Band id="head">
  55. <Cell/>
  56. <Cell col="1" text="검사실명"/>
  57. <Cell col="2" text="치료사"/>
  58. <Cell col="3" text="1월"/>
  59. <Cell col="4" text="2월"/>
  60. <Cell col="5" text="3월"/>
  61. <Cell col="6" text="4월"/>
  62. <Cell col="7" text="5월"/>
  63. <Cell col="8" text="6월"/>
  64. <Cell col="9" text="7월"/>
  65. <Cell col="10" text="8월"/>
  66. <Cell col="11" text="9월"/>
  67. <Cell col="12" text="10월"/>
  68. <Cell col="13" text="11월"/>
  69. <Cell col="14" text="12월"/>
  70. <Cell col="15" text="합계"/>
  71. </Band>
  72. <Band id="body">
  73. <Cell celltype="head" text="expr:currow+1"/>
  74. <Cell col="1" celltype="none" style="align:left middle;" text="bind:prcpnm" wordwrap="word" suppress="1" suppressalign="middle,over"/>
  75. <Cell col="2" text="bind:trnm"/>
  76. <Cell col="3" displaytype="number" text="bind:month01"/>
  77. <Cell col="4" displaytype="number" text="bind:month02"/>
  78. <Cell col="5" displaytype="number" text="bind:month03"/>
  79. <Cell col="6" displaytype="number" text="bind:month04"/>
  80. <Cell col="7" displaytype="number" text="bind:month05"/>
  81. <Cell col="8" displaytype="number" text="bind:month06"/>
  82. <Cell col="9" displaytype="number" text="bind:month07"/>
  83. <Cell col="10" displaytype="number" text="bind:month08"/>
  84. <Cell col="11" displaytype="number" text="bind:month09"/>
  85. <Cell col="12" displaytype="number" text="bind:month10"/>
  86. <Cell col="13" displaytype="number" text="bind:month11"/>
  87. <Cell col="14" displaytype="number" text="bind:month12"/>
  88. <Cell col="15" displaytype="number" text="bind:monthsum"/>
  89. </Band>
  90. <Band id="summary">
  91. <Cell colspan="2" style="align:center middle;background:#99ff99ff;" text="합 계" taborder="undefined"/>
  92. <Cell col="2"/>
  93. <Cell col="3" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month01&quot;)"/>
  94. <Cell col="4" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month02&quot;)"/>
  95. <Cell col="5" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month03&quot;)"/>
  96. <Cell col="6" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month04&quot;)"/>
  97. <Cell col="7" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month05&quot;)"/>
  98. <Cell col="8" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month06&quot;)"/>
  99. <Cell col="9" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month07&quot;)"/>
  100. <Cell col="10" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month08&quot;)"/>
  101. <Cell col="11" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month09&quot;)"/>
  102. <Cell col="12" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month10&quot;)"/>
  103. <Cell col="13" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month11&quot;)"/>
  104. <Cell col="14" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month12&quot;)"/>
  105. <Cell col="15" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;monthsum&quot;)"/>
  106. </Band>
  107. </Format>
  108. </Formats>
  109. </Grid>
  110. </Layout>
  111. </Layouts>
  112. </Tabpage>
  113. <Tabpage id="case2" text="검사별">
  114. <Layouts>
  115. <Layout>
  116. <Grid id="grd_list" taborder="0" binddataset="ds_mainexcucd_list" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute -3 0 1189 645" anchor="all">
  117. <Formats>
  118. <Format id="default">
  119. <Columns>
  120. <Column size="25"/>
  121. <Column size="270"/>
  122. <Column size="62"/>
  123. <Column size="44"/>
  124. <Column size="44"/>
  125. <Column size="44"/>
  126. <Column size="44"/>
  127. <Column size="44"/>
  128. <Column size="44"/>
  129. <Column size="44"/>
  130. <Column size="44"/>
  131. <Column size="44"/>
  132. <Column size="44"/>
  133. <Column size="44"/>
  134. <Column size="44"/>
  135. <Column size="70"/>
  136. </Columns>
  137. <Rows>
  138. <Row size="24" band="head"/>
  139. <Row size="24"/>
  140. <Row size="24" band="summ"/>
  141. </Rows>
  142. <Band id="head">
  143. <Cell/>
  144. <Cell col="1" text="검사명"/>
  145. <Cell col="2" text="치료사"/>
  146. <Cell col="3" text="1월"/>
  147. <Cell col="4" text="2월"/>
  148. <Cell col="5" text="3월"/>
  149. <Cell col="6" text="4월"/>
  150. <Cell col="7" text="5월"/>
  151. <Cell col="8" text="6월"/>
  152. <Cell col="9" text="7월"/>
  153. <Cell col="10" text="8월"/>
  154. <Cell col="11" text="9월"/>
  155. <Cell col="12" text="10월"/>
  156. <Cell col="13" text="11월"/>
  157. <Cell col="14" text="12월"/>
  158. <Cell col="15" text="합계"/>
  159. </Band>
  160. <Band id="body">
  161. <Cell celltype="head" text="expr:currow+1"/>
  162. <Cell col="1" celltype="none" style="align:left middle;" text="bind:prcpnm" wordwrap="word" suppress="1" suppressalign="middle,over"/>
  163. <Cell col="2" text="bind:trnm"/>
  164. <Cell col="3" displaytype="number" text="bind:month01"/>
  165. <Cell col="4" displaytype="number" text="bind:month02"/>
  166. <Cell col="5" displaytype="number" text="bind:month03"/>
  167. <Cell col="6" displaytype="number" text="bind:month04"/>
  168. <Cell col="7" displaytype="number" text="bind:month05"/>
  169. <Cell col="8" displaytype="number" text="bind:month06"/>
  170. <Cell col="9" displaytype="number" text="bind:month07"/>
  171. <Cell col="10" displaytype="number" text="bind:month08"/>
  172. <Cell col="11" displaytype="number" text="bind:month09"/>
  173. <Cell col="12" displaytype="number" text="bind:month10"/>
  174. <Cell col="13" displaytype="number" text="bind:month11"/>
  175. <Cell col="14" displaytype="number" text="bind:month12"/>
  176. <Cell col="15" displaytype="number" text="bind:monthsum"/>
  177. </Band>
  178. <Band id="summary">
  179. <Cell colspan="2" style="align:center middle;background:#99ff99ff;" text="합 계" taborder="undefined"/>
  180. <Cell col="2"/>
  181. <Cell col="3" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month01&quot;)"/>
  182. <Cell col="4" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month02&quot;)"/>
  183. <Cell col="5" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month03&quot;)"/>
  184. <Cell col="6" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month04&quot;)"/>
  185. <Cell col="7" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month05&quot;)"/>
  186. <Cell col="8" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month06&quot;)"/>
  187. <Cell col="9" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month07&quot;)"/>
  188. <Cell col="10" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month08&quot;)"/>
  189. <Cell col="11" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month09&quot;)"/>
  190. <Cell col="12" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month10&quot;)"/>
  191. <Cell col="13" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month11&quot;)"/>
  192. <Cell col="14" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;month12&quot;)"/>
  193. <Cell col="15" displaytype="number" style="background:#99ff99ff;" text="expr:getSum(&quot;monthsum&quot;)"/>
  194. </Band>
  195. </Format>
  196. </Formats>
  197. </Grid>
  198. </Layout>
  199. </Layouts>
  200. </Tabpage>
  201. </Tabpages>
  202. </Tab>
  203. </Layout>
  204. </Layouts>
  205. <Objects>
  206. <Dataset id="ds_main_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  207. <ColumnInfo>
  208. <Column id="prcpnm" type="STRING"/>
  209. <Column id="month01" type="STRING"/>
  210. <Column id="month02" type="STRING"/>
  211. <Column id="month03" type="STRING"/>
  212. <Column id="month04" type="STRING"/>
  213. <Column id="month05" type="STRING"/>
  214. <Column id="month06" type="STRING"/>
  215. <Column id="month07" type="STRING"/>
  216. <Column id="month08" type="STRING"/>
  217. <Column id="month09" type="STRING"/>
  218. <Column id="month10" type="STRING"/>
  219. <Column id="month11" type="STRING"/>
  220. <Column id="month12" type="STRING"/>
  221. <Column id="monthsum" type="STRING"/>
  222. <Column id="trnm" type="STRING" size="256"/>
  223. </ColumnInfo>
  224. </Dataset>
  225. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  226. <ColumnInfo>
  227. <Column id="execfromdd" type="STRING" size="256"/>
  228. <Column id="exectodd" type="STRING" size="256"/>
  229. <Column id="comparefromdd" type="STRING" size="256"/>
  230. <Column id="comparetodd" type="STRING" size="256"/>
  231. <Column id="excuroomcd" type="STRING" size="256"/>
  232. <Column id="suppdeptcd" type="STRING" size="256"/>
  233. <Column id="ioflag" type="STRING" size="256"/>
  234. </ColumnInfo>
  235. <Rows>
  236. <Row>
  237. <Col id="execfromdd"/>
  238. <Col id="exectodd"/>
  239. <Col id="comparefromdd"/>
  240. <Col id="comparetodd"/>
  241. <Col id="excuroomcd"/>
  242. <Col id="suppdeptcd"/>
  243. <Col id="ioflag">A</Col>
  244. </Row>
  245. </Rows>
  246. </Dataset>
  247. <Dataset id="ds_send_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  248. <ColumnInfo>
  249. <Column id="instance1" type="STRING" size="256"/>
  250. </ColumnInfo>
  251. <Rows>
  252. <Row/>
  253. </Rows>
  254. </Dataset>
  255. <Dataset id="ds_init_cmb_initexcuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  256. <Dataset id="ds_init_cmb_initexcuroomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  257. <ColumnInfo>
  258. <Column id="excuroomnm" type="STRING"/>
  259. <Column id="excuroomcd" type="STRING"/>
  260. </ColumnInfo>
  261. </Dataset>
  262. <Dataset id="ds_mainexcucd_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  263. <ColumnInfo>
  264. <Column id="prcpnm" type="STRING"/>
  265. <Column id="month01" type="STRING"/>
  266. <Column id="month02" type="STRING"/>
  267. <Column id="month03" type="STRING"/>
  268. <Column id="month04" type="STRING"/>
  269. <Column id="month05" type="STRING"/>
  270. <Column id="month06" type="STRING"/>
  271. <Column id="month07" type="STRING"/>
  272. <Column id="month08" type="STRING"/>
  273. <Column id="month09" type="STRING"/>
  274. <Column id="month10" type="STRING"/>
  275. <Column id="month11" type="STRING"/>
  276. <Column id="month12" type="STRING"/>
  277. <Column id="monthsum" type="STRING"/>
  278. <Column id="trnm" type="STRING" size="256"/>
  279. </ColumnInfo>
  280. </Dataset>
  281. </Objects>
  282. <Bind>
  283. <BindItem id="item0" compid="grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="execfromdd"/>
  284. <BindItem id="item1" compid="grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="exectodd"/>
  285. <BindItem id="item2" compid="grp_sea.cmb_excuroomcd" propid="value" datasetid="ds_send" columnid="excuroomcd"/>
  286. </Bind>
  287. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  288. * System Name :
  289. * Job Name :
  290. * Creator :
  291. * Make Date : 2015-11-13
  292. * Description :
  293. *---------------------------------------------------------------------------------------
  294. * Modify Date Modifier Modify Description
  295. *---------------------------------------------------------------------------------------
  296. * 2015-11-13 Live Converter TF->XP
  297. *
  298. *---------------------------------------------------------------------------------------
  299. ****************************************************************************************/
  300. include "com_commonxp::comm_main.xjs";
  301. include "com_basiccodexp::ZBC001.xjs";
  302. include "ast_examcurexp::AEZ0001.xjs";
  303. /******************************************************************
  304. * Argument :
  305. * Description : 초기화
  306. ******************************************************************/
  307. function SMAES06600_oninit(obj:Form, e:InitEventInfo)
  308. {
  309. frmf_initForm(obj);
  310. }
  311. function SMAES06600_onload(obj:Form, e:LoadEventInfo)
  312. {
  313. //기능검사실 실시자별 통계(월별)
  314. ds_send_globalinstance.setColumn(0, "instance1", '2220000000');
  315. dsf_createDsRow("ds_temp_globalinstance",
  316. [{col:"basesuppdeptcd", type:"string", size:256, val:ds_send_globalinstance.getColumn(0, "instance1")}
  317. , {col:"rbasecdflag", type:"string", size:256, val:"R"}
  318. , {col:"ebasecdflag", type:"string", size:256, val:"E"}
  319. , {col:"largeclass", type:"string", size:256, val:"M4"}
  320. , {col:"cdgrupid", type:"string", size:256, val:"A0486"}
  321. , {col:"centflag", type:"string", size:256, val:""}], true);
  322. var oParam = {};
  323. oParam.id = "TRAEA01115";
  324. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  325. oParam.method = "reqGetInitFuncExamCureRoomList";
  326. oParam.inds = "reqparam=ds_temp_globalinstance";
  327. oParam.outds = "ds_init_cmb_initexcuroom=initexcuroom ds_init_cmb_initexcuroomcd=initexcuroomcd";
  328. oParam.async = false;
  329. //oParam.callback = "cf_TRAEA01115";
  330. tranf_submit(oParam);
  331. var fromdd = utlf_getCurrentDate().substr(0,4) + "0101"
  332. var todd = utlf_getCurrentDate().substr(0,6) + fromdd.toDate().getMonthDay();
  333. dsf_addDsItem(ds_init_cmb_initexcuroomcd, "excuroomcd", "excuroomnm", "--전체--", "", "above");
  334. dsf_addDsItem(ds_init_cmb_initexcuroom, "basecd", "basecdflagdesc", "--전체--", "", "above");
  335. ds_main_list.clearData();
  336. ds_send.setColumn(0, "execfromdd", fromdd);
  337. ds_send.setColumn(0, "exectodd", todd);
  338. }
  339. /******************************************************************
  340. * Argument :
  341. * Description : 조회 button event
  342. ******************************************************************/
  343. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  344. {
  345. //검사실별치료사
  346. ds_send.setColumn(0, "suppdeptcd", ds_send_globalinstance.getColumn(0, "instance1"));
  347. var oParam = {};
  348. oParam.id = "TRAES07001";
  349. oParam.service = "examcurestatsapp.FuntExam";
  350. oParam.method = "reqGetFuntExamStatsTRList";
  351. oParam.inds = "req=ds_send";
  352. oParam.outds = "ds_main_list=item";
  353. oParam.async = false;
  354. //oParam.callback = "cf_TRAES06601";
  355. tranf_submit(oParam);
  356. //20181121 검사별치료사 통계
  357. var oParam = {};
  358. oParam.id = "TRAES07002";
  359. oParam.service = "examcurestatsapp.FuntExam";
  360. oParam.method = "reqGetFuntExamExcucdTRList";
  361. oParam.inds = "req=ds_send";
  362. oParam.outds = "ds_mainexcucd_list=item";
  363. oParam.async = false;
  364. //oParam.callback = "cf_TRAES06601";
  365. tranf_submit(oParam);
  366. }
  367. /******************************************************************
  368. * Argument :
  369. * Description : Excel button event
  370. ******************************************************************/
  371. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  372. {
  373. if(switch1.tabindex == 0){
  374. if( ds_main_list.rowcount > 0 ){
  375. grdf_exportExcel(switch1.case1.grd_list, "기능검사실별 실시자별 통계(월별)", "기능검사실 실시자별 통계(월별)", false, "", "user", false);
  376. } else {
  377. sysf_messageBox("조회된 데이터가 ", "I004");
  378. }
  379. }
  380. if(switch1.tabindex == 1){
  381. if( ds_mainexcucd_list.rowcount > 0 ){
  382. grdf_exportExcel(switch1.case2.grd_list, "기능검사별 실시자별 통계(월별)", "기능검사별 실시자별 통계(월별)", false, "", "user", false);
  383. } else {
  384. sysf_messageBox("조회된 데이터가 ", "I004");
  385. }
  386. }
  387. }
  388. ]]></Script>
  389. </Form>
  390. </FDL>