SMCVE00200_월별고충상담현황분석.xrw 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SMCVE00200_월별고충상담현황분석
  4. * Summary : 월별 고충상담 현황분석
  5. * Programmer : 김준규
  6. * Date Written : 2007.09.05
  7. * History :
  8. * Remark :
  9. -->
  10. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  11. <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">
  12. <xhtml:head>
  13. <xhtml:title>월별 고충상담 현황분석</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main/>
  18. <send>
  19. <report>
  20. <srchyear/>
  21. <srchmonth/>
  22. <instcd/>
  23. <logo_pic/>
  24. </report>
  25. </send>
  26. <hidden>
  27. <itemset>
  28. <item>
  29. <lbl/>
  30. <val/>
  31. </item>
  32. </itemset>
  33. </hidden>
  34. </root>
  35. </instance>
  36. <script type="javascript" ev:event="xforms-ready">
  37. <![CDATA[
  38. var currentYear = getNewDate().getFullYear();
  39. var currentMonth= getNewDate().getMonth() + 1;
  40. var currentMonth = (("" + currentMonth).length == 1) ? "0" + currentMonth : "" + currentMonth;
  41. var dutplceinstcd = getUserInfo("dutplceinstcd");
  42. var piclogo = getLogoImageURL();
  43. makeSrchYearItem();
  44. model.setValue("/root/send/report/logo_pic", piclogo);
  45. model.setValue("/root/send/report/srchyear", currentYear);
  46. model.setValue("/root/send/report/srchmonth", currentMonth);
  47. model.setValue("/root/send/report/instcd", dutplceinstcd);
  48. model.refresh();
  49. // btn_save.disabled = !checkAuth("X");
  50. makeReportPreview(225,92,970,659);
  51. ]]>
  52. </script>
  53. <script type="javascript">
  54. <![CDATA[
  55. function makeSrchYearItem() {
  56. // item 초기화
  57. model.removeNodeset("/root/hidden/itemset/item");
  58. // Temp Item Node 생성
  59. var tmpItemNode = instance1.createNode("element", "item", "");
  60. var tmpLabelNode = instance1.createNode("element", "lbl", "");
  61. var tmpValueNode = instance1.createNode("element", "val", "");
  62. tmpItemNode.appendChild(tmpLabelNode);
  63. tmpItemNode.appendChild(tmpValueNode);
  64. // 현재 Year
  65. var curYear = getNewDate().getFullYear();
  66. // 초기 데이타가 2007년부터 있으므로
  67. var minYear = "2007"
  68. // Item Node
  69. var itemNode = null;
  70. for( var i = curYear; i >= minYear; i-- ) {
  71. tmpItemNode.lbl.text = i;
  72. tmpItemNode.val.text = i;
  73. // Temp Item Node 복사
  74. itemNode = tmpItemNode.cloneNode(true);
  75. model.duplicate("/root/hidden/itemset", itemNode);
  76. }
  77. cmb_SrchYear.refresh();
  78. }
  79. ]]>
  80. </script>
  81. </model>
  82. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  83. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  84. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  86. </xhtml:head>
  87. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  88. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  89. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:177px; height:14px; ">월별 고충상담 현황분석</caption>
  90. </group>
  91. <group id="grp_johe" style="left:225px; top:23px; width:970px; height:35px; vertical-align:top; ">
  92. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:970px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  93. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:166px; height:17px; ">조회할 VOC 접수년도 :</caption>
  94. <select1 id="cmb_SrchYear" ref="/root/send/report/srchyear" class="input_s_essential" appearance="minimal" style="left:187px; top:8px; width:100px; height:19px; text-align:center; ">
  95. <choices>
  96. <itemset nodeset="/root/hidden/itemset/item">
  97. <label ref="lbl"/>
  98. <value ref="val"/>
  99. </itemset>
  100. </choices>
  101. </select1>
  102. <caption id="caption3" class="search_no_b" style="left:296px; top:9px; width:20px; height:17px; ">년</caption>
  103. <select1 id="cmb_SrchMonth" ref="/root/send/report/srchmonth" class="input_s_essential" appearance="minimal" style="left:327px; top:8px; width:65px; height:19px; text-align:center; ">
  104. <choices>
  105. <item>
  106. <label>1</label>
  107. <value>01</value>
  108. </item>
  109. <item>
  110. <label>2</label>
  111. <value>02</value>
  112. </item>
  113. <item>
  114. <label>3</label>
  115. <value>03</value>
  116. </item>
  117. <item>
  118. <label>4</label>
  119. <value>04</value>
  120. </item>
  121. <item>
  122. <label>5</label>
  123. <value>05</value>
  124. </item>
  125. <item>
  126. <label>6</label>
  127. <value>06</value>
  128. </item>
  129. <item>
  130. <label>7</label>
  131. <value>07</value>
  132. </item>
  133. <item>
  134. <label>8</label>
  135. <value>08</value>
  136. </item>
  137. <item>
  138. <label>9</label>
  139. <value>09</value>
  140. </item>
  141. <item>
  142. <label>10</label>
  143. <value>10</value>
  144. </item>
  145. <item>
  146. <label>11</label>
  147. <value>11</value>
  148. </item>
  149. <item>
  150. <label>12</label>
  151. <value>12</value>
  152. </item>
  153. </choices>
  154. </select1>
  155. <caption id="caption4" class="search_no_b" style="left:399px; top:9px; width:20px; height:17px; ">월</caption>
  156. <line id="line1" class="line_4" style="x1:883px; y1:7px; x2:883px; y2:29px; "/>
  157. <button id="btn_search" class="btn1_letter2" style="left:898px; top:7px; width:56px; height:22px; ">
  158. <caption>조회</caption>
  159. <script type="javascript" ev:event="DOMActivate">
  160. <![CDATA[
  161. if (isRequiredControls("cmb_SrchYear", "cmb_SrchMonth") ){
  162. exeReportPreview("RPCVE00200", "XML", "/root/send/report");
  163. }
  164. ]]>
  165. </script>
  166. </button>
  167. </group>
  168. <group id="grp_customer" style="left:225px; top:58px; width:970px; height:693px; ">
  169. <caption id="caption9" class="tit_2" style="left:5px; top:10px; width:185px; height:14px; ">월별 고충상담 현황 통계</caption>
  170. <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:970px; y2:25px; "/>
  171. </group>
  172. <import id="import1" overflow="hidden" instancetype="merge" src="./SSCVA00100_LeftTree.xrw" style="left:0px; top:23px; width:215px; height:744px; "/>
  173. </xhtml:body>
  174. </xhtml:html>