SMPIS00900_외과흉부외과가산조회.xrw 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SMPIS00900_외과흉부외과가산조회.xrw
  4. * 수정이력
  5. * - 2010.08.20 / 최초작성 / 김용민
  6. ************************************************
  7. -->
  8. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  9. <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">
  10. <xhtml:head>
  11. <xhtml:title>외과흉부외과가산조회</xhtml:title>
  12. <model id="model1">
  13. <instance id="instance1">
  14. <root xmlns="">
  15. <main>
  16. <item1>
  17. <gscslist>
  18. <pid/>
  19. <hngnm/>
  20. <rrgstno/>
  21. <clamym/>
  22. <clamprcsstat/>
  23. <clamdg/>
  24. <ioflag/>
  25. <insukind/>
  26. <suppkind/>
  27. <clamdeptnm/>
  28. <orddeptcd/>
  29. <orddrnm/>
  30. <judgendyn/>
  31. <clamendyn/>
  32. <acptno/>
  33. <docuseqno/>
  34. <ordfromdd/>
  35. <fromdd/>
  36. <todd/>
  37. <judgyn/>
  38. <delreason1/>
  39. <delreason2/>
  40. <rtnrsncd1/>
  41. <rtnrsncd2/>
  42. <edimedcaretotamt/>
  43. <ediownbamt/>
  44. <ediinsuclamamt/>
  45. <edilimitamt/>
  46. <edisuppamt/>
  47. <edisubtamt/>
  48. <edihandcaprfund/>
  49. <judgrid/>
  50. <judgenddd/>
  51. <insuno/>
  52. </gscslist>
  53. </item1>
  54. </main>
  55. <init/>
  56. <send>
  57. <fromdd/>
  58. <todd/>
  59. <jobflag/>
  60. <ioflag/>
  61. </send>
  62. </root>
  63. </instance>
  64. <script type="javascript" ev:event="xforms-ready">
  65. <![CDATA[
  66. // 화면 초기화
  67. fInitialize();
  68. ]]>
  69. </script>
  70. <!-- submission -->
  71. <submission id="TRPIS00900" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  72. </model>
  73. <!-- js import -->
  74. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  76. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  77. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  78. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  79. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  80. <script type="javascript">
  81. <![CDATA[
  82. // 화면 초기화
  83. function fInitialize()
  84. {
  85. model.setValue("/root/send/fromdd",getCurrentDate());
  86. model.setValue("/root/send/todd",getCurrentDate());
  87. model.setValue("/root/send/jobflag","1");
  88. model.setValue("/root/send/ioflag","I");
  89. model.refresh();
  90. }
  91. ]]>
  92. </script>
  93. </xhtml:head>
  94. <xhtml:body guideline="1,1212;2,785;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
  95. <!-- TITLE -->
  96. <group id="group1" style="left:0px; top:0px; width:1211px; height:13px; ">
  97. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:200px; height:13px; ">외과,흉부외과 가산내역 조회</caption>
  98. </group>
  99. <!-- 전체 그룹 -->
  100. <group id="group2" scroll="auto" style="left:0px; top:13px; width:1211px; height:732px; ">
  101. <!-- 조회조건 -->
  102. <group id="group3" style="left:0px; top:10px; width:1210px; height:55px; vertical-align:top; ">
  103. <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:1210px; height:55px; "/>
  104. <caption id="caption2" class="search_name" style="left:10px; top:19px; width:81px; height:17px; ">기준일자</caption>
  105. <line id="line1" class="line_4" style="x1:1109px; y1:5px; x2:1109px; y2:47px; "/>
  106. <button id="btn_search" class="btn1_letter2" navindex="2" style="left:1134px; top:15px; width:56px; height:22px; ">
  107. <caption>조회</caption>
  108. <script type="javascript" ev:event="DOMActivate">
  109. <![CDATA[
  110. model.removeNodeset("/root/main/item1/gscslist");
  111. submit("TRPIS00900");
  112. ]]>
  113. </script>
  114. </button>
  115. <caption id="caption26" class="search_name" style="left:305px; top:18px; width:76px; height:17px; ">조회기간</caption>
  116. <caption id="caption3" class="search_name" style="left:665px; top:19px; width:76px; height:17px; ">내원유형</caption>
  117. <select1 id="rdo_ioflag" ref="/root/send/ioflag" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:755px; top:19px; width:100px; height:17px; border-style:none; ">
  118. <choices>
  119. <item>
  120. <label>입원</label>
  121. <value>I</value>
  122. </item>
  123. <item>
  124. <label>외래</label>
  125. <value>O</value>
  126. </item>
  127. </choices>
  128. </select1>
  129. <select1 id="radio1" ref="/root/send/jobflag" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:99px; top:19px; width:165px; height:17px; border-style:none; ">
  130. <choices>
  131. <item>
  132. <label>실시일기준</label>
  133. <value>1</value>
  134. </item>
  135. <item>
  136. <label>처방일기준</label>
  137. <value>2</value>
  138. </item>
  139. </choices>
  140. </select1>
  141. <caption id="caption4" style="left:490px; top:17px; width:15px; height:20px; ">~</caption>
  142. <input id="ipt_todd" ref="/root/send/todd" class="input_search" navindex="3" inputtype="date" format="yyyy-mm-dd" style="left:505px; top:17px; width:95px; height:19px; "/>
  143. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" navindex="3" inputtype="date" format="yyyy-mm-dd" style="left:390px; top:17px; width:95px; height:19px; "/>
  144. </group>
  145. <caption id="caption8" class="tit_2" style="left:0px; top:75px; width:100px; height:14px; ">리스트</caption>
  146. <datagrid id="grd_gscslist" nodeset="/root/main/item1/gscslist" class="datagrid2" caption="입외^년월^수가코드^수가명^진료과^등록과^처리과^단가^수량^일수^산정코드^산정명칭^건수^총금액^계산금액^병원가산^선택진료^산정금액^전문의가산^병원가산차액" colsep="^" colwidth="42, 49, 83, 139, 100, 100, 100, 76, 44, 47, 54, 119, 50, 80, 80, 80, 80, 80, 80, 80" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:90px; width:1210px; height:640px; ">
  147. <col ref="ioflag" style="text-align:center; "/>
  148. <col ref="yymm" style="text-align:center; "/>
  149. <col ref="snglcalcscorcd"/>
  150. <col ref="hngnm"/>
  151. <col ref="orddeptnm"/>
  152. <col ref="rgstdeptnm"/>
  153. <col ref="deptnm"/>
  154. <col ref="appunitcost" format="#,###" style="text-align:right; "/>
  155. <col ref="prcpqty" format="#,###.##" style="text-align:right; "/>
  156. <col ref="prcpdayno" format="#,###" style="text-align:right; "/>
  157. <col ref="estmmeancd" style="text-align:center; "/>
  158. <col ref="estmmeannm"/>
  159. <col ref="cnt" format="#,###" style="text-align:right; "/>
  160. <col ref="totamt" format="#,###" style="text-align:right; "/>
  161. <col ref="calamt" format="#,###" style="text-align:right; "/>
  162. <col ref="hospaddamt" format="#,###" style="text-align:right; "/>
  163. <col ref="specamt" format="#,###" style="text-align:right; "/>
  164. <col ref="estmamt" format="#,###" style="text-align:right; "/>
  165. <col ref="doctadd" format="#,###" style="text-align:right; "/>
  166. <col ref="hospdiff" format="#,###" style="text-align:right; "/>
  167. </datagrid>
  168. <button id="button2" class="btn2_letter4" style="left:1130px; top:69px; width:64px; height:19px; ">
  169. <caption>엑셀저장</caption>
  170. <script type="javascript" ev:event="DOMActivate">
  171. <![CDATA[
  172. if (grd_gscslist.rows > 1) {
  173. var fileName = window.fileDialog("save", "", false, "외과흉부외과 가산내역 조회_" + getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  174. if (fileName != "") {
  175. //datagrid.saveExcel의 7번째 인자 값(boolean) : 그리드의 col type=combo일 경우 엑셀저장내용이 lable 또는 value로 설정 함
  176. //grd_gscslist.saveExcel(fileName, "SheetName", true, true, "", "", true);
  177. grd_gscslist.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
  178. }
  179. } else {
  180. messageBox("엑셀저장할 대상이 ", "I004"); ///엑셀저장할 대상자가 없습니다.
  181. }
  182. ]]>
  183. </script>
  184. </button>
  185. </group>
  186. </xhtml:body>
  187. </xhtml:html>