<ion-view class="sino-mobile-page">
	<ion-nav-title>
		<h1 class="title">本部门联系人</h1>
	</ion-nav-title>
	<ion-nav-buttons side="left">
		<button class="button icon-left ion-ios-arrow-back button-clear sino-back-button" sino-nav-direction="back" sino-go-back-button>返回</button>
	</ion-nav-buttons>
	<ion-nav-buttons side="right">
		<span style="font-size:30px" class="ion-ios-reload" ng-show="!refreshing" stop-event ng-click="refresh()"></span>
		<ion-spinner icon="android" ng-show="refreshing" stop-event ng-click="refresh()" class="alluser-refresh"></ion-spinner>
	</ion-nav-buttons>


	<ion-content scroll="true">
		<div class="list">
			<div ng-repeat="item in depts | orderBy:'deptId'">
				<div class="item item-divider">{{item.deptName}}</div>
				<div class="item item-icon-left item-icon-right sino-user-item" ng-repeat="linker in userListOfSameDept.items track by linker.userId | orderBy:'orderNo'" ng-if="hasDept(linker.deptId, item.deptId) && filterLinker(linker)" ng-click="showLinkerDetail(linker)" view-linker-detail="{{linker.userId}}">
				<sino-person-photo user-id="{{linker.userId}}" size="32x32" class="size_32x32"></sino-person-photo>
					{{linker.userName}}
					<i class="icon" sino-linker-favorite-button="{{linker.userId}}" stop-event></i>
				</div>
			</div>
		</div>
	</ion-content>
</ion-view>
