SMMND03800_일일투석현황.xrw 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>일일투석현황</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <dialinfo>
  11. <diallist>
  12. <num/>
  13. <pid/>
  14. <hngnm/>
  15. <depthngnm/>
  16. <etc/>
  17. <num2/>
  18. <pid2/>
  19. <hngnm2/>
  20. <depthngnm2/>
  21. <etc2/>
  22. <num3/>
  23. <pid3/>
  24. <hngnm3/>
  25. <depthngnm3/>
  26. <etc3/>
  27. </diallist>
  28. </dialinfo>
  29. <cond>
  30. <dialdd/>
  31. </cond>
  32. </main>
  33. <init/>
  34. <hidden/>
  35. </root>
  36. </instance>
  37. <script type="javascript" ev:event="xforms-ready">
  38. <![CDATA[
  39. //그래드 초기화
  40. model.removeNodeset(grd_diallist.nodeset);
  41. grd_diallist.refresh();
  42. model.setValue(ipt_dialdd.attribute("ref"), getCurrentDate());
  43. ipt_dialdd.refresh();
  44. fSearch();
  45. ]]>
  46. </script>
  47. <script type="javascript">
  48. <![CDATA[
  49. function fSearch() {
  50. model.makeValue("/root/send/reqdata/dialdd", model.getValue(ipt_dialdd.attribute("ref")));
  51. submit("TRMND03801");
  52. }
  53. function fPrint() {
  54. var currDate;
  55. var week;
  56. currDate = model.getValue(ipt_dialdd.attribute("ref"));
  57. var addDy = currDate.toDate();
  58. week = addDy.getDayOfWeek("K");
  59. model.removenode("/root/send/printdata");
  60. //send 재구성
  61. model.makeValue("/root/send/printdata","");
  62. model.copynode("/root/send/printdata", "/root/main/dialinfo");
  63. model.makeValue("/root/send/printdata/dialdd", model.getValue(ipt_dialdd.attribute("ref")));
  64. model.makeValue("/root/send/printdata/dialweek", week || "요일");
  65. exeReportPreview("RPMND03801", "XMLSTR", "", "", "", "", "", "", "");
  66. }
  67. ]]>
  68. </script>
  69. <submission id="TRMND03801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/dialinfo"/>
  70. </model>
  71. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  72. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  73. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  74. <script type="javascript" src="../../../emr/dialroomweb/js/SMMND01200.js"/>
  75. </xhtml:head>
  76. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  77. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  78. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:119px; height:14px; ">일일투석현황</caption>
  79. </group>
  80. <group id="grp_biz" scroll="l" style="left:0px; top:13px; width:1195px; height:744px; ">
  81. <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:35px; vertical-align:top; ">
  82. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  83. <caption id="caption2" class="search_name" style="left:16px; top:9px; width:86px; height:17px; ">기준일자 :</caption>
  84. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  85. <caption>조회</caption>
  86. <script type="javascript" ev:event="DOMActivate">
  87. <![CDATA[
  88. fSearch();
  89. ]]>
  90. </script>
  91. </button>
  92. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  93. <input id="ipt_dialdd" ref="/root/main/cond/dialdd" class="input_s_essential" inputtype="date" style="left:106px; top:8px; width:100px; height:19px; ">
  94. <script type="javascript" ev:event="xforms-value-changed">
  95. <![CDATA[
  96. btn_search.dispatch("DOMActivate");
  97. ]]>
  98. </script>
  99. </input>
  100. </group>
  101. <line id="line1" class="line_1" style="x1:1px; y1:65px; x2:1195px; y2:65px; "/>
  102. <caption id="caption5" class="tit_2" style="left:5px; top:50px; width:139px; height:14px; vertical-align:middle; ">일일 투석현황리스트</caption>
  103. <datagrid id="grd_diallist" nodeset="/root/main/dialinfo/diallist" caption="No^환자번호^이름^병동^비고^No^환자번호^이름^병동^비고^No^환자번호^이름^병동^비고" colsep="^" colwidth="40, 70, 80, 100, 100, 40, 70, 80, 100, 100, 40, 70, 80, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:70px; width:1195px; height:670px; ">
  104. <col ref="num" style="text-align:center; "/>
  105. <col ref="hngnm" style="text-align:center; "/>
  106. <col ref="pid" style="text-align:center; "/>
  107. <col ref="depthngnm"/>
  108. <col ref="etc"/>
  109. <col ref="num2"/>
  110. <col ref="pid2" style="text-align:center; "/>
  111. <col ref="hngnm2" style="text-align:center; "/>
  112. <col ref="depthngnm2"/>
  113. <col ref="etc2"/>
  114. <col ref="num3"/>
  115. <col ref="pid3" style="text-align:center; "/>
  116. <col ref="hngnm3" style="text-align:center; "/>
  117. <col ref="depthngnm3"/>
  118. <col ref="etc3"/>
  119. </datagrid>
  120. <button id="button1" class="btn2_letter2" style="left:1150px; top:45px; width:42px; height:19px; ">
  121. <caption>출력</caption>
  122. <script type="javascript" ev:event="DOMActivate">
  123. <![CDATA[
  124. if(grd_diallist.rows > 0) {
  125. fPrint();
  126. }
  127. ]]>
  128. </script>
  129. </button>
  130. </group>
  131. </xhtml:body>
  132. </xhtml:html>