|
|
@@ -37,53 +37,38 @@
|
|
|
<col/>
|
|
|
</colgroup>
|
|
|
<tr>
|
|
|
- <th class="dashR">기획전구분<i class="star"></i></th>
|
|
|
- <td class="dashR">
|
|
|
+ <th>기획전구분<i class="star"></i></th>
|
|
|
+ <td>
|
|
|
<select name="planGb" id="planGb" th:field="*{planGb}" onchange="fnChangePlanGb(this);">
|
|
|
<option value="P">기획전</option>
|
|
|
<option value="E">이벤트</option>
|
|
|
</select>
|
|
|
</td>
|
|
|
- <th class="dashR">기획전탬플릿유형<i class="star"></i></th>
|
|
|
- <td class="dashR" colspan="3">
|
|
|
+ <th>기획전탬플릿유형<i class="star"></i></th>
|
|
|
+ <td colspan="3">
|
|
|
<select name="templateType" th:field="*{templateType}">
|
|
|
<option value="H">HTML</option>
|
|
|
<option value="T">TEXT</option>
|
|
|
</select>
|
|
|
</td>
|
|
|
</tr>
|
|
|
- <!-- <tr>
|
|
|
- <th class="dashR">회원구분<i class="star"></i></th>
|
|
|
- <td class="dashR">
|
|
|
- <select name="custGb" required="required" data-valid-name="회원구분" th:field="*{custGb}">
|
|
|
- <option th:if="${custGbList}" th:each="oneData, status : ${custGbList}" th:value="${oneData.cd}" th:selected="${oneData.cd} == 'Y'" th:text="|${oneData.cdNm}|"></option>
|
|
|
- </select>
|
|
|
- </td>
|
|
|
- <th class="dashR">회원등급<i class="star"></i></th>
|
|
|
- <td class="dashR" colspan="3">
|
|
|
- <select name="custGrade" required="required" data-valid-name="회원등급" th:field="*{custGrade}">
|
|
|
- <option value="0">전체</option>
|
|
|
- <option th:if="${custGradeList}" th:each="oneData, status : ${custGradeList}" th:value="${oneData.cd}" th:selected="${oneData.cd} == 'Y'" th:text="|${oneData.cdNm}|"></option>
|
|
|
- </select>
|
|
|
- </td>
|
|
|
- </tr> -->
|
|
|
<tr>
|
|
|
- <th class="dashR">프론트 구분<i class="star"></i></th>
|
|
|
- <td class="dashR">
|
|
|
+ <th>프론트 구분<i class="star"></i></th>
|
|
|
+ <td>
|
|
|
<select name="frontGb" id="frontGb" th:field="*{frontGb}">
|
|
|
<option value="A">전체</option>
|
|
|
<option value="P">웹</option>
|
|
|
<option value="M">모바일</option>
|
|
|
</select>
|
|
|
</td>
|
|
|
- <th class="dashR">기획전명<i class="star"></i></th>
|
|
|
- <td class="dashR" colspan="3">
|
|
|
+ <th>기획전명<i class="star"></i></th>
|
|
|
+ <td colspan="3">
|
|
|
<input type="text" name="planNm" id="planNm" th:field="*{planNm}"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <th class="dashR">진행기간<i class="star"></i></th>
|
|
|
- <td class="dashR">
|
|
|
+ <th>진행기간<i class="star"></i></th>
|
|
|
+ <td>
|
|
|
<input type="text" class="schDate w100" name="startSearchDate" maxlength="10" required="required" data-valid-name="노출기간" th:field="*{startSearchDate}"/>
|
|
|
<select name="startSearchHour" required="required" data-valid-name="진행기간 시작시간">
|
|
|
<th:block th:each="num, index : ${#numbers.sequence(0,23)}">
|
|
|
@@ -110,81 +95,75 @@
|
|
|
<input type="hidden" name="dispStdt" id="dispStdt"/>
|
|
|
<input type="hidden" name="dispEddt" id="dispEddt"/>
|
|
|
</td>
|
|
|
- <th class="dashR">서브제목</th>
|
|
|
- <td class="dashR" colspan="3">
|
|
|
+ <th>서브제목</th>
|
|
|
+ <td colspan="3">
|
|
|
<input type="text" name="dtlTitle1" id="dtlTitle1" th:value="*{dtlTitle1}"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <th class="dashR">코너명노출 여부<i class="star"></i></th>
|
|
|
- <td class="dashR">
|
|
|
+ <th>코너명노출 여부<i class="star"></i></th>
|
|
|
+ <td>
|
|
|
<select name="cornerNmDispYn" th:field="*{cornerNmDispYn}">
|
|
|
<option th:if="${useYnList}" th:each="oneData, status : ${useYnList}" th:value="${oneData.cd}" th:selected="${oneData.cd} == 'Y'" th:text="|${oneData.cdNm}|"></option>
|
|
|
</select>
|
|
|
</td>
|
|
|
- <th class="dashR">오픈여부<i class="star"></i></th>
|
|
|
- <td class="dashR">
|
|
|
+ <th>오픈여부<i class="star"></i></th>
|
|
|
+ <td>
|
|
|
<select name="openYn" th:field="*{openYn}">
|
|
|
<option th:if="${useYnList}" th:each="oneData, status : ${useYnList}" th:value="${oneData.cd}" th:selected="${oneData.cd} == 'Y'" th:text="|${oneData.cdNm}|"></option>
|
|
|
</select>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <th class="dashR">사이트<i class="star"></i></th>
|
|
|
- <td class="dashR">
|
|
|
+ <th>사이트<i class="star"></i></th>
|
|
|
+ <td>
|
|
|
<select name="siteCd" th:field="*{siteCd}">
|
|
|
<option value="">선택</option>
|
|
|
<option th:if="${siteList}" th:each="oneData, status : ${siteList}" th:value="${oneData.cd}" th:text="|${oneData.cdNm}|"></option>
|
|
|
</select>
|
|
|
</td>
|
|
|
- <th class="dashR">전시순서</th>
|
|
|
- <td class="dashR">
|
|
|
+ <th>전시순서</th>
|
|
|
+ <td>
|
|
|
<input type="text" name="dispOrd" class="w100 aR" th:value="*{dispOrd}"/>
|
|
|
</td>
|
|
|
- <!-- <th class="dashR">삭제여부<i class="star"></i></th>
|
|
|
- <td class="dashR">
|
|
|
- <select name="delYn" th:field="*{delYn}" required="required" data-valid-name="삭제여부">
|
|
|
- <option th:if="${useYnList}" th:each="oneData, status : ${useYnList}" th:value="${oneData.cd}" th:selected="${oneData.cd} == 'N'" th:text="|${oneData.cdNm}|"></option>
|
|
|
- </select>
|
|
|
- </td> -->
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <th class="dashR">사용고객등급구분<em class="required" title="필수"></em></th>
|
|
|
- <td class="dashR">
|
|
|
+ <th>사용고객등급구분<em class="required" title="필수"></em></th>
|
|
|
+ <td>
|
|
|
<label class="chkBox" th:if="${usableCustGradeList}" th:each="oneData, status : ${usableCustGradeList}">
|
|
|
<input type="checkbox" name="usableCustGradeArr" th:value="${oneData.cd}" th:text="${oneData.cdNm}"/>
|
|
|
</label>
|
|
|
</td>
|
|
|
- <th class="dashR">댓글여부</th>
|
|
|
- <td class="dashR">
|
|
|
+ <th>사용가능고객구분<em class="required" title="필수"></em></th>
|
|
|
+ <td>
|
|
|
+ <label class="chkBox" th:if="${usableCustGbList}" th:each="oneData, status : ${usableCustGbList}">
|
|
|
+ <input type="checkbox" name="usableCustGbArr" th:value="${oneData.cd}" th:text="${oneData.cdNm}"/>
|
|
|
+ </label>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>제휴채널<em class="required" title="필수"></em></th>
|
|
|
+ <td>
|
|
|
+ <label class="chkBox" th:if="${upperAfLinkCdList}" th:each="oneData, status : ${upperAfLinkCdList}">
|
|
|
+ <input type="checkbox" name="upperAfLinkCdArr" th:value="${oneData.cd}" th:text="${oneData.cdNm}"/>
|
|
|
+ </label>
|
|
|
+ </td>
|
|
|
+ <th>댓글여부</th>
|
|
|
+ <td>
|
|
|
<select name="replyYn" th:field="*{replyYn}">
|
|
|
<option value="">선택</option>
|
|
|
<option th:if="${useYnList}" th:each="oneData, status : ${useYnList}" th:value="${oneData.cd}" th:text="|${oneData.cdNm}|"></option>
|
|
|
</select>
|
|
|
</td>
|
|
|
</tr>
|
|
|
- <!-- <tr>
|
|
|
- <th class="dashR">뱃지 타이틀</th>
|
|
|
- <td class="dashR" colspan="3">
|
|
|
- <input type="text" name="badgeNm" th:value="*{badgeNm}"/>
|
|
|
- </td>
|
|
|
- <th class="dashR">뱃지 배경색상</th>
|
|
|
- <td class="dashR">
|
|
|
- <input type="text" name="badgeBcolor" th:value="*{badgeBcolor}"/>
|
|
|
- </td>
|
|
|
- <th class="dashR">뱃지 글자색상</th>
|
|
|
- <td class="dashR" colspan="3">
|
|
|
- <input type="text" name="badgeFcolor" th:value="*{badgeFcolor}"/>
|
|
|
- </td>
|
|
|
- </tr> -->
|
|
|
<tr>
|
|
|
- <th class="dashR">PC 메인 이미지<i id="pMimgStar"></i><br/>[삭제여부<label class="chkBox"><input type="checkbox" name="orgMainPimgDelYn" value="Y"/></label>]</th>
|
|
|
- <td class="dashR">
|
|
|
+ <th>PC 메인 이미지<i id="pMimgStar"></i><br/>[삭제여부<label class="chkBox"><input type="checkbox" name="orgMainPimgDelYn" value="Y"/></label>]</th>
|
|
|
+ <td>
|
|
|
<div th:if=*{mainPimg} id="mainPimgView" style="float:left;">
|
|
|
<img id="PreMainPimgUrl" th:src="${@environment.getProperty('upload.image.view') + '/planning/'} + *{mainPimg}" style="max-width:720px;"/>
|
|
|
</div>
|
|
|
</td>
|
|
|
- <td class="dashR" colspan="4">
|
|
|
+ <td colspan="4">
|
|
|
<div class="uFile w400">
|
|
|
<input id="registerMainPimg" name="registerMainPimg" type="file" accept="image/*" class="uFileInput w400"/>
|
|
|
<label for="registerMainPimg" class="uFileLabel w400">파일선택</label>
|
|
|
@@ -194,13 +173,13 @@
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <th class="dashR">모바일 메인 이미지<i id="mMimgStar"></i><br/>[삭제여부<label class="chkBox"><input type="checkbox" name="orgMainMimgDelYn" value="Y"/></label>]</th>
|
|
|
- <td class="dashR">
|
|
|
+ <th>모바일 메인 이미지<i id="mMimgStar"></i><br/>[삭제여부<label class="chkBox"><input type="checkbox" name="orgMainMimgDelYn" value="Y"/></label>]</th>
|
|
|
+ <td>
|
|
|
<div th:if=*{mainMimg} id="imgFileView" style="float:left;">
|
|
|
<img id="PreMainMimgUrl" th:src="${@environment.getProperty('upload.image.view') + '/planning/'} + *{mainMimg}" style="max-width:720px;"/>
|
|
|
</div>
|
|
|
</td>
|
|
|
- <td class="dashR" colspan="4">
|
|
|
+ <td colspan="4">
|
|
|
<div class="uFile w400">
|
|
|
<input id="registerMainMimg" name="registerMainMimg" type="file" accept="image/*" class="uFileInput w400"/>
|
|
|
<label for="registerMainMimg" class="uFileLabel w400">파일선택</label>
|
|
|
@@ -209,105 +188,26 @@
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
- <!-- <tr>
|
|
|
- <th class="dashR">웹 상세 이미지<br/>[삭제여부<label><input type="checkbox" name="orgDtlPimgDelYn" value="Y"/></label>]</th>
|
|
|
- <td class="dashR">
|
|
|
- <div th:if=*{dtlPimg} id="DtlPimgView" style="float:left;">
|
|
|
- <img id="PreDtlPimgUrl" th:src="${@environment.getProperty('upload.image.view') + '/plan/'} + *{dtlPimg}" style="width:100%;"/>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- <td class="dashR" colspan="4">
|
|
|
- <div class="uFile w400">
|
|
|
- <input id="registerDtlPimg" name="registerDtlPimg" type="file" accept="image/*" class="uFileInput w400"/>
|
|
|
- <label for="registerDtlPimg" class="uFileLabel w400">파일선택</label>
|
|
|
- <input type="hidden" name="orgDtlPimg" id="orgDtlPimg" th:value="*{dtlPimg}"/>
|
|
|
- <input type="hidden" name="dtlPimg" id="dtlPimg"/>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="dashR">모바일 상세 이미지<br/>[삭제여부<label><input type="checkbox" name="orgDtlMimgDelYn" value="Y"/></label>]</th>
|
|
|
- <td class="dashR">
|
|
|
- <div th:if=*{dtlMimg} id="DtlMimgView" style="float:left;">
|
|
|
- <img id="PredtlMimgUrl" th:src="${@environment.getProperty('upload.image.view') + '/plan/'} + *{dtlMimg}" style="width:100%;"/>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- <td class="dashR" colspan="4">
|
|
|
- <div class="uFile w400">
|
|
|
- <input id="registerDtlMimg" name="registerDtlMimg" type="file" accept="image/*" class="uFileInput w400"/>
|
|
|
- <label for="registerDtlMimg" class="uFileLabel w400">파일선택</label>
|
|
|
- <input type="hidden" name="orgDtlMimg" id="orgDtlMimg" th:value="*{dtlMimg}"/>
|
|
|
- <input type="hidden" name="dtlMimg" id="dtlMimg"/>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr> -->
|
|
|
</tbody>
|
|
|
- <!-- <tbody id="questionEventUpdate">
|
|
|
- <tr>
|
|
|
- <th class="dashR">개인정보 수집동의</th>
|
|
|
- <td class="dashR">
|
|
|
- <div style="margin-top:5px;">
|
|
|
- <textarea name="privacyPolicy" id="privacyPolicyDetail" style="width:720px;">[[*{privacyPolicy}]]</textarea>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- <th class="dashR">입력항목<div><button type="button" class="btn btn-primary btn-lg" th:onclick="'cfnOpenPlanAnswerPopup('+*{planSq}+');'">참여자</button></div></th>
|
|
|
- <td class="dashR">
|
|
|
- <th:bock th:if="${planQuestionList != null and !planQuestionList.empty}" th:each="oneData, status : ${planQuestionList}">
|
|
|
- <div>
|
|
|
- <input type="text" class="w200" name="planQtitle" th:value="${oneData.planQtitle}"/>
|
|
|
- <label class="chkBox"><input type="checkbox" th:checked="${oneData.attachYn}=='Y'" onclick="fnAttachYnClick(this);" />첨부파일</label>
|
|
|
- <th:block th:if="${status.first}">
|
|
|
- <button type="button" class="btn btn-base btn-lg" onclick="fnAddRow(this);">추가</button>
|
|
|
- </th:block>
|
|
|
- <th:block th:unless="${status.first}">
|
|
|
- <button type="button" class="btn icn" onclick="fnDeleteRow(this);"><i class="fa fa-times" aria-hidden="true"></i></button>
|
|
|
- </th:block>
|
|
|
- <input type="hidden" name="attachYn" th:value="${oneData.attachYn}"/>
|
|
|
- </div>
|
|
|
- </th:bock>
|
|
|
- <th:block th:unless="${planQuestionList != null and !planQuestionList.empty}">
|
|
|
- <div>
|
|
|
- <input type="text" class="w200" name="planQtitle" />
|
|
|
- <label><input type="checkbox" onclick="fnAttachYnClick(this);" />첨부파일</label>
|
|
|
- <button type="button" class="btn btn-base btn-lg" onclick="fnAddRow(this);">추가</button>
|
|
|
- <input type="hidden" name="attachYn" th:value="N"/>
|
|
|
- </div>
|
|
|
- </th:block>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </tbody> -->
|
|
|
<tbody>
|
|
|
<!-- <tr>
|
|
|
- <th class="dashR">댓글여부</th>
|
|
|
- <td class="dashR" colspan="5">
|
|
|
- <select name="replyYn" th:field="*{replyYn}">
|
|
|
- <option value="">선택</option>
|
|
|
- <option th:if="${useYnList}" th:each="oneData, status : ${useYnList}" th:value="${oneData.cd}" th:text="|${oneData.cdNm}|"></option>
|
|
|
- </select>
|
|
|
- </td>
|
|
|
- <th class="dashR">DEV URL</th>
|
|
|
- <td class="dashR" colspan="4">
|
|
|
- <input type="text" name="devUrl" id="devUrl" th:value="*{devUrl}"/>
|
|
|
- </td>
|
|
|
- </tr> -->
|
|
|
- <tr>
|
|
|
- <th class="dashR">웹용소스</th>
|
|
|
- <td class="dashR" colspan="5">
|
|
|
+ <th>웹용소스</th>
|
|
|
+ <td colspan="5">
|
|
|
<div style="margin-top:5px;">
|
|
|
<textarea name="fsrcPc" id="fsrcPcDetail" rows="15" cols="95" style="width:1280px;"></textarea>
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <th class="dashR">모바일용소스</th>
|
|
|
- <td class="dashR" colspan="5">
|
|
|
+ <th>모바일용소스</th>
|
|
|
+ <td colspan="5">
|
|
|
<div style="margin-top:5px;">
|
|
|
<textarea name="fsrcMobile" id="fsrcMobileDetail" rows="15" cols="95" style="width:1280px;"></textarea>
|
|
|
</div>
|
|
|
</td>
|
|
|
- </tr>
|
|
|
+ </tr> -->
|
|
|
</table>
|
|
|
- <div class="panelStyle" style="margin: unset;">
|
|
|
+ <div class="panelStyle" style="margin: unset;">
|
|
|
<!-- TITLE -->
|
|
|
<div class="panelTitle">
|
|
|
<h2>카테고리 / 브랜드 등록</h2>
|
|
|
@@ -334,12 +234,12 @@
|
|
|
<span class="buttonSpan">
|
|
|
<button type="button"
|
|
|
class="btn btnRight btn-success btn-lg"
|
|
|
- id="btnAddCorner">코너 추가</button>
|
|
|
+ id="btnAddCate">카테고리 추가</button>
|
|
|
<button type="button"
|
|
|
class="btn btnRight btn-success btn-lg"
|
|
|
- id="btnDeleteCorner">선택삭제</button>
|
|
|
+ id="btnDeleteCate">선택삭제</button>
|
|
|
</span> <br />
|
|
|
- <div id="gridFGCornerList"
|
|
|
+ <div id="gridFGCateList"
|
|
|
style="width: 100%; height: 200px;"
|
|
|
class="ag-theme-balham"></div>
|
|
|
</div>
|
|
|
@@ -390,8 +290,8 @@
|
|
|
<col/>
|
|
|
</colgroup>
|
|
|
<tr>
|
|
|
- <th class="dashR">기존 기획전</th>
|
|
|
- <td class="dashR">
|
|
|
+ <th>기존 기획전</th>
|
|
|
+ <td>
|
|
|
<select name="planSq" id="planSq">
|
|
|
<option value="">선택</option>
|
|
|
<option th:if="${planList}" th:each="oneData, status : ${planList}" th:value="${oneData.planSq}" th:text="|[${oneData.planSq}] ${oneData.planNm}|"></option>
|
|
|
@@ -411,53 +311,38 @@
|
|
|
<col/>
|
|
|
</colgroup>
|
|
|
<tr>
|
|
|
- <th class="dashR">기획전구분<i class="star"></i></th>
|
|
|
- <td class="dashR">
|
|
|
+ <th>기획전구분<i class="star"></i></th>
|
|
|
+ <td>
|
|
|
<select name="planGb" required="required" data-valid-name="기획전구분" onchange="fnChangePlanGb(this);">
|
|
|
<option value="P">기획전</option>
|
|
|
<option value="E">이벤트</option>
|
|
|
</select>
|
|
|
</td>
|
|
|
- <th class="dashR">기획전탬플릿유형<i class="star"></i></th>
|
|
|
- <td class="dashR" colspan="3">
|
|
|
+ <th>기획전탬플릿유형<i class="star"></i></th>
|
|
|
+ <td colspan="3">
|
|
|
<select name="templateType" required="required" data-valid-name="기획전탬플릿유형">
|
|
|
<option value="H">HTML</option>
|
|
|
<option value="T">TEXT</option>
|
|
|
</select>
|
|
|
</td>
|
|
|
</tr>
|
|
|
- <!-- <tr>
|
|
|
- <th class="dashR">회원구분<i class="star"></i></th>
|
|
|
- <td class="dashR">
|
|
|
- <select name="custGb" required="required" data-valid-name="회원구분">
|
|
|
- <option th:if="${custGbList}" th:each="oneData, status : ${custGbList}" th:value="${oneData.cd}" th:selected="${oneData.cd} == 'Y'" th:text="|${oneData.cdNm}|"></option>
|
|
|
- </select>
|
|
|
- </td>
|
|
|
- <th class="dashR">회원등급<i class="star"></i></th>
|
|
|
- <td class="dashR" colspan="3">
|
|
|
- <select name="custGrade" required="required" data-valid-name="회원등급">
|
|
|
- <option value="0">전체</option>
|
|
|
- <option th:if="${custGradeList}" th:each="oneData, status : ${custGradeList}" th:value="${oneData.cd}" th:selected="${oneData.cd} == 'Y'" th:text="|${oneData.cdNm}|"></option>
|
|
|
- </select>
|
|
|
- </td>
|
|
|
- </tr> -->
|
|
|
<tr>
|
|
|
- <th class="dashR">프론트 구분<i class="star"></i></th>
|
|
|
- <td class="dashR">
|
|
|
+ <th>프론트 구분<i class="star"></i></th>
|
|
|
+ <td>
|
|
|
<select name="frontGb" id="frontGb" required="required" data-valid-name="프론트 구분">
|
|
|
<option value="A">전체</option>
|
|
|
<option value="P">웹</option>
|
|
|
<option value="M">모바일</option>
|
|
|
</select>
|
|
|
</td>
|
|
|
- <th class="dashR">기획전명<i class="star"></i></th>
|
|
|
- <td class="dashR" colspan="3">
|
|
|
+ <th>기획전명<i class="star"></i></th>
|
|
|
+ <td colspan="3">
|
|
|
<input type="text" name="planNm" id="planNm" maxlength="50" required="required" data-valid-name="기획전명"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <th class="dashR">진행기간<i class="star"></i></th>
|
|
|
- <td class="dashR">
|
|
|
+ <th>진행기간<i class="star"></i></th>
|
|
|
+ <td>
|
|
|
<input type="text" class="schDate w100" id="viewStartDtNew" name="startSearchDate" maxlength="10" required="required" data-valid-name="노출기간" />
|
|
|
<select name="startSearchHour" required="required" data-valid-name="진행기간 시작시간">
|
|
|
<th:block th:each="num, index : ${#numbers.sequence(0,23)}">
|
|
|
@@ -484,77 +369,68 @@
|
|
|
<input type="hidden" name="dispStdt" id="dispStdt"/>
|
|
|
<input type="hidden" name="dispEddt" id="dispEddt"/>
|
|
|
</td>
|
|
|
- <th class="dashR">서브제목</th>
|
|
|
- <td class="dashR" colspan="3">
|
|
|
+ <th>서브제목</th>
|
|
|
+ <td colspan="3">
|
|
|
<input type="text" name="dtlTitle1" id="dtlTitle1"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <th class="dashR">코너명노출 여부<i class="star"></i></th>
|
|
|
- <td class="dashR">
|
|
|
+ <th>코너명노출 여부<i class="star"></i></th>
|
|
|
+ <td>
|
|
|
<select name="cornerNmDispYn" required="required" data-valid-name="코너명노출 여부">
|
|
|
<option th:if="${useYnList}" th:each="oneData, status : ${useYnList}" th:value="${oneData.cd}" th:selected="${oneData.cd} == 'Y'" th:text="|${oneData.cdNm}|"></option>
|
|
|
</select>
|
|
|
</td>
|
|
|
- <th class="dashR">오픈여부<i class="star"></i></th>
|
|
|
- <td class="dashR" colspan="3">
|
|
|
+ <th>오픈여부<i class="star"></i></th>
|
|
|
+ <td colspan="3">
|
|
|
<select name="openYn" required="required" data-valid-name="오픈여부">
|
|
|
<option th:if="${useYnList}" th:each="oneData, status : ${useYnList}" th:value="${oneData.cd}" th:selected="${oneData.cd} == 'Y'" th:text="|${oneData.cdNm}|"></option>
|
|
|
</select>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <th class="dashR">사이트<i class="star"></i></th>
|
|
|
- <td class="dashR">
|
|
|
+ <th>사이트<i class="star"></i></th>
|
|
|
+ <td>
|
|
|
<select name="siteCd" required="required" data-valid-name="사이트">
|
|
|
<option th:if="${siteList}" th:each="oneData, status : ${siteList}" th:value="${oneData.cd}" th:text="|${oneData.cdNm}|"></option>
|
|
|
</select>
|
|
|
</td>
|
|
|
- <th class="dashR">전시순서</th>
|
|
|
- <td class="dashR" colspan="3">
|
|
|
+ <th>전시순서</th>
|
|
|
+ <td colspan="3">
|
|
|
<input type="text" class="w100 aR" name="dispOrd"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
- <!-- <tr>
|
|
|
- <th class="dashR">뱃지 타이틀</th>
|
|
|
- <td class="dashR">
|
|
|
- <input type="text" class="w500" name="badgeNm"/>
|
|
|
- </td>
|
|
|
-
|
|
|
- <th class="dashR">뱃지 배경색상</th>
|
|
|
- <td class="dashR">
|
|
|
- <input type="text" class="w100" name="badgeBcolor"/>
|
|
|
- </td>
|
|
|
-
|
|
|
- <th class="dashR">뱃지 글자색상</th>
|
|
|
- <td class="dashR">
|
|
|
- <input type="text" class="w100" name="badgeFcolor"/>
|
|
|
- </td>
|
|
|
- </tr> -->
|
|
|
<tr>
|
|
|
- <th class="dashR">사용고객등급구분<em class="required" title="필수"></em></th>
|
|
|
- <td class="dashR">
|
|
|
+ <th>사용고객등급구분<em class="required" title="필수"></em></th>
|
|
|
+ <td>
|
|
|
<label class="chkBox" th:if="${usableCustGradeList}" th:each="oneData, status : ${usableCustGradeList}">
|
|
|
<input type="checkbox" name="usableCustGradeArr" th:value="${oneData.cd}" th:text="${oneData.cdNm}"/>
|
|
|
</label>
|
|
|
</td>
|
|
|
- <th class="dashR">댓글여부</th>
|
|
|
- <td class="dashR" colspan="5">
|
|
|
+ <th>사용가능고객구분<em class="required" title="필수"></em></th>
|
|
|
+ <td>
|
|
|
+ <label class="chkBox" th:if="${usableCustGbList}" th:each="oneData, status : ${usableCustGbList}">
|
|
|
+ <input type="checkbox" name="usableCustGbArr" th:value="${oneData.cd}" th:text="${oneData.cdNm}"/>
|
|
|
+ </label>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>제휴채널<em class="required" title="필수"></em></th>
|
|
|
+ <td>
|
|
|
+ <label class="chkBox" th:if="${upperAfLinkCdList}" th:each="oneData, status : ${upperAfLinkCdList}">
|
|
|
+ <input type="checkbox" name="upperAfLinkCdArr" th:value="${oneData.cd}" th:text="${oneData.cdNm}"/>
|
|
|
+ </label>
|
|
|
+ </td>
|
|
|
+ <th>댓글여부</th>
|
|
|
+ <td colspan="5">
|
|
|
<select name="replyYn">
|
|
|
<option th:if="${useYnList}" th:each="oneData, status : ${useYnList}" th:value="${oneData.cd}" th:selected="${oneData.cd} == 'N'" th:text="|${oneData.cdNm}|"></option>
|
|
|
</select>
|
|
|
</td>
|
|
|
</tr>
|
|
|
- <!--<tr>
|
|
|
-
|
|
|
- <th class="dashR">DEV URL</th>
|
|
|
- <td class="dashR" colspan="3">
|
|
|
- <input type="text" name="devUrl" id="devUrl"/>
|
|
|
- </td>
|
|
|
- </tr>-->
|
|
|
<tr>
|
|
|
- <th class="dashR">PC 메인 이미지<i id="pMimgStar"></i></th>
|
|
|
- <td class="dashR" colspan="5">
|
|
|
+ <th>PC 메인 이미지<i id="pMimgStar"></i></th>
|
|
|
+ <td colspan="5">
|
|
|
<div class="uFile w400">
|
|
|
<input id="registerMainPimg" name="registerMainPimg" type="file" accept="image/*" class="uFileInput w400"/>
|
|
|
<label for="registerMainPimg" class="uFileLabel w400">파일선택</label>
|
|
|
@@ -563,8 +439,8 @@
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <th class="dashR">모바일 메인 이미지<i id="mMimgStar"></i></th>
|
|
|
- <td class="dashR" colspan="5">
|
|
|
+ <th>모바일 메인 이미지<i id="mMimgStar"></i></th>
|
|
|
+ <td colspan="5">
|
|
|
<div class="uFile w400">
|
|
|
<input id="registerMainMimg" name="registerMainMimg" type="file" accept="image/*" class="uFileInput w400"/>
|
|
|
<label for="registerMainMimg" class="uFileLabel w400">파일선택</label>
|
|
|
@@ -572,65 +448,26 @@
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
- <!-- <tr>
|
|
|
- <th class="dashR">PC 상세 이미지</th>
|
|
|
- <td class="dashR" colspan="5">
|
|
|
- <div class="uFile w400">
|
|
|
- <input id="registerDtlPimg" name="registerDtlPimg" type="file" accept="image/*" class="uFileInput w400"/>
|
|
|
- <label for="registerDtlPimg" class="uFileLabel w400">파일선택</label>
|
|
|
- <input type="hidden" name="dtlPimg" value=""/>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="dashR">모바일 상세 이미지</th>
|
|
|
- <td class="dashR" colspan="5">
|
|
|
- <div class="uFile w400">
|
|
|
- <input id="registerDtlMimg" name="registerDtlMimg" type="file" accept="image/*" class="uFileInput w400"/>
|
|
|
- <label for="registerDtlMimg" class="uFileLabel w400">파일선택</label>
|
|
|
- <input type="hidden" name="dtlMimg" value=""/>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr> -->
|
|
|
</tbody>
|
|
|
- <!-- <tbody id="questionEventInsert">
|
|
|
- <tr>
|
|
|
- <th class="dashR">개인정보 수집동의</th>
|
|
|
- <td class="dashR" >
|
|
|
- <div style="margin-top:5px;">
|
|
|
- <textarea name="textareaR4" id="privacyPolicyRegister" style="width:720px;"></textarea>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- <th class="dashR">입력항목</th>
|
|
|
- <td class="dashR" colspan="5">
|
|
|
- <div>
|
|
|
- <input type="text" class="w200" name="planQtitle"/>
|
|
|
- <label><input type="checkbox" onclick="fnAttachYnClick(this);" />첨부파일</label>
|
|
|
- <button type="button" class="btn btn-base btn-lg" onclick="fnAddRow(this);">추가</button>
|
|
|
- <input type="hidden" name="attachYn" value="N"/>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </tbody> -->
|
|
|
<tbody>
|
|
|
- <tr>
|
|
|
- <th class="dashR">웹용소스</th>
|
|
|
- <td class="dashR" colspan="5">
|
|
|
+ <!-- <tr>
|
|
|
+ <th>웹용소스</th>
|
|
|
+ <td colspan="5">
|
|
|
<div style="margin-top:5px;">
|
|
|
- <!-- <textarea name="fsrcPc" id="fsrcPcRegister" rows="15" cols="95" style="width:1280px;"></textarea> -->
|
|
|
+ <textarea name="fsrcPc" id="fsrcPcRegister" rows="15" cols="95" style="width:1280px;"></textarea>
|
|
|
<textarea class="textareaR4" id="fsrcPcDetail" name="fsrcPc"></textarea>
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <th class="dashR">모바일용소스</th>
|
|
|
- <td class="dashR" colspan="5">
|
|
|
+ <th>모바일용소스</th>
|
|
|
+ <td colspan="5">
|
|
|
<div style="margin-top:5px;">
|
|
|
- <!-- <textarea name="fsrcMobile" id="fsrcMobileRegister" rows="15" cols="95" style="width:1280px;"></textarea> -->
|
|
|
+ <textarea name="fsrcMobile" id="fsrcMobileRegister" rows="15" cols="95" style="width:1280px;"></textarea>
|
|
|
<textarea class="textareaR4" id="fsrcMobileDetail" name="fsrcMobile"></textarea>
|
|
|
</div>
|
|
|
</td>
|
|
|
- </tr>
|
|
|
+ </tr> -->
|
|
|
</table>
|
|
|
<div class="panelStyle" style="margin: unset;">
|
|
|
<!-- TITLE -->
|
|
|
@@ -659,12 +496,12 @@
|
|
|
<span class="buttonSpan">
|
|
|
<button type="button"
|
|
|
class="btn btnRight btn-success btn-lg"
|
|
|
- id="btnAddCorner">코너 추가</button>
|
|
|
+ id="btnAddCate">카테고리 추가</button>
|
|
|
<button type="button"
|
|
|
class="btn btnRight btn-success btn-lg"
|
|
|
- id="btnDeleteCorner">선택삭제</button>
|
|
|
+ id="btnDeleteCate">선택삭제</button>
|
|
|
</span> <br />
|
|
|
- <div id="gridFGCornerList"
|
|
|
+ <div id="gridFGCateList"
|
|
|
style="width: 100%; height: 200px;"
|
|
|
class="ag-theme-balham"></div>
|
|
|
</div>
|
|
|
@@ -714,7 +551,7 @@
|
|
|
var fsrcPc = [[${fsrcPc}]];
|
|
|
var fsrcMobile = [[${fsrcMobile}]];
|
|
|
var planBrandList = [[${planBrandList}]];
|
|
|
- var planCornerList = [[${planCornerList}]];
|
|
|
+ var planCateList = [[${planCateList}]];
|
|
|
var snOptions;
|
|
|
|
|
|
// 카테고리 전시 여부
|
|
|
@@ -874,18 +711,18 @@
|
|
|
multiBrand.push(item.brandCd);
|
|
|
});
|
|
|
|
|
|
- let allCornerData = gagaAgGrid.getAllRowData(gridOptionsFGCornerList);
|
|
|
- var multiCorner = [];
|
|
|
- $.each(allCornerData, function(idx, item) {
|
|
|
- multiCorner.push(item.cateNo);
|
|
|
+ let allCateData = gagaAgGrid.getAllRowData(gridOptionsFGCateList);
|
|
|
+ var multiCate = [];
|
|
|
+ $.each(allCateData, function(idx, item) {
|
|
|
+ multiCate.push(item.cateNo);
|
|
|
});
|
|
|
|
|
|
|
|
|
let data = {
|
|
|
multiBrand : multiBrand
|
|
|
,brandList : allBrandData
|
|
|
- ,multiCorner : multiCorner
|
|
|
- ,CornerList : allCornerData
|
|
|
+ ,multiCate : multiCate
|
|
|
+ ,CateList : allCateData
|
|
|
,mode : $('#planWebRegisterForm input[name=mode]').val()
|
|
|
,planSq : $('#planWebRegisterForm input[name=planSq]').val()
|
|
|
,planGb : $('#planWebRegisterForm select[name=planGb]').val()
|
|
|
@@ -1061,31 +898,31 @@
|
|
|
}
|
|
|
};
|
|
|
|
|
|
- // 코너 리스트 설정
|
|
|
- var columnCornerList = [
|
|
|
+ // 카테고리 리스트 설정
|
|
|
+ var columnCateList = [
|
|
|
{width: 40, minWidth: 40, cellClass: 'text-center', headerCheckboxSelection: true, checkboxSelection: true, filter: false},
|
|
|
{headerName: "사이트", field: "siteCd", width: 120, cellClass: 'text-center'},
|
|
|
- {headerName: "코너 구분", field: "cateGb", width: 110, cellClass: 'text-center'},
|
|
|
- {headerName: "코너", field: "cateNm", width: 120, cellClass: 'text-center'},
|
|
|
- {headerName: "코너", field: "cateNo", width: 150, cellClass: 'text-center', hide: true},
|
|
|
+ {headerName: "카테고리 구분", field: "cateGb", width: 110, cellClass: 'text-center'},
|
|
|
+ {headerName: "카테고리 이름", field: "cateNm", width: 120, cellClass: 'text-center'},
|
|
|
+ {headerName: "번호", field: "cateNo", width: 150, cellClass: 'text-center', hide: true},
|
|
|
/* {headerName: "시퀀스", field: "tmtbGoodsSq", width: 150, cellClass: 'text-center', hide: true},
|
|
|
{headerName: "삭제여부", field: "delYn", width: 150, cellClass: 'text-center', hide: true} */
|
|
|
];
|
|
|
|
|
|
// 카테고리 그리드 설정
|
|
|
- var gridOptionsFGCornerList = gagaAgGrid.getGridOptions(columnCornerList);
|
|
|
- gridOptionsFGCornerList.rowSelection = "multiple";
|
|
|
- gridOptionsFGCornerList.suppressRowClickSelection = true;
|
|
|
+ var gridOptionsFGCateList = gagaAgGrid.getGridOptions(columnCateList);
|
|
|
+ gridOptionsFGCateList.rowSelection = "multiple";
|
|
|
+ gridOptionsFGCateList.suppressRowClickSelection = true;
|
|
|
|
|
|
// 브랜드 설정 선택삭제 버튼 클릭시
|
|
|
- $('#btnDeleteCorner').on('click', function() {
|
|
|
- gridOptionsFGCornerList.api.updateRowData({remove:gagaAgGrid.selectedRowData(gridOptionsFGCornerList)});
|
|
|
+ $('#btnDeleteCate').on('click', function() {
|
|
|
+ gridOptionsFGCateList.api.updateRowData({remove:gagaAgGrid.selectedRowData(gridOptionsFGCateList)});
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
- // 코너추가(카테고리 추가)
|
|
|
- $('#btnAddCorner').on('click' , function () {
|
|
|
+ // 카테고리 추가
|
|
|
+ $('#btnAddCate').on('click' , function () {
|
|
|
cfnOpenCategoryPopup("fnSetPopupCategoryInfo");
|
|
|
});
|
|
|
|
|
|
@@ -1093,7 +930,7 @@
|
|
|
var fnSetPopupCategoryInfo = function (result) {
|
|
|
// 기존 리스트 데이터 for
|
|
|
for(let i = 0 ; i < result.length ; i++) {
|
|
|
- let addChk = true, gridListValue = gagaAgGrid.getAllRowData(gridOptionsFGCornerList); // 받아온 모든 데이터
|
|
|
+ let addChk = true, gridListValue = gagaAgGrid.getAllRowData(gridOptionsFGCateList); // 받아온 모든 데이터
|
|
|
|
|
|
// 받아온 data for
|
|
|
for(let j = 0 ; j < gridListValue.length ; j++) {
|
|
|
@@ -1108,7 +945,7 @@
|
|
|
mcxDialog.alert('카테고리1에서 선택하세요.');
|
|
|
return;
|
|
|
}
|
|
|
- gagaAgGrid.addRowData(gridOptionsFGCornerList, {"siteCd":result[i].siteCd , "cateGb":result[i].cateGb, "cateNm":result[i].cateNm, "cateNo":result[i].cateNo});
|
|
|
+ gagaAgGrid.addRowData(gridOptionsFGCateList, {"siteCd":result[i].siteCd , "cateGb":result[i].cateGb, "cateNm":result[i].cateNm, "cateNo":result[i].cateNo});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -1125,7 +962,7 @@
|
|
|
|
|
|
// 그리드 그리기
|
|
|
gagaAgGrid.createGrid("gridFGBrandList", gridOptionsFGBrandList);
|
|
|
- gagaAgGrid.createGrid("gridFGCornerList", gridOptionsFGCornerList);
|
|
|
+ gagaAgGrid.createGrid("gridFGCateList", gridOptionsFGCateList);
|
|
|
|
|
|
if (mode =='U') {
|
|
|
/* $('#planWebDetailForm input[name=badgeFcolor]').spectrum({
|
|
|
@@ -1141,7 +978,7 @@
|
|
|
}); */
|
|
|
|
|
|
gridOptionsFGBrandList.api.setRowData(planBrandList);
|
|
|
- gridOptionsFGCornerList.api.setRowData(planCornerList);
|
|
|
+ gridOptionsFGCateList.api.setRowData(planCateList);
|
|
|
|
|
|
if (planInfo.goodsLimitYn == 'N') {
|
|
|
$('#planWebDetailForm input[name=goodsLimitQty]').hide();
|