| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- <!DOCTYPE HTML>
- <html xmlns:th="http://www.thymeleaf.org"
- xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
- layout:decorate="~{admin/common/common}">
- <head>
- <title>活动管理列表</title>
- <style>
- .title :hover {
- color: #0c80fe;
- text-decoration: underline;
- }
- .title {
- color: #0e90d2;
- }
- .title {
- cursor: pointer;
- }
- </style>
- </head>
- <body layout:fragment="content">
- <nav class="breadcrumb">
- <i class="Hui-iconfont"></i>
- 首页 <span class="c-gray en">></span>
- 活动管理 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px"
- href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont"></i></a>
- </nav>
- <form id="myForm-myActivity">
- <div class="page-container">
- <div style="text-align: center; margin-bottom: 20px;">
- <input type="text" class="input-text" style="width:200px" placeholder="请输入活动标题" name="activity_title"
- th:value="${condition.activity_title}"/>
- <label>活动状态:</label>
- <span class="select-box" style="width:200px; margin-right: 20px;">
- <select class="select" name="activity_state">
- <option value="">--请选择类型--</option>
- <option value="0" th:selected="${condition.activity_state}==0">待确认</option>
- <option value="1" th:selected="${condition.activity_state}==1">待签到</option>
- <option value="2" th:selected="${condition.activity_state}==2">待反馈</option>
- <option value="3" th:selected="${condition.activity_state}==3">完成</option>
- <option value="4" th:selected="${condition.activity_state}==4">取消</option>
- </select>
- </span>
- <label>报名者:</label>
- <input type="text" class="input-text" style="width:200px" name="user_name"
- th:value="${condition.user_name}"/>
- <button type="submit" class="btn btn-primary">
- 搜索
- </button>
- <!--<a class="btn btn-success j-senior">
- 高级查询
- </a>-->
- <!--<div class="j-senior-box" style="margin-top: 10px; ">
- <label>活动状态:</label>
- <span class="select-box" style="width:200px; margin-right: 20px;">
- <select class="select" name="activity_state">
- <option value="">--请选择类型--</option>
- <option value="0" th:selected="${condition.activity_state}==0">待确认</option>
- <option value="1" th:selected="${condition.activity_state}==1">待签到</option>
- <option value="2" th:selected="${condition.activity_state}==2">待反馈</option>
- <option value="3" th:selected="${condition.activity_state}==3">完成</option>
- <option value="4" th:selected="${condition.activity_state}==4">取消</option>
- </select>
- </span>
- <label>报名者:</label>
- <input type="text" class="input-text" style="width:200px" name="user_name"
- th:value="${condition.user_name}"/>
- </div>-->
- </div>
- <table class="table table-border table-bordered table-bg table-hover" style="table-layout: fixed;width:100%;">
- <thead>
- <tr class="text-c">
- <th width="25"><input type="checkbox"></th>
- <th>活动名称</th>
- <th>活动状态</th>
- <th>报名者</th>
- <th>手机</th>
- <th>邮箱</th>
- <th>职位</th>
- <!--<th width="80">活动验证码</th>-->
- <th width="120">报名时间</th>
- <th width="80">操作</th>
- </tr>
- </thead>
- <tbody>
- <tr class="text-c" th:each="m,iterStat:${pageInfo.list}">
- <td><input type="checkbox"></td>
- <td class="title" th:text="${m.activity_title}" th:title="${m.activity_title}"
- th:onclick="'javascript:gotoDetail(\''+${m.activity_id}+'\');'">活动1
- </td>
- <td th:if="${m.review_state=='0'&&m.activity_state!='2'}">待确认</td>
- <td th:if="${m.review_state=='1'&&m.sign_state!='0'&&m.activity_state!='2'}">待签到</td>
- <td th:if="${m.review_state=='1'&&m.sign_state=='0'&&m.feedbackNum <= 0}">待反馈</td>
- <td th:if="${m.review_state=='1'&&m.feedbackNum > 0}">完成</td>
- <td th:if="${(m.review_state=='3'&&m.activity_state=='1')||m.activity_state=='2'||(m.review_state=='2'&&m.activity_state=='1')}">
- 取消
- </td>
- <td th:text="${m.name}">张三</td>
- <td th:text="${m.phone}">139XXXXXXXX</td>
- <td th:text="${m.mail}">XX@XX.COM</td>
- <td th:text="${m.position}">经理</td>
- <!--<td class="td-manage">-->
- <!--<a>详情</a>-->
- <!--</td>-->
- <td th:text="${#dates.format(m.registration_time,'yyyy-MM-dd HH:mm:ss')}"></td>
- <td class="td-manage">
- <a th:onclick="'javascript:feedback(\'活动反馈\',\'/street/activity/feedback/'+${m.activity_id}+'\',\'800\',\'600\');'"
- th:if="${m.review_state=='1'&&m.sign_state=='0'&&m.feedbackNum <= 0}">活动反馈</a>
- <a class="cancel" th:id="${m.id}"
- th:if="${m.review_state!='3'&&m.review_state!='2'&&m.activity_state!='2'&&m.sign_state!='0'}">取消报名</a>
- <a class="cancel" th:if="${m.review_state=='3'||m.review_state=='2'||m.activity_state=='2'}"
- th:id="${m.id}"></a>
- </td>
- </tr>
- </tbody>
- </table>
- <div th:replace="admin/common/page :: page"></div>
- </div>
- </form>
- <script type="text/javascript" th:src="@{/js/government/activity/activity_abort.js}"></script>
- <script type="text/javascript" th:src="@{/js/common/page.js}"></script>
- <script>
- /*$(function () {
- $(".j-senior").on("click", function () {
- if (!$(this).hasClass("active")) {
- $(this).addClass("active");
- $(".j-senior-box").show();
- }
- else {
- $(this).removeClass("active");
- $(".j-senior-box").hide();
- }
- })
- })*/
- function gotoDetail(id) {
- //top.location.href = pagePath + "/home/activityDetail/" + id;
- window.open(pagePath + "/home/activityDetail/" + id);
- }
- /*详情*/
- function activityDetail(title, url, w, h) {
- var index = layer_show(title, pagePath + url, w, h);
- layer.full(index);
- }
- </script>
- </body>
- </html>
|