etcten.html 2.9 KB
<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a>分配导师</a></li>
    </ul>
    <form action="{:url('ZjOrder/etcten')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th width="15">
                    <label>
                        <input type="checkbox" class="js-check-all" data-direction="x" checked data-checklist="js-check-x">
                    </label>
                </th>
                <notempty name="category">
                    <th width="50">{:lang('SORT')}</th>
                </notempty>
                <th>订单编号</th>
                <th>所购服务</th>
                <th>服务分类</th>
                <th>客户姓名</th>
                <th>客户手机</th>
                <th>客户留言</th>
                <th>预约时间</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="allorder" item="vo">
                <tr>
                    <td>
                        <input type="checkbox" class="js-check" data-yid="js-check-y" checked data-xid="js-check-x" name="ids[]"
                               value="{$vo.id}" title="ID:{$vo.id}">
                    </td>
                    <td>{$vo['order_num']}</td>
                    <td>{$vo['sname']}</td>
                    <td>{$vo['tname']}</td>
                    <td>{$vo['uname']}</td>
                    <td>{$vo['phone']}</td>
                    <td>
                        <if condition="mb_strlen($vo.remarks) gt '10'">
                            {:mb_substr($vo.remarks,0,8)}...
                            <else>
                                {$vo.remarks}
                        </if>
                    </td>
                    <td>{$vo.contact_date} , {$vo.contact}
                    </td>
                </tr>
            </foreach>
            </tbody>
        </table>
        <div class="form-group">
            <label for="input-admin_id" class="col-sm-2 control-label"><span class="form-required">*</span>导师</label>
            <div class="col-md-6 col-sm-10">
                <select class="form-control" name="admin_id" id="input-admin_id">
                    <option value>选择导师</option>
                    <foreach name="admin" item="val">
                        <option value="{$val.id}">{$val.user_login}</option>
                    </foreach>
                </select>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-primary js-ajax-submit">确认导师</button>
            </div>
        </div>
    </form>
    <div class="pagination">{$allorder->render()}</div>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</body>
</html>