<div>
	<sino-breadcrumb class="bar bar-subheader" items="deptNavs" first="topDept" loading="loading" on-item-click="getDetail(item)" ></sino-breadcrumb>

<ion-content class="has-header has-subheader task-content view-task-content" scroll="true" delegate-handle="deptuserTreeScrollView" on-scroll="onScroll(scrollTop)">
<sino-loading-hint state="loadingState">
	<div class="list" style="margin-top: -1px;">
		<li class="item sino-user-item item-checkbox item-checkbox-right" 
			ng-repeat="node in currentDept.users | orderBy:'orderValue'" 
			ng-click="select(node, node.userId)">
			<sino-person-photo user-id="{{node.userId}}" size="32x32"></sino-person-photo>
			{{node.userName}}
			<label class="checkbox" ng-if="treeConfig.selectType.user && canSelectUser(node)">
				<input type="checkbox" ng-checked="selectedIds.indexOf(node.userId) > -1" >
			</label>
		</li>
		<li class="item item-checkbox item-checkbox-right sino-user-item item-icon-left" ng-repeat="node in currentDept.depts | orderBy:['orderNo']" ng-click="getDetail(node);" >
			<i class="icon ion-ios-list"></i>
			{{node.deptName}}
			<div class="checkbox tree-checkbox-left"  ng-if="treeConfig.selectType.dept && canSelectDept(node)"  >
				<input type="checkbox"ng-checked="selectedIds.indexOf(node.deptId) > -1" stop-event-default ng-click="select(node, node.deptId)">
			</div>
		</li>
	</div>
</sino-loading-hint>
</ion-content>

<sino-footer-group footer-group-config="footerGroupConfig" ></sino-footer-group>

</div>