SPPID24000_월별수가별청구현황.xrw 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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. <main>
  10. <list>
  11. <calchist>
  12. <pid/>
  13. <day/>
  14. <snglcalcscorcd/>
  15. <hngnm/>
  16. <cnt/>
  17. </calchist>
  18. </list>
  19. </main>
  20. <send>
  21. <clamym/>
  22. <clamdg/>
  23. <pid/>
  24. <sumtypecd/>
  25. </send>
  26. </root>
  27. </instance>
  28. <submission id="TRPID24000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. fInitialize(); // 화면을 초기화한다.
  32. ]]>
  33. </script>
  34. </model>
  35. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  36. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  38. <script type="javascript">
  39. <![CDATA[
  40. // 화면을 초기화한다.
  41. function fInitialize() {
  42. if (checkOpener()) {
  43. model.setValue("/root/send/clamym" , opener.model.getValue("/root/main/item1/clbs/clamym"));
  44. model.setValue("/root/send/clamdg" , opener.model.getValue("/root/main/item1/clbs/clamdg"));
  45. model.setValue("/root/send/sumtypecd", opener.model.getValue("/root/main/item1/clbs/sumtypecd"));
  46. model.setValue("/root/send/pid" , opener.model.getValue("/root/main/item1/clbs/pid"));
  47. submit("TRPID24000");
  48. var i = 1; // 인스턴스 카운터
  49. var cnt = 0; // 그리드 카운터
  50. while ( model.getValue("/root/main/list/calchist[" + i + "]/snglcalcscorcd") != "" ) {
  51. if ( model.getValue("/root/main/list/calchist[" + i + "]/snglcalcscorcd") != model.getValue("/root/main/list/calchist[" + (i - 1) + "]/snglcalcscorcd") ) {
  52. grd_calchist.addRow(false);
  53. cnt++;
  54. }
  55. grd_calchist.valueMatrix(cnt,grd_calchist.colRef("snglcalcscorcd")) = model.getValue("/root/main/list/calchist[" + i + "]/snglcalcscorcd");
  56. grd_calchist.valueMatrix(cnt,grd_calchist.colRef("hngnm")) = model.getValue("/root/main/list/calchist[" + i + "]/hngnm");
  57. grd_calchist.valueMatrix(cnt,grd_calchist.colRef("col" + model.getValue("/root/main/list/calchist[" + i + "]/day"))) = model.getValue("/root/main/list/calchist[" + i + "]/cnt");
  58. i++;
  59. }
  60. grd_calchist.refresh();
  61. }
  62. }
  63. ]]>
  64. </script>
  65. </xhtml:head>
  66. <xhtml:body pagewidth="1116" pageheight="685" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  67. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:1100px; height:658px; ">
  68. <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:134px; height:14px; ">월별수가별청구현황</caption>
  69. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1099px; y2:25px; "/>
  70. <datagrid id="grd_calchist" nodeset="/root/main/list5/clod" class="datagrid" caption="수가코드^한글명^1^2^3^4^5^6^7^8^9^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31" colsep="^" colwidth="104, 265, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22" ellipsis="true" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:30px; width:1099px; height:628px; ">
  71. <col ref="snglcalcscorcd"/>
  72. <col ref="hngnm"/>
  73. <col ref="col1" style="text-align:center; "/>
  74. <col ref="col2" style="text-align:center; "/>
  75. <col ref="col3" style="text-align:center; "/>
  76. <col ref="col4" style="text-align:center; "/>
  77. <col ref="col5" style="text-align:center; "/>
  78. <col ref="col6" style="text-align:center; "/>
  79. <col ref="col7" style="text-align:center; "/>
  80. <col ref="col8" style="text-align:center; "/>
  81. <col ref="col9" style="text-align:center; "/>
  82. <col ref="col10" style="text-align:center; "/>
  83. <col ref="col11" style="text-align:center; "/>
  84. <col ref="col12" style="text-align:center; "/>
  85. <col ref="col13" style="text-align:center; "/>
  86. <col ref="col14" style="text-align:center; "/>
  87. <col ref="col15" style="text-align:center; "/>
  88. <col ref="col16" style="text-align:center; "/>
  89. <col ref="col17" style="text-align:center; "/>
  90. <col ref="col18" style="text-align:center; "/>
  91. <col ref="col19" style="text-align:center; "/>
  92. <col ref="col20" style="text-align:center; "/>
  93. <col ref="col21" style="text-align:center; "/>
  94. <col ref="col22" style="text-align:center; "/>
  95. <col ref="col23" style="text-align:center; "/>
  96. <col ref="col24" style="text-align:center; "/>
  97. <col ref="col25" style="text-align:center; "/>
  98. <col ref="col26" style="text-align:center; "/>
  99. <col ref="col27" style="text-align:center; "/>
  100. <col ref="col28" style="text-align:center; "/>
  101. <col ref="col29" style="text-align:center; "/>
  102. <col ref="col30" style="text-align:center; "/>
  103. <col ref="col31" style="text-align:center; "/>
  104. <script type="javascript" ev:event="onaftersort">
  105. <![CDATA[
  106. grd_calchist.gridToInstance();
  107. ]]>
  108. </script>
  109. </datagrid>
  110. </group>
  111. <group id="grp_btn" scroll="auto" style="left:0px; top:658px; width:1100px; height:27px; ">
  112. <button id="btn_close" class="btn4_letter2" style="left:1043px; top:5px; width:56px; height:22px; ">
  113. <caption>닫기</caption>
  114. <close ev:event="DOMActivate"/>
  115. </button>
  116. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1099px; y2:0px; "/>
  117. </group>
  118. <script type="javascript" ev:event="onwindowresize">
  119. <![CDATA[
  120. // grd_delorder.attribute("width") = window.width - 100;
  121. ]]>
  122. </script>
  123. </xhtml:body>
  124. </xhtml:html>