123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SPCVO02800_VOC고객회신관리
- * Summary : VOC 고객회신관리
- * Programmer : 김준규
- * Date Written : 2007.10.23
- * 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>VOC 고객회신관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <aprvdata>
- <acptdd/>
- <acptseq/>
- <aprvreqdd/>
- <aprvreqnm/>
- <aprvdd/>
- <aprvkindflag/>
- <csteamclntnotidt/>
- <csteamclntnoticnts/>
- <prcsstat/>
- <rgstseq/>
- <pid/>
- <acpviewdd/>
- </aprvdata>
- <temp>
- <key>
- <sndacptdd/>
- <sndacptseq/>
- <sndrgstseq/>
- <pid/>
- </key>
- </temp>
- </main>
- <temp/>
- <send>
- <data>
- </data>
- </send>
- <init/>
- </root>
- </instance>
- <submission id="TXCVO01701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/aprvdata"/>
- <submission id="TXCVO01702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/aprvdata"/>
- <submission id="TRCVO01701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/temp/key" resultref="/root/main/aprvdata"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var reAcptDD = model.getValue("/root/main/temp/key/sndacptdd")
- var reAcptSeq = model.getValue("/root/main/temp/key/sndacptseq")
- var reRgstSeq = model.getValue("/root/main/temp/key/sndrgstseq")
- var pid = model.getValue("/root/main/temp/key/pid");
- var acpviewdd = model.getValue("/root/main/temp/key/acpviewdd");
-
- if (( reAcptDD == "" || reAcptDD == null ) || ( reAcptSeq == "" || reAcptSeq == null ) || ( reRgstSeq == "" || reRgstSeq == null )) {
- var rtn = messageBox("조회에 필요한 항목이 전달되지", "E007");
- if(rtn == 1){
- window.close();
- }
- } else {
- submit("TRCVO01701");
- model.setValue("/root/main/aprvdata/pid", pid);
- model.setValue("/root/main/aprvdata/acpviewdd", acpviewdd);
- var rePrcsstat = model.getValue("/root/main/aprvdata/prcsstat")
-
- if(( rePrcsstat == "승인요청" ) || ( rePrcsstat == "부서장승인" )) {
- btn_rplcustomer.visible = true;
- cpt_Notice.visible = true;
- } else {
- btn_rplcustomer.visible = false;
- cpt_Notice.visible = false;
- }
- }
-
- fCheckAuth();
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fCheckAuth() {
- // 권한체크
- if (!checkAuth("r")) {
- }
- if (!checkAuth("x")) {
- btn_rplcustomer.disable = false;
- btn_input.disable = false;
- }
- if (!checkAuth("p")) {
- }
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="630" pageheight="370" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_tle" style="left:0px; top:0px; width:610px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:132px; height:14px; ">VOC 고객회신 정보</caption>
- </group>
- <group id="grp_customer" style="left:0px; top:13px; width:610px; height:307px; ">
- <line id="line2" class="line_1" style="x1:0px; y1:5px; x2:610px; y2:5px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:33px; x2:610px; y2:33px; "/>
- <line id="line1" class="line_3" style="x1:0px; y1:304px; x2:610px; y2:304px; "/>
- <caption id="caption6" class="cell_1" style="left:0px; top:10px; width:105px; height:23px; text-align:center; vertical-align:middle; ">고객통보일시</caption>
- <input id="ipt_Notidt" ref="/root/main/aprvdata/csteamclntnotidt" class="input_essential" format="yyyy-mm-dd hh:nn" showmask="true" style="left:109px; top:11px; width:115px; height:19px; "/>
- <caption id="caption2" class="cell_1" style="left:0px; top:35px; width:105px; height:270px; text-align:center; vertical-align:middle; ">고객통보내역</caption>
- <textarea id="tar_Noticnts" ref="/root/main/aprvdata/csteamclntnoticnts" scroll="vertical" style="left:108px; top:35px; width:500px; height:267px; "/>
- <caption id="caption18" style="left:235px; top:15px; width:338px; height:14px; font-weight:bold; ">예) 2009-05-01 15:30 처럼 몇 시 몇 분까지 입력하세요.</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:320px; width:610px; height:27px; ">
- <button id="btn_close" class="btn4_letter2" style="left:550px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- <button id="btn_input" class="btn4_letter2" style="left:492px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var reAcptSeq = model.getValue("/root/main/temp/key/sndacptseq")
-
- if ( reAcptSeq == "" || reAcptSeq == null ) {
- var rtn = messageBox("저장에 필요한 항목이 전달되지", "E007");
- if(rtn == 1){
- window.close();
- }
- } else {
- // var rtn = messageBox("고객회신 내용만 저장됩니다.", "Q003");
- // if(rtn == 6){
- if ( ( ipt_Notidt.value.length > 0 ) && (ipt_Notidt.value.length < 12) ){
- messageBox("고객통보일시는 2009-05-01 15:30 처럼 날짜와 시간을 함께 ", "C001");
- model.setFocus("ipt_Notidt");
- } else {
- if (submit("TXCVO01701")){
- messageBox("고객회신 저장이 ", "I002");
- window.close();
- }
- }
- // }
- }
- ]]>
- </script>
- </button>
- <button id="btn_rplcustomer" class="btn4_letter7" visibility="hidden" style="left:374px; top:5px; width:116px; height:22px; ">
- <caption>고객회신 완료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rePrcsstat = model.getValue("/root/main/aprvdata/prcsstat");
-
- if(( rePrcsstat == "승인요청" ) || ( rePrcsstat == "부서장승인" )) {
- var rtn = messageBox("고객회신 내용 저장 및 고객회신 처리가 끝나게 됩니다.", "Q003");
- if(rtn == 6){
- if (isRequiredControls("ipt_Notidt") ){
- if ( ( ipt_Notidt.value.length > 0 ) && (ipt_Notidt.value.length < 12) ){
- messageBox("고객통보일시는 2009-05-01 15:30 처럼 날짜와 시간을 함께 ", "C001");
- model.setFocus("ipt_Notidt");
- } else {
- if (submit("TXCVO01702")){
- messageBox("고객회신 처리가 ", "I002");
- opener.javascript.navigate("SMCVO01900", "", "", "", "SMCVO01900", "/root/main/temp", "/root/main/temp");
- window.close();
- }
- }
- }
- }
- } else {
- messageBox("승인요청이나 부서장승인 상태가 아니면 고객회신 완료 처리를 ", "E001");
- }
- ]]>
- </script>
- </button>
- <caption id="cpt_Notice" class="hand" visibility="hidden" style="left:5px; top:7px; width:365px; height:17px; ">고객회신 완료 버튼을 누르시면 고객회신 상태가 됩니다.</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|