SPMNW14520_소아IV호출 내역 조회 팝업.xrw 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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>소아IV 호출 내역 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <multicheck/>
  12. <calldd/>
  13. </cond>
  14. </main>
  15. <send>
  16. <reqdata/>
  17. </send>
  18. <tmp>
  19. <ivreclist/>
  20. </tmp>
  21. </root>
  22. </instance>
  23. <submission id="TRMNW14523" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/ivrecinfo"/>
  24. </model>
  25. </xhtml:head>
  26. <script type="javascript">
  27. <![CDATA[
  28. function fSearch() {
  29. model.removeNodeset("/root/main/ivrecinfo/ivreclist");
  30. model.copyNode("/root/send/reqdata", "/root/main/cond");
  31. submit("TRMNW14523");
  32. }
  33. ]]>
  34. </script>
  35. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  36. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. if(checkOpener() ) {
  42. calldd = opener.javascript.getParameter("SMMNW14520_PARAM1");
  43. model.setValue("/root/main/cond/calldd", calldd);
  44. model.refresh();
  45. fSearch() ;
  46. }
  47. ]]>
  48. </script>
  49. <xhtml:body overflow="hidden" pagewidth="660" pageheight="425" style="font-family:굴림; margin:8; ">
  50. <button id="btn_cancel" class="btn4_letter2" style="left:588px; top:400px; width:56px; height:22px; font-family:굴림; ">
  51. <caption>확인</caption>
  52. <script type="javascript" ev:event="DOMActivate">
  53. <![CDATA[
  54. var cnt = 0;
  55. var chkyn = "";
  56. for(var i=grd_ivreclist.fixedRows; i < grd_ivreclist.rows; i++) {
  57. chkyn = grd_ivreclist.valueMatrix(i, grd_ivreclist.colRef("check"));
  58. if(chkyn == "true") {
  59. if(cnt == 0) {
  60. copyNodesetType("/root/tmp/ivreclist", grd_ivreclist.nodeset + "[" + i + "]");
  61. cnt++;
  62. } else {
  63. copyNodesetType("/root/tmp/ivreclist", grd_ivreclist.nodeset + "[" + i + "]", "after");
  64. }
  65. }
  66. }
  67. if(cnt == 0){
  68. messageBox("선택된 내역이 없습니다.", "I");
  69. return;
  70. }else if(cnt != 0){
  71. model.copyNode(opener.root.tmp, root.tmp);
  72. }
  73. model.removeNodeset("/root/tmp");
  74. window.close();
  75. ]]>
  76. </script>
  77. </button>
  78. <caption id="caption21" class="tit_2" style="left:0px; top:8px; width:211px; height:13px; font-family:굴림; ">소아IV호출 내역 조회</caption>
  79. <datagrid id="grd_ivreclist" nodeset="/root/main/ivrecinfo/ivreclist" class="datagrid2" autoresize="true" caption="^상태^성명^S/A^등록번호^진료과^부서^IV목적^호출IV팀^진료과코드^부서&#xA;코드^IV목적&#xA;코드^시행자&#xA;사번" colsep="^" colwidth="25, 40, 70, 45, 60, 135, 135, 50, 60, 40, 40, 50, 40" explorerbar="sort" frozencols="6" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:28px; width:643px; height:367px; font-family:굴림; ">
  80. <col ref="check" type="checkbox" style="font-family:굴림; text-align:center; "/>
  81. <col ref="acptflag" style="text-align:center; "/>
  82. <col ref="hngnm"/>
  83. <col ref="sexage" style="left:86px; top:23px; width:71px; height:23px; font-family:굴림; text-align:center; "/>
  84. <col ref="pid" style="font-family:굴림; text-align:center; "/>
  85. <col ref="orddeptnm"/>
  86. <col ref="deptnm"/>
  87. <col ref="ivnm" style="font-family:굴림; text-align:center; "/>
  88. <col ref="ivusernm" style="font-family:굴림; text-align:center; "/>
  89. <col ref="orddeptcd" visibility="hidden"/>
  90. <col ref="deptcd" visibility="hidden"/>
  91. <col ref="ivcd" visibility="hidden"/>
  92. <col ref="ivuserid" visibility="hidden"/>
  93. <script type="javascript" ev:event="onaftersort">
  94. <![CDATA[
  95. grd_ivreclist.gridToInstance();
  96. ]]>
  97. </script>
  98. </datagrid>
  99. <bool id="bool1" navindex="19" ref="/root/main/cond/multicheck" style="left:4px; top:36px; width:20px; height:20px; ">
  100. <script type="javascript" ev:event="xforms-value-changed">
  101. <![CDATA[
  102. var multicheck = model.getValue("/root/main/cond/multicheck");
  103. var xIvRecListPath = "/root/main/ivrecinfo/ivreclist";
  104. var nodeCnt = getNodesetCount(xIvRecListPath);
  105. for(var i = 1; i <= nodeCnt; i++){
  106. if(multicheck == "true"){
  107. model.setValue(xIvRecListPath + "[" + i + "]/check", "true");
  108. }else{
  109. model.setValue(xIvRecListPath + "[" + i + "]/check", "false");
  110. }
  111. }
  112. ]]>
  113. </script>
  114. </bool>
  115. <button id="button1" class="btn4_letter2" style="left:529px; top:400px; width:56px; height:22px; font-family:굴림; ">
  116. <caption>닫기</caption>
  117. <script type="javascript" ev:event="onclick">
  118. <![CDATA[
  119. window.close();
  120. ]]>
  121. </script>
  122. </button>
  123. <caption id="caption1" ref="/root/main/cond/calldd" format="yyyy-mm-dd" style="left:566px; top:4px; width:75px; height:20px; font-family:굴림; font-weight:bold; "/>
  124. <caption id="caption3" class="search_name" style="left:476px; top:5px; width:90px; height:17px; font-family:굴림; ">호출일자 :</caption>
  125. <line id="line1" class="line_1" style="x1:0px; y1:23px; x2:643px; y2:23px; "/>
  126. <button id="button2" class="btn1_letter3" visibility="hidden" style="left:320px; top:1px; width:68px; height:22px; ">
  127. <caption>재조회</caption>
  128. <script type="javascript" ev:event="DOMActivate">
  129. <![CDATA[
  130. fSearch() ;
  131. ]]>
  132. </script>
  133. </button>
  134. </xhtml:body>
  135. </xhtml:html>