SMLLP02400_채혈접수취소내역조회.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : 채혈접수취소내역조회.xrw
  4. * 설 명 : 채혈접수취소내역조회
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 유은자
  7. * 작 성 일 : 2010.01.18
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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 xmlns="">
  18. <main>
  19. <queryinfo>
  20. <cncldt/>
  21. <cnclid/>
  22. <bcolldt/>
  23. <bcollid/>
  24. <spcacptdt/>
  25. <spcacptid/>
  26. <pid/>
  27. <patnm/>
  28. <sexage/>
  29. <orddrnm/>
  30. <orddeptnm/>
  31. <wardroom/>
  32. <prcpdd/>
  33. <bcno/>
  34. <tclsnm/>
  35. <tclscd/>
  36. <cnclkind/>
  37. <cnclcd/>
  38. <cnclcnts/>
  39. <usernm/>
  40. </queryinfo>
  41. <stainfo>
  42. <cnclcd/>
  43. <cnclcnts/>
  44. <cnt00/>
  45. <cnt01/>
  46. <cnt02/>
  47. <cnt03/>
  48. <cnt04/>
  49. <cnt05/>
  50. <cnt06/>
  51. <cnt07/>
  52. <cnt08/>
  53. <cnt09/>
  54. <cnt10/>
  55. <cnt11/>
  56. <cnt12/>
  57. </stainfo>
  58. </main>
  59. <send>
  60. <cncldts/>
  61. <cncldte/>
  62. <cnclkind/>
  63. <testlrgcd/>
  64. <testmdlcd/>
  65. <codeflag/>
  66. <userdeptflagcd/>
  67. <code/>
  68. <select/>
  69. <prcpgenrflag/>
  70. </send>
  71. <init>
  72. </init>
  73. <hidden>
  74. <forminfo>
  75. <cncldts/>
  76. <cncldte/>
  77. <cnclkind>00</cnclkind>
  78. <testgbn>1</testgbn>
  79. <testlrgcd>00</testlrgcd>
  80. <testmdlcd>00</testmdlcd>
  81. <prcpgenrflag>00</prcpgenrflag>
  82. </forminfo>
  83. <code>1</code>
  84. <select/>
  85. </hidden>
  86. </root>
  87. </instance>
  88. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  91. <script type="javascript" ev:event="xforms-ready">
  92. <![CDATA[
  93. fnSetInit();
  94. ]]>
  95. </script>
  96. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
  97. <submission id="TRLLP02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/queryinfo"/>
  98. <submission id="TRLLP02402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/stainfo"/>
  99. </model>
  100. <script type="javascript">
  101. <![CDATA[
  102. //초기화
  103. function fnSetInit(){
  104. var toDay = getCurrentDate();
  105. model.setValue("/root/hidden/forminfo/cncldts", toDay);
  106. model.setValue("/root/hidden/forminfo/cncldte", toDay);
  107. // 초기정보 조회
  108. //model.setValue("/root/send/codeflag", "0102|0104|0000|"); //0106 시행부서
  109. model.setValue("/root/send/codeflag", "0111|0106|0000|"); //0106 시행부서
  110. submit("TRLZZ00101");
  111. model.removeNodeset("/root/main/queryinfo");
  112. model.removeNodeset("/root/main/stainfo");
  113. model.removeNodeset("/root/hidden/report");
  114. model.refresh();
  115. }
  116. //채혈/접수 취소내역
  117. function fnGetCancelList(){
  118. model.removeNodeset("/root/main/queryinfo");
  119. model.setValue("/root/send/cncldts", model.getValue("/root/hidden/forminfo/cncldts")); // 취소시작일
  120. model.setValue("/root/send/cncldte", model.getValue("/root/hidden/forminfo/cncldte")); // 취소종료일
  121. model.setValue("/root/send/cnclkind", model.getValue("/root/hidden/forminfo/cnclkind")); // 취소구분
  122. model.setValue("/root/send/testlrgcd", model.getValue("/root/hidden/forminfo/testlrgcd"));
  123. model.setValue("/root/send/testmdlcd", model.getValue("/root/hidden/forminfo/testmdlcd"));
  124. model.setValue("/root/send/prcpgenrflag", model.getValue("/root/hidden/forminfo/prcpgenrflag"));
  125. model.setValue("/root/send/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
  126. model.makeValue("/root/send/testgbn", model.getValue("/root/hidden/forminfo/testgbn"));
  127. model.makeValue("/root/send/code", model.getValue("/root/hidden/code"));
  128. model.makeValue("/root/send/select", model.getValue("/root/hidden/select"));
  129. submit("TRLLP02401");
  130. submit("TRLLP02402");
  131. }
  132. //출력
  133. function fnRexpertPrint() {
  134. //model.makeNode("/root/hidden/report");
  135. //for(i=1; i<grd_incgspc.rows; i++ ){
  136. // if(model.getValue("/root/main/getinsgspc["+i+"]/choi")=="Y"){
  137. // //model.removeNodeset("/root/main/getinsgspc["+i+"]");
  138. // copyNodeListType("/root/hidden/report", "/root/main/getinsgspc["+i+"]", "arter");
  139. // }
  140. //}
  141. //exeReportPreview("RPLLP00100", "XMLSTR", "/root/hidden/report");
  142. }
  143. function fnDisplay_TestInfo(){
  144. if(model.getValue("/root/hidden/forminfo/testgbn") == "1"){
  145. cmb_testlrg.visible = true;
  146. cmb_testmdl.visible = false;
  147. }
  148. else{
  149. cmb_testlrg.visible = false;
  150. cmb_testmdl.visible = true;
  151. }
  152. model.setValue("/root/hidden/forminfo/testlrgcd", "0");
  153. model.setValue("/root/hidden/forminfo/testmdlcd", "00");
  154. model.refresh();
  155. }
  156. function fnExeExcel(pGridId) {
  157. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  158. if (fileName != "")
  159. {
  160. pGridId.saveExcel(fileName);
  161. }
  162. }
  163. ]]>
  164. </script>
  165. </xhtml:head>
  166. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  167. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  168. <group id="group1" style="left:0px; top:0px; width:1192px; height:60px; ">
  169. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1189px; height:60px; "/>
  170. <line id="line3" class="line_4" style="x1:1100px; y1:6px; x2:1100px; y2:53px; "/>
  171. <button id="btn_search" class="btn1_letter2" style="left:1113px; top:7px; width:56px; height:22px; ">
  172. <caption>조회</caption>
  173. <script type="javascript" ev:event="DOMActivate">
  174. <![CDATA[
  175. fnGetCancelList();
  176. ]]>
  177. </script>
  178. </button>
  179. <caption id="caption3" class="search_no_b" style="left:197px; top:6px; width:15px; height:17px; ">~</caption>
  180. <input id="ipt_cncldts" ref="/root/hidden/forminfo/cncldts" class="input_search" inputtype="date" style="left:103px; top:6px; width:90px; height:19px; "/>
  181. <input id="ipt_cncldte" ref="/root/hidden/forminfo/cncldte" class="input_search" inputtype="date" style="left:215px; top:6px; width:90px; height:19px; "/>
  182. <caption id="cap_rgstdd" class="search_name" style="left:10px; top:6px; width:90px; height:17px; ">취소일자 :</caption>
  183. <caption id="caption1" class="search_name" style="left:720px; top:6px; width:86px; height:17px; ">시행부서 :</caption>
  184. <select1 id="cmb_testgbn" ref="/root/hidden/forminfo/testgbn" appearance="minimal" style="left:810px; top:6px; width:85px; height:19px; font-weight:normal; ">
  185. <choices>
  186. <item>
  187. <label>대분류</label>
  188. <value>1</value>
  189. </item>
  190. <item>
  191. <label>중분류</label>
  192. <value>2</value>
  193. </item>
  194. </choices>
  195. <script type="javascript" ev:event="xforms-value-changed">
  196. <![CDATA[
  197. fnDisplay_TestInfo();
  198. ]]>
  199. </script>
  200. </select1>
  201. <select1 id="cmb_testmdl" ref="/root/hidden/forminfo/testmdlcd" visibility="hidden" appearance="minimal" style="left:897px; top:6px; width:125px; height:19px; font-weight:normal; ">
  202. <choices>
  203. <itemset nodeset="/root/init/LB0106">
  204. <label ref="nm"/>
  205. <value ref="cd"/>
  206. </itemset>
  207. </choices>
  208. </select1>
  209. <select1 id="cmb_testlrg" ref="/root/hidden/forminfo/testlrgcd" appearance="minimal" style="left:897px; top:6px; width:125px; height:19px; font-weight:normal; ">
  210. <choices>
  211. <itemset nodeset="/root/init/LB0111">
  212. <label ref="nm"/>
  213. <value ref="cd"/>
  214. </itemset>
  215. </choices>
  216. </select1>
  217. <caption id="caption2" class="search_name" style="left:425px; top:6px; width:86px; height:17px; ">처리구분 :</caption>
  218. <select1 id="cmb_cnclkind" ref="/root/hidden/forminfo/cnclkind" appearance="minimal" style="left:515px; top:6px; width:105px; height:19px; font-weight:normal; ">
  219. <choices>
  220. <item>
  221. <label>전체</label>
  222. <value>00</value>
  223. </item>
  224. <item>
  225. <label>채혈취소</label>
  226. <value>01</value>
  227. </item>
  228. <item>
  229. <label>접수취소</label>
  230. <value>02</value>
  231. </item>
  232. <item>
  233. <label>채혈접수취소</label>
  234. <value>03</value>
  235. </item>
  236. <item>
  237. <label>검사취소</label>
  238. <value>04</value>
  239. </item>
  240. <item>
  241. <label>POCT취소</label>
  242. <value>05</value>
  243. </item>
  244. </choices>
  245. </select1>
  246. <caption id="caption7" class="search_name" style="left:720px; top:30px; width:86px; height:17px; ">조회구분 :</caption>
  247. <select1 id="combo1" ref="/root/hidden/code" appearance="minimal" style="left:810px; top:30px; width:85px; height:19px; ">
  248. <choices>
  249. <item>
  250. <label>환자번호</label>
  251. <value>1</value>
  252. </item>
  253. <item>
  254. <label>바코드번호</label>
  255. <value>2</value>
  256. </item>
  257. </choices>
  258. </select1>
  259. <input id="input1" ref="/root/hidden/select" style="left:897px; top:30px; width:105px; height:19px; ">
  260. <script type="javascript" ev:event="onkeyup">
  261. <![CDATA[
  262. if(event.keyCode == "13"){
  263. model.setvalue("/root/hidden/select",input1.currentText);
  264. model.refresh();
  265. fnGetCancelList();
  266. }
  267. ]]>
  268. </script>
  269. </input>
  270. <caption id="caption8" class="search_name" style="left:425px; top:30px; width:86px; height:17px; ">처방구분 :</caption>
  271. <select1 id="combo2" ref="/root/hidden/forminfo/prcpgenrflag" appearance="minimal" style="left:515px; top:30px; width:105px; height:19px; font-weight:normal; ">
  272. <choices>
  273. <item>
  274. <label>전체</label>
  275. <value>00</value>
  276. </item>
  277. <item>
  278. <label>외래</label>
  279. <value>O</value>
  280. </item>
  281. <item>
  282. <label>건진</label>
  283. <value>S</value>
  284. </item>
  285. <item>
  286. <label>입원</label>
  287. <value>I</value>
  288. </item>
  289. <item>
  290. <label>응급</label>
  291. <value>E</value>
  292. </item>
  293. <item>
  294. <label>DSC</label>
  295. <value>D</value>
  296. </item>
  297. </choices>
  298. </select1>
  299. </group>
  300. <caption id="caption4" class="tit_2" style="left:10px; top:66px; width:150px; height:13px; ">채혈/접수 취소내역</caption>
  301. <line id="line1" class="line_1" style="x1:5px; y1:81px; x2:1193px; y2:81px; "/>
  302. <datagrid id="grd_cncllist" nodeset="/root/main/queryinfo" caption="취소일시^취소자^채혈일시^채혈자^접수일시^접수자^등록번호^성명^성별/나이^의뢰의사^진료과^병동/병실^처방일시^바코드번호^검사명^처리구분^취소사유^피통보자" colsep="^" colwidth="110, 50, 110, 50, 110, 50, 76, 60, 60, 60, 56, 120, 80, 76, 120, 70, 200, 70" dataheight="23" explorerbar="sortshow" fixedcols="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:5px; top:86px; width:1188px; height:395px; ">
  303. <col ref="cncldt" format="yyyy-mm-dd hh:mm"/>
  304. <col ref="cnclid"/>
  305. <col ref="bcolldt" format="yyyy-mm-dd hh:mm"/>
  306. <col ref="bcollid"/>
  307. <col ref="spcacptdt" format="yyyy-mm-dd hh:mm"/>
  308. <col ref="spcacptid"/>
  309. <col ref="pid"/>
  310. <col ref="patnm"/>
  311. <col ref="sexage"/>
  312. <col ref="orddrnm"/>
  313. <col ref="orddeptnm"/>
  314. <col ref="wardroom"/>
  315. <col ref="prcpdd" format="yyyy-mm-dd hh:mm"/>
  316. <col ref="bcno" type="input"/>
  317. <col ref="tclsnm"/>
  318. <col ref="cnclkind"/>
  319. <col ref="cnclcnts"/>
  320. <col ref="usernm"/>
  321. <script type="javascript" ev:event="onaftersort">
  322. <![CDATA[
  323. grd_cncllist.gridToInstance();
  324. ]]>
  325. </script>
  326. </datagrid>
  327. <button id="button2" class="btn2_letter2" style="left:1150px; top:61px; width:42px; height:19px; ">
  328. <caption>엑셀</caption>
  329. <script type="javascript" ev:event="DOMActivate">
  330. <![CDATA[
  331. fnExeExcel(grd_cncllist);
  332. ]]>
  333. </script>
  334. </button>
  335. <datagrid id="grd_stainfo" nodeset="/root/main/stainfo" caption="사유내용^코드^전체^1월^2월^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월" colsep="^" colwidth="230, 45, 80, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65" dataheight="23" fixedcols="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:510px; width:1188px; height:233px; text-align:center; ">
  336. <col ref="cnclcnts" style="text-align:left; "/>
  337. <col ref="cnclcd"/>
  338. <col ref="cnt00"/>
  339. <col ref="cnt01"/>
  340. <col ref="cnt02"/>
  341. <col ref="cnt03"/>
  342. <col ref="cnt04"/>
  343. <col ref="cnt05"/>
  344. <col ref="cnt06"/>
  345. <col ref="cnt07"/>
  346. <col ref="cnt08"/>
  347. <col ref="cnt09"/>
  348. <col ref="cnt10"/>
  349. <col ref="cnt11"/>
  350. <col ref="cnt12"/>
  351. </datagrid>
  352. <caption id="caption5" class="tit_2" style="left:5px; top:488px; width:150px; height:13px; ">채혈/접수 취소건수 조회</caption>
  353. <line id="line2" class="line_1" style="x1:5px; y1:505px; x2:1193px; y2:505px; "/>
  354. <button id="btn_ExcelSta" class="btn2_letter2" style="left:1150px; top:485px; width:42px; height:19px; ">
  355. <caption>엑셀</caption>
  356. <script type="javascript" ev:event="DOMActivate">
  357. <![CDATA[
  358. fnExeExcel(grd_stainfo);
  359. ]]>
  360. </script>
  361. </button>
  362. </group>
  363. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  364. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1190px; y2:25px; "/>
  365. <button id="btn_clear" class="btn4_letter3" style="left:1121px; top:3px; width:68px; height:22px; ">
  366. <caption>초기화</caption>
  367. <script type="javascript" ev:event="DOMActivate">
  368. <![CDATA[
  369. fnSetInit();
  370. ]]>
  371. </script>
  372. </button>
  373. </group>
  374. <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
  375. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">채혈/접수 취소내역 조회</caption>
  376. </group>
  377. </xhtml:body>
  378. </xhtml:html>