index.html 4.7 KB
<admintpl file="header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="javascript:;">双创项目提交列表</a></li>
    </ul>
    <form class="well form-search" method="post" action="{:U('WillProduceApply/index')}">
        时间:
        <input type="text" name="start_time" class="js-datetime" value="{$formget.start_time|default=''}" style="width: 120px;" autocomplete="off">-
        <input type="text" class="js-datetime" name="end_time" value="{$formget.end_time|default=''}" style="width: 120px;" autocomplete="off"> &nbsp; &nbsp;
        关键字:
        <input type="text" name="keyword" style="width: 200px;" value="{$keyword|default=''}" placeholder="请输入关键字...">
        <input type="submit" class="btn btn-primary" value="搜索" />
        <a class="btn btn-danger" href="{:U('WillProduceApply/index')}">清空</a>
    </form>
    <form class="js-ajax-form" action="" method="post">
        <div class="table-actions">
            <button class="btn btn-danger btn-small js-ajax-submit" type="submit" data-action="{:U('WillProduceApply/delete')}" data-subcheck="true" data-msg="您确定删除吗?">{:L('DELETE')}</button>
        </div>
        <table class="table table-hover table-bordered table-list">
            <thead>
            <tr>
                <th width="15"><label><input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x"></label></th>
                <th width="50">ID</th>
                <th>用户id</th>
                <th width="50">投稿人姓名</th>
                <th>所在省市</th>
                <th>年龄</th>
                <th>性别</th>
                <th>高校</th>
                <th>专业</th>
                <th>手机号码</th>
                <th>年级</th>
                <th>邮箱</th>
                <th width="100">提交时间</th>
                <th>状态</th>
                <th width="70">操作</th>
            </tr>
            </thead>
            <foreach name="list" item="vo">
                <tr>
                    <td><input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]" value="{$vo.id}" title="ID:{$vo.id}"></td>
                    <td><b>{$vo.id}</b></td>
                    <td>{$vo.user_id}</td>
                    <td>{$vo.name}</td>
                    <td>{$vo.province}{$vo.city}</td>
                    <td>{$vo.age}</td>
                    <td><eq name="vo.sex" value="1"></eq><eq name="vo.sex" value="2"></eq></td>
                    <td>{$vo.school}</td>
                    <td>{$vo.major}</td>
                    <td>{$vo.mobile}</td>
                    <td>{$vo.classes}</td>
                    <td>{$vo.email}</td>
                    <td>{:date('Y-m-d H:i',$vo['ctime'])}</td>
                    <td>
                        <eq name="vo.status" value="1">待审核</eq><eq name="vo.status" value="2">审核通过</eq>
                        <eq name="vo.status" value="3">审核不通过</eq><eq name="vo.status" value="4">重新提交审核</eq>
                    </td>
                    <td>
                        <a href="{:U('WillProduceApply/view',array('id'=>$vo['id']))}">查看</a> |
                        <eq name="vo.is_issue" value="0"><a href="{:U('WillProduceApply/send',array('id'=>$vo['id']))}">发布</a> |</eq>
                        <a href="{:U('WillProduceApply/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">删除</a>
                    </td>
                </tr>
            </foreach>
            <tfoot>
            <tr>
                <th width="15"><label><input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x"></label></th>
                <th width="50">ID</th>
                <th>用户id</th>
                <th width="50">投稿人姓名</th>
                <th>所在省市</th>
                <th>年龄</th>
                <th>性别</th>
                <th>高校</th>
                <th>专业</th>
                <th>手机号码</th>
                <th>年级</th>
                <th>邮箱</th>
                <th width="50">提交时间</th>
                <th>状态</th>
                <th width="70">操作</th>
            </tr>
            </tfoot>
        </table>
        <div class="table-actions">
            <button class="btn btn-danger btn-small js-ajax-submit" type="submit" data-action="{:U('WillProduceApply/delete')}" data-subcheck="true" data-msg="你确定删除吗?">{:L('DELETE')}</button>
        </div>
        <div class="pagination">{$page}</div>
    </form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>