SPSTP00500_MIS전송.xrw 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SPSTP00500_MIS전송.xrw
  4. * 수정이력
  5. * - 2009.05.18 / 최초작성 / 박정화
  6. -->
  7. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  8. <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">
  9. <xhtml:head>
  10. <xhtml:title>통계집계</xhtml:title>
  11. <model id="model1">
  12. <instance id="instance1">
  13. <root xmlns="">
  14. <send>
  15. <in_batchgubn>D</in_batchgubn>
  16. <in_ordstat>A</in_ordstat>
  17. <in_monthday>D</in_monthday>
  18. <in_procdd/>
  19. <in_fromdd/>
  20. <in_todd/>
  21. <in_cond1/>
  22. </send>
  23. <hide>
  24. <out_proccnt/>
  25. </hide>
  26. </root>
  27. </instance>
  28. <submission id="TXSTP00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. model.setValue("/root/send/in_procdd",gCurrentdd );
  32. model.setValue("/root/send/in_fromdd",gCurrentdd );
  33. model.setValue("/root/send/in_todd",gCurrentdd );
  34. ipt_fromdd.visible = false;
  35. ipt_todd.visible = false;
  36. model.refresh();
  37. ]]>
  38. </script>
  39. </model>
  40. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  45. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  46. <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
  47. <script type="javascript">
  48. <![CDATA[
  49. var gToday = new Date();
  50. var gBaseyear = gToday.getDateFormat("YYYY"); // (dateHelper.js)에서 제공하는 함수를 사용하여 해당 년를 구한다.
  51. var gBasemonth = gToday.getDateFormat("MM");
  52. var gBaseday = gToday.getDateFormat("DD");
  53. var gCurrentdd = gBaseyear + gBasemonth + gBaseday;
  54. var gCurrentmm = gBaseyear + gBasemonth;
  55. ]]>
  56. </script>
  57. </xhtml:head>
  58. <xhtml:body pagewidth="1160" pageheight="780" style="font-family:돋움, Arial; font-size:12px; color:#4d4d4d; ">
  59. <group id="group1" style="left:0px; top:15px; width:1160px; height:590px; ">
  60. <input id="ipt_fromdd" ref="/root/send/in_fromdd" class="input_search" disabled="true" navindex="1" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:125px; top:145px; width:94px; height:19px; text-align:center; ">
  61. <script type="javascript" ev:event="xforms-value-changed">
  62. <![CDATA[]]>
  63. </script>
  64. </input>
  65. <input id="ipt_todd" ref="/root/send/in_todd" class="input_search" disabled="true" navindex="1" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:225px; top:145px; width:94px; height:19px; text-align:center; ">
  66. <script type="javascript" ev:event="xforms-value-changed">
  67. <![CDATA[]]>
  68. </script>
  69. </input>
  70. <select id="chk_job" ref="/root/send/in_cond1" disabled="true" visibility="hidden" overflow="visible" appearance="full" style="left:45px; top:145px; width:70px; height:20px; border-style:none; ">
  71. <choices>
  72. <item>
  73. <label>일괄작업</label>
  74. <value>A</value>
  75. </item>
  76. </choices>
  77. <script type="javascript" ev:event="xforms-select">
  78. <![CDATA[
  79. if ( model.getValue("/root/send/in_cond1") == "A" ) {
  80. ipt_fromdd.visible = true;
  81. ipt_todd.visible = true;
  82. model.setValue("/root/send/in_cond1","B");
  83. } else {
  84. ipt_fromdd.visible = false;
  85. ipt_todd.visible = false;
  86. }
  87. model.refresh();
  88. ]]>
  89. </script>
  90. </select>
  91. <shape id="roundrect3" appearance="roundrect" style="left:0px; top:0px; width:330px; height:210px; "/>
  92. <caption id="caption30" class="search_name" style="left:30px; top:85px; width:85px; height:17px; ">집계기준</caption>
  93. <input id="ipt_procdd" ref="/root/send/in_procdd" class="input_search" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:125px; top:115px; width:94px; height:19px; text-align:center; ">
  94. <script type="javascript" ev:event="xforms-value-changed">
  95. <![CDATA[]]>
  96. </script>
  97. </input>
  98. <button id="btn_execute" class="btn4_letter2" style="left:163px; top:145px; width:56px; height:22px; ">
  99. <caption>실행</caption>
  100. <script type="javascript" ev:event="DOMActivate">
  101. <![CDATA[
  102. var sProcdd = model.getValue("/root/send/in_procdd");
  103. if ( sProcdd != "" ) {
  104. submit("TXSTP00100");
  105. button1.dispatch("DOMActivate");
  106. } else {
  107. model.alert("집계일자를 입력하세요");
  108. model.setFocus("ipt_procdd");
  109. return;
  110. }
  111. ]]>
  112. </script>
  113. </button>
  114. <caption id="caption2" class="search_name" style="left:30px; top:25px; width:85px; height:17px; ">집계구분</caption>
  115. <select1 id="cb_list" ref="/root/send/in_batchgubn" class="combo_search" appearance="minimal" editmode="search" itemcount="20" style="left:125px; top:25px; width:135px; height:19px; ">
  116. <choices>
  117. <item>
  118. <label>심사조정/삭감 집계</label>
  119. <value>D</value>
  120. </item>
  121. <item>
  122. <label>중간청구 집계</label>
  123. <value>E</value>
  124. </item>
  125. <item>
  126. <label>보험MIS자동분개</label>
  127. <value>F</value>
  128. </item>
  129. </choices>
  130. <script type="javascript" ev:event="xforms-value-changed">
  131. <![CDATA[
  132. ]]>
  133. </script>
  134. <script type="javascript" ev:event="xforms-select">
  135. <![CDATA[
  136. if(model.getValue("/root/send/in_batchgubn") == "I") {
  137. ipt_procdd.attribute("format") = "yyyy-mm-dd";
  138. } else if(model.getValue("/root/send/in_batchgubn") == "D" || model.getValue("/root/send/in_batchgubn") == "E" || model.getValue("/root/send/in_batchgubn") == "F") {
  139. ipt_procdd.attribute("format") = "yyyy-mm";
  140. }
  141. ipt_procdd.refresh();
  142. ]]>
  143. </script>
  144. </select1>
  145. <caption id="caption3" class="search_name" style="left:30px; top:55px; width:85px; height:17px; ">진료구분</caption>
  146. <select1 id="cb_ordstat" ref="/root/send/in_ordstat" class="combo_search" disabled="true" visibility="visible" appearance="minimal" editmode="search" itemcount="20" style="left:125px; top:55px; width:94px; height:19px; ">
  147. <choices>
  148. <item>
  149. <label>전체</label>
  150. <value>A</value>
  151. </item>
  152. <item>
  153. <label>입원</label>
  154. <value>I</value>
  155. </item>
  156. <item>
  157. <label>외래</label>
  158. <value>O</value>
  159. </item>
  160. </choices>
  161. <script type="javascript" ev:event="xforms-value-changed">
  162. <![CDATA[
  163. ]]>
  164. </script>
  165. </select1>
  166. <select1 id="cb_monthday" ref="/root/send/in_monthday" class="combo_search" disabled="true" visibility="visible" appearance="minimal" editmode="search" itemcount="20" style="left:125px; top:85px; width:94px; height:19px; ">
  167. <choices>
  168. <item>
  169. <label>일단위</label>
  170. <value>D</value>
  171. </item>
  172. <item>
  173. <label>월단위</label>
  174. <value>M</value>
  175. </item>
  176. </choices>
  177. <script type="javascript" ev:event="xforms-value-changed">
  178. <![CDATA[
  179. var sMonthday = '';
  180. sMonthday = model.getValue("/root/send/in_monthday");
  181. model.setValue("/root/send/in_procdd","" );
  182. model.setValue("/root/send/in_fromdd","" );
  183. model.setValue("/root/send/in_todd","" );
  184. if ( sMonthday == "D" ) {
  185. ipt_procdd.attribute("format") = "yyyy-mm-dd";
  186. model.setValue("/root/send/in_procdd",gCurrentdd );
  187. model.setValue("/root/send/in_fromdd",gCurrentdd );
  188. model.setValue("/root/send/in_todd",gCurrentdd );
  189. } else {
  190. ipt_procdd.attribute("format") = "yyyy-mm";
  191. model.setValue("/root/send/in_procdd",gCurrentmm );
  192. }
  193. model.refresh();
  194. ]]>
  195. </script>
  196. </select1>
  197. <button id="button1" class="btn4_letter4" style="left:224px; top:145px; width:80px; height:22px; ">
  198. <caption>배치로그</caption>
  199. <script type="javascript" ev:event="DOMActivate">
  200. <![CDATA[
  201. var todd = getCurrentDate();
  202. todd = todd.toDate().getAddDate(+1, 'D');
  203. zsbfOpenBatchLogPopup("stspambatchmgr.StsPamBatch",getCurrentDate(),todd.getDateFormat());
  204. ]]>
  205. </script>
  206. </button>
  207. </group>
  208. <group id="grp_tle" style="left:0px; top:0px; width:1146px; height:13px; ">
  209. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:163px; height:14px; ">원무통계 집계</caption>
  210. </group>
  211. </xhtml:body>
  212. </xhtml:html>