SPPMI06020_일자별재원현황.xrw 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <send>
  10. <fromdd/>
  11. <todd/>
  12. <roomdd/>
  13. </send>
  14. <main>
  15. <data1>
  16. <roomdd/>
  17. <bedcnt/>
  18. <inpatcnt/>
  19. <vacancnt/>
  20. </data1>
  21. <data2>
  22. <orddeptcd/>
  23. <bedcnt/>
  24. <inpatcnt/>
  25. <vacancnt/>
  26. <bedrate/>
  27. </data2>
  28. </main>
  29. <hidden>
  30. </hidden>
  31. <init>
  32. </init>
  33. </root>
  34. </instance>
  35. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  36. <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
  37. <submission id="TRPMI06020" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  38. </model>
  39. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  40. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  43. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  44. <script type="javascript" ev:event="xforms-ready">
  45. <![CDATA[
  46. //zbcfGetCodeList(new Array(""), new Array(""));
  47. //submit("TRPMI00106");
  48. model.refresh();
  49. ]]>
  50. </script>
  51. </xhtml:head>
  52. <xhtml:body pagewidth="430" pageheight="600" guideline="1,992;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  53. <group id="group3" scroll="auto" style="left:0px; top:0px; width:435px; height:560px; ">
  54. <group id="group2" style="left:0px; top:0px; width:425px; height:35px; vertical-align:top; ">
  55. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:425px; height:35px; "/>
  56. <caption id="caption2" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">기간조회 :</caption>
  57. <button id="btn_search" class="btn1_letter2" style="left:360px; top:8px; width:56px; height:22px; ">
  58. <caption>조회</caption>
  59. <script type="javascript" ev:event="DOMActivate">
  60. <![CDATA[
  61. submit("TRPMI06020");
  62. ]]>
  63. </script>
  64. </button>
  65. <line id="line13" class="line_4" style="x1:349px; y1:7px; x2:349px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  66. <input id="input1" ref="/root/send/fromdd" inputtype="date" style="left:95px; top:8px; width:85px; height:19px; "/>
  67. <caption id="caption3" style="left:180px; top:9px; width:25px; height:20px; text-align:center; ">~</caption>
  68. <input id="input2" ref="/root/send/todd" inputtype="date" style="left:205px; top:8px; width:85px; height:19px; "/>
  69. <button id="btn_chan" visibility="hidden" style="left:325px; top:15px; width:5px; height:10px; ">
  70. <caption/>
  71. <toggle case="case2" ev:event="xforms-activate"/>
  72. </button>
  73. </group>
  74. <switch id="switch1" style="left:0px; top:35px; width:427px; height:524px; ">
  75. <case id="case1">
  76. <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:118px; height:13px; ">일자별 병실 현황</caption>
  77. <line id="line1" class="line_1" style="x1:0px; y1:21px; x2:425px; y2:21px; "/>
  78. <datagrid id="datagrid1" nodeset="/root/main/data1" caption="일자^병상수^재원병상수^빈병상수" colsep="^" colwidth="120, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:26px; width:425px; height:495px; text-align:center; ">
  79. <col ref="roomdd"/>
  80. <col ref="bedcnt"/>
  81. <col ref="inpatcnt"/>
  82. <col ref="vacancnt"/>
  83. <script type="javascript" ev:event="ondblclick">
  84. <![CDATA[
  85. var row = datagrid1.row;
  86. var sRoomdd = model.getValue("/root/main/data1[" + row + "]/roomdd");
  87. model.setValue("/root/send/roomdd" , sRoomdd);
  88. submit();
  89. btn_chan.dispatch("onclick");
  90. ]]>
  91. </script>
  92. </datagrid>
  93. <button id="button2" class="btn2_letter4" style="left:350px; top:1px; width:42px; height:19px; ">
  94. <caption>엑셀저장</caption>
  95. </button>
  96. </case>
  97. <case id="case2" selected="true">
  98. <caption id="caption4" class="tit_2" style="left:5px; top:5px; width:118px; height:13px; ">일자별 병실 현황</caption>
  99. <line id="line2" class="line_1" style="x1:0px; y1:21px; x2:425px; y2:21px; "/>
  100. <datagrid id="datagrid2" nodeset="/root/main/data2" caption="진료과^병상수^재원병상수^빈병상수^가동율" colsep="^" colwidth="120, 75, 75, 75, 75" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:26px; width:425px; height:495px; text-align:center; ">
  101. <col ref="orddeptcd"/>
  102. <col ref="bedcnt"/>
  103. <col ref="inpatcnt"/>
  104. <col ref="vacancnt"/>
  105. <col ref="bedrate"/>
  106. </datagrid>
  107. <button id="button1" class="btn5_letter2" style="left:325px; top:1px; width:42px; height:19px; ">
  108. <caption>이전</caption>
  109. <toggle case="case1" ev:event="xforms-activate"/>
  110. </button>
  111. <button id="button3" class="btn2_letter2" style="left:370px; top:1px; width:42px; height:19px; ">
  112. <caption>출력</caption>
  113. </button>
  114. </case>
  115. </switch>
  116. </group>
  117. <group id="group1" scroll="auto" style="left:0px; top:561px; width:425px; height:29px; ">
  118. <button id="btn_confirm" class="btn4_letter2" style="left:302px; top:5px; width:56px; height:22px; ">
  119. <caption>확인</caption>
  120. <script type="javascript" ev:event="DOMActivate">
  121. <![CDATA[
  122. window.close();
  123. ]]>
  124. </script>
  125. </button>
  126. <button id="btn_cancel" class="btn4_letter2" style="left:361px; top:5px; width:56px; height:22px; ">
  127. <caption>취소</caption>
  128. <script type="javascript" ev:event="DOMActivate">
  129. <![CDATA[
  130. window.close();
  131. ]]>
  132. </script>
  133. </button>
  134. </group>
  135. </xhtml:body>
  136. </xhtml:html>