SPMNW15200_검사실전달사항 처방조회 팝업.xrw 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>검사 처방 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <multicheck/>
  12. </cond>
  13. </main>
  14. <send>
  15. <req/>
  16. <save/>
  17. </send>
  18. <tmp>
  19. <examtrnslist/>
  20. </tmp>
  21. </root>
  22. </instance>
  23. <submission id="TRMNW15200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/examprcpinfo"/>
  24. </model>
  25. </xhtml:head>
  26. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  27. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  28. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  29. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  30. <script type="javascript" ev:event="xforms-ready">
  31. <![CDATA[
  32. if(checkOpener() ) {
  33. pid = opener.javascript.getParameter("SMMNW15100_PARAM1");
  34. model.makeValue("/root/send/req/pid" ,pid);
  35. submit("TRMNW15200");
  36. model.refresh();
  37. }
  38. ]]>
  39. </script>
  40. <xhtml:body overflow="hidden" pagewidth="900" pageheight="450" style="font-family:굴림; margin:8; ">
  41. <button id="btn_cancel" class="btn4_letter2" style="left:820px; top:405px; width:56px; height:22px; font-family:굴림; ">
  42. <caption>확인</caption>
  43. <script type="javascript" ev:event="DOMActivate">
  44. <![CDATA[
  45. var cnt = 0;
  46. var chkyn = "";
  47. for(var i=grd_examprcplist.fixedRows; i < grd_examprcplist.rows; i++) {
  48. chkyn = grd_examprcplist.valueMatrix(i, grd_examprcplist.colRef("check"));
  49. if(chkyn == "true") {
  50. if(cnt == 0) {
  51. copyNodesetType("/root/tmp/examtrnslist", grd_examprcplist.nodeset + "[" + i + "]");
  52. cnt++;
  53. } else {
  54. copyNodesetType("/root/tmp/examtrnslist", grd_examprcplist.nodeset + "[" + i + "]", "after");
  55. }
  56. }
  57. }
  58. if(cnt == 0){
  59. messageBox("선택된 내역이 없습니다.", "I");
  60. return;
  61. }else if(cnt != 0){
  62. model.copyNode(opener.root.tmp, root.tmp);
  63. }
  64. model.removeNodeset("/root/tmp");
  65. window.close();
  66. ]]>
  67. </script>
  68. </button>
  69. <caption id="caption21" class="tit_2" style="left:0px; top:13px; width:211px; height:14px; font-family:굴림; ">검사 처방 조회</caption>
  70. <line id="line16" class="line_1" style="x1:5px; y1:30px; x2:878px; y2:29px; font-family:굴림; "/>
  71. <line id="line2" class="line_3" style="x1:5px; y1:431px; x2:880px; y2:431px; font-family:굴림; "/>
  72. <datagrid id="grd_examprcplist" nodeset="/root/main/examprcpinfo/examprcplist" class="datagrid2" autoresize="true" caption="^등록번호^병동^병실^환자명^S/A^예약일자^검사실^처방명^처방전달사항^실시일자^지원부서" colsep="^" colwidth="25, 55, 56, 57, 71, 39, 101, 97, 133, 130, 66, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sort" frozencols="6" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:33px; width:875px; height:367px; font-family:굴림; ">
  73. <col ref="check" type="checkbox" style="font-family:굴림; text-align:center; "/>
  74. <col ref="pid" style="font-family:굴림; text-align:center; "/>
  75. <col ref="wardnm" style="left:86px; top:23px; width:71px; height:23px; font-family:굴림; "/>
  76. <col ref="roomcd" style="font-family:굴림; "/>
  77. <col ref="patnm" style="font-family:굴림; "/>
  78. <col ref="sexage" style="font-family:굴림; text-align:center; "/>
  79. <col ref="rsrvdt" format="yyyy-mm-dd hh:nn" style="font-family:굴림; text-align:center; "/>
  80. <col ref="examroom" style="font-family:굴림; "/>
  81. <col ref="prcpnm" style="font-family:굴림; "/>
  82. <col ref="prcpdelivefact" style="font-family:굴림; "/>
  83. <col ref="execdd" format="yyyy-mm-dd" style="font-family:굴림; "/>
  84. <col ref="prcpexecdeptnm" style="font-family:굴림; "/>
  85. <col ref="instcd" visibility="hidden" style="font-family:굴림; "/>
  86. <col ref="indd" visibility="hidden" style="font-family:굴림; "/>
  87. <col ref="cretno" visibility="hidden" style="font-family:굴림; "/>
  88. <col ref="prcpdd" visibility="hidden" style="font-family:굴림; "/>
  89. <col ref="prcpno" visibility="hidden" style="font-family:굴림; "/>
  90. <col ref="prcphistno" visibility="hidden" style="font-family:굴림; "/>
  91. <col ref="prcpclscd" visibility="hidden" style="font-family:굴림; "/>
  92. <col ref="rsrvdd" visibility="hidden" style="font-family:굴림; "/>
  93. <col ref="rsrvtm" visibility="hidden" style="font-family:굴림; "/>
  94. <col ref="sex" visibility="hidden" style="font-family:굴림; "/>
  95. <col ref="age" visibility="hidden" style="font-family:굴림; "/>
  96. <col ref="brthdd" visibility="hidden" style="font-family:굴림; "/>
  97. <col ref="wardcd" visibility="hidden" style="font-family:굴림; "/>
  98. <col ref="prcpexecdeptcd" visibility="hidden" style="font-family:굴림; "/>
  99. <script type="javascript" ev:event="onaftersort">
  100. <![CDATA[
  101. grd_examprcplist.gridToInstance();
  102. ]]>
  103. </script>
  104. </datagrid>
  105. <bool id="bool1" navindex="19" ref="/root/main/cond/multicheck" style="left:9px; top:36px; width:20px; height:20px; ">
  106. <script type="javascript" ev:event="xforms-value-changed">
  107. <![CDATA[
  108. var multicheck = model.getValue("/root/main/cond/multicheck");
  109. var xCertCpapListPath = "/root/main/examprcpinfo/examprcplist";
  110. var nodeCnt = getNodesetCount(xCertCpapListPath);
  111. for(var i = 1; i <= nodeCnt; i++){
  112. if(multicheck == "true"){
  113. model.setValue(xCertCpapListPath + "[" + i + "]/check", "true");
  114. }else{
  115. model.setValue(xCertCpapListPath + "[" + i + "]/check", "false");
  116. }
  117. }
  118. ]]>
  119. </script>
  120. </bool>
  121. <button id="button1" class="btn4_letter2" style="left:760px; top:405px; width:56px; height:22px; font-family:굴림; ">
  122. <caption>닫기</caption>
  123. <script type="javascript" ev:event="onclick">
  124. <![CDATA[
  125. window.close();
  126. ]]>
  127. </script>
  128. </button>
  129. </xhtml:body>
  130. </xhtml:html>