12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <%var cssParam = {%>
- <%};%>
- <%var jsParam = {%>
- <script type="text/javascript">
- function todel(url,msg){
- bootbox.dialog({
- title: "系统提示",
- message: msg,
- locale:"zh_CN",
- buttons: {
- cancel: {label: "取消",className: "btn-cancel",callback: function() {}},
- ok: {label: "确定",className: "btn-success",
- callback: function() {
- window.location.href = url;
- }
- }
- }
- });
- }
- </script>
- <%};%>
- <%layout("/onlineSurvey/afterPage/commonPage/_layout.html", {nav: "主题选项管理",meunsel:"onlineSurveyManage",jsParam:jsParam,cssParam:cssParam}) {%>
- <div class="col-xs-12">
- <div class="row">
- <a class="btn btn-xs btn-success" href="${contextPath}/admin/onlineSurvey/toeditOptions?themeId=${themeId}&pageNumber=${pageNumber!1}">
- <i class="icon-ok bigger-120">添加主题选项</i>
- </a>
- </div>
- </div>
- <div class="col-xs-12">
- <div class="row">
- <div class="table-responsive">
- <table id="sample-table-1"
- class="table table-striped table-bordered table-hover">
- <thead>
- <tr>
- <th>序号</th>
- <th>选项说明</th>
- <th>目前状态</th>
- <th>状态操作</th>
- <th>操作 </th>
- </tr>
- </thead>
- <tbody>
- <%for(tempDate in dateList!){%>
- <tr>
- <td>${tempDateLP.index}</td>
- <td>${tempDate.explains!''}</td>
- <td>
- <%if(tempDate.state == 0){%>
- <font color="blue">开启</font>
- <%}else if(tempDate.state == 1){%>
- <font color="green">未开启</font>
- <%}else if(tempDate.state == 2){%>
- <font color="red">结束</font>
- <%}%>
- </td>
- <td>
- <a href = ${contextPath}/admin/onlineSurvey/editThemeOptionsState?id=${tempDate.id}&themeId=${themeId}&state=${state!0}&pageNumber=${pageNumber!1}&urlParas=${urlParas!''}>开启</a>
- <a href = ${contextPath}/admin/onlineSurvey/editThemeOptionsState?id=${tempDate.id}&themeId=${themeId}&state=${state!1}&pageNumber=${pageNumber!1}&urlParas=${urlParas!''}>关闭</a>
- <a href = ${contextPath}/admin/onlineSurvey/editThemeOptionsState?id=${tempDate.id}&themeId=${themeId}&state=${state!2}&pageNumber=${pageNumber!1}&urlParas=${urlParas!''}>结束</a>
-
- </td>
- <td>
- <div class="visible-md visible-lg hidden-sm hidden-xs btn-group">
- <a class="btn btn-xs btn-info" href="${contextPath}/admin/onlineSurvey/viewThemeOptions?id=${tempDate.id}" target="_blank" data-toggle="tooltip" data-placement="auto" title="查看详情">
- <i class="icon-flag bigger-120"></i>
- </a>
- <a class="btn btn-xs btn-info" href="${contextPath}/admin/onlineSurvey/toeditOptions?id=${tempDate.id}&themeId=${themeId}&pageNumber=${pageNumber!1}&urlParas=${urlParas!}" data-toggle="tooltip" data-placement="auto" title="编辑">
- <i class="icon-edit bigger-120"></i>
- </a>
- <a class="btn btn-xs btn-danger" href="javascript:todel('${contextPath}/admin/onlineSurvey/delOptions?id=${tempDate.id}&themeId=${themeId}&pageNumber=${pageNumber!1}&urlParas=${urlParas!}','记录将被永久删除,并且无法恢复。您确定吗?')" onclick="" data-toggle="tooltip" data-placement="auto" title="删除">
- <i class="icon-trash bigger-120"></i>
- </a>
- </div>
- </td>
- </tr>
- <%}elsefor{%>
- <tr>
- <td colspan="6">没有记录!</td>
- </tr>
- <%}%>
- </tbody>
- </table>
- </div>
- <!-- /.table-responsive -->
- </div>
- <!-- /span -->
- </div>
- <!-- /row -->
- <%}%>
-
|