SMADS00200_항생제통계.xfdl 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMADS00200" position="absolute 0 0 1211 681" titletext="항생제 통계" oninit="SMADS00200_oninit" onload="SMADS00200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="항생제 통계" class="tit_1" position="absolute 0 0 200 25"/>
  8. <Shape id="line1" class="line_1" position="absolute 0 157 1195 163" anchor="left top right"/>
  9. <Div id="group1" taborder="1" class="div_SA" position="absolute 0 25 1195 145" anchor="left top right">
  10. <Layouts>
  11. <Layout>
  12. <Shape id="line2" linetype="vertical" class="line_4" position="absolute 1107 9 1113 89" anchor="top right"/>
  13. <Button id="button1" taborder="3" text="조회" class="btn1" position="absolute 1123 32 1179 54" anchor="top right" onclick="group1_button1_onclick"/>
  14. <Static id="caption2" text="처방구분 :" class="search_name" position="absolute 15 36 101 53" anchor="default"/>
  15. <Calendar id="ipt_fromdd" taborder="4" class="input_default" position="absolute 111 7 211 28" mask="yyyy-mm-dd" anchor="default"/>
  16. <Calendar id="ipt_todd" taborder="5" class="input_default" position="absolute 229 7 329 28" mask="yyyy-mm-dd" anchor="default"/>
  17. <Static id="caption5" text="~" class="search_no_b" position="absolute 215 10 227 27" anchor="default"/>
  18. <Static id="caption3" text="일자 :" class="search_name" position="absolute 15 10 103 27" anchor="default"/>
  19. <Static id="caption4" text="통계양식 :" class="search_name" position="absolute 442 9 528 26" anchor="default"/>
  20. <Static id="caption7" text="처방경로 :" class="search_name" position="absolute 442 36 528 53" anchor="default"/>
  21. <Radio id="rdo_formcd" taborder="6" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 535 9 755 29" anchor="default">
  22. <Dataset id="innerdataset">
  23. <ColumnInfo>
  24. <Column id="codecolumn"/>
  25. <Column id="datacolumn"/>
  26. </ColumnInfo>
  27. <Rows>
  28. <Row>
  29. <Col id="codecolumn"/>
  30. <Col id="datacolumn">약품별</Col>
  31. </Row>
  32. <Row>
  33. <Col id="codecolumn"/>
  34. <Col id="datacolumn">추가사유별</Col>
  35. </Row>
  36. </Rows>
  37. </Dataset>
  38. </Radio>
  39. <Static id="caption8" text="병동 :" class="search_name" position="absolute 15 63 101 80" anchor="default"/>
  40. <Static id="caption9" text="효능분류 :" class="search_name" position="absolute 15 90 101 107" anchor="default"/>
  41. <Static id="caption10" text="진료과 :" class="search_name" position="absolute 442 63 530 80" anchor="default"/>
  42. <Static id="caption12" text="의사 :" class="search_name" position="absolute 777 63 867 80" anchor="default"/>
  43. <Static id="caption13" text="특정코드 :" class="search_name" position="absolute 442 90 528 107" anchor="default"/>
  44. <Edit id="input1" taborder="7" class="input_search" enable="false" position="absolute 110 63 306 84" anchor="default"/>
  45. <Edit id="input2" taborder="8" class="input_search" enable="false" position="absolute 110 90 306 111" anchor="default"/>
  46. <Combo id="cmb_orddept" taborder="9" innerdataset="@ds_init_orddeptcd" codecolumn="cd" datacolumn="nm" class="combo_search" position="absolute 537 63 702 84" anchor="default" onitemchanged="group1_cmb_orddept_onitemchanged"/>
  47. <Combo id="cmb_orddr" taborder="10" innerdataset="@ds_init_orddrid" codecolumn="cd" datacolumn="nm" class="combo_search" position="absolute 867 63 967 84" anchor="default"/>
  48. <Button id="button2" taborder="11" class="icon_search" enable="false" position="absolute 311 66 327 82" anchor="default"/>
  49. <Button id="button3" taborder="12" class="icon_search" enable="false" position="absolute 311 92 327 108" anchor="default" onclick="group1_button3_onclick"/>
  50. <Button id="button4" taborder="13" class="icon_search" enable="false" position="absolute 682 90 698 106" anchor="default" onclick="group1_button4_onclick"/>
  51. <Edit id="input3" taborder="14" class="input_search" enable="false" position="absolute 537 90 677 111" anchor="default"/>
  52. <CheckBox id="chk_drugflag2all" taborder="17" position="absolute 368 34 418 54" anchor="default" text="전체" onclick="group1_chk_drugflag2all_onclick" truevalue="전체"/>
  53. <CheckBox id="chk_drugflag1all" taborder="18" position="absolute 210 34 260 54" anchor="default" text="전체" onclick="group1_chk_drugflag1all_onclick" truevalue="전체"/>
  54. <CheckBox id="checkbox2" taborder="20" position="absolute 716 34 766 54" anchor="default" text="전체" onclick="group1_checkbox2_onclick" truevalue="전체"/>
  55. <Static id="caption1" text="추가사유 :" class="search_name" position="absolute 777 36 863 53" anchor="default"/>
  56. <Combo id="combo1" taborder="21" innerdataset="ds_init_combo1" codecolumn="cd" datacolumn="nm" class="combo_search" position="absolute 867 34 1057 55" anchor="default"/>
  57. <cp_checkboxList id="chk_drugflag1" titletext="CheckBox List" taborder="22" text="cp_checkboxList00" scrollbars="none" position="absolute 111 34 203 52" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  58. <cp_checkboxList id="chk_drugflag2" titletext="CheckBox List" taborder="23" text="cp_checkboxList00" scrollbars="none" position="absolute 265 34 357 52" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  59. <cp_checkboxList id="checkbox1" titletext="CheckBox List" taborder="24" text="cp_checkboxList00" scrollbars="none" position="absolute 537 34 702 52" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  60. </Layout>
  61. </Layouts>
  62. </Div>
  63. <Div id="div_print" taborder="2" position="absolute 2 175 1192 674"/>
  64. </Layout>
  65. </Layouts>
  66. <Objects>
  67. <Dataset id="ds_main_statslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  68. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  69. <ColumnInfo>
  70. <Column id="srchfromdd" type="STRING" size="256"/>
  71. <Column id="srchtodd" type="STRING" size="256"/>
  72. <Column id="instance1" type="STRING" size="256"/>
  73. <Column id="suppdeptcd" type="STRING" size="256"/>
  74. <Column id="srchioflag" type="STRING" size="256"/>
  75. <Column id="formflag" type="STRING" size="256"/>
  76. <Column id="drugflag1" type="STRING" size="256"/>
  77. <Column id="drugflag2" type="STRING" size="256"/>
  78. <Column id="srchdeptcd" type="STRING" size="256"/>
  79. <Column id="srchdrid" type="STRING" size="256"/>
  80. <Column id="drugflag1all" type="STRING" size="256"/>
  81. <Column id="drugflag2all" type="STRING" size="256"/>
  82. </ColumnInfo>
  83. <Rows>
  84. <Row>
  85. <Col id="srchfromdd"/>
  86. <Col id="srchtodd"/>
  87. <Col id="instance1"/>
  88. <Col id="suppdeptcd"/>
  89. <Col id="srchioflag"/>
  90. <Col id="formflag"/>
  91. <Col id="drugflag1"/>
  92. <Col id="drugflag2"/>
  93. <Col id="srchdeptcd"/>
  94. <Col id="srchdrid"/>
  95. <Col id="drugflag1all"/>
  96. <Col id="drugflag2all"/>
  97. </Row>
  98. </Rows>
  99. </Dataset>
  100. <Dataset id="ds_send_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  101. <ColumnInfo>
  102. <Column id="instance1" type="STRING" size="256"/>
  103. </ColumnInfo>
  104. <Rows>
  105. <Row/>
  106. </Rows>
  107. </Dataset>
  108. <Dataset id="ds_init_disccd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  109. <Dataset id="ds_init_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  110. <Dataset id="ds_init_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  111. <Dataset id="ds_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  112. <Dataset id="ds_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  113. <Dataset id="ds_init_centcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  114. <Dataset id="ds_init_subdeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  115. <Dataset id="ds_init_reducd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  116. <Dataset id="ds_init_uncocd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  117. <Dataset id="ds_init_overcapa" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  118. <Dataset id="ds_init_hospgrde" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  119. <Dataset id="ds_init_P0022" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  120. <Dataset id="ds_init_naticd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  121. <Dataset id="ds_init_drugflag1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  122. <ColumnInfo>
  123. <Column id="cdid" type="STRING" size="256"/>
  124. <Column id="cdnm" type="STRING" size="256"/>
  125. </ColumnInfo>
  126. <Rows>
  127. <Row>
  128. <Col id="cdid">입원</Col>
  129. <Col id="cdnm">입원</Col>
  130. </Row>
  131. <Row>
  132. <Col id="cdid">외래</Col>
  133. <Col id="cdnm">외래</Col>
  134. </Row>
  135. </Rows>
  136. </Dataset>
  137. <Dataset id="ds_init_drugflag2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  138. <ColumnInfo>
  139. <Column id="cdid" type="STRING" size="256"/>
  140. <Column id="cdnm" type="STRING" size="256"/>
  141. </ColumnInfo>
  142. <Rows>
  143. <Row>
  144. <Col id="cdid">원내</Col>
  145. <Col id="cdnm">원내</Col>
  146. </Row>
  147. <Row>
  148. <Col id="cdid">원외</Col>
  149. <Col id="cdnm">원외</Col>
  150. </Row>
  151. </Rows>
  152. </Dataset>
  153. <Dataset id="ds_init_flag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  154. <ColumnInfo>
  155. <Column id="cdid" type="STRING" size="256"/>
  156. <Column id="cdnm" type="STRING" size="256"/>
  157. </ColumnInfo>
  158. <Rows>
  159. <Row>
  160. <Col id="cdid">예방적</Col>
  161. <Col id="cdnm">예방적</Col>
  162. </Row>
  163. <Row>
  164. <Col id="cdid">경험적</Col>
  165. <Col id="cdnm">경험적</Col>
  166. </Row>
  167. <Row>
  168. <Col id="cdid">확정적</Col>
  169. <Col id="cdnm">확정적</Col>
  170. </Row>
  171. </Rows>
  172. </Dataset>
  173. <Dataset id="ds_properties" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  174. <ColumnInfo>
  175. <Column id="title" type="STRING" size="256"/>
  176. </ColumnInfo>
  177. <Rows>
  178. <Row>
  179. <Col id="title">항생제 통계</Col>
  180. </Row>
  181. </Rows>
  182. </Dataset>
  183. <Dataset id="ds_hidden_session" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  184. </Objects>
  185. <Bind>
  186. <BindItem id="item0" compid="group1.ipt_fromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
  187. <BindItem id="item1" compid="group1.ipt_todd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
  188. <BindItem id="item2" compid="group1.rdo_formcd" propid="value" datasetid="ds_send" columnid="formflag"/>
  189. <BindItem id="item3" compid="group1.chk_drugflag1all" propid="value" datasetid="ds_send" columnid="drugflag1all"/>
  190. <BindItem id="item4" compid="group1.chk_drugflag2all" propid="value" datasetid="ds_send" columnid="drugflag2all"/>
  191. <BindItem id="item5" compid="group1.cmb_orddept" propid="value" datasetid="ds_send" columnid="srchdeptcd"/>
  192. <BindItem id="item6" compid="group1.cmb_orddr" propid="value" datasetid="ds_send" columnid="srchdrid"/>
  193. </Bind>
  194. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  195. * System Name :
  196. * Job Name :
  197. * Creator :
  198. * Make Date : 2015-11-13
  199. * Description :
  200. *---------------------------------------------------------------------------------------
  201. * Modify Date Modifier Modify Description
  202. *---------------------------------------------------------------------------------------
  203. * 2015-11-13 Live Converter TF->XP
  204. *
  205. *---------------------------------------------------------------------------------------
  206. ****************************************************************************************/
  207. include "com_commonxp::comm_main.xjs";
  208. include "ast_examcurexp::AEZ0001.xjs";
  209. var arErrorCode = new HashArray();
  210. /******************************************************************
  211. * Argument :
  212. * Description : 초기화
  213. ******************************************************************/
  214. function SMADS00200_oninit(obj:Form, e:InitEventInfo)
  215. {
  216. frmf_initForm(obj);
  217. }
  218. function SMADS00200_onload(obj:Form, e:LoadEventInfo)
  219. {
  220. lf_aezfSetSuppDeptcd();
  221. ds_send_globalinstance.setColumn(0, "instance1", frmf_getParameter("AST_DEPTCD"));
  222. // 진료과/진료의 조회
  223. var oParam = {};
  224. oParam.id = "TRPMOCOM01";
  225. oParam.service = "pamcomnapp.PamComn";
  226. oParam.method = "reqGetComCD";
  227. oParam.inds = "req=ds_hidden_session";
  228. oParam.outds = "ds_init_disccd=disccd ds_init_insukind=insukind ds_init_suppkind=suppkind ds_init_orddeptcd=orddeptcd ds_init_orddrid=orddrid ds_init_centcd=centcd ds_init_subdeptcd=subdeptcd ds_init_reducd=reducd ds_init_uncocd=uncocd ds_init_overcapa=overcapa ds_init_hospgrde=hospgrde ds_init_P0022=P0022 ds_init_naticd=naticd";
  229. oParam.async = false;
  230. //oParam.callback = "cf_TRPMOCOM01";
  231. tranf_submit(oParam);
  232. /* 2016.02.19
  233. 기능 적용 되지 않아 전화 안함.
  234. var rdo_children = rdo_formcd.children;
  235. rdo_children.item(1).attribute("disable") = true;
  236. */
  237. ds_send.setColumn(0, "suppdeptcd", ds_send_globalinstance.getColumn(0, "instance1"));
  238. ds_send.setColumn(0, "srchfromdd", utlf_getCurrentDate());
  239. ds_send.setColumn(0, "srchtodd", utlf_getCurrentDate());
  240. ds_send.setColumn(0, "srchioflag", "전체");
  241. ds_send.setColumn(0, "formflag", "D");
  242. ds_send.setColumn(0, "drugflag1", "입원 외래");
  243. ds_send.setColumn(0, "drugflag2", "원내 원외");
  244. ds_send.setColumn(0, "drugflag1all", "전체");
  245. ds_send.setColumn(0, "drugflag2all", "전체");
  246. // 처방구분 - 재원/퇴원
  247. var sProp1="col=2,row=1,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
  248. group1.chk_drugflag1.setInitComp(sProp1, ds_init_drugflag1, "cdid", "cdnm", "fn_drugflag1");
  249. // 처방구분 - 원내/원외
  250. var sProp1="col=2,row=1,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
  251. group1.chk_drugflag2.setInitComp(sProp1, ds_init_drugflag2, "cdid", "cdnm", "fn_drugflag2");
  252. // 처방경로
  253. var sProp1="col=3,row=1,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
  254. group1.checkbox1.setInitComp(sProp1, ds_init_flag, "cdid", "cdnm", "fn_flag");
  255. fn_getDrugflag1();
  256. fn_getDrugflag2();
  257. fn_getFlag();
  258. }
  259. /******************************************************************
  260. * Argument :
  261. * Description : 처방구분 - 재원/퇴원
  262. ******************************************************************/
  263. function fn_drugflag1(){
  264. var getData = String(group1.chk_drugflag1.getData()).replace(","," ");
  265. ds_send.setColumn(0, "drugflag1");
  266. }
  267. /******************************************************************
  268. * Argument :
  269. * Description : 처방구분 - 재원/퇴원
  270. ******************************************************************/
  271. function fn_getDrugflag1(){
  272. var getData = ds_send.getColumn(0, "drugflag1").split(" ");
  273. if( !utlf_isNull(getData) ){
  274. group1.chk_drugflag1.setData(getData);
  275. }
  276. }
  277. /******************************************************************
  278. * Argument :
  279. * Description : 처방구분 - 원내/원외
  280. ******************************************************************/
  281. function fn_drugflag2(code){
  282. var getData = String(group1.chk_drugflag2.getData()).replace(","," ");
  283. ds_send.setColumn(0, "drugflag2");
  284. }
  285. /******************************************************************
  286. * Argument :
  287. * Description : 처방구분 - 원내/원외
  288. ******************************************************************/
  289. function fn_getDrugflag2(){
  290. var getData = ds_send.getColumn(0, "drugflag2").split(" ");
  291. if( !utlf_isNull(getData) ){
  292. group1.chk_drugflag2.setData(getData);
  293. }
  294. }
  295. /******************************************************************
  296. * Argument :
  297. * Description : 처방경로
  298. ******************************************************************/
  299. function fn_flag(code){
  300. // dataset 연결 오류로 적용 안함
  301. }
  302. /******************************************************************
  303. * Argument :
  304. * Description : 처방경로
  305. ******************************************************************/
  306. function fn_getFlag(){
  307. // dataset 연결 오류로 적용 안함
  308. }
  309. /******************************************************************
  310. * Argument :
  311. * Description : 처방구분 - 재원/퇴원 - 전체
  312. ******************************************************************/
  313. function group1_chk_drugflag1all_onclick(obj:CheckBox, e:ClickEventInfo)
  314. {
  315. if( ds_send.getColumn(0, "drugflag1all") == "전체" ){
  316. group1.chk_drugflag1.setCheckAll(true);
  317. } else {
  318. group1.chk_drugflag1.setCheckAll(false);
  319. }
  320. }
  321. /******************************************************************
  322. * Argument :
  323. * Description : 처방구분 - 원내/원외 - 전체
  324. ******************************************************************/
  325. function group1_chk_drugflag2all_onclick(obj:CheckBox, e:ClickEventInfo)
  326. {
  327. if( ds_send.getColumn(0, "drugflag2all") == "전체" ){
  328. group1.chk_drugflag2.setCheckAll(true);
  329. } else {
  330. group1.chk_drugflag2.setCheckAll(false);
  331. }
  332. }
  333. /******************************************************************
  334. * Argument :
  335. * Description : 처방구분 - 원내/원외 - 전체
  336. ******************************************************************/
  337. function group1_checkbox2_onclick(obj:CheckBox, e:ClickEventInfo)
  338. {
  339. // dataset 연결 오류로 적용 안함
  340. }
  341. /******************************************************************
  342. * Argument :
  343. * Description : 진료과 combo event
  344. ******************************************************************/
  345. function group1_cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  346. {
  347. ds_init_orddrid.filter("");
  348. ds_init_orddrid.filter("dp=='"+ ds_send.getColumn(0, "srchdeptcd") +"'");
  349. ds_send.setColumn(0, "srchdrid", "");
  350. }
  351. /******************************************************************
  352. * Argument :
  353. * Description : 조회 Button event
  354. ******************************************************************/
  355. function group1_button1_onclick(obj:Button, e:ClickEventInfo)
  356. {
  357. var oParam = {};
  358. oParam.id = "TRADS00101";
  359. oParam.service = "pharmacystatsapp.PharmacyStats";
  360. oParam.method = "reqGetDeptDrugUseList";
  361. oParam.inds = "req=ds_send";
  362. oParam.outds = "ds_main_statslist=item";
  363. oParam.async = false;
  364. oParam.callback = "cf_TRADS00101";
  365. tranf_submit(oParam);
  366. if( arErrorCode.pop("TRADS00101") > -1 ){
  367. var objDOM = rptf_createDOM(); // DOM 객체 설정
  368. rptf_setNodeListToDOM(objDOM, "/root/main/statslist/item", ds_main_statslist); // 데이터셋 1
  369. rptf_setNodeListToDOM(objDOM, "/root/send", ds_send); // 데이터셋 2
  370. rptf_setNodeListToDOM(objDOM, "/root/properties", ds_properties); // 데이터셋 6
  371. //sysf_trace(objDOM.documentElement.source); // XML 내용출력
  372. var objParam = new Object();
  373. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  374. var option = "open=1;save=1;directprint=0;print=1;zoom=0;show=1;";
  375. rptf_exeReportPreview30(["RPADS00101"],[objParam], option, null, "div_print");
  376. }
  377. }
  378. function cf_TRADS00101(sSvcId, nErrorCode, sErrorMsg) {
  379. arErrorCode.push(sSvcId, nErrorCode);
  380. }
  381. /******************************************************************
  382. * Argument :
  383. * Description : 효능분류(돋보기) event
  384. ******************************************************************/
  385. function group1_button3_onclick(obj:Button, e:ClickEventInfo)
  386. {
  387. }
  388. /******************************************************************
  389. * Argument :
  390. * Description : 특정코드(돋보기) event
  391. ******************************************************************/
  392. function group1_button4_onclick(obj:Button, e:ClickEventInfo)
  393. {
  394. }]]></Script>
  395. </Form>
  396. </FDL>