123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SMCVE00100_고객상담기록
- * Summary : 고객상담기록
- * Programmer : Roger Kim
- * Date Written : 2007.09.06
- * History :
- * Remark :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <list>
- <vocendlist>
- <acptseq/>
- <acptdd/>
- <acpttype/>
- <acpttitl/>
- <acptkindlrg/>
- <prcsstat/>
- <clntnm/>
- <deptnm/>
- <fstrgstrnm/>
- </vocendlist>
- </list>
- </main>
- <send>
- <data>
- <srchacptdd1/>
- <srchacptdd2/>
- <srchacpttypecd/>
- <srchprcsstatcd>Z</srchprcsstatcd>
- <srchdeptcd/>
- <srchdeptnm/>
- <srchcintnm/>
- <srchpatnm/>
- </data>
- <key>
- <sndacptdd/>
- <sndacptseq/>
- </key>
- </send>
- <init>
- <C0001list>
- <C0001>
- <cdid/>
- <cdnm>전체</cdnm>
- </C0001>
- </C0001list>
- </init>
- </root>
- </instance>
- <submission id="TRCVE00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" resultref="/root/main/list"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset("/root/main/list");
- var reSrchAcptDD1 = model.getValue("/root/send/data/srchacptdd1")
- // 처음 검색 팝업을 띄울 때에는 기본 정보를 안 보여주고, 한번 검색 한 이후에는 최종선택한 정보를 기본적으로 가져옴..
- if ( reSrchAcptDD1 == "" || reSrchAcptDD1 == null ){
- model.setValue("/root/send/data/srchacptdd1",getCurrentDate().toDate().getAddDate(-92,"D").getDateFormat());
- model.setValue("/root/send/data/srchacptdd2",getCurrentDate());
- } else {
- submit("TRCVE00101");
- model.SetFocus("grd_vocendlist");
- }
- zbcfGetCodeList( new Array("C0001"), new Array("/root/init/C0001list"), true );
- fCheckAuth();
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- grd_vocendlist.mergeCol(0) = false;
- grd_vocendlist.mergeCol(3) = false;
- grd_vocendlist.mergeCol(4) = false;
- grd_vocendlist.mergeCol(5) = false;
- grd_vocendlist.mergeCol(6) = false;
- grd_vocendlist.mergeCol(7) = false;
- grd_vocendlist.mergeCol(8) = false;
- grd_vocendlist.mergeCol(9) = false;
- grd_vocendlist.mergeCol(10) = false;
- grd_vocendlist.mergeCol(11) = false;
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fCheckAuth() {
- // 권한체크
- if (!checkAuth("r")) {
- btnicon_search1.disabled = true;
- btn_search.disabled = true;
- }
- if (!checkAuth("x")) {
- btn_print1.disabled = true;
- btn_print2.disabled = true;
- }
- if (!checkAuth("p")) {
- btn_excsave.disabled = true;
- }
- }
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
- </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/basiccodeweb/js/ZBC001.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:165px; height:13px; ">고객상담 기록</caption>
- </group>
- <group id="grp_johe" style="left:225px; top:23px; width:970px; height:59px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:970px; height:59px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:87px; height:17px; ">접수일자 :</caption>
- <input id="ipt_SrchAcptDD1" ref="/root/send/data/srchacptdd1" class="input_s_essential" inputtype="date" style="left:105px; top:8px; width:120px; height:19px; "/>
- <caption id="caption3" class="search_no_b" style="left:230px; top:9px; width:12px; height:17px; ">~</caption>
- <input id="ipt_SrchAcptDD2" ref="/root/send/data/srchacptdd2" class="input_s_essential" inputtype="date" style="left:245px; top:8px; width:120px; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:394px; top:9px; width:87px; height:17px; ">접수구분 :</caption>
- <select1 id="cmb_SrchAcptTypeCd" ref="/root/send/data/srchacpttypecd" class="combo_search" appearance="minimal" style="left:483px; top:8px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0001list/C0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:640px; top:9px; width:87px; height:17px; ">완료여부 :</caption>
- <select1 id="cmb_SrchPrcsStatCd" ref="/root/send/data/srchprcsstatcd" class="combo_search" appearance="minimal" style="left:730px; top:8px; width:130px; height:19px; ">
- <choices>
- <item>
- <label>전체처리완료</label>
- <value>Z</value>
- </item>
- <item>
- <label>자체처리</label>
- <value>X</value>
- </item>
- </choices>
- </select1>
- <caption id="caption6" class="search_name" style="left:15px; top:33px; width:87px; height:17px; ">담당부서 :</caption>
- <output id="ipt_SrchDeptCd" ref="/root/send/data/srchdeptcd" class="output_fix" style="left:105px; top:32px; width:80px; height:19px; "/>
- <button id="btnicon_search1" class="icon_search" style="left:190px; top:32px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var search_term = model.getValue("/root/send/data/srchdeptcd");
-
- if ( search_term != "") {
- var search_condition = "deptcd";
- } else {
- var search_condition = "deptnm";
- }
-
- var receive_deptcd_path = "/root/send/data/srchdeptcd";
- var receive_deptnm_path = "/root/send/data/srchdeptnm";
-
- setParameter("search_condition", search_condition);
- setParameter("search_term", search_term);
- setParameter("receive_deptcd_path", receive_deptcd_path);
- setParameter("receive_deptnm_path", receive_deptnm_path);
-
- modal("SPCCM00300")
-
- clearParameter("search_condition");
- clearParameter("search_term");
- clearParameter("receive_deptcd_path");
- clearParameter("receive_deptnm_path");
- ]]>
- </script>
- </button>
- <input id="ipt_SrchDeptNm" ref="/root/send/data/srchdeptnm" class="input_search" style="left:210px; top:32px; width:155px; height:19px; "/>
- <caption id="caption8" class="search_name" style="left:394px; top:33px; width:87px; height:17px; ">환 자 명 :</caption>
- <input id="ipt_SrchPatNm" ref="/root/send/data/srchpatnm" class="input_search" style="left:483px; top:32px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption7" class="search_name" style="left:640px; top:33px; width:87px; height:17px; ">민 원 인 :</caption>
- <input id="ipt_SrchCintNm" ref="/root/send/data/srchcintnm" class="input_search" style="left:730px; top:32px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line1" class="line_4" style="x1:883px; y1:7px; x2:883px; y2:53px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:898px; top:17px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (isRequiredControls("ipt_SrchAcptDD1", "ipt_SrchAcptDD2") ){
- model.removeNodeset("/root/main/list/vocendlist");
-
- if (model.getValue("/root/send/data/srchprcsstatcd") == "X"){
- model.setValue("/root/send/data/srchdeptcd", "");
- model.setValue("/root/send/data/srchdeptnm", "");
- }
-
- submit("TRCVE00101");
- model.SetFocus("grd_vocendlist");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_customer" style="left:225px; top:82px; width:970px; height:669px; ">
- <caption id="caption9" class="tit_2" style="left:5px; top:10px; width:136px; height:13px; ">고객상담 완료목록</caption>
- <button id="btn_excsave" class="btn2_letter4" visibility="visible" style="left:903px; top:5px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "VOC접수목록엑셀", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- grd_vocendlist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:970px; y2:25px; "/>
- <datagrid id="grd_vocendlist" nodeset="/root/main/list/vocendlist" allowselection="false" caption="접수번호^접수일자^접수구분^제목^접수유형^진행상태^민원인^담당부서^등록자^부서코드" colsep="^" colwidth="70, 80, 80, 330, 70, 80, 80, 75, 75" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="reverseseq" rowheight="23" rowsep="|" style="left:0px; top:30px; width:970px; height:639px; ">
- <col class="text_center" ref="acptseq"/>
- <col class="text_center" ref="acptdd" format="yyyy-mm-dd"/>
- <col class="text_center" ref="acpttype"/>
- <col ref="acpttitl"/>
- <col class="text_center" ref="acptkindlrg"/>
- <col class="text_center" ref="prcsstat"/>
- <col class="text_center" ref="clntnm"/>
- <col ref="deptnm"/>
- <col class="text_center" ref="fstrgstrnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = grd_vocendlist.row;
- var receive_acptdd = grd_vocendlist.valueMatrix(row, grd_vocendlist.colRef("acptdd"));
- var receive_acptseq = grd_vocendlist.valueMatrix(row, grd_vocendlist.colRef("acptseq"));
- if ((grd_vocendlist.row > 0) && grd_vocendlist.isCell(event.target)){
- model.setValue("/root/send/key/sndacptdd", receive_acptdd);
- model.setValue("/root/send/key/sndacptseq", receive_acptseq);
-
- // navigate("SMCVD00200", "", "", "", "SMCVD00200", "/root/send", "/root/main/temp");
- } else {
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="grp_btn" scroll="auto" style="left:225px; top:751px; width:970px; height:27px; ">
- <caption id="caption20" class="hand" style="left:100px; top:7px; width:589px; height:17px; ">고객상담기록에서는 처리완료 목록에 대하여 상담기록을 출력하실 수 있습니다.</caption>
- <button id="btn_print1" class="btn4_letter8" style="left:700px; top:5px; width:128px; height:22px; ">
- <caption>회신요청서 출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_vocendlist.row;
- var receive_acptdd = grd_vocendlist.valueMatrix(row, grd_vocendlist.colRef("acptdd"));
- var receive_acptseq = grd_vocendlist.valueMatrix(row, grd_vocendlist.colRef("acptseq"));
-
- if ((grd_vocendlist.row > 0) && (grd_vocendlist.col > 1)){
- model.setValue("/root/send/key/sndacptdd", receive_acptdd);
- model.setValue("/root/send/key/sndacptseq", receive_acptseq);
-
- // navigate("SMCVD00200", "", "", "", "SMCVD00200", "/root/send", "/root/main/temp");
- } else {
- messageBox("조회하신 후 목록을 ","C002");
- model.SetFocus("grd_vocendlist");
- }
- ]]>
- </script>
- </button>
- <button id="btn_print2" class="btn4_letter9" style="left:830px; top:5px; width:140px; height:22px; ">
- <caption>고객상담 기록 출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_vocendlist.row;
- var receive_acptdd = grd_vocendlist.valueMatrix(row, grd_vocendlist.colRef("acptdd"));
- var receive_acptseq = grd_vocendlist.valueMatrix(row, grd_vocendlist.colRef("acptseq"));
-
- if ((grd_vocendlist.row > 0) && (grd_vocendlist.col > 1)){
- model.setValue("/root/send/key/sndacptdd", receive_acptdd);
- model.setValue("/root/send/key/sndacptseq", receive_acptseq);
-
- // navigate("SMCVD00200", "", "", "", "SMCVD00200", "/root/send", "/root/main/temp");
- } else {
- messageBox("조회하신 후 목록을 ","C002");
- model.SetFocus("grd_vocendlist");
- }
- ]]>
- </script>
- </button>
- </group>
- <import id="import1" overflow="hidden" instancetype="merge" src="./SSCVA00100_LeftTree.xrw" style="left:0px; top:23px; width:215px; height:744px; "/>
- </xhtml:body>
- </xhtml:html>
|