<!-- 信息发布——出差动态页面 -->
<ion-view hide-nav-bar="false" cache-view="false" class="infos-list-page">
	<ion-nav-title>
		<h1 class="headerOfGroup title">{{subject}}</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>
		<i class="button button-icon icon ion-ios-reloading" ng-show="loading"></i>
	</ion-nav-buttons>

	<ion-content  class="has-header list-content" scroll="true">
		<sino-loading-hint refresh="refresh()" state="infoReleaseListCtrl.loadingState">
			<div ng-repeat="item in dataList.list">
				<div class="card" style="padding: 0 16px;">
					<div class="list">
						<label class="item item-input item-cggs">
							<span class="input-label">姓名：</span>
							<p class="item-input-text">{{item.userName}}</p>
						</label>
						<label class="item item-input item-cggs">
							<span class="input-label">单位：</span>
							<p class="item-input-text">{{item.deptName}}</p>
						</label>
            <label class="item item-input item-cggs" ng-if="item.duty">
              <span class="input-label">职务：</span>
              <p class="item-input-text">{{item.duty}}</p>
            </label>
						<label class="item item-input item-cggs">
							<span class="input-label">事由：</span>
							<p class="item-input-text">{{item.evectionTask}}</p>
						</label>
						<label class="item item-input item-cggs">
							<span class="input-label">地点：</span>
							<p class="item-input-text">{{item.evectionZone}}</p>
						</label>
						<label class="item item-input item-cggs">
							<span class="input-label">出差时段：</span>
							<p class="item-input-text">{{item.dateStr}}</p>
						</label>
						<label class="item item-input item-cggs">
							<span class="input-label">出差中：</span>
							<p class="item-input-text">{{item.isEvection}}</p>
						</label>
					</div>
				</div>
			</div>
		</sino-loading-hint>
		<ion-infinite-scroll
			immediate-check="false" ng-if="moreDataCanBeLoaded()" on-infinite="loadMore()" distance="1%">
		</ion-infinite-scroll>
	</ion-content>
</ion-view>
