|
|
@@ -27,13 +27,14 @@
|
|
|
<div class="panelContent">
|
|
|
<form id="qnaDetailForm" name="qnaDetailForm" action="#" th:action="@{'/customer/qna/answer/save'}" th:method="post" th:object="${counselInfo}">
|
|
|
<input type="hidden" name="counselSq" th:value="*{counselSq}"/>
|
|
|
+ <input type="hidden" name="emailReqYn" th:value="*{emailReqYn}"/>
|
|
|
|
|
|
<h4>상담정보</h4>
|
|
|
<table class="tableStyle" aria-describedby="상담정보">
|
|
|
<colgroup>
|
|
|
<col style="width:10%;"/>
|
|
|
<col style="width:10%;"/>
|
|
|
- <col style="width:12%;"/>
|
|
|
+ <col style="width:10%;"/>
|
|
|
<col style="width:15%;"/>
|
|
|
<col/>
|
|
|
<col style="width:15%;"/>
|
|
|
@@ -54,7 +55,7 @@
|
|
|
<tr>
|
|
|
<td th:text="*{counselSq}"></td>
|
|
|
<td th:text="*{siteNm}"></td>
|
|
|
- <td th:utext="*{counselClsfNm}"></td>
|
|
|
+ <td>상품문의</td>
|
|
|
<td th:text="*{questDt}"></td>
|
|
|
<td th:utext="*{custNm + ' / ' + cellPhnno + ' / ' + email}"></td>
|
|
|
<td th:utext="*{ansTransYn == 'Y' ? ansTransDt + ' / ' + ansCompNm : ''}"></td>
|
|
|
@@ -66,20 +67,33 @@
|
|
|
<h4>고객문의</h4>
|
|
|
<table class="frmStyle" aria-describedby="고객문의">
|
|
|
<colgroup>
|
|
|
+ <col style="width:10%;"/>
|
|
|
+ <col style="width:20%;"/>
|
|
|
<col style="width:10%;"/>
|
|
|
<col/>
|
|
|
+ <col style="width:10%;"/>
|
|
|
+ <col style="width:30%;"/>
|
|
|
</colgroup>
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
- <th>상품</th>
|
|
|
- <td>
|
|
|
- <p th:text="*{goodsNm + ' (' + relGoodsCd + ')'}"></p>
|
|
|
- <p class="userImg" id="onetooneImg"></p>
|
|
|
- </td>
|
|
|
+ <th>상품코드</th>
|
|
|
+ <td colspan="3" th:text="*{relGoodsCd}"></td>
|
|
|
+ <th rowspan="3">상품이미지</th>
|
|
|
+ <td rowspan="3" class="userImg" id="onetooneImg"></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>상품명</th>
|
|
|
+ <td colspan="3" th:text="*{goodsNm}"></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>비밀글여부</th>
|
|
|
+ <td th:text="*{secretYn == 'Y' ? 'Yes' : 'No'}"></td>
|
|
|
+ <th>이메일답변요청</th>
|
|
|
+ <td th:text="*{emailReqYn == 'Y' ? '수신' : '미수신'}"></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>문의 내용</th>
|
|
|
- <td>
|
|
|
+ <td colspan="5">
|
|
|
<textarea class="textareaR4" style="resize: none;" name="questContent" th:text="*{questContent}" disabled="disabled"></textarea>
|
|
|
</td>
|
|
|
</tr>
|
|
|
@@ -128,7 +142,7 @@
|
|
|
<ul class="panelBar">
|
|
|
<li class="right">
|
|
|
<!-- 아직 업체에게 의뢰를 하지 않은 답변대기중인 입점상품이면서 권한이 "SUPER관리자, 어드민관리자, CS관리자, CS상담사"일 때 -->
|
|
|
- <span th:if="${counsel.selfGoodsYn == 'N' && counsel.ansTransYn == 'N' && counsel.ansStat == '10' (sessionInfo.roleCd == 'G001_0000' || sessionInfo.roleCd == 'G001_A000' || sessionInfo.roleCd == 'G001_A3000' || sessionInfo.roleCd == 'G001_A301')}">
|
|
|
+ <span th:if="${counselInfo.selfGoodsYn == 'N' && counselInfo.ansTransYn == 'N' && counselInfo.ansStat == 'G060_10' && (sessionInfo.roleCd == 'G001_0000' || sessionInfo.roleCd == 'G001_A000' || sessionInfo.roleCd == 'G001_A3000' || sessionInfo.roleCd == 'G001_A301')}">
|
|
|
<select name="ansCompCd" id="ansCompCd">
|
|
|
<option value="">[답변의뢰업체]</option>
|
|
|
<option th:if="${supplyCompList}" th:each="oneData, status : ${supplyCompList}" th:value="${oneData.cd}" th:text="${oneData.cdNm}"></option>
|
|
|
@@ -217,8 +231,8 @@
|
|
|
$(document).ready(function() {
|
|
|
// var counsel = [[${counsel}]];
|
|
|
|
|
|
-// if (!gagajf.isNull(counsel.sysFileNm)) {
|
|
|
-// var imgTag = '<img style="height: 100px;" onclick="cfnOpenImagePreViewPopup(\'goodsImgView\', \'' + _imgUrl + '/counsel/' + counsel.sysFileNm + '\')" src="' + _imgUrl + '/counsel/' + counsel.sysFileNm + '">';
|
|
|
+// if (!gagajf.isNull(counselInfo.sysFileNm)) {
|
|
|
+// var imgTag = '<img style="height: 100px;" onclick="cfnOpenImagePreViewPopup(\'goodsImgView\', \'' + _imgUrl + '/counsel/' + counselInfo.sysFileNm + '\')" src="' + _imgUrl + '/counsel/' + counselInfo.sysFileNm + '">';
|
|
|
// $('#onetooneImg').append(imgTag);
|
|
|
// }
|
|
|
|