<div class="modal" ng-controller="SelectStaffCtrl">
	<div class="bar bar-header bar-dark">
		<button class="button icon-left ion-ios-arrow-back button-clear"
       sino-modal-back-button="close(true)">取消</button>
		<h1 class="title">选择人员</h1>
		<button class="button button-dark" ng-click="submit()" ng-disabled="disablePerson">
			下一步
		</button>
	</div>
	<ion-content class="has-header task-content view-task-content" scroll="true">
		<div class="list" ng-if="!data.more" ng-readonly="hasSend">
			<ion-radio-fix
				ng-value="userId"
				ng-model="result.selectedUser"
				ng-repeat="(userId, userName) in data.deptUserMap">
				{{userName}}
			</ion-radio-fix>
		</div>
		<ul class="list" ng-if="data.more"  ng-readonly="hasSend">
			<ion-checkbox ng-repeat="(userId, userName) in data.deptUserMap" ng-value="true" ng-model="result.selectedUsers[userId]">{{userName}}</ion-checkbox>
		</ul>
		<div class="list flow-list-style" ng-if="data.more" ng-readonly="hasSend">
			<ion-radio-fix name="group" ng-model="result.order"
				ng-value="item.value"
				ng-if="item.show"
				ng-repeat="item in order">{{item.text}}</ion-radio-fix>
		</div>
		<div class="content padding" ng-click="submit()" ng-disabled="disablePerson">
			<button class="button button-block button-positive" ng-disabled="disablePerson || hasSend">下一步</button>
		</div>
	</ion-content>
</div>