<div class="breadcrumbs" id="breadcrumbs">
	<ul class="breadcrumb">
		<li>
			<i class="home-icon fa fa-home"></i>
			<a href="#">系统</a>
		</li>
		<li>
			<a href="#">配送管理</a>
		</li>
		<li class="active">自提点</li>
	</ul>
</div>
<div class="content">
	<form action="{url:/system/takeself_operate}" method="post">
	<table class="table list-table">
		<colgroup>
			<col width="35px" />
			<col width="150px" />
			<col />
		</colgroup>
		<caption>
            <a class="btn btn-default" href='{url:/system/takeself_edit}'>
                <i class="fa fa-plus"></i>添加
            </a>
            <a class="btn btn-default" onclick="selectAll('id[]');">
                <i class="fa fa-check"></i>全选
            </a>
            <a class="btn btn-default" onclick="delModel();">
                <i class="fa fa-close"></i>批量删除
            </a>
		</caption>
		<thead>
			<tr>
				<th></th>
				<th>名称</th>
				<th>区域</th>
				<th>地址</th>
				<th>固定电话</th>
				<th>手机</th>
				<th>排序</th>
				<th>操作</th>
			</tr>
		</thead>

		<tbody>
            {set:$queryObj=Api::run('getListByTakeself');$resultData=$queryObj->find()}
            {foreach:items=$resultData}
            <tr>
                <td><input name="id[]" type="checkbox" value="{$item['id']}" /></td>
                <td>{$item['name']}</td>
                <td>{$item['area_name']}</td>
                <td>{$item['address']}</td>
                <td>{$item['phone']}</td>
                <td>{$item['mobile']}</td>
                <td>{$item['sort']}</td>
                <td>
                    <a href="{url:/system/takeself_edit/id/$item['id']}"><i class='operator fa fa-edit'></i></a>
                    <a href="javascript:delModel({link:'{url:/system/takeself_operate/id/$item['id']}'})"><i class='operator fa fa-close'></i></a>
                </td>
            </tr>
            {/foreach}
		</tbody>
	</table>
	</form>
</div>
{$queryObj->getPageBar()}