etcten.html
2.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<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>