Explorar el Código

评分设置为10分时

KeYuan hace 8 años
padre
commit
bf1554b1df

+ 3 - 2
src/main/webapp/WEB-INF/page/content/diaowen-design/answer-survey-mobile.jsp

@@ -314,11 +314,12 @@ $(document).ready(function(){
 												<input type="hidden" class="answerTag" value="0" >
 												<fieldset class="starRating" data-role="controlgroup" >
 													<legend>${item.optionName }</legend>
+													<c:forEach begin="1" end="${en.paramInt02 }" var="scoreNum"><i class="fa fa-star-o"></i></c:forEach>
+													<%--<i class="fa fa-star-o"></i>
 													<i class="fa fa-star-o"></i>
 													<i class="fa fa-star-o"></i>
 													<i class="fa fa-star-o"></i>
-													<i class="fa fa-star-o"></i>
-													<i class="fa fa-star-o"></i>
+													<i class="fa fa-star-o"></i>--%>
 												</fieldset>
 												<input name="item_qu_${en.quType }_${en.id }_${item.id }" value=""  type="hidden" class="scoreNumInput" >
 											</div>

+ 1 - 1
src/main/webapp/WEB-INF/page/content/diaowen-design/answer-survey.jsp

@@ -1357,7 +1357,7 @@ label.error{
 													<input type="hidden" class="answerTag" value="0" >
 												</td>
 												<td class="quCoItemTableTd">
-													<table class="scoreNumTable" border="0" cellspacing="0" cellpadding="1" ><tr><td style="background-color: white;">1</td><td style="background-color: white;">2</td><td style="background-color: white;">3</td><td style="background-color: white;">4</td><td style="background-color: white;">5</td></tr></table>
+													<table class="scoreNumTable" border="0" cellspacing="0" cellpadding="1" ><tr><c:forEach begin="1" end="${en.paramInt02 }" var="scoreNum"><td style="background-color: white;">${scoreNum }</td></c:forEach></tr></table>
 													<input name="item_qu_${en.quType }_${en.id }_${item.id }" value=""  type="hidden" class="scoreNumInput" >
 												</td>
 												<td class="quCoItemTableTd scoreNumText">分</td>

+ 13 - 0
src/main/webapp/WEB-INF/page/content/diaowen-design/list.jsp

@@ -112,6 +112,8 @@ button {
 										<th align="left" width="80">状态</th>
 										<th align="center" width="220" style="padding-left: 10px;">操作</th>
 									</tr>
+									<c:choose>
+									<c:when test="${page.totalItems > 0}">
 									<c:forEach items="${page.result }" var="en">
 									<tr>
 										<td align="center">
@@ -141,6 +143,17 @@ button {
 										</td>
 									</tr>
 									</c:forEach>
+									</c:when>
+									<c:otherwise>
+										<tr>
+											<td colspan="7">
+
+												<div style="padding: 60px;font-size: 22px;text-align: center;color: #b1aeae;">还没有数据!</div>
+
+											</td>
+										</tr>
+									</c:otherwise>
+									</c:choose>
 								</table>
 								<div style="padding-top: 15px;text-align: center;">
 									<div class="btn-group">

+ 1 - 1
src/main/webapp/WEB-INF/page/content/diaowen-design/survey.jsp

@@ -3414,7 +3414,7 @@
 <div style="text-align: center;">
 <div class="dw_foot" style="padding-bottom: 30px;">
 	<div class="footer-copyright" style="color: gray;padding-top: 0px;font-size: 16px;">
-		Powered by <a href="http://www.dwsurvey.net" target="_blank" style="text-decoration: none;color: gray;">DWSurvey3.0</a>&nbsp;&nbsp;&nbsp;
+		Powered by <a href="http://www.dwsurvey.net" target="_blank" style="text-decoration: none;color: gray;">DWSurvey</a>&nbsp;&nbsp;&nbsp;
 		Copyright © 2012-2017
 		<a href="http://www.diaowen.net" target="_blank" style="text-decoration: none;color: rgb(53, 117, 136);">调问网</a>
 	</div>

+ 1 - 1
src/main/webapp/WEB-INF/page/content/diaowen-design/survey_preview_dev.jsp

@@ -1304,7 +1304,7 @@ $(document).ready(function(){
 													<label class="editAble quCoOptionEdit">${item.optionName }</label>
 													<div class="quItemInputCase"><input type="hidden" name="quItemId" value="${item.id }"><input type="hidden" name="quItemSaveTag" value="1"></div>
 												</td>
-												<td class="quCoItemTableTd"><table class="scoreNumTable"><tr><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td></tr></table></td>
+												<td class="quCoItemTableTd"><table class="scoreNumTable"><tr><c:forEach begin="1" end="${en.paramInt02 }" var="scoreNum"><td style="background-color: white;">${scoreNum }</td></c:forEach></tr></table></td>
 												<td class="quCoItemTableTd">分</td>
 											</tr>
 											</c:forEach>