123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SMCVR00800_월별불만유형별현황
- * Summary : 월별 불만유형별 현황
- * Programmer : 김준규
- * Date Written : 2007.08.22
- * History :
- * Remark :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>월별 불만유형별 현황</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main/>
- <send>
- <report>
- <srchyear/>
- <instcd/>
- <logo_pic/>
- </report>
- </send>
- <hidden>
- <itemset>
- <item>
- <lbl/>
- <val/>
- </item>
- </itemset>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var currentYear = getNewDate().getFullYear();
- var dutplceinstcd = getUserInfo("dutplceinstcd");
-
- makeSrchYearItem();
- model.setValue("/root/send/report/srchyear", currentYear);
- model.setValue("/root/send/report/instcd", dutplceinstcd);
-
- var syscd = "CRM" + getUserInfo("dutplceinstcd");
- var piclogo = getLogoImageURL(syscd);
- model.setValue("/root/send/report/logo_pic", piclogo);
-
- model.refresh();
- // btn_save.disabled = !checkAuth("X");
- makeReportPreview(225,92,970,659);
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function makeSrchYearItem() {
-
- // item 초기화
- model.removeNodeset("/root/hidden/itemset/item");
-
- // Temp Item Node 생성
- var tmpItemNode = instance1.createNode("element", "item", "");
- var tmpLabelNode = instance1.createNode("element", "lbl", "");
- var tmpValueNode = instance1.createNode("element", "val", "");
- tmpItemNode.appendChild(tmpLabelNode);
- tmpItemNode.appendChild(tmpValueNode);
-
- // 현재 Year
- var curYear = getNewDate().getFullYear();
- // 초기 데이타가 2007년부터 있으므로
- var minYear = "2007"
- // Item Node
- var itemNode = null;
-
- for( var i = curYear; i >= minYear; i-- ) {
-
- tmpItemNode.lbl.text = i;
- tmpItemNode.val.text = i;
-
- // Temp Item Node 복사
- itemNode = tmpItemNode.cloneNode(true);
-
- model.duplicate("/root/hidden/itemset", itemNode);
- }
- cmb_SrchYear.refresh();
- }
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:177px; height:14px; ">월별 불만유형별 현황</caption>
- </group>
- <group id="grp_johe" style="left:225px; top:23px; width:970px; height:35px; vertical-align:top; ">
- <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; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:221px; height:17px; ">통계를 조회할 VOC 접수년도 :</caption>
- <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; ">
- <choices>
- <itemset nodeset="/root/hidden/itemset/item">
- <label ref="lbl"/>
- <value ref="val"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_no_b" style="left:331px; top:9px; width:20px; height:17px; ">년</caption>
- <line id="line1" class="line_4" style="x1:883px; y1:7px; x2:883px; y2:29px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:898px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (isRequiredControls("cmb_SrchYear") ){
- exeReportPreview("RPCVR00800", "XML", "/root/send/report");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_customer" style="left:225px; top:58px; width:970px; height:693px; ">
- <caption id="caption9" class="tit_2" style="left:5px; top:10px; width:185px; height:14px; ">연간 불만유형별 통계</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:970px; y2:25px; "/>
- </group>
- <import id="import1" overflow="hidden" instancetype="merge" src="./SSCVO00100_LeftTree.xrw" style="left:0px; top:23px; width:215px; height:744px; "/>
- </xhtml:body>
- </xhtml:html>
|