<%@ Page CodeFileBaseClass="AliCMS.Lib.MultiUserAdminPageBase" %>
<section data-page="department_list" data-title="部门列表">
	<div class="path1"><span>您的位置：</span>部门列表</div>
	<div class="content">
		<table data-ali-widget="grid" class="grid1" data-tree="true" data-root="0">
			<thead>
				<tr>
					<th width="40">编号</th>
					<th>名称</th>
					<th width="80">添加人员</th>
					<th width="80">人员列表</th>
					<th width="80">添加子部门</th>
					<th width="80">删除</th>
				</tr>
			</thead>
			<tbody>
				<ali:Tree Object="Department" Validate="True">
					<ali:Record>
						<tr data-id="<%=InnerID%>">
							<td data-sort="<%=InnerID%>"><%=InnerID%></td>
							<th data-item="<%=ParentChain%>.<%=InnerID%>" data-parent="<%=ParentChain%>"><a href="edit.aspx?ID=<%=InnerID%>" target="ali-navtab"><%=Name%></a></th>
							<td><a href="../staff/add.aspx?CategoryID=<%=ID%>" target="ali-navtab">添加人员</a></td>
							<td><a href="../staff/list.aspx?CategoryID=<%=ID%>" target="ali-navtab">人员列表</a></td>
							<td><a href="add.aspx?ParentID=<%=ID%>" target="ali-navtab">添加子部门</a></td>
							<td><a class="ali-button" data-operation="delete">删除</a></td>
						</tr>
						<%=ChildRecords%>
					</ali:Record>
				</ali:Tree>
			</tbody>
		</table>
	</div>
</section>