SMLMS00100_미생물통계조회.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLMS00100_미생물통계조회.xrw
  4. * 설 명 : 미생물통계조회
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2006.12.04
  8. * 수정이력 : 2007.08.14
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>미생물통계조회</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <micropatlist>
  20. <workno/>
  21. <pid/>
  22. <patnm/>
  23. <orddeptnm/>
  24. <wardroom/>
  25. </micropatlist>
  26. <microbaclist>
  27. <bacnm/>
  28. <brate/>
  29. <bcnt/>
  30. </microbaclist>
  31. <orddrlist>
  32. <cd>00</cd>
  33. <nm>- 전체 -</nm>
  34. <etc01/>
  35. </orddrlist>
  36. <getantibio>
  37. <antibionm/>
  38. <scnt/>
  39. <rcnt/>
  40. <icnt/>
  41. <tcnt/>
  42. </getantibio>
  43. </main>
  44. <send>
  45. <report>
  46. <bcno>I20HZ0010</bcno>
  47. <jobkindcd>1711</jobkindcd>
  48. <posinstcd/>
  49. </report>
  50. <codeflag/>
  51. <orddeptcd/>
  52. <refflag/>
  53. <reffromdd/>
  54. <reftodd/>
  55. <ioflag/>
  56. <ward/>
  57. <orddept/>
  58. <orddr/>
  59. <spcnm/>
  60. <bacteria/>
  61. <hg/>
  62. <rslt/>
  63. </send>
  64. <init>
  65. </init>
  66. <hidden>
  67. <ref>
  68. <refflag>2</refflag>
  69. <reffromdd/>
  70. <reftodd/>
  71. <IOflag>1</IOflag>
  72. <ward>000000</ward>
  73. <orddept>00</orddept>
  74. <orddr>00</orddr>
  75. <spcnm>00</spcnm>
  76. <bacteria>00</bacteria>
  77. <hg>00</hg>
  78. <rslt>-</rslt>
  79. </ref>
  80. <select>
  81. <pat/>
  82. <bac/>
  83. <anti/>
  84. <choi/>
  85. </select>
  86. </hidden>
  87. </root>
  88. </instance>
  89. <!-- <bind id="bind1" ref="/root/main/microbaclist/brate" calculate="../cnt div /root/hidden/Count/Total * 100"/> -->
  90. <bind id="bind1" ref="/root/main/microbaclist/brate"/>
  91. <bind id="bind2" ref="/root/main/getantibio/scnt"/>
  92. <bind id="bind3" ref="/root/main/getantibio/rcnt"/>
  93. <bind id="bind4" ref="/root/main/getantibio/icnt"/>
  94. <script type="javascript" ev:event="xforms-ready">
  95. <![CDATA[
  96. // setParameter("SPMNW12400_PARAM1", "17687154");
  97. // setParameter("SPMNW12400_PARAM2", "20081215"); // 추가_20081229(ByJA)
  98. // modal("SPMNW12400");
  99. // 초기화
  100. fSetClear();
  101. // 레포트 미리보기 Object를 생성한다. common.js
  102. //makeReportPreview(720, 100, 400, 650); // left, top, width, height, parentObj
  103. //makeReportPreview(50, 280, 600, 500); // left, top, width, height, parentObj
  104. //초기정보 가져오기 // 0114|0002|0105|0202|0204|
  105. model.setValue("/root/send/codeflag", "0114|0002|0105|0205|0206|"); //0114 병동병실 // 0002 진료과 // 0105 검체 // 0202 배양균 // 0204 항균제
  106. submit("TRLZZ00101");
  107. ]]>
  108. </script>
  109. <!-- 초기정보 조회 -->
  110. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0105"/>
  111. <!-- 환자목록 조회 -->
  112. <submission id="TRLMS00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/micropatlist"/>
  113. <!-- 균별 통계 조회 -->
  114. <submission id="TRLMS00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/microbaclist"/>
  115. <!-- 의뢰의사 조회 -->
  116. <submission id="TRLMS00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/orddrlist"/>
  117. <!-- 항균제별 조회 -->
  118. <submission id="TRLMS00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getantibio"/>
  119. </model>
  120. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  121. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  122. <script type="javascript">
  123. <![CDATA[
  124. // 초기화
  125. function fSetClear(){
  126. model.removeNodeset("/root/main/micropatlist");
  127. model.removeNodeset("/root/main/microbaclist");
  128. model.removeNodeset("/root/main/getantibio");
  129. var toDay = getCurrentDate();
  130. model.setValue("/root/hidden/ref/reffromdd", toDay);
  131. model.setValue("/root/hidden/ref/reftodd", toDay);
  132. model.setValue("/root/hidden/select/pat", "1");
  133. model.setValue("/root/hidden/select/choi", "1");
  134. model.refresh();
  135. // 의뢰의사 조회
  136. //fGetOrddrNm();
  137. }
  138. // 의뢰의사 리스트 조회
  139. function fGetOrddrNm(){
  140. var orddept = model.getValue("/root/hidden/ref/orddept");
  141. //if(orddept != "00"){
  142. model.setValue("/root/send/orddeptcd", orddept);
  143. //}
  144. submit("TRLMS00103");
  145. }
  146. // 조회 버튼
  147. function fGetRef(){
  148. // 그리드 체크박스 선택
  149. var choi = model.getValue("/root/hidden/select/choi");
  150. model.setValue("/root/send/refflag", model.getValue("/root/hidden/ref/refflag"));
  151. model.setValue("/root/send/reffromdd", model.getValue("/root/hidden/ref/reffromdd"));
  152. model.setValue("/root/send/reftodd", model.getValue("/root/hidden/ref/reftodd"));
  153. model.setValue("/root/send/ioflag", model.getValue("/root/hidden/ref/IOflag"));
  154. model.setValue("/root/send/ward", model.getValue("/root/hidden/ref/ward"));
  155. model.setValue("/root/send/orddept", model.getValue("/root/hidden/ref/orddept"));
  156. model.setValue("/root/send/orddr", model.getValue("/root/hidden/ref/orddr"));
  157. model.setValue("/root/send/spcnm", model.getValue("/root/hidden/ref/spcnm"));
  158. model.setValue("/root/send/bacteria", model.getValue("/root/hidden/ref/bacteria"));
  159. model.setValue("/root/send/hg", model.getValue("/root/hidden/ref/hg"));
  160. model.setValue("/root/send/rslt", model.getValue("/root/hidden/ref/rslt"));
  161. if(model.getValue("/root/hidden/select/pat")=="1"){
  162. // 환자목록 조회
  163. submit("TRLMS00100");
  164. }
  165. if(model.getValue("/root/hidden/select/bac")=="2"){
  166. // 균별 통계 조회
  167. //bind1.attribute( "calculate" ) = " ../brate div ../bcnt * 100";
  168. submit("TRLMS00102");
  169. //datagrid1.subTotal(“sum”, 0, 3, "#,###", "#ffff00", "#0000ff", "bold", 0, "소계1");
  170. // 퍼센트 조회
  171. // fGetBacPercent();
  172. }
  173. if(model.getValue("/root/hidden/select/anti")=="3"){
  174. // bind2.attribute( "calculate" ) = " ../scnt div ../tcnt *100 ";
  175. // bind3.attribute( "calculate" ) = " ../rcnt div ../tcnt *100 ";
  176. // bind4.attribute( "calculate" ) = " ../icnt div ../tcnt *100 ";
  177. // 항균제별 통계
  178. submit("TRLMS00104");
  179. }
  180. }
  181. // 균별통계 퍼센트 구하기
  182. function fGetBacPercent(){
  183. var r = "";
  184. var total = model.getValue("/root/main/microbaclist["+(grd_bac.rows-1)+"]/bcnt");
  185. for(i=1; i< grd_bac.rows; i++){
  186. r = (parseInt(model.getValue("/root/main/microbaclist["+i+"]/bcnt")) / parseInt(total)) * 100;
  187. model.setValue("/root/main/microbaclist["+i+"]/brate", r);
  188. }
  189. }
  190. // 체크박스 선택시
  191. function fSetGridSelect(gbn){
  192. // 환자목록 선택
  193. if(gbn == "1"){
  194. //model.setValue("/root/hidden/select/bac", "");
  195. //model.setValue("/root/hidden/select/anti", "");
  196. //model.setValue("/root/hidden/select/choi", "1");
  197. //model.removeNodeset("/root/main/getantibio");
  198. //model.removeNodeset("/root/main/microbaclist");
  199. if(model.getValue("/root/hidden/select/pat")==""){
  200. model.removeNodeset("/root/main/micropatlist");
  201. grd_patList.rebuild();
  202. }
  203. // 균별통계 선택
  204. }else if(gbn =="2"){
  205. //model.setValue("/root/hidden/select/pat", "");
  206. //model.setValue("/root/hidden/select/anti", "");
  207. //model.setValue("/root/hidden/select/choi", "2");
  208. //model.removeNodeset("/root/main/getantibio");
  209. if(model.getValue("/root/hidden/select/bac")==""){
  210. model.removeNodeset("/root/main/microbaclist");
  211. grd_bac.rebuild();
  212. }
  213. // 항균제별 통계 선택
  214. }else{
  215. //model.setValue("/root/hidden/select/bac", "");
  216. //model.setValue("/root/hidden/select/pat", "");
  217. //model.setValue("/root/hidden/select/choi", "3");
  218. //model.removeNodeset("/root/main/microbaclist");
  219. if(model.getValue("/root/hidden/select/anti")==""){
  220. model.removeNodeset("/root/main/getantibio");
  221. grd_antibio.rebuild();
  222. }
  223. }
  224. model.refresh();
  225. }
  226. // 엑셀 저장
  227. function fExeSaveExcel(grdid){
  228. var fileName;
  229. if(grdid == "grd_patList"){
  230. fileName = window.fileDialog("save", ",", false, "환자목록", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  231. if (fileName != ""){
  232. grd_patList.saveExcel(fileName);
  233. }
  234. }else if(grdid =="grd_bac"){
  235. fileName = window.fileDialog("save", ",", false, "균별통계", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  236. if (fileName != ""){
  237. grd_bac.saveExcel(fileName);
  238. }
  239. }else{
  240. fileName = window.fileDialog("save", ",", false, "항균제별통계", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  241. if (fileName != ""){
  242. grd_antibio.saveExcel(fileName);
  243. }
  244. }
  245. }
  246. ]]>
  247. </script>
  248. </xhtml:head>
  249. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  250. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  251. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">미생물통계조회</caption>
  252. </group>
  253. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  254. <caption id="caption16" class="tit_2" style="left:5px; top:199px; width:115px; height:13px; ">환자목록</caption>
  255. <line id="line4" class="line_1" style="x1:0px; y1:214px; x2:460px; y2:214px; "/>
  256. <datagrid id="grd_patList" nodeset="/root/main/micropatlist" caption="작업번호^등록번호^성명^진료과^병동" colsep="^" colwidth="130, 63, 65, 70, 90" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:219px; width:460px; height:508px; ">
  257. <col ref="workno" format="aaaaaaaa-aa-aa-aaa"/>
  258. <col ref="pid"/>
  259. <col ref="patnm"/>
  260. <col ref="orddeptnm"/>
  261. <col ref="wardroom"/>
  262. </datagrid>
  263. <caption id="caption11" class="tit_2" style="left:470px; top:10px; width:115px; height:14px; ">균별 통계</caption>
  264. <line id="line1" class="line_1" style="x1:465px; y1:25px; x2:760px; y2:25px; "/>
  265. <caption id="caption12" class="tit_2" style="left:770px; top:10px; width:115px; height:13px; ">항균제별 통계</caption>
  266. <line id="line2" class="line_1" style="x1:765px; y1:25px; x2:1194px; y2:25px; "/>
  267. <button id="button2" class="btn2_letter2" style="left:718px; top:4px; width:42px; height:19px; ">
  268. <caption>엑셀</caption>
  269. <script type="javascript" ev:event="onclick">
  270. <![CDATA[
  271. fExeSaveExcel("grd_bac");
  272. ]]>
  273. </script>
  274. </button>
  275. <button id="button1" class="btn2_letter2" style="left:1152px; top:4px; width:42px; height:19px; ">
  276. <caption>엑셀</caption>
  277. <script type="javascript" ev:event="onclick">
  278. <![CDATA[
  279. fExeSaveExcel("grd_antibio");
  280. ]]>
  281. </script>
  282. </button>
  283. <group id="group2" style="left:0px; top:10px; width:460px; height:180px; ">
  284. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:460px; height:179px; "/>
  285. <button id="button6" class="btn1_letter2" style="left:374px; top:150px; width:56px; height:22px; ">
  286. <caption>조회</caption>
  287. <script type="javascript" ev:event="DOMActivate">
  288. <![CDATA[
  289. fGetRef();
  290. ]]>
  291. </script>
  292. </button>
  293. <line id="line13" class="line_4" style="x1:359px; y1:150px; x2:359px; y2:172px; "/>
  294. <caption id="caption10" class="search_name" style="left:230px; top:125px; width:88px; height:17px; ">결 과 값 :</caption>
  295. <caption id="caption1" class="search_name" style="left:15px; top:78px; width:88px; height:17px; ">검 체 명 :</caption>
  296. <caption id="caption2" class="search_no_b" style="left:314px; top:9px; width:15px; height:20px; ">~</caption>
  297. <select1 id="combo1" ref="/root/hidden/ref/refflag" class="combo_search" appearance="minimal" style="left:105px; top:8px; width:100px; height:19px; ">
  298. <choices>
  299. <item>
  300. <label>보고일자</label>
  301. <value>1</value>
  302. </item>
  303. <item>
  304. <label>접수일자</label>
  305. <value>2</value>
  306. </item>
  307. </choices>
  308. </select1>
  309. <select1 id="combo2" ref="/root/hidden/ref/spcnm" class="combo_search" appearance="minimal" itemcount="20" style="left:105px; top:77px; width:325px; height:19px; ">
  310. <choices>
  311. <itemset nodeset="/root/init/LB0105">
  312. <label ref="nm"/>
  313. <value ref="cd"/>
  314. </itemset>
  315. </choices>
  316. </select1>
  317. <caption id="caption3" class="search_name" style="left:230px; top:32px; width:89px; height:17px; ">병 동 :</caption>
  318. <caption id="caption4" class="search_name" style="left:15px; top:32px; width:89px; height:17px; ">외래/입원:</caption>
  319. <select1 id="combo3" ref="/root/hidden/ref/IOflag" class="combo_search" appearance="minimal" style="left:105px; top:31px; width:100px; height:19px; ">
  320. <choices>
  321. <item>
  322. <label>[-]전체</label>
  323. <value>1</value>
  324. </item>
  325. <item>
  326. <label>외래</label>
  327. <value>2</value>
  328. </item>
  329. <item>
  330. <label>병동</label>
  331. <value>3</value>
  332. </item>
  333. </choices>
  334. </select1>
  335. <caption id="caption5" class="search_name" style="left:15px; top:55px; width:94px; height:17px; ">진 료 과 :</caption>
  336. <select1 id="combo4" ref="/root/hidden/ref/ward" class="combo_search" appearance="minimal" itemcount="20" style="left:330px; top:31px; width:100px; height:19px; ">
  337. <choices>
  338. <itemset nodeset="/root/init/LB0114">
  339. <label ref="nm"/>
  340. <value ref="cd"/>
  341. </itemset>
  342. </choices>
  343. </select1>
  344. <select1 id="combo5" ref="/root/hidden/ref/orddept" class="combo_search" appearance="minimal" itemcount="20" style="left:105px; top:54px; width:100px; height:19px; ">
  345. <choices>
  346. <itemset nodeset="/root/init/LB0002">
  347. <label ref="nm"/>
  348. <value ref="cd"/>
  349. </itemset>
  350. </choices>
  351. <script type="javascript" ev:event="xforms-select">
  352. <![CDATA[
  353. fGetOrddrNm();
  354. ]]>
  355. </script>
  356. </select1>
  357. <input id="input1" ref="/root/hidden/ref/reffromdd" class="input_search" inputtype="date" style="left:210px; top:8px; width:100px; height:19px; "/>
  358. <select1 id="combo6" ref="/root/hidden/ref/orddr" class="combo_search" appearance="minimal" itemcount="20" style="left:330px; top:54px; width:100px; height:19px; ">
  359. <choices>
  360. <itemset nodeset="/root/main/orddrlist">
  361. <label ref="nm"/>
  362. <value ref="cd"/>
  363. </itemset>
  364. </choices>
  365. </select1>
  366. <caption id="caption7" class="search_name" style="left:230px; top:54px; width:89px; height:17px; ">의뢰의사 :</caption>
  367. <input id="input2" ref="/root/hidden/ref/reftodd" class="input_search" inputtype="date" style="left:330px; top:8px; width:100px; height:19px; "/>
  368. <select1 id="combo7" ref="/root/hidden/ref/bacteria" class="combo_search" appearance="minimal" itemcount="20" style="left:105px; top:100px; width:325px; height:19px; ">
  369. <choices>
  370. <itemset nodeset="/root/init/LB0205">
  371. <label ref="nm"/>
  372. <value ref="cd"/>
  373. </itemset>
  374. </choices>
  375. </select1>
  376. <caption id="caption8" class="search_name" style="left:15px; top:101px; width:87px; height:17px; ">균 :</caption>
  377. <select1 id="combo8" ref="/root/hidden/ref/hg" class="combo_search" appearance="minimal" itemcount="20" style="left:105px; top:123px; width:100px; height:19px; ">
  378. <choices>
  379. <itemset nodeset="/root/init/LB0206">
  380. <label ref="nm"/>
  381. <value ref="cd"/>
  382. </itemset>
  383. </choices>
  384. </select1>
  385. <caption id="caption9" class="search_name" style="left:15px; top:124px; width:88px; height:17px; ">항 균 제 :</caption>
  386. <caption id="caption18" class="search_name" style="left:15px; top:9px; width:89px; height:17px; ">검색구분 :</caption>
  387. <select1 id="combo9" ref="/root/hidden/ref/rslt" class="combo_search" appearance="minimal" itemcount="20" style="left:330px; top:124px; width:100px; height:19px; ">
  388. <choices>
  389. <item>
  390. <label>- 전 체 -</label>
  391. <value>-</value>
  392. </item>
  393. <item>
  394. <label>S</label>
  395. <value>S</value>
  396. </item>
  397. <item>
  398. <label>R</label>
  399. <value>R</value>
  400. </item>
  401. <item>
  402. <label>I</label>
  403. <value>I</value>
  404. </item>
  405. </choices>
  406. </select1>
  407. </group>
  408. <object id="object1" navindex="1" clsid="A4BF7E18-5F67-4868-A726-EED421632374" visibility="hidden" style="left:1070px; top:635px; width:95px; height:75px; background-color:#ccffff; "/>
  409. <button id="button3" class="btn2_letter4" visibility="hidden" style="left:620px; top:5px; width:64px; height:19px; ">
  410. <caption>조회 ##</caption>
  411. <script type="javascript" ev:event="DOMActivate">
  412. <![CDATA[
  413. // 레포트를 실행
  414. // rid, dataType, paramsXPath, submitId, print, printDialog, fileType, fileName, fileDialog, closeYn, monNo, userService, dataXPath, maindataXPath, subdataXPath
  415. //exeReportPreview("RPTMP00300", "XML", "/root/send/report", "", "", "", "xls", "mic");
  416. exeReportPreview("RPLMS00100", "XML", "/root/send/report", "", "", "", "xls", "사용자\\사용자리스트");
  417. ]]>
  418. </script>
  419. </button>
  420. <button id="button4" class="btn2_letter6" visibility="hidden" style="left:315px; top:195px; width:86px; height:19px; ">
  421. <caption>조회 rexport</caption>
  422. <script type="javascript" ev:event="DOMActivate">
  423. <![CDATA[
  424. // 레포트를 실행
  425. // rid, dataType, paramsXPath, submitId, print, printDialog, fileType, fileName, fileDialog, closeYn, monNo, userService, dataXPath, maindataXPath, subdataXPath
  426. //exeReportPreview("RPTMP00300", "XML", "/root/send/report", "", "", "", "xls", "mic");
  427. exeReportPreview("RPTMP00300", "XML", "/root/send/report", "", "", "", "xls","사용자\\micro");
  428. //exeReportPreview("RPTMP00300", "XML", "/root/send/report", "", "", "", "txt", "사용자\\사용자리스트");
  429. ]]>
  430. </script>
  431. </button>
  432. <select id="chk_pat" ref="/root/hidden/select/pat" overflow="visible" appearance="full" style="left:80px; top:197px; width:60px; height:15px; border-style:none; ">
  433. <choices>
  434. <item>
  435. <label>선택</label>
  436. <value>1</value>
  437. </item>
  438. </choices>
  439. <script type="javascript" ev:event="xforms-select">
  440. <![CDATA[
  441. //fSetGridSelect("1");
  442. ]]>
  443. </script>
  444. <script type="javascript" ev:event="xforms-value-changed">
  445. <![CDATA[
  446. if(model.getValue("/root/hidden/select/pat") !="1"){
  447. model.removeNodeset("/root/main/micropatlist");
  448. model.refresh();
  449. }
  450. ]]>
  451. </script>
  452. </select>
  453. <select id="chk_bac" ref="/root/hidden/select/bac" overflow="visible" appearance="full" style="left:550px; top:8px; width:50px; height:15px; border-style:none; ">
  454. <choices>
  455. <item>
  456. <label>선택</label>
  457. <value>2</value>
  458. </item>
  459. </choices>
  460. <script type="javascript" ev:event="xforms-select">
  461. <![CDATA[
  462. //fSetGridSelect("2");
  463. ]]>
  464. </script>
  465. <script type="javascript" ev:event="xforms-value-changed">
  466. <![CDATA[
  467. if(model.getValue("/root/hidden/select/bac") !="2"){
  468. model.removeNodeset("/root/main/microbaclist");
  469. model.refresh();
  470. }
  471. ]]>
  472. </script>
  473. </select>
  474. <select id="chk_anti" ref="/root/hidden/select/anti" overflow="visible" appearance="full" style="left:879px; top:8px; width:60px; height:15px; border-style:none; ">
  475. <choices>
  476. <item>
  477. <label>선택</label>
  478. <value>3</value>
  479. </item>
  480. </choices>
  481. <script type="javascript" ev:event="xforms-select">
  482. <![CDATA[
  483. //fSetGridSelect("3");
  484. ]]>
  485. </script>
  486. <script type="javascript" ev:event="xforms-value-changed">
  487. <![CDATA[
  488. if(model.getValue("/root/hidden/select/anti") !="3"){
  489. model.removeNodeset("/root/main/getantibio");
  490. model.refresh();
  491. }
  492. ]]>
  493. </script>
  494. </select>
  495. <datagrid id="grd_bac" nodeset="/root/main/microbaclist" caption="균명^%^건수" colsep="^" colwidth="133, 50, 70" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:465px; top:30px; width:295px; height:697px; ">
  496. <col ref="bacnm"/>
  497. <col ref="brate" style="text-align:right; "/>
  498. <col ref="bcnt" style="text-align:right; "/>
  499. </datagrid>
  500. <button id="button5" class="btn2_letter2" style="left:418px; top:193px; width:42px; height:19px; ">
  501. <caption>엑셀</caption>
  502. <script type="javascript" ev:event="onclick">
  503. <![CDATA[
  504. fExeSaveExcel("grd_patList");
  505. ]]>
  506. </script>
  507. </button>
  508. <datagrid id="grd_antibio" nodeset="/root/main/getantibio" caption="항균제명^S(%)^R(%)^I(%)^총건수^예외건수" colsep="^" colwidth="100, 60, 60, 60, 70, 62" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:765px; top:30px; width:429px; height:697px; ">
  509. <col ref="antibionm"/>
  510. <col ref="scnt" style="text-align:right; "/>
  511. <col ref="rcnt" style="text-align:right; "/>
  512. <col ref="icnt" style="text-align:right; "/>
  513. <col ref="tcnt" style="text-align:right; "/>
  514. <col ref="ecnt" style="text-align:center; "/>
  515. </datagrid>
  516. </group>
  517. <group id="group5" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  518. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  519. <button id="btn_cle" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  520. <caption>초기화</caption>
  521. <script type="javascript" ev:event="DOMActivate">
  522. <![CDATA[
  523. fSetClear();
  524. ]]>
  525. </script>
  526. </button>
  527. </group>
  528. </xhtml:body>
  529. </xhtml:html>