SPPMC04300_법원보관금청구현황.xrw 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  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. <script type="javascript">
  5. <![CDATA[
  6. function fInitialize()
  7. {
  8. // 시스템 날자
  9. model.setValue("/root/hidden/currentdate", getCurrentDate());
  10. // 방문일정을 오늘날자로 세팅
  11. model.setValue("/root/send/data1/fromdd",model.getValue("/root/hidden/currentdate"));
  12. model.setValue("/root/send/data1/todd",model.getValue("/root/hidden/currentdate"));
  13. model.removeNodeset("/root/main/list");
  14. model.makeNode("/root/main/list");
  15. submit('TRPMC00907');
  16. model.refresh();
  17. }
  18. //자체기초코드 조회
  19. function fComCDRef()
  20. {
  21. submit("TRPMI00106");
  22. model.refresh();
  23. }
  24. ]]>
  25. </script>
  26. <xhtml:head>
  27. <xhtml:title>법원보관금 청구현황</xhtml:title>
  28. <model id="model1">
  29. <instance id="instance1">
  30. <root xmlns="">
  31. <send>
  32. <data1>
  33. <fromdd/>
  34. <todd/>
  35. <courtnm/>
  36. <orddrid/>
  37. <orddeptcd/>
  38. <goobun/>
  39. </data1>
  40. <data2>
  41. <sess_posinstcd>012</sess_posinstcd>
  42. </data2>
  43. </send>
  44. <main>
  45. <list>
  46. <grdcourtkeepclamprescond/>
  47. </list>
  48. </main>
  49. <hidden>
  50. <init>
  51. <disccd>
  52. <cd/>
  53. <nm/>
  54. </disccd>
  55. <insukind>
  56. <cd/>
  57. <nm/>
  58. </insukind>
  59. <suppkind>
  60. <cd/>
  61. <nm/>
  62. <up/>
  63. <io/>
  64. </suppkind>
  65. <orddeptcd>
  66. <cd/>
  67. <nm/>
  68. </orddeptcd>
  69. <orddrid>
  70. <cd/>
  71. <nm/>
  72. <dp/>
  73. <sp/>
  74. </orddrid>
  75. <wardcd>
  76. <cd/>
  77. <nm/>
  78. <of/>
  79. </wardcd>
  80. <roomcd>
  81. <cd/>
  82. <nm/>
  83. <wd/>
  84. <gr/>
  85. <ty/>
  86. </roomcd>
  87. <flag>
  88. <prestdd/>
  89. <mskindflag/>
  90. </flag>
  91. </init>
  92. <currentdate/>
  93. </hidden>
  94. <init>
  95. <courtlist>
  96. <court>
  97. <nm/>
  98. <cd/>
  99. </court>
  100. </courtlist>
  101. </init>
  102. </root>
  103. </instance>
  104. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init"/>
  105. <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" replace="instance" resultref="/root/hidden/init"/>
  106. <submission id="TRPMC03901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/hidden/rcv"/>
  107. <script type="javascript" ev:event="xforms-ready">
  108. <![CDATA[
  109. fInitialize(); // 기본데이터 초기화
  110. fComCDRef(); // 코드 조회
  111. ]]>
  112. </script>
  113. <submission id="TRPMC00907" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/courtlist"/>
  114. </model>
  115. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  116. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  117. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  118. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  119. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  120. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  121. </xhtml:head>
  122. <xhtml:body pagewidth="780" pageheight="650" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  123. <group id="group1" style="left:0px; top:0px; width:760px; height:625px; ">
  124. <group id="group2" style="left:0px; top:10px; width:755px; height:60px; ">
  125. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:755px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  126. <caption id="caption32" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">조회기간 :</caption>
  127. <button id="btn_srch" class="btn1_letter2" style="left:690px; top:20px; width:56px; height:22px; ">
  128. <caption>조회</caption>
  129. <script type="javascript" ev:event="DOMActivate">
  130. <![CDATA[
  131. // 법원보관금 청구현황 조회
  132. if(submit("TRPMC03901")) {
  133. var patrefcnt = getNodesetCount("/root/hidden/rcv/list/grdcourtkeepclamprescond");
  134. if (patrefcnt > 0) {
  135. copyNodeType("/root/main/list","/root/hidden/rcv/list","replace");
  136. } else {
  137. model.removeNodeset("/root/main/list");
  138. model.makeNode("/root/main/list");
  139. }
  140. model.refresh();
  141. }
  142. ]]>
  143. </script>
  144. </button>
  145. <line id="line1" class="line_4" style="x1:675px; y1:18px; x2:675px; y2:40px; border-color:#ffcc99; border-style:solid; "/>
  146. <caption id="caption1" class="search_name" style="left:405px; top:9px; width:83px; height:17px; ">법 원 명 :</caption>
  147. <select1 id="combo1" ref="/root/send/data1/courtnm" appearance="minimal" style="left:495px; top:8px; width:120px; height:19px; ">
  148. <choices>
  149. <itemset nodeset="/root/init/courtlist/court">
  150. <label ref="nm"/>
  151. <value ref="cd"/>
  152. </itemset>
  153. </choices>
  154. </select1>
  155. <caption id="caption3" class="search_name" style="left:220px; top:36px; width:75px; height:17px; ">의사 :</caption>
  156. <select1 id="combo3" ref="/root/send/data1/orddrid" appearance="minimal" style="left:280px; top:35px; width:100px; height:19px; ">
  157. <choices>
  158. <itemset nodeset="/root/hidden/init/orddrid">
  159. <label ref="nm"/>
  160. <value ref="cd"/>
  161. </itemset>
  162. </choices>
  163. </select1>
  164. <caption id="caption4" class="search_name" style="left:405px; top:36px; width:86px; height:17px; ">진료구분 :</caption>
  165. <caption id="caption5" style="left:236px; top:10px; width:15px; height:20px; ">~</caption>
  166. <select1 id="combo5" ref="/root/send/data1/goobun" appearance="minimal" style="left:497px; top:35px; width:118px; height:19px; ">
  167. <choices>
  168. <item>
  169. <label>전체</label>
  170. <value>01</value>
  171. </item>
  172. <item>
  173. <label>외래</label>
  174. <value>02</value>
  175. </item>
  176. <item>
  177. <label>입원</label>
  178. <value>03</value>
  179. </item>
  180. </choices>
  181. </select1>
  182. <caption id="caption6" class="search_name" style="left:15px; top:35px; width:83px; height:17px; ">진 료 과 :</caption>
  183. <select1 id="combo6" ref="/root/send/data1/orddeptcd" appearance="minimal" style="left:105px; top:35px; width:100px; height:19px; ">
  184. <choices>
  185. <itemset nodeset="/root/hidden/init/orddeptcd">
  186. <label ref="nm"/>
  187. <value ref="cd"/>
  188. </itemset>
  189. </choices>
  190. </select1>
  191. <input id="input1" ref="/root/send/data1/fromdd" class="input_search" inputtype="date" style="left:105px; top:7px; width:110px; height:19px; "/>
  192. <input id="input2" ref="/root/send/data1/todd" class="input_search" inputtype="date" style="left:269px; top:7px; width:110px; height:19px; "/>
  193. </group>
  194. <line id="line4" class="line_1" style="x1:0px; y1:95px; x2:755px; y2:95px; "/>
  195. <button id="button3" class="btn2_letter4" style="left:691px; top:75px; width:64px; height:19px; ">
  196. <caption>액셀저장</caption>
  197. <script type="javascript" ev:event="DOMActivate">
  198. <![CDATA[
  199. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  200. if (fileName != "")
  201. {
  202. grd_grdcourtkeepclamprescond.saveExcel(fileName, "SheetName", true, true, "", "");
  203. }
  204. window.exec(fileName);
  205. ]]>
  206. </script>
  207. </button>
  208. <group id="group3" style="left:0px; top:596px; width:756px; height:27px; ">
  209. <button id="button2" class="btn4_letter2" style="left:696px; top:3px; width:56px; height:22px; ">
  210. <caption>닫기</caption>
  211. <script type="javascript" ev:event="DOMActivate">
  212. <![CDATA[
  213. window.close();
  214. ]]>
  215. </script>
  216. </button>
  217. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:755px; y2:0px; "/>
  218. <button id="button1" class="btn4_letter3" style="left:620px; top:3px; width:68px; height:22px; ">
  219. <caption>초기화</caption>
  220. <script type="javascript" ev:event="DOMActivate">
  221. <![CDATA[
  222. model.resetInstanceNode("/root/send/data1");
  223. fInitialize();
  224. ]]>
  225. </script>
  226. </button>
  227. </group>
  228. <datagrid id="grd_grdcourtkeepclamprescond" nodeset="/root/main/list/grdcourtkeepclamprescond" caption="환자번호^성명^법원명^사건번호^진료과^의사명^청구금액^총진료비^결과작성일" colsep="^" colwidth="90, 80, 100, 90, 110, 80, 90, 0, 90" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:100px; width:755px; height:494px; ">
  229. <col ref="pid"/>
  230. <col ref="hngnm"/>
  231. <col ref="courtnmcd" type="combo">
  232. <choices>
  233. <itemset nodeset="/root/init/courtlist/court">
  234. <label ref="nm"/>
  235. <value ref="cd"/>
  236. </itemset>
  237. </choices>
  238. </col>
  239. <col ref="acdno"/>
  240. <col disabled="true" ref="orddeptcd" type="combo">
  241. <choices>
  242. <itemset nodeset="/root/hidden/init/orddeptcd">
  243. <label ref="nm"/>
  244. <value ref="cd"/>
  245. </itemset>
  246. </choices>
  247. </col>
  248. <col disabled="true" ref="atdoctid"/>
  249. <col ref="clamamt" format="#,###" style="text-align:right; "/>
  250. <col ref="calcamt" visibility="hidden" format="#,###" style="text-align:right; "/>
  251. <col ref="rsltworkdd" format="yyyy-mm-dd" style="text-align:center; "/>
  252. </datagrid>
  253. <caption id="caption7" class="tit_2" style="left:2px; top:80px; width:140px; height:13px; ">법원보관금청구현황</caption>
  254. </group>
  255. </xhtml:body>
  256. </xhtml:html>