SMAES04100_심혈관촬영실일별검사별실적.xfdl 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAES04100" position="absolute 0 0 1197 773" titletext="월별 통계" oninit="SMAES04100_oninit" onload="SMAES04100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption1" text="일별 통계" class="tit_2" position="absolute 0 78 82 94"/>
  8. <Button id="btn_excsave" taborder="1" text="엑셀저장" class="btn7" position="absolute 1116 69 1195 91" onclick="btn_excsave_onclick" anchor="top right"/>
  9. <Div id="grp_sea" taborder="2" class="div_SA" position="absolute 0 25 1194 65" anchor="left top right">
  10. <Layouts>
  11. <Layout>
  12. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1107 11 1113 31" anchor="top right"/>
  13. <Button id="btn_sea" taborder="1" text="조회" class="btn1" position="absolute 1125 10 1181 32" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  14. <Static id="caption3" text="일자 :" class="search_name" position="absolute 25 12 70 29" anchor="default"/>
  15. <Static id="caption12" text="구분 :" class="search_name" position="absolute 590 12 635 29" anchor="default"/>
  16. <Radio id="radio1" taborder="3" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 639 12 784 29" anchor="default">
  17. <Dataset id="innerdataset">
  18. <ColumnInfo>
  19. <Column id="codecolumn"/>
  20. <Column id="datacolumn"/>
  21. </ColumnInfo>
  22. <Rows>
  23. <Row>
  24. <Col id="codecolumn">E</Col>
  25. <Col id="datacolumn">촬영건수</Col>
  26. </Row>
  27. <Row>
  28. <Col id="codecolumn">B</Col>
  29. <Col id="datacolumn">부위건수</Col>
  30. </Row>
  31. </Rows>
  32. </Dataset>
  33. </Radio>
  34. <Combo id="cmb_excuroomgrp" taborder="4" innerdataset="@ds_init_cmb_lrgcd" codecolumn="cdid" datacolumn="cdnm" position="absolute 287 9 402 30" anchor="default" onitemchanged="grp_sea_cmb_excuroomgrp_onitemchanged"/>
  35. <Static id="caption7" text="검사실 :" class="search_name" position="absolute 225 12 283 29" anchor="default"/>
  36. <Combo id="cmb_excuroom" taborder="5" innerdataset="@ds_init_cmb_mdlcd" codecolumn="cdid" datacolumn="cdnm" position="absolute 405 9 520 30" anchor="default"/>
  37. <cp_monthCal id="input4" titletext="monthCalendar" taborder="6" text="cp_monthCal00" scrollbars="none" position="absolute 73 9 160 29" anchor="default"/>
  38. </Layout>
  39. </Layouts>
  40. </Div>
  41. <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 94 1195 100" anchor="left top right"/>
  42. <Grid id="grd_list" taborder="3" binddataset="ds_main_list" useinputpanel="false" position="absolute 0 99 1195 772" cellsizingtype="col" anchor="all">
  43. <Formats>
  44. <Format id="default">
  45. <Columns>
  46. <Column size="25" band="left"/>
  47. <Column size="380" band="left"/>
  48. <Column size="100" band="left"/>
  49. <Column size="38"/>
  50. <Column size="38"/>
  51. <Column size="38"/>
  52. <Column size="38"/>
  53. <Column size="38"/>
  54. <Column size="38"/>
  55. <Column size="38"/>
  56. <Column size="38"/>
  57. <Column size="38"/>
  58. <Column size="38"/>
  59. <Column size="38"/>
  60. <Column size="38"/>
  61. <Column size="38"/>
  62. <Column size="38"/>
  63. <Column size="38"/>
  64. <Column size="38"/>
  65. <Column size="38"/>
  66. <Column size="38"/>
  67. <Column size="38"/>
  68. <Column size="38"/>
  69. <Column size="38"/>
  70. <Column size="38"/>
  71. <Column size="38"/>
  72. <Column size="38"/>
  73. <Column size="38"/>
  74. <Column size="38"/>
  75. <Column size="38"/>
  76. <Column size="38"/>
  77. <Column size="38"/>
  78. <Column size="38"/>
  79. <Column size="38"/>
  80. <Column size="60"/>
  81. </Columns>
  82. <Rows>
  83. <Row size="24" band="head"/>
  84. <Row size="24"/>
  85. </Rows>
  86. <Band id="head">
  87. <Cell/>
  88. <Cell col="1" colspan="2" text="구분" taborder="undefined"/>
  89. <Cell col="3" text="1일"/>
  90. <Cell col="4" text="2일"/>
  91. <Cell col="5" text="3일"/>
  92. <Cell col="6" text="4일"/>
  93. <Cell col="7" text="5일"/>
  94. <Cell col="8" text="6일"/>
  95. <Cell col="9" text="7일"/>
  96. <Cell col="10" text="8일"/>
  97. <Cell col="11" text="9일"/>
  98. <Cell col="12" text="10일"/>
  99. <Cell col="13" text="11일"/>
  100. <Cell col="14" text="12일"/>
  101. <Cell col="15" text="13일"/>
  102. <Cell col="16" text="14일"/>
  103. <Cell col="17" text="15일"/>
  104. <Cell col="18" text="16일"/>
  105. <Cell col="19" text="17일"/>
  106. <Cell col="20" text="18일"/>
  107. <Cell col="21" text="19일"/>
  108. <Cell col="22" text="20일"/>
  109. <Cell col="23" text="21일"/>
  110. <Cell col="24" text="22일"/>
  111. <Cell col="25" text="23일"/>
  112. <Cell col="26" text="24일"/>
  113. <Cell col="27" text="25일"/>
  114. <Cell col="28" text="26일"/>
  115. <Cell col="29" text="27일"/>
  116. <Cell col="30" text="28일"/>
  117. <Cell col="31" text="29일"/>
  118. <Cell col="32" text="30일"/>
  119. <Cell col="33" text="31일"/>
  120. <Cell col="34" text="합계"/>
  121. </Band>
  122. <Band id="body">
  123. <Cell celltype="head" text="expr:currow + 1"/>
  124. <Cell col="1" style="align:left middle;" text="bind:systkey1"/>
  125. <Cell col="2" style="align:left middle;" text="bind:systkey3"/>
  126. <Cell col="3" displaytype="number" text="bind:day01"/>
  127. <Cell col="4" displaytype="number" text="bind:day02"/>
  128. <Cell col="5" displaytype="number" text="bind:day03"/>
  129. <Cell col="6" displaytype="number" text="bind:day04"/>
  130. <Cell col="7" displaytype="number" text="bind:day05"/>
  131. <Cell col="8" displaytype="number" text="bind:day06"/>
  132. <Cell col="9" displaytype="number" text="bind:day07"/>
  133. <Cell col="10" displaytype="number" text="bind:day08"/>
  134. <Cell col="11" displaytype="number" text="bind:day09"/>
  135. <Cell col="12" displaytype="number" text="bind:day10"/>
  136. <Cell col="13" displaytype="number" text="bind:day11"/>
  137. <Cell col="14" displaytype="number" text="bind:day12"/>
  138. <Cell col="15" displaytype="number" text="bind:day13"/>
  139. <Cell col="16" displaytype="number" text="bind:day14"/>
  140. <Cell col="17" displaytype="number" text="bind:day15"/>
  141. <Cell col="18" displaytype="number" text="bind:day16"/>
  142. <Cell col="19" displaytype="number" text="bind:day17"/>
  143. <Cell col="20" displaytype="number" text="bind:day18"/>
  144. <Cell col="21" displaytype="number" text="bind:day19"/>
  145. <Cell col="22" displaytype="number" text="bind:day20"/>
  146. <Cell col="23" displaytype="number" text="bind:day21"/>
  147. <Cell col="24" displaytype="number" text="bind:day22"/>
  148. <Cell col="25" displaytype="number" text="bind:day23"/>
  149. <Cell col="26" displaytype="number" text="bind:day24"/>
  150. <Cell col="27" displaytype="number" text="bind:day25"/>
  151. <Cell col="28" displaytype="number" text="bind:day26"/>
  152. <Cell col="29" displaytype="number" text="bind:day27"/>
  153. <Cell col="30" displaytype="number" text="bind:day28"/>
  154. <Cell col="31" displaytype="number" text="bind:day29"/>
  155. <Cell col="32" displaytype="number" text="bind:day30"/>
  156. <Cell col="33" displaytype="number" text="bind:day31"/>
  157. <Cell col="34" displaytype="number" text="bind:total"/>
  158. </Band>
  159. </Format>
  160. </Formats>
  161. </Grid>
  162. <Static id="caption6" text="일별 통계" class="tit_1" position="absolute 0 0 100 25"/>
  163. <Shape id="line00" class="line_1" position="absolute 0 95 1195 101" anchor="left top right"/>
  164. <Shape id="line02" class="line_1" position="absolute 0 93 1195 99" anchor="left top right"/>
  165. </Layout>
  166. </Layouts>
  167. <Objects>
  168. <Dataset id="ds_main_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  169. <ColumnInfo>
  170. <Column id="systkey1" type="STRING" size="256"/>
  171. <Column id="systkey2" type="STRING" size="256"/>
  172. <Column id="day01" type="STRING" size="256"/>
  173. <Column id="day02" type="STRING" size="256"/>
  174. <Column id="day03" type="STRING" size="256"/>
  175. <Column id="day04" type="STRING" size="256"/>
  176. <Column id="day05" type="STRING" size="256"/>
  177. <Column id="day06" type="STRING" size="256"/>
  178. <Column id="day07" type="STRING" size="256"/>
  179. <Column id="day08" type="STRING" size="256"/>
  180. <Column id="day09" type="STRING" size="256"/>
  181. <Column id="day10" type="STRING" size="256"/>
  182. <Column id="day11" type="STRING" size="256"/>
  183. <Column id="day12" type="STRING" size="256"/>
  184. <Column id="day13" type="STRING" size="256"/>
  185. <Column id="day14" type="STRING" size="256"/>
  186. <Column id="day15" type="STRING" size="256"/>
  187. <Column id="day16" type="STRING" size="256"/>
  188. <Column id="day17" type="STRING" size="256"/>
  189. <Column id="day18" type="STRING" size="256"/>
  190. <Column id="day19" type="STRING" size="256"/>
  191. <Column id="day20" type="STRING" size="256"/>
  192. <Column id="day21" type="STRING" size="256"/>
  193. <Column id="day22" type="STRING" size="256"/>
  194. <Column id="day23" type="STRING" size="256"/>
  195. <Column id="day24" type="STRING" size="256"/>
  196. <Column id="day25" type="STRING" size="256"/>
  197. <Column id="day26" type="STRING" size="256"/>
  198. <Column id="day27" type="STRING" size="256"/>
  199. <Column id="day28" type="STRING" size="256"/>
  200. <Column id="day29" type="STRING" size="256"/>
  201. <Column id="day30" type="STRING" size="256"/>
  202. <Column id="day31" type="STRING" size="256"/>
  203. <Column id="total" type="STRING" size="256"/>
  204. <Column id="systkey3" type="STRING" size="256"/>
  205. </ColumnInfo>
  206. <Rows>
  207. <Row>
  208. <Col id="systkey1"/>
  209. <Col id="systkey2"/>
  210. <Col id="day01"/>
  211. <Col id="day02"/>
  212. <Col id="day03"/>
  213. <Col id="day04"/>
  214. <Col id="day05"/>
  215. <Col id="day06"/>
  216. <Col id="day07"/>
  217. <Col id="day08"/>
  218. <Col id="day09"/>
  219. <Col id="day10"/>
  220. <Col id="day11"/>
  221. <Col id="day12"/>
  222. <Col id="day13"/>
  223. <Col id="day14"/>
  224. <Col id="day15"/>
  225. <Col id="day16"/>
  226. <Col id="day17"/>
  227. <Col id="day18"/>
  228. <Col id="day19"/>
  229. <Col id="day20"/>
  230. <Col id="day21"/>
  231. <Col id="day22"/>
  232. <Col id="day23"/>
  233. <Col id="day24"/>
  234. <Col id="day25"/>
  235. <Col id="day26"/>
  236. <Col id="day27"/>
  237. <Col id="day28"/>
  238. <Col id="day29"/>
  239. <Col id="day30"/>
  240. <Col id="day31"/>
  241. <Col id="total"/>
  242. </Row>
  243. </Rows>
  244. </Dataset>
  245. <Dataset id="ds_init_cmb_mdlcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  246. <ColumnInfo>
  247. <Column id="cdnm" type="STRING"/>
  248. <Column id="cdid" type="STRING"/>
  249. </ColumnInfo>
  250. </Dataset>
  251. <Dataset id="ds_init_cmb_lrgcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  252. <ColumnInfo>
  253. <Column id="cdnm" type="STRING"/>
  254. <Column id="cdid" type="STRING"/>
  255. </ColumnInfo>
  256. </Dataset>
  257. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  258. <ColumnInfo>
  259. <Column id="execdd" type="STRING" size="256"/>
  260. <Column id="suppdeptcd" type="STRING" size="256"/>
  261. <Column id="lrgcd" type="STRING" size="256"/>
  262. <Column id="mdlcd" type="STRING" size="256"/>
  263. <Column id="flag" type="STRING" size="256"/>
  264. <Column id="basecdflag" type="STRING" size="256"/>
  265. <Column id="systkey6" type="STRING" size="256"/>
  266. </ColumnInfo>
  267. <Rows>
  268. <Row>
  269. <Col id="execdd"/>
  270. <Col id="suppdeptcd"/>
  271. <Col id="lrgcd"/>
  272. <Col id="mdlcd"/>
  273. <Col id="flag"/>
  274. <Col id="basecdflag"/>
  275. </Row>
  276. </Rows>
  277. </Dataset>
  278. </Objects>
  279. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  280. * System Name :
  281. * Job Name :
  282. * Creator :
  283. * Make Date : 2015-11-13
  284. * Description :
  285. *---------------------------------------------------------------------------------------
  286. * Modify Date Modifier Modify Description
  287. *---------------------------------------------------------------------------------------
  288. * 2015-11-13 Live Converter TF->XP
  289. *
  290. *---------------------------------------------------------------------------------------
  291. ****************************************************************************************/
  292. include "com_commonxp::comm_main.xjs";
  293. include "com_basiccodexp::ZBC001.xjs";
  294. include "ast_examcurexp::AEZ0001.xjs";
  295. var arErrorCode = new HashArray();
  296. /******************************************************************
  297. * Argument :
  298. * Description : 초기화
  299. ******************************************************************/
  300. function SMAES04100_oninit(obj:Form, e:InitEventInfo)
  301. {
  302. frmf_initForm(obj);
  303. }
  304. function SMAES04100_onload(obj:Form, e:LoadEventInfo)
  305. {
  306. lf_aezfSetSuppDeptcd();
  307. ds_send.setColumn(0, "suppdeptcd", frmf_getParameter("AST_DEPTCD"));
  308. // 진료과/진료의 조회
  309. var fromdd = utlf_getCurrentDate();
  310. ds_send.setColumn(0, "execdd", fromdd.substr(0,6));
  311. ds_main_list.clearData();
  312. ds_send.setColumn(0, "flag", "E");
  313. ds_send.setColumn(0, "basecdflag", "R");
  314. //조회기간 달력 set
  315. grp_sea.input4.setData(fromdd);
  316. //조회기간 event
  317. grp_sea.input4.setCallEvent("fn_Cal");
  318. dsf_createDsRow("ds_temp_send",
  319. [{col:"basesuppdeptcd", type:"string", size:256, val:ds_send.getColumn(0, "suppdeptcd")}
  320. ,{col:"flag", type:"string", size:256, val:ds_send.getColumn(0, "basecdflag")}], true);
  321. var oParam = {};
  322. oParam.id = "TRAES01502";
  323. oParam.service = "examcurestatsapp.ImgMediSc";
  324. oParam.method = "reqGetBodyGrpPartComCdList";
  325. oParam.inds = "req=ds_temp_send";
  326. oParam.outds = "ds_init_cmb_lrgcd=item";
  327. oParam.async = false;
  328. //oParam.callback = "cf_TRAES01502";
  329. tranf_submit(oParam);
  330. dsf_addDsItem(ds_init_cmb_lrgcd, "cdid", "cdnm", "전체", "", "above");
  331. grdf_setGridSort(grd_list); // 그리드 소트만
  332. }
  333. /******************************************************************
  334. * Argument :
  335. * Description : 조회기간(fromdd) event
  336. ******************************************************************/
  337. function fn_Cal(){
  338. var srchdate = grp_sea.input4.getData();
  339. srchdate = srchdate.substr(0, 6);
  340. ds_send.setColumn(0, "execdd", srchdate);
  341. }
  342. /******************************************************************
  343. * Argument :
  344. * Description : 검사실 combo event
  345. ******************************************************************/
  346. function grp_sea_cmb_excuroomgrp_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  347. {
  348. ds_send.setColumn(0, "mdlcd", "");
  349. if( !utlf_isNull(ds_send.getColumn(0, "lrgcd")) ) {
  350. dsf_createDsRow("ds_temp_send2",
  351. [{col:"basesuppdeptcd", type:"string", size:256, val:ds_send_globalinstance.getColumn(0, "instance1")}
  352. ,{col:"flag", type:"string", size:256, val:ds_send.getColumn(0, "basecdflag")}
  353. ,{col:"lrgcd", type:"string", size:256, val:ds_send.getColumn(0, "lrgcd")}], true);
  354. var oParam = {};
  355. oParam.id = "TRAES01503";
  356. oParam.service = "examcurestatsapp.ImgMediSc";
  357. oParam.method = "reqGetBodyPartComCdList";
  358. oParam.inds = "req=ds_temp_send2";
  359. oParam.outds = "ds_init_cmb_mdlcd=item";
  360. oParam.async = false;
  361. //oParam.callback = "cf_TRAES01503";
  362. tranf_submit(oParam);
  363. }
  364. }
  365. /******************************************************************
  366. * Argument :
  367. * Description : 조회 button event
  368. ******************************************************************/
  369. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  370. {
  371. ds_main_list.clearData();
  372. dsf_setFixVal(ds_send, "systkey6:151");
  373. var oParam = {};
  374. oParam.id = "TRAES04101";
  375. oParam.service = "examcurestatsapp.ImgMediSc";
  376. oParam.method = "reqGetVeslPhoDayExamCount";
  377. oParam.inds = "req=ds_send";
  378. oParam.outds = "ds_main_list=item";
  379. oParam.async = false;
  380. //Param.callback = "cf_TRAES04101";
  381. tranf_submit(oParam);
  382. }
  383. /******************************************************************
  384. * Argument :
  385. * Description : excel 저장
  386. ******************************************************************/
  387. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  388. {
  389. if( ds_main_list.rowcount > 1 ){
  390. grdf_exportExcel(grd_list, "심혈관촬영 일별통계", "심혈관촬영 일별통계", false, "", "", false);
  391. } else {
  392. sysf_messageBox("조회된 데이터가 ", "I004");
  393. }
  394. }
  395. ]]></Script>
  396. </Form>
  397. </FDL>