|
@@ -140,11 +140,12 @@
|
|
|
</td>
|
|
</td>
|
|
|
|
|
|
|
|
<th>사이트</th>
|
|
<th>사이트</th>
|
|
|
- <td>
|
|
|
|
|
|
|
+ <td colspan="3">
|
|
|
<select name="siteCd">
|
|
<select name="siteCd">
|
|
|
<option th:if="${siteList}" th:each="oneData, status : ${siteList}" th:value="${oneData.cd}" th:text="${oneData.cdNm}|"></option>
|
|
<option th:if="${siteList}" th:each="oneData, status : ${siteList}" th:value="${oneData.cd}" th:text="${oneData.cdNm}|"></option>
|
|
|
</select>
|
|
</select>
|
|
|
</td>
|
|
</td>
|
|
|
|
|
+
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<th>중복참여<i class="star"></i></th>
|
|
<th>중복참여<i class="star"></i></th>
|
|
@@ -162,11 +163,15 @@
|
|
|
<th>선착순 인원<i class="star"></i></th>
|
|
<th>선착순 인원<i class="star"></i></th>
|
|
|
<td>
|
|
<td>
|
|
|
<input type="text" name="partiCnt" id="partiCnt" disabled="disabled" data-valid-type="numeric"/>
|
|
<input type="text" name="partiCnt" id="partiCnt" disabled="disabled" data-valid-type="numeric"/>
|
|
|
- </td>
|
|
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <th>URL</th>
|
|
|
|
|
+ <td>
|
|
|
|
|
+ <input type="text" name="url" id="url" disabled="disabled"/>
|
|
|
|
|
+ </td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr style="height: 250px;">
|
|
<tr style="height: 250px;">
|
|
|
<th>문항<em class="required" title="필수"></em></th>
|
|
<th>문항<em class="required" title="필수"></em></th>
|
|
|
- <td colspan="5">
|
|
|
|
|
|
|
+ <td colspan="7">
|
|
|
<button type="button" class="btn btn-info btn-lg" onclick="fnAddQuestion();">문항추가</button>
|
|
<button type="button" class="btn btn-info btn-lg" onclick="fnAddQuestion();">문항추가</button>
|
|
|
<button type="button" class="btn btn-info btn-lg" onclick="fnDeleteQuestion();">문항삭제</button>
|
|
<button type="button" class="btn btn-info btn-lg" onclick="fnDeleteQuestion();">문항삭제</button>
|
|
|
<div id="questionDiv" class="btn_left" style="width: 100%; height: 300px; overflow: yes; overflow-x: scroll; overflow-y: auto;">
|
|
<div id="questionDiv" class="btn_left" style="width: 100%; height: 300px; overflow: yes; overflow-x: scroll; overflow-y: auto;">
|
|
@@ -402,6 +407,11 @@
|
|
|
$('#registerForm select[name=dupPartiYn]').val(data.dupPartiYn);
|
|
$('#registerForm select[name=dupPartiYn]').val(data.dupPartiYn);
|
|
|
$('#registerForm select[name=fstComYn]').val(data.fstComYn);
|
|
$('#registerForm select[name=fstComYn]').val(data.fstComYn);
|
|
|
$('#registerForm input[name=partiCnt]').val(data.partiCnt);
|
|
$('#registerForm input[name=partiCnt]').val(data.partiCnt);
|
|
|
|
|
+ if(data.planSq != null){
|
|
|
|
|
+ // url 변경해야함
|
|
|
|
|
+ $('#registerForm input[name=url]').val("http://ldfront.style24.com/planning/event/poll/form?planSq=" + data.planSq);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
|
|
|
if($('#registerForm select[name=fstComYn]').val() == 'Y'){
|
|
if($('#registerForm select[name=fstComYn]').val() == 'Y'){
|
|
|
$("#partiCnt").attr("disabled",false);
|
|
$("#partiCnt").attr("disabled",false);
|