SMCVR00800_월별불만유형별현황.xrw 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SMCVR00800_월별불만유형별현황
  4. * Summary : 월별 불만유형별 현황
  5. * Programmer : 김준규
  6. * Date Written : 2007.08.22
  7. * History :
  8. * Remark :
  9. -->
  10. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <instcd/>
  22. <logo_pic/>
  23. </report>
  24. </send>
  25. <hidden>
  26. <itemset>
  27. <item>
  28. <lbl/>
  29. <val/>
  30. </item>
  31. </itemset>
  32. </hidden>
  33. </root>
  34. </instance>
  35. <script type="javascript" ev:event="xforms-ready">
  36. <![CDATA[
  37. var currentYear = getNewDate().getFullYear();
  38. var dutplceinstcd = getUserInfo("dutplceinstcd");
  39. makeSrchYearItem();
  40. model.setValue("/root/send/report/srchyear", currentYear);
  41. model.setValue("/root/send/report/instcd", dutplceinstcd);
  42. var syscd = "CRM" + getUserInfo("dutplceinstcd");
  43. var piclogo = getLogoImageURL(syscd);
  44. model.setValue("/root/send/report/logo_pic", piclogo);
  45. model.refresh();
  46. // btn_save.disabled = !checkAuth("X");
  47. makeReportPreview(225,92,970,659);
  48. ]]>
  49. </script>
  50. <script type="javascript">
  51. <![CDATA[
  52. function makeSrchYearItem() {
  53. // item 초기화
  54. model.removeNodeset("/root/hidden/itemset/item");
  55. // Temp Item Node 생성
  56. var tmpItemNode = instance1.createNode("element", "item", "");
  57. var tmpLabelNode = instance1.createNode("element", "lbl", "");
  58. var tmpValueNode = instance1.createNode("element", "val", "");
  59. tmpItemNode.appendChild(tmpLabelNode);
  60. tmpItemNode.appendChild(tmpValueNode);
  61. // 현재 Year
  62. var curYear = getNewDate().getFullYear();
  63. // 초기 데이타가 2007년부터 있으므로
  64. var minYear = "2007"
  65. // Item Node
  66. var itemNode = null;
  67. for( var i = curYear; i >= minYear; i-- ) {
  68. tmpItemNode.lbl.text = i;
  69. tmpItemNode.val.text = i;
  70. // Temp Item Node 복사
  71. itemNode = tmpItemNode.cloneNode(true);
  72. model.duplicate("/root/hidden/itemset", itemNode);
  73. }
  74. cmb_SrchYear.refresh();
  75. }
  76. ]]>
  77. </script>
  78. </model>
  79. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  80. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  82. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  83. </xhtml:head>
  84. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  85. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  86. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:177px; height:14px; ">월별 불만유형별 현황</caption>
  87. </group>
  88. <group id="grp_johe" style="left:225px; top:23px; width:970px; height:35px; vertical-align:top; ">
  89. <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; "/>
  90. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:221px; height:17px; ">통계를 조회할 VOC 접수년도 :</caption>
  91. <select1 id="cmb_SrchYear" ref="/root/send/report/srchyear" class="input_s_essential" appearance="minimal" style="left:227px; top:8px; width:100px; height:19px; text-align:center; ">
  92. <choices>
  93. <itemset nodeset="/root/hidden/itemset/item">
  94. <label ref="lbl"/>
  95. <value ref="val"/>
  96. </itemset>
  97. </choices>
  98. </select1>
  99. <caption id="caption3" class="search_no_b" style="left:331px; top:9px; width:20px; height:17px; ">년</caption>
  100. <line id="line1" class="line_4" style="x1:883px; y1:7px; x2:883px; y2:29px; "/>
  101. <button id="btn_search" class="btn1_letter2" style="left:898px; top:7px; width:56px; height:22px; ">
  102. <caption>조회</caption>
  103. <script type="javascript" ev:event="DOMActivate">
  104. <![CDATA[
  105. if (isRequiredControls("cmb_SrchYear") ){
  106. exeReportPreview("RPCVR00800", "XML", "/root/send/report");
  107. }
  108. ]]>
  109. </script>
  110. </button>
  111. </group>
  112. <group id="grp_customer" style="left:225px; top:58px; width:970px; height:693px; ">
  113. <caption id="caption9" class="tit_2" style="left:5px; top:10px; width:185px; height:14px; ">연간 불만유형별 통계</caption>
  114. <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:970px; y2:25px; "/>
  115. </group>
  116. <import id="import1" overflow="hidden" instancetype="merge" src="./SSCVO00100_LeftTree.xrw" style="left:0px; top:23px; width:215px; height:744px; "/>
  117. </xhtml:body>
  118. </xhtml:html>