SPPIZ01800_수혈심사.xrw 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SPPIZ01800_수혈심사.xrw
  4. * 수정이력
  5. * - 2009.04.10 / 최초작성 / 정선영
  6. -->
  7. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  8. <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">
  9. <xhtml:head>
  10. <xhtml:title>수혈심사</xhtml:title>
  11. <model id="model1">
  12. <instance id="instance1">
  13. <root xmlns="">
  14. <main>
  15. <bloodpat>
  16. <gridbloodpat>
  17. <orddeptnm/>
  18. <roomcd/>
  19. <pid/>
  20. <pnm/>
  21. <indd/>
  22. <dschdd/>
  23. <diagcd/>
  24. <ioflag/>
  25. <cretno/>
  26. <orddeptcd/>
  27. <orddrid/>
  28. <mskind/>
  29. <sex/>
  30. <age/>
  31. <prsnno/>
  32. </gridbloodpat>
  33. </bloodpat>
  34. <bloodlist>
  35. <bloodsummary>
  36. <gridbloodsummary>
  37. <execdt/>
  38. <tnsstrdt/>
  39. <prcpcd/>
  40. <prcpnm/>
  41. <cnt/>
  42. <filter/>
  43. <irr/>
  44. <hb/>
  45. <hct/>
  46. <plt/>
  47. <pt/>
  48. <ptt/>
  49. <judgeyn/>
  50. <transresn/>
  51. <transresntext/>
  52. <rem/>
  53. <blodno/>
  54. <blodbarcd/>
  55. </gridbloodsummary>
  56. </bloodsummary>
  57. <bloodsummary2>
  58. <grdbloodsummary2>
  59. <prcpcd/>
  60. <prcpnm/>
  61. <cnt/>
  62. </grdbloodsummary2>
  63. </bloodsummary2>
  64. <blooddetail>
  65. <gridblooddetail>
  66. <execdt/>
  67. <prcpcd/>
  68. <blodno/>
  69. <blodbarcd/>
  70. <prcpnm/>
  71. <resn/>
  72. </gridblooddetail>
  73. </blooddetail>
  74. </bloodlist>
  75. <patinfo>
  76. <patinfolist/>
  77. </patinfo>
  78. </main>
  79. <init>
  80. <combodata>
  81. <judgrid/>
  82. <wardcd/>
  83. <orddeptcd/>
  84. <orddrid>
  85. <orddridlist/>
  86. </orddrid>
  87. <ward/>
  88. </combodata>
  89. <P0470list>
  90. <P0470>
  91. <cdid/>
  92. <cdnm/>
  93. </P0470>
  94. </P0470list>
  95. <P0479list>
  96. <P0479>
  97. <cdid/>
  98. <cdnm/>
  99. </P0479>
  100. </P0479list>
  101. </init>
  102. <send>
  103. <fromdd/>
  104. <todd/>
  105. <judgrid/>
  106. <wardcd/>
  107. <orddeptcd/>
  108. <orddrid/>
  109. <pid/>
  110. <pnm/>
  111. <sexage/>
  112. <blood/>
  113. <termflag/>
  114. <ioflag/>
  115. <bloodgb/>
  116. <labrsltflag/>
  117. </send>
  118. <hidden>
  119. <sppmc02500>
  120. <cond>
  121. <srchcond/>
  122. <pid/>
  123. <hngnm/>
  124. <rrgstno1/>
  125. <rrgstno2/>
  126. </cond>
  127. </sppmc02500>
  128. </hidden>
  129. <sendsummary>
  130. <pid/>
  131. <pnm/>
  132. <orddd/>
  133. <cretno/>
  134. <ioflag/>
  135. <fromdd/>
  136. <todd/>
  137. <termflag/>
  138. <mskind/>
  139. <sex/>
  140. <age/>
  141. <prsnno/>
  142. <labrsltflag/>
  143. <bloodgb/>
  144. </sendsummary>
  145. <source>
  146. <srchcond/>
  147. <pid/>
  148. <hngnm/>
  149. <rrgstno1/>
  150. <rrgstno2/>
  151. </source>
  152. <send_opener>
  153. <pid/>
  154. </send_opener>
  155. <senditem>
  156. <list/>
  157. </senditem>
  158. <sendtochild>
  159. </sendtochild>
  160. </root>
  161. </instance>
  162. <script type="javascript" ev:event="xforms-ready">
  163. <![CDATA[
  164. // 날짜지정
  165. var curDate = getCurrentDate();
  166. var fromDate = curDate.toDate().getAddDate(-7,"D").getDateFormat();
  167. model.setValue("/root/send/fromdd",fromDate);
  168. model.setValue("/root/send/todd",curDate);
  169. // 수혈심사 조회 기초자료 조회
  170. submit("TRPIZ01801");
  171. // 공통코드조회
  172. // ---------------------------------------------------------------
  173. // 공통코드를 조회한다.
  174. // (ZBC001.js) com.ZBCMCODE 에서 기초코드 값 Get
  175. // ---------------------------------------------------------------
  176. zbcfGetCodeList(
  177. new Array("P0470" // 혈액성분
  178. ,"P0479" //수혈사유
  179. ),
  180. new Array("/root/init/P0470list"
  181. ,"/root/init/P0479list"
  182. ));
  183. if (checkOpener()) {
  184. var pid = model.getValue("/root/send_opener/pid");
  185. if (pid != "") {
  186. model.setValue("/root/send/pid", model.getValue("/root/send_opener/pid"));
  187. model.setValue("/root/send/pnm", model.getValue("/root/send_opener/pnm"));
  188. model.setValue("/root/send/sexage", model.getValue("/root/send_opener/sex") + "/" + model.getValue("/root/send_opener/age"));
  189. //환자정보셋팅
  190. //조회
  191. var controlObj = document.controls("btn_search");
  192. controlObj.dispatch("onclick");
  193. model.refresh();
  194. }
  195. }
  196. model.refresh();
  197. ]]>
  198. </script>
  199. <submission id="TRPIZ01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/combodata"/>
  200. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  201. <submission id="TRPIZ01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/bloodpat"/>
  202. <submission id="TRPIZ01803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/sendsummary" resultref="/root/main/bloodlist"/>
  203. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/patinfo"/>
  204. <submission id="TRPIZ01804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/combodata/orddrid"/>
  205. <submission id="TXPIZ01803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/senditem"/>
  206. </model>
  207. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  208. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  209. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  210. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  211. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  212. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  213. </xhtml:head>
  214. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  215. <caption id="caption11" class="tit_1" style="left:0px; top:0px; width:260px; height:14px; vertical-align:middle; ">수혈심사</caption>
  216. <object id="tfexcel" clsid="{fe8d1001-6a9d-424d-ae2a-301493bb12da}" visibility="hidden" style="left:950px; top:55px; width:180px; height:35px; "/>
  217. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  218. <group id="group2" style="left:0px; top:10px; width:1194px; height:59px; vertical-align:top; background-color:#fffbf2; border-color:#ffd799; ">
  219. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:59px; "/>
  220. <line id="line13" style="x1:1113px; y1:31px; x2:1113px; y2:53px; border-color:#ffe4bb; border-left-style:solid; "/>
  221. <caption id="caption1" class="search_name" style="left:700px; top:9px; width:86px; height:17px; ">진료과 :</caption>
  222. <caption id="caption3" class="search_name" style="left:15px; top:9px; width:96px; height:17px; ">불출일자 :</caption>
  223. <caption id="caption4" class="search_name" style="left:500px; top:33px; width:86px; height:17px; ">병동 :</caption>
  224. <caption id="caption9" class="search_name" style="left:314px; top:9px; width:86px; height:17px; ">심사자 :</caption>
  225. <caption id="caption14" class="search_name" style="left:920px; top:33px; width:86px; height:17px; ">혈액성분 :</caption>
  226. <button id="btn_search" class="btn1_letter2" style="left:1128px; top:31px; width:56px; height:22px; ">
  227. <caption>조회</caption>
  228. <script type="javascript" ev:event="DOMActivate">
  229. <![CDATA[
  230. model.resetInstanceNode("/root/main/bloodpat/gridbloodpat");
  231. model.resetInstanceNode("/root/main/bloodlist/bloodsummary/gridbloodsummary");
  232. model.resetInstanceNode("/root/main/bloodlist/bloodsummary2/grdbloodsummary2");
  233. model.resetInstanceNode("/root/main/bloodlist/blooddetail/gridblooddetail");
  234. model.refresh();
  235. //혈액성분은 코드가 아닌 텍스트로 조회
  236. if(model.getValue("/root/send/blood") != "") {
  237. model.setValue("/root/send/bloodgb", cmb_bloodgb.item(cmb_bloodgb.focusIndex).label);
  238. } else {
  239. model.setValue("/root/send/bloodgb", "");
  240. }
  241. submit("TRPIZ01802");
  242. ]]>
  243. </script>
  244. </button>
  245. <caption id="caption2" class="search_name" style="left:15px; top:33px; width:96px; height:17px; ">환자번호 : :</caption>
  246. <input id="ipt_pid" ref="/root/send/pid" class="input_default" style="left:104px; top:32px; width:85px; height:19px; ">
  247. <script type="javascript" ev:event="onkeypress">
  248. <![CDATA[
  249. if(event.keyCode == "13") {
  250. vcheck_pid = ipt_pid.currentText;
  251. //환자정보 초기화
  252. model.setValue("/root/send/pid", "");
  253. model.setValue("/root/send/pnm", "");
  254. model.setValue("/root/send/sexage", "");
  255. model.refresh();
  256. //환자번호 null체크
  257. if (vcheck_pid == null || vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
  258. messageBox("환자등록번호가 입력되지","E007");
  259. return;
  260. }
  261. //환자번호 조건으로 인적정보 조회
  262. model.setValue("/root/source/srchcond", "1");
  263. model.setValue("/root/source/pid", vcheck_pid);
  264. model.resetInstanceNode("/root/main/patinfo/patinfolist");
  265. //환자등록번호 체크
  266. if(submit("TRPMC02500")){
  267. var vcheck_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  268. if (vcheck_pid == null || vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
  269. //조회내역 체크
  270. messageBox("존재하지 않는 등록번호","E008");//E008=입니다
  271. model.setFocus("ipt_pid");
  272. model.refresh();
  273. return;
  274. }else{
  275. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  276. var srch_hngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
  277. var srcn_sex = model.getValue("/root/main/patinfo/patinfolist/sex");
  278. var srcn_age = model.getValue("/root/main/patinfo/patinfolist/age");
  279. model.removeNodeset("/root/main/patinfo/patinfolist"); // patinfolist가 제거됨 (resetInstanceNode의 경우 값은 지우고 노드는 남아있음)
  280. model.makeNode("/root/main/patinfo/patinfolist"); // SPPMC02500_환자조회 팝업을 다시 조회할 경우를 위해 다시 노드를 추가함
  281. model.setValue("/root/send/pid", srch_pid);
  282. model.setValue("/root/send/pnm", srch_hngnm);
  283. model.setValue("/root/send/sexage", srcn_sex + "/" + srcn_age);
  284. model.refresh();
  285. return;
  286. }
  287. }
  288. else {
  289. messageBox("존재하지 않는 등록번호","E008");//E008=입니다
  290. fInitialize();
  291. model.setFocus("ipt_pid");
  292. model.refresh();
  293. return;
  294. }
  295. }
  296. ]]>
  297. </script>
  298. </input>
  299. <caption id="caption5" class="search_name" style="left:920px; top:10px; width:86px; height:17px; ">진료의사 :</caption>
  300. <output id="opt_sexage" ref="/root/send/sexage" class="output_search" style="left:259px; top:32px; width:50px; height:19px; text-align:center; "/>
  301. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:104px; top:8px; width:85px; height:19px; ">
  302. <script type="javascript" ev:event="xforms-value-changed">
  303. <![CDATA[
  304. ]]>
  305. </script>
  306. </input>
  307. <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:192px; top:8px; width:85px; height:19px; ">
  308. <script type="javascript" ev:event="xforms-value-changed">
  309. <![CDATA[
  310. ]]>
  311. </script>
  312. </input>
  313. <select1 id="cmb_judgrid" ref="/root/send/judgrid" class="combo_search" appearance="minimal" style="left:391px; top:8px; width:90px; height:19px; ">
  314. <choices>
  315. <itemset nodeset="/root/init/combodata/judgrid/judgridlist">
  316. <label ref="nm"/>
  317. <value ref="cd"/>
  318. </itemset>
  319. </choices>
  320. </select1>
  321. <select1 id="cmb_wardcd" ref="/root/send/wardcd" class="combo_search" disabled="false" appearance="minimal" style="left:564px; top:32px; width:124px; height:19px; ">
  322. <choices>
  323. <itemset nodeset="/root/init/combodata/wardcd/wardcdlist">
  324. <label ref="nm"/>
  325. <value ref="cd"/>
  326. </itemset>
  327. </choices>
  328. </select1>
  329. <select1 id="cmb_orddeptcd" ref="/root/send/orddeptcd" class="combo_search" appearance="minimal" style="left:777px; top:8px; width:120px; height:19px; ">
  330. <script type="javascript" ev:event="xforms-value-changed">
  331. <![CDATA[
  332. ]]>
  333. </script>
  334. <choices>
  335. <itemset nodeset="/root/init/combodata/orddeptcd/orddeptcdlist">
  336. <label ref="nm"/>
  337. <value ref="cd"/>
  338. </itemset>
  339. </choices>
  340. <script type="javascript" ev:event="xforms-select">
  341. <![CDATA[
  342. //진료과에 해당하는 의사만 조회
  343. submit("TRPIZ01804");
  344. ]]>
  345. </script>
  346. </select1>
  347. <select1 id="cmb_orddrid" ref="/root/send/orddrid" class="combo_search" appearance="minimal" style="left:1010px; top:8px; width:90px; height:19px; ">
  348. <script type="javascript" ev:event="xforms-value-changed">
  349. <![CDATA[
  350. ]]>
  351. </script>
  352. <choices>
  353. <itemset nodeset="/root/init/combodata/orddrid/orddridlist">
  354. <label ref="nm"/>
  355. <value ref="cd"/>
  356. </itemset>
  357. </choices>
  358. </select1>
  359. <output id="opt_patnm" ref="/root/send/pnm" class="output_search" style="left:192px; top:32px; width:65px; height:19px; text-align:center; "/>
  360. <button id="btn_srchpid" class="icon_search" style="left:314px; top:32px; width:16px; height:16px; ">
  361. <caption/>
  362. <script type="javascript" ev:event="DOMActivate">
  363. <![CDATA[
  364. var ipt_pid = model.getValue("/root/send/pid");
  365. if (ipt_pid) {
  366. model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
  367. model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid);
  368. }
  369. else {
  370. model.resetInstanceNode("/root/hidden/sppmc02500/cond");
  371. }
  372. modal("SPPMC02500", 1,150, 150, "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send");
  373. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  374. var srch_hngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
  375. var srcn_sex = model.getValue("/root/main/patinfo/patinfolist/sex");
  376. if(srcn_sex=="M") {
  377. srcn_sex = "남";
  378. } else {
  379. srcn_sex = "여";
  380. }
  381. var srcn_age = model.getValue("/root/main/patinfo/patinfolist/age");
  382. if (srch_pid) { // SPPMC02500_환자조회 화면에서 조회한 경우임
  383. model.removeNodeset("/root/main/patinfo/patinfolist"); // patinfolist가 제거됨 (resetInstanceNode의 경우 값은 지우고 노드는 남아있음)
  384. model.makeNode("/root/main/patinfo/patinfolist"); // SPPMC02500_환자조회 팝업을 다시 조회할 경우를 위해 다시 노드를 추가함
  385. model.setValue("/root/send/pid", srch_pid);
  386. model.setValue("/root/send/pnm", srch_hngnm);
  387. model.setValue("/root/send/sexage", srcn_sex + "/" + srcn_age);
  388. }
  389. model.refresh();
  390. ]]>
  391. </script>
  392. </button>
  393. <select id="chk_termflag" ref="/root/send/termflag" overflow="visible" appearance="full" style="left:342px; top:33px; width:130px; height:15px; border-style:none; ">
  394. <choices>
  395. <item>
  396. <label>재원기간 전체</label>
  397. <value>01</value>
  398. </item>
  399. </choices>
  400. </select>
  401. <caption id="caption8" class="search_name" style="left:500px; top:9px; width:112px; height:17px; ">외래입원구분 :</caption>
  402. <select1 id="combo1" ref="/root/send/ioflag" class="combo_search" appearance="minimal" style="left:616px; top:8px; width:72px; height:19px; ">
  403. <choices>
  404. <item>
  405. <label/>
  406. <value/>
  407. </item>
  408. <item>
  409. <label>외래</label>
  410. <value>O</value>
  411. </item>
  412. <item>
  413. <label>입원</label>
  414. <value>I</value>
  415. </item>
  416. </choices>
  417. <script type="javascript" ev:event="xforms-select">
  418. <![CDATA[
  419. if(model.getValue("/root/send/ioflag") == "I") {
  420. cmb_wardcd.disabled = false;
  421. } else {
  422. cmb_wardcd.disabled = true;
  423. }
  424. ]]>
  425. </script>
  426. </select1>
  427. <select1 id="cmb_bloodgb" ref="/root/send/blood" class="combo_search" appearance="minimal" style="left:1010px; top:32px; width:90px; height:19px; ">
  428. <choices>
  429. <itemset nodeset="/root/init/P0470list/P0470">
  430. <label ref="cdnm"/>
  431. <value ref="cdid"/>
  432. </itemset>
  433. </choices>
  434. </select1>
  435. </group>
  436. <line id="line12" class="line_1" style="x1:0px; y1:94px; x2:675px; y2:94px; "/>
  437. <caption id="caption32" class="tit_2" style="left:5px; top:79px; width:105px; height:14px; ">수혈대상자</caption>
  438. <line id="line1" class="line_1" style="x1:690px; y1:94px; x2:1194px; y2:94px; "/>
  439. <caption id="caption6" class="tit_2" style="left:690px; top:79px; width:105px; height:13px; ">SUMMARY</caption>
  440. <line id="line2" class="line_1" style="x1:0px; y1:311px; x2:1194px; y2:311px; "/>
  441. <caption id="caption7" class="tit_2" style="left:5px; top:296px; width:105px; height:13px; ">수혈내역</caption>
  442. <button id="btn_EnvSetup" class="btn2_letter6" visibility="visible" _auth="P" style="left:995px; top:289px; width:86px; height:19px; ">
  443. <caption>상세정보확인</caption>
  444. <script type="javascript" ev:event="DOMActivate">
  445. <![CDATA[
  446. var execdt = grd_blooddetail.valueMatrix(grd_blooddetail.row,grd_blooddetail.colRef("execdt"));
  447. var prcpcd = grd_blooddetail.valueMatrix(grd_blooddetail.row,grd_blooddetail.colRef("prcpcd"));
  448. var node = "/root/main/bloodlist/blooddetail/gridblooddetail";
  449. var getCount = getNodesetCount(node);
  450. var copyrow = 1;
  451. model.removeNodeset("/root/sendtochild");
  452. //수혈개별처방Loop를 돌면서 불출일시와 처방코드가 같은 수혈처방을 골라내 팝업화면으로 보낸다.
  453. for(i=1; i<= getCount; i++) {
  454. var loop_execdt = model.getValue("/root/main/bloodlist/blooddetail/gridblooddetail["+ i +"]/execdt");
  455. var loop_prcpcd = model.getValue("/root/main/bloodlist/blooddetail/gridblooddetail["+ i +"]/prcpcd");
  456. if (execdt == loop_execdt && prcpcd == loop_prcpcd) {
  457. model.makeValue("/root/sendtochild/gridblooddetail["+ copyrow +"]/prcpcd", model.getValue("/root/main/bloodlist/blooddetail/gridblooddetail["+ i +"]/prcpcd"));
  458. model.makeValue("/root/sendtochild/gridblooddetail["+ copyrow +"]/prcpnm", model.getValue("/root/main/bloodlist/blooddetail/gridblooddetail["+ i +"]/prcpnm"));
  459. model.makeValue("/root/sendtochild/gridblooddetail["+ copyrow +"]/blodno", model.getValue("/root/main/bloodlist/blooddetail/gridblooddetail["+ i +"]/blodno"));
  460. model.makeValue("/root/sendtochild/gridblooddetail["+ copyrow +"]/resn", model.getValue("/root/main/bloodlist/blooddetail/gridblooddetail["+ i +"]/resn"));
  461. copyrow++;
  462. }
  463. }
  464. window.load("../../../pam/insucomweb/xrw/SPPIZ01801_수혈상세조회.xrw", "modeless", "pop", "", "/root/sendtochild", "/root/main/blooddetail");
  465. ]]>
  466. </script>
  467. </button>
  468. <button id="button1" class="btn2_letter6" visibility="visible" _auth="P" style="left:907px; top:289px; width:86px; height:19px; ">
  469. <caption>통합결과조회</caption>
  470. <script type="javascript" ev:event="DOMActivate">
  471. <![CDATA[
  472. var patid = model.getValue("/root/sendsummary/pid");
  473. if (patid != "") {
  474. model.makevalue("/root/hidden/smaer00800/cond/srchdate1", model.getValue("/root/sendsummary/orddd"));
  475. model.makevalue("/root/hidden/smaer00800/cond/srchdate2", getCurrentDate());
  476. model.makevalue("/root/hidden/smaer00800/cond/srchpid", model.getValue("/root/sendsummary/pid"));
  477. model.makevalue("/root/hidden/smaer00800/cond/wardcd", "");
  478. model.makevalue("/root/hidden/smaer00800/cond/roomcd", "");
  479. model.makevalue("/root/hidden/smaer00800/cond/listflag", "P");
  480. model.makevalue("/root/hidden/smaer00800/cond/deptcd", model.getValue("/root/sendsummary/orddeptcd"));
  481. model.makevalue("/root/hidden/smaer00800/cond/drid", model.getValue("/root/sendsummary/orddrid"));
  482. model.makevalue("/root/hidden/smaer00800/cond/chkcheck", "");
  483. model.makevalue("/root/hidden/smaer00800/cond/chkcheck1", "A");
  484. model.makevalue("/root/hidden/smaer00800/cond/chkcheck2", "B");
  485. model.makevalue("/root/hidden/smaer00800/cond/chkcheck3", "C");
  486. model.makevalue("/root/hidden/smaer00800/cond/chkcheck4", "D");
  487. model.makevalue("/root/hidden/smaer00800/cond/chkcheck5", "E");
  488. model.makevalue("/root/hidden/smaer00800/cond/chkcheck6", "F");
  489. model.makevalue("/root/hidden/smaer00800/cond/chkcheck7", "G");
  490. model.makevalue("/root/hidden/smaer00800/cond/chkcheck8", "");
  491. model.makevalue("/root/hidden/smaer00800/cond/tabflag", "");
  492. model.makevalue("/root/hidden/smaer00800/cond/mdlcd", "");
  493. model.makevalue("/root/hidden/smaer00800/cond/examgubun", "");
  494. open("SMAER00800" ,"", "10", "10", "SMAER00800", "/root/hidden/smaer00800/cond", "/root/send/data/singdata", "", "");
  495. }
  496. ]]>
  497. </script>
  498. </button>
  499. <datagrid id="grd_bloodpat" nodeset="/root/main/bloodpat/gridbloodpat" class="datagrid2" caption="과^병실^등록번호^환자명^입원일^퇴원일^주상병^외래입원구분^생성번호^진료과^진료의^주부유형" colsep="^" colwidth="90, 60, 80, 80, 90, 90, 153, 100, 100, 100, 100, 100" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:99px; width:675px; height:180px; ">
  500. <col ref="orddeptnm" style="text-align:center; "/>
  501. <col ref="roomcd" style="text-align:center; "/>
  502. <col ref="pid" style="text-align:center; "/>
  503. <col ref="pnm" style="text-align:center; "/>
  504. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  505. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  506. <col ref="diagcd"/>
  507. <col ref="ioflag" visibility="hidden"/>
  508. <col ref="cretno" visibility="hidden"/>
  509. <col ref="orddeptcd" visibility="hidden"/>
  510. <col ref="orddrid" visibility="hidden"/>
  511. <col ref="mskind" visibility="hidden"/>
  512. <script type="javascript" ev:event="onclick">
  513. <![CDATA[
  514. ]]>
  515. </script>
  516. <script type="javascript" ev:event="ondblclick">
  517. <![CDATA[
  518. var cur_row = grd_bloodpat.row;
  519. var pid = grd_bloodpat.textmatrix(cur_row,grd_bloodpat.colRef("pid"));
  520. var pnm = grd_bloodpat.textmatrix(cur_row,grd_bloodpat.colRef("pnm"));
  521. var orddd = grd_bloodpat.textmatrix(cur_row,grd_bloodpat.colRef("indd"));
  522. var cretno = grd_bloodpat.textmatrix(cur_row,grd_bloodpat.colRef("cretno"));
  523. var ioflag = grd_bloodpat.textmatrix(cur_row,grd_bloodpat.colRef("ioflag"));
  524. var mskind = grd_bloodpat.textmatrix(cur_row,grd_bloodpat.colRef("mskind"));
  525. model.setValue("/root/sendsummary/pid", pid);
  526. model.setValue("/root/sendsummary/pnm", pnm);
  527. model.setValue("/root/sendsummary/orddd", orddd);
  528. model.setValue("/root/sendsummary/cretno", cretno);
  529. model.setValue("/root/sendsummary/ioflag", ioflag);
  530. model.setValue("/root/sendsummary/mskind", mskind);
  531. model.setValue("/root/sendsummary/sex", model.getValue("/root/main/bloodpat/gridbloodpat["+ grd_bloodpat.row +"]/sex"));
  532. model.setValue("/root/sendsummary/age", model.getValue("/root/main/bloodpat/gridbloodpat["+ grd_bloodpat.row +"]/age"));
  533. model.setValue("/root/sendsummary/prsnno", model.getValue("/root/main/bloodpat/gridbloodpat["+ grd_bloodpat.row +"]/prsnno"));
  534. model.setValue("/root/sendsummary/fromdd", model.getValue("/root/send/fromdd"));
  535. model.setValue("/root/sendsummary/todd", model.getValue("/root/send/todd"));
  536. model.setValue("/root/sendsummary/labrsltflag", model.getValue("/root/send/labrsltflag"));
  537. model.setValue("/root/sendsummary/termflag", model.getValue("/root/send/termflag"));
  538. model.setValue("/root/sendsummary/bloodgb", model.getValue("/root/send/bloodgb"));
  539. if (submit("TRPIZ01803")) {
  540. //수혈개별처방을 가지고 있는 노드
  541. var node = "/root/main/bloodlist/blooddetail/gridblooddetail";
  542. //노드갯수
  543. var getCount = getNodesetCount(node);
  544. //SUMMARY 그리드 인스턴스 노드의 추가 열
  545. var addRow = 1;
  546. //수혈처방 합산수량 변수
  547. var bloodCnt = 0;
  548. //Loop돌때 이전 처방을 가지고 있는 변수
  549. var pre_prcpcd = ""
  550. model.removeNodeset("/root/main/bloodlist/bloodsummary2/grdbloodsummary2");
  551. //수혈개별처방Loop를 돌면서 처방코드로 수량 합산한다.
  552. for(i=1; i<= getCount; i++) {
  553. var prcpcd = model.getValue("/root/main/bloodlist/blooddetail/gridblooddetail["+ i +"]/prcpcd");
  554. //이전 처방과 다른 처방을 받으면 SUMMARY 그리드 인스턴스에 추가.
  555. if (pre_prcpcd != "" && prcpcd != pre_prcpcd) {
  556. model.makeValue("/root/main/bloodlist/bloodsummary2/grdbloodsummary2["+ addRow +"]/prcpcd", model.getValue("/root/main/bloodlist/blooddetail/gridblooddetail["+ (i-1) +"]/prcpcd"));
  557. model.makeValue("/root/main/bloodlist/bloodsummary2/grdbloodsummary2["+ addRow +"]/prcpnm", model.getValue("/root/main/bloodlist/blooddetail/gridblooddetail["+ (i-1) +"]/prcpnm"));
  558. model.makeValue("/root/main/bloodlist/bloodsummary2/grdbloodsummary2["+ addRow +"]/cnt", bloodCnt);
  559. //변수 초기화
  560. bloodCnt = 0;
  561. //SUMMARY 그리드 다음 인스턴스 추가할 열
  562. addRow++;
  563. }
  564. //수혈처방 수량 카운트
  565. bloodCnt++;
  566. //현재 Loop에서 받은 처방코드 보관. 다음 Loop시 처방코드와 비교용.
  567. pre_prcpcd = prcpcd;
  568. }
  569. //마지막에 계산된 처방은 위의 for loop안에서 처리 못하므로 다 끝나고 SUMMARY 그리드 인스턴스에 추가
  570. model.makeValue("/root/main/bloodlist/bloodsummary2/grdbloodsummary2["+ addRow +"]/prcpcd", model.getValue("/root/main/bloodlist/blooddetail/gridblooddetail["+ (i-1) +"]/prcpcd"));
  571. model.makeValue("/root/main/bloodlist/bloodsummary2/grdbloodsummary2["+ addRow +"]/prcpnm", model.getValue("/root/main/bloodlist/blooddetail/gridblooddetail["+ (i-1) +"]/prcpnm"));
  572. model.makeValue("/root/main/bloodlist/bloodsummary2/grdbloodsummary2["+ addRow +"]/cnt", bloodCnt);
  573. }
  574. model.refresh();
  575. ]]>
  576. </script>
  577. </datagrid>
  578. <button id="button2" class="btn2_letter4" visibility="visible" _auth="P" style="left:841px; top:289px; width:64px; height:19px; ">
  579. <caption>엑셀저장</caption>
  580. <script type="javascript" ev:event="DOMActivate">
  581. <![CDATA[
  582. if (grd_blooddetail.rows > 1) {
  583. var fileName = window.fileDialog("save", "", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  584. // if (fileName != "") {
  585. // grd_blooddetail.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
  586. // }
  587. var pid = model.getValue("/root/main/bloodpat/gridbloodpat["+ grd_bloodpat.row +"]/pid");
  588. var pnm = model.getValue("/root/main/bloodpat/gridbloodpat["+ grd_bloodpat.row +"]/pnm");
  589. var orddeptcd = model.getValue("/root/main/bloodpat/gridbloodpat["+ grd_bloodpat.row +"]/orddeptnm");
  590. var indd = model.getValue("/root/main/bloodpat/gridbloodpat["+ grd_bloodpat.row +"]/indd");
  591. tfexcel.launchnewinstance(0);
  592. tfexcel.createworkbook();
  593. tfexcel.addsheet(1, "수혈내역");
  594. tfexcel.cellvalue(1,1) = pid + " " + pnm + " " + orddeptcd + " " + indd
  595. for(var col=1 ; col <= grd_blooddetail.cols ; col++) {
  596. for( var row=1 ; row <= grd_blooddetail.rows ; row++ ) {
  597. tfexcel.cellvalue(row+1,col) = grd_blooddetail.valuematrix(row-1,col-1);
  598. tfexcel.colwidth(col) = 11;
  599. }
  600. }
  601. // border line
  602. tfexcel.setbordercolor(2,1,grd_blooddetail.rows+1,grd_blooddetail.cols-1,window.rgb(0,0,0));
  603. // 헤더 바탕색 주기
  604. tfexcel.cellbgcolor(2,1,grd_blooddetail.fixedrows+1,grd_blooddetail.cols-1)=window.rgb(192,192,192);
  605. tfexcel.save(fileName);
  606. tfexcel.close();
  607. } else {
  608. messageBox("엑셀저장할 수혈내역이", "I004"); ///엑셀저장할 수혈내역이 없습니다.
  609. }
  610. ]]>
  611. </script>
  612. </button>
  613. <datagrid id="grd_blooddetail" nodeset="/root/main/bloodlist/bloodsummary/gridbloodsummary" caption="불출일시^투여일시^처방코드^처방명칭^수량^Filter^Irr^관련 검사 결과^관련 검사 결과^관련 검사 결과^관련 검사 결과^관련 검사 결과^심사여부^수혈사유확인^비고/출혈양상입력|불출일시^투여일시^처방코드^처방명칭^수량^Filter^Irr^Hb&#xA;(g/dl)^Hct&#xA;(%)^PLT&#xA;^PT&#xA;(%)^PTT&#xA;(sec)^심사여부^수혈사유확인^비고/출혈양상입력|불출일시^투여일시^처방코드^처방명칭^수량^Filter^Irr^Hb&#xA;(g/dl)^Hct&#xA;(%)^PLT&#xA;^PT&#xA;(%)^PTT&#xA;(sec)^심사여부^수혈사유확인^비고/출혈양상입력" colsep="^" colwidth="120, 105, 70, 170, 40, 40, 40, 45, 45, 45, 45, 45, 60, 120, 172" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="free" tooltip="true" style="left:0px; top:316px; width:1195px; height:425px; font-size:10pt; ">
  614. <col ref="execdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  615. <col ref="tnsstrdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  616. <col ref="prcpcd" style="text-align:center; "/>
  617. <col ref="prcpnm"/>
  618. <col ref="cnt" style="text-align:right; "/>
  619. <col ref="filter" type="combo" style="text-align:center; ">
  620. <choices>
  621. <item>
  622. <label/>
  623. <value/>
  624. </item>
  625. <item>
  626. <label>Y</label>
  627. <value>Y</value>
  628. </item>
  629. </choices>
  630. </col>
  631. <col ref="irr" type="combo" style="text-align:center; ">
  632. <choices>
  633. <item>
  634. <label/>
  635. <value/>
  636. </item>
  637. <item>
  638. <label>Y</label>
  639. <value>Y</value>
  640. </item>
  641. </choices>
  642. </col>
  643. <col ref="hb" style="text-align:right; "/>
  644. <col ref="hct" style="text-align:right; "/>
  645. <col ref="plt" style="text-align:right; "/>
  646. <col ref="pt" style="text-align:right; "/>
  647. <col ref="ptt" style="text-align:right; "/>
  648. <col ref="judgeyn" type="combo" style="text-align:center; ">
  649. <choices>
  650. <item>
  651. <label/>
  652. <value>-</value>
  653. </item>
  654. <item>
  655. <label>Y</label>
  656. <value>Y</value>
  657. </item>
  658. </choices>
  659. </col>
  660. <col ref="transresn" type="combo">
  661. <choices>
  662. <itemset nodeset="/root/init/P0479list/P0479">
  663. <label ref="cdnm"/>
  664. <value ref="cdid"/>
  665. </itemset>
  666. </choices>
  667. </col>
  668. <col ref="rem" type="input"/>
  669. <script type="javascript" ev:event="oncopy">
  670. <![CDATA[
  671. // 클립보드의 data 를 얻어온다
  672. var data = window.clipBoardData;
  673. // datagrid 에 선택된 셀을 얻어온다
  674. var selected = grd_blooddetail.selectedCells;
  675. var excelData = "";
  676. var miniCol = selected.item(i).col;
  677. var miniRow = selected.item(i).row;
  678. var maxCol = selected.item(i).col;
  679. var maxRow = selected.item(i).row;
  680. var cell;
  681. // col의 최대 최소 값을 구한다
  682. for(var i=1; i<selected.length; i++) {
  683. cell = selected.item(i);
  684. // 최대 col 겁색
  685. if( cell.col > maxCol ) maxCol = cell.col;
  686. // 최소 col 겁색
  687. if (cell.col < miniCol ) miniCol = cell.col;
  688. // 최대 row 검색
  689. if( cell.row > maxRow ) maxRow = cell.row;
  690. // 최소 row 검색
  691. if (cell.row < miniRow ) miniRow = cell.row;
  692. }
  693. // cell Data 를 클립보드에 excel 형태로 집어넣음
  694. for(var k=miniRow; k<=maxRow; k++) {
  695. for(var j=miniCol; j<=maxCol; j++) {
  696. var data = grd_blooddetail.valueMatrix(k,j);
  697. excelData += data;
  698. if( j != maxCol)
  699. excelData += "\t";
  700. }
  701. if( k != maxRow)
  702. excelData += "\n";
  703. }
  704. // 클립보드 데이터 변경
  705. window.clipBoardData = excelData;
  706. ]]>
  707. </script>
  708. <script type="javascript" ev:event="onpaste">
  709. <![CDATA[
  710. // 선택된 Cell을 얻어온다.
  711. var cells = grd_blooddetail.selectedCells;
  712. // 클립보드의 data를 얻어온다.
  713. var data = window.clipBoardData;
  714. var gridrow = grd_blooddetail.row;
  715. var gridcol = grd_blooddetail.col;
  716. var oldrow = gridrow;
  717. var oldcol = gridcol;
  718. if(cells.length == 1) {
  719. // 엔터 구분자를 기분으로 클립보드에 있던 데이터를 쪼갠다.
  720. var row = data.split("\r\n");
  721. for(i=0; i<row.length; i++)
  722. {
  723. gridcol = oldcol;
  724. var col = row[i].split("\t");
  725. for(j=0; j<col.length; j++)
  726. {
  727. if(col[j] != "")
  728. {
  729. grd_blooddetail.valuematrix(gridrow, gridcol) = col[j];
  730. }
  731. gridcol++;
  732. }
  733. grd_blooddetail.rowstatus(gridrow) = 2;
  734. gridrow++;
  735. }
  736. } else {
  737. // 엔터 구분자를 기분으로 클립보드에 있던 데이터를 쪼갠다.
  738. var row = data.split("\r\n");
  739. // column 단위로 데이터를 쪼갠다. 복사는 한줄만 가능하다.
  740. var col = row[0].split("\t");
  741. var cell;
  742. var miniCol = cells.item(i).col;
  743. var miniRow = cells.item(i).row;
  744. var maxCol = cells.item(i).col;
  745. var maxRow = cells.item(i).row;
  746. // col의 최대 최소 값을 구한다
  747. for(var i=1; i<cells.length; i++) {
  748. cell = cells.item(i);
  749. // 최대 col 겁색
  750. if( cell.col > maxCol ) maxCol = cell.col;
  751. // 최소 col 겁색
  752. if (cell.col < miniCol ) miniCol = cell.col;
  753. // 최대 row 검색
  754. if( cell.row > maxRow ) maxRow = cell.row;
  755. // 최소 row 검색
  756. if (cell.row < miniRow ) miniRow = cell.row;
  757. }
  758. // 선택된 Cell 갯수만큼 Loop 돈다.
  759. for(var k=0;k<cells.length;k++) {
  760. // Paste는 row단위로 이루어지므로 row가 바뀔때만 처리하도록 한다.
  761. if(k==0 || oldrow != cells.item(k).row) {
  762. gridcol = miniCol
  763. for(j=0; j<col.length; j++)
  764. {
  765. grd_blooddetail.valuematrix(cells.item(k).row, gridcol) = col[j];
  766. gridcol++;
  767. }
  768. grd_blooddetail.rowstatus(cells.item(k).row) = 2;
  769. oldrow = cells.item(k).row
  770. }
  771. }
  772. }
  773. ]]>
  774. </script>
  775. </datagrid>
  776. <button id="btn_save" class="btn5_letter3" disabled="false" style="left:1138px; top:289px; width:53px; height:19px; ">
  777. <caption>저 장</caption>
  778. <script type="javascript" ev:event="DOMActivate">
  779. <![CDATA[
  780. var row = grd_bloodpat.row;
  781. var insert_row = 1;
  782. //수혈내역Loop
  783. for(var i = 1; i < grd_blooddetail.rows; i++) {
  784. var rowstatus = grd_blooddetail.rowstatus(grd_blooddetail.fixedRows+(i-1));
  785. //rowstatus = "수정"
  786. if(rowstatus == 2) {
  787. var execdt = grd_blooddetail.valueMatrix(grd_blooddetail.fixedRows+(i-1),grd_blooddetail.colRef("execdt"));
  788. var prcpcd = grd_blooddetail.valueMatrix(grd_blooddetail.fixedRows+(i-1),grd_blooddetail.colRef("prcpcd"));
  789. //수혈개별처방node
  790. var node = "/root/main/bloodlist/blooddetail/gridblooddetail";
  791. var getCount = getNodesetCount(node);
  792. //수혈개별처방Loop돌면서 불출일시와 처방코드가 같은 처방 골라낸다.
  793. for(j=1; j<= getCount; j++) {
  794. var loop_execdt = model.getValue("/root/main/bloodlist/blooddetail/gridblooddetail["+ j +"]/execdt");
  795. var loop_prcpcd = model.getValue("/root/main/bloodlist/blooddetail/gridblooddetail["+ j +"]/prcpcd");
  796. if (execdt == loop_execdt && prcpcd == loop_prcpcd) {
  797. //수혈대상자의 pid
  798. model.makeValue("/root/senditem/list["+ insert_row +"]/pid", model.getValue("/root/main/bloodpat/gridbloodpat["+ row +"]/pid"));
  799. //수혈개별처방의 혈액번호,혈액바코드번호
  800. model.makeValue("/root/senditem/list["+ insert_row +"]/blodno", model.getValue("/root/main/bloodlist/blooddetail/gridblooddetail["+ j +"]/blodno"));
  801. model.makeValue("/root/senditem/list["+ insert_row +"]/blodbarcd", model.getValue("/root/main/bloodlist/blooddetail/gridblooddetail["+ j +"]/blodbarcd"));
  802. //수혈내역
  803. model.makeValue("/root/senditem/list["+ insert_row +"]/execdt", model.getValue("/root/main/bloodlist/bloodsummary/gridbloodsummary["+ i +"]/execdt"));
  804. model.makeValue("/root/senditem/list["+ insert_row +"]/prcpcd", model.getValue("/root/main/bloodlist/bloodsummary/gridbloodsummary["+ i +"]/prcpcd"));
  805. model.makeValue("/root/senditem/list["+ insert_row +"]/prcpnm", model.getValue("/root/main/bloodlist/bloodsummary/gridbloodsummary["+ i +"]/prcpnm"));
  806. model.makeValue("/root/senditem/list["+ insert_row +"]/judgeyn", model.getValue("/root/main/bloodlist/bloodsummary/gridbloodsummary["+ i +"]/judgeyn"));
  807. model.makeValue("/root/senditem/list["+ insert_row +"]/transresn", model.getValue("/root/main/bloodlist/bloodsummary/gridbloodsummary["+ i +"]/transresn"));
  808. model.makeValue("/root/senditem/list["+ insert_row +"]/rem", model.getValue("/root/main/bloodlist/bloodsummary/gridbloodsummary["+ i +"]/rem"));
  809. insert_row++;
  810. }
  811. }
  812. }
  813. }
  814. if(submit("TXPIZ01803")) {
  815. submit("TRPIZ01803");
  816. }
  817. ]]>
  818. </script>
  819. </button>
  820. <select id="checkbox1" ref="/root/send/labrsltflag" overflow="visible" appearance="full" style="left:765px; top:291px; width:73px; height:15px; border-style:none; ">
  821. <choices>
  822. <item>
  823. <label>결과조회</label>
  824. <value>01</value>
  825. </item>
  826. </choices>
  827. <script type="javascript" ev:event="xforms-value-changed">
  828. <![CDATA[
  829. grd_bloodpat.dispatch("ondblclick");
  830. ]]>
  831. </script>
  832. </select>
  833. <datagrid id="grd_summary" nodeset="/root/main/bloodlist/bloodsummary2/grdbloodsummary2" class="datagrid2" caption="처방코드^처방명칭^수량 소계" colsep="^" colwidth="110, 300, 70" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:690px; top:99px; width:504px; height:180px; ">
  834. <col ref="prcpcd" style="text-align:center; "/>
  835. <col ref="prcpnm"/>
  836. <col ref="cnt" style="text-align:center; "/>
  837. </datagrid>
  838. <button id="button3" class="btn2_letter3" visibility="visible" _auth="P" style="left:1083px; top:289px; width:53px; height:19px; ">
  839. <caption>출 력</caption>
  840. <script type="javascript" ev:event="DOMActivate">
  841. <![CDATA[
  842. exeReportPreview("RPPIZ01801", "XMLSTR", "","", "false","","","","","false");
  843. ]]>
  844. </script>
  845. </button>
  846. </group>
  847. </xhtml:body>
  848. </xhtml:html>