|
@@ -131,12 +131,25 @@
|
|
|
<td colspan="5">
|
|
<td colspan="5">
|
|
|
<input type="text" name="ansTitle" maxlength="100" required="required" data-valid-name="답변제목"/>
|
|
<input type="text" name="ansTitle" maxlength="100" required="required" data-valid-name="답변제목"/>
|
|
|
</td>
|
|
</td>
|
|
|
-
|
|
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<th>답변내용<em class="required" title="필수"></em></th>
|
|
<th>답변내용<em class="required" title="필수"></em></th>
|
|
|
<td colspan="5">
|
|
<td colspan="5">
|
|
|
- <textarea name="ansContent" class="textareaR3" required="required" data-valid-name="답변내용"></textarea>
|
|
|
|
|
|
|
+ <textarea name="ansContent" class="textareaR4" required="required" data-valid-name="답변내용"></textarea>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <th>카카오템플릿코드</th>
|
|
|
|
|
+ <td>
|
|
|
|
|
+ <input type="text" name="kakaoCd" maxlength="20"/>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <th>카카오버튼명</th>
|
|
|
|
|
+ <td>
|
|
|
|
|
+ <input type="text" name="buttonNm" maxlength="50"/>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <th>카카오버튼URL</th>
|
|
|
|
|
+ <td>
|
|
|
|
|
+ <input type="text" name="buttonUrl" maxlength="100"/>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
</table>
|
|
</table>
|
|
@@ -162,17 +175,20 @@
|
|
|
var columnDefs = [
|
|
var columnDefs = [
|
|
|
{headerName: "답변번호", field: "ansSq", width: 100, cellClass: 'text-center'},
|
|
{headerName: "답변번호", field: "ansSq", width: 100, cellClass: 'text-center'},
|
|
|
{
|
|
{
|
|
|
- headerName: "사이트", field: "siteCd", width: 150, cellClass: 'text-center',
|
|
|
|
|
|
|
+ headerName: "사이트", field: "siteCd", width: 100, cellClass: 'text-center',
|
|
|
valueGetter: function (params) { return gagaAgGrid.lookupValue(siteList, params.data.siteCd); }
|
|
valueGetter: function (params) { return gagaAgGrid.lookupValue(siteList, params.data.siteCd); }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- headerName: "답변종류", field: "ansClsf", width: 150, cellClass: 'text-center',
|
|
|
|
|
|
|
+ headerName: "답변종류", field: "ansClsf", width: 100, cellClass: 'text-center',
|
|
|
valueGetter: function (params) { return gagaAgGrid.lookupValue(ansClsfList, params.data.ansClsf); }
|
|
valueGetter: function (params) { return gagaAgGrid.lookupValue(ansClsfList, params.data.ansClsf); }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
headerName: "답변제목", field: "ansTitle", width: 350,
|
|
headerName: "답변제목", field: "ansTitle", width: 350,
|
|
|
cellRenderer: function(params) { return '<a href="javascript:void(0);">' + params.value + '</a>'; }
|
|
cellRenderer: function(params) { return '<a href="javascript:void(0);">' + params.value + '</a>'; }
|
|
|
},
|
|
},
|
|
|
|
|
+ {headerName: "카카오템플릿코드", field: "kakaoCd", width: 150, cellClass: 'text-center'},
|
|
|
|
|
+ {headerName: "카카오버튼명", field: "buttonNm", width: 150, cellClass: 'text-center'},
|
|
|
|
|
+ {headerName: "카카오버튼URL", field: "buttonUrl", width: 300},
|
|
|
{headerName: "사용여부", field: "useYn", width: 80, cellClass: 'text-center'},
|
|
{headerName: "사용여부", field: "useYn", width: 80, cellClass: 'text-center'},
|
|
|
{headerName: "등록자", field: "regNm", width: 150, cellClass: 'text-center'},
|
|
{headerName: "등록자", field: "regNm", width: 150, cellClass: 'text-center'},
|
|
|
{
|
|
{
|
|
@@ -207,6 +223,9 @@
|
|
|
|
|
|
|
|
$('#detailForm input[name=ansTitle]').val(event.data.ansTitle.replaceAll('>','>')); // 답변제목
|
|
$('#detailForm input[name=ansTitle]').val(event.data.ansTitle.replaceAll('>','>')); // 답변제목
|
|
|
$('#detailForm textarea[name=ansContent]').val(event.data.ansContent); // 답변내용
|
|
$('#detailForm textarea[name=ansContent]').val(event.data.ansContent); // 답변내용
|
|
|
|
|
+ $('#detailForm input[name=kakaoCd]').val(event.data.kakaoCd); // 카카오템플릿코드
|
|
|
|
|
+ $('#detailForm input[name=buttonNm]').val(event.data.buttonNm); // 카카오버튼명
|
|
|
|
|
+ $('#detailForm input[name=buttonUrl]').val(event.data.buttonUrl); // 카카오버튼URL
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 검색
|
|
// 검색
|