<div class="sys_demand_index" loadUri="../ajax/demand/pq" pageSize="10" pageNo="1" pageIndex="pi">
    <div class="modal-ctrl">
        <i class="icon icon-times"></i>
    </div>
    <div class="container dt-form">
        <div class="row">
            <div class="col-1 item-caption">主题</div>
            <div class="col-2">
                <div class="form-item text" defVal="" name="title"></div>
            </div>
            <div class="col-1 item-caption ">发布者</div>
            <div class="col-2">
                <div class="form-item text" defVal="" name="professorName"></div>
            </div>
            <div class="col-1 item-caption ">发布时间</div>
            <div class="col-2">
                <div class="form-item date" defVal="" name="bt"></div>
            </div>
            <div class="col-1 item-caption center">至</div>
            <div class="col-2">
                <div class="form-item date" defVal="" name="et"></div>
            </div>
        </div>
        <div class="row">
            <div class="col-1 item-caption">需求状态</div>
            <div class="col-2">
                <div class="form-item select" dictCode="demandState" name="state"></div>
            </div>
            <div class="col-7">
            </div>
            <div class="col-2">
                <div class="btn opt-query pull-right">
                    <i class="icon-search"></i> 查询
                </div>
            </div>

        </div>
    </div>

    <div class="container page-split"></div>
    <style type="text/css">
        .table.table-bordered tr th{text-align: center;}
    </style>
    <div class="container dt-tpl">
        <table class="table table-bordered">
            <thead>
            <tr>
                <th>序号</th>
                <th>主题</th>
                <th>发布者</th>
                <th>联系电话</th>
                <th>地址</th>
                <th>费用预算</th>
                <th>预计时长</th>
                <th>有效期</th>
                <th>发布时间</th>
                <th>需求状态</th>
                <th>浏览量</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr ch-dir="list">
                <td>{{pi}}</td>
                <td class="table-opt" demandId="{{id}}"><a class="title">{{title}}</a></td>
                <td>{{professorName}}</td>
                <td>{{contactNum}}</td>
                <td>{{province}}-{{city}}</td>
                <td class="hand-dict" dict="cost" code="{{cost}}"></td>
                <td class="hand-dict" dict="duration" code="{{duration}}"></td>
                <td>{{invalidDay-showDay}}</td>
                <td>{{createTime-showDay}}</td>
                <td class="hand-dict" dict="demandState" code="{{state}}"></td>
                <td>{{pageViews}}</td>
                <td class="table-opt edit" demandId="{{id}}"><div class="btn opt-auth state{{state}}">
                    <i class="icon-times"></i>
                    关闭
                </div></td>
                <!--<td class="table-opt col-1 random" demandId="{{demandId}}" demandStatus="{{demandStatus}}"><div class="btn opt-auth">-->
                    <!--<i class="icon-random"></i>-->
                    <!--{{demandStatus-status}}-->
                <!--</div></td>-->
            </tr>
            </tbody>
            <tbody ch-dir="array.empty">
            <tr>
                <td class="empty-desc" colspan="12">表格暂无数据</td>
            </tr>
            </tbody>
        </table>
    </div>
    <ul class="dt-pager"></ul>
</div>