<ion-header>
	<ion-toolbar>
		<div class="searchToolBar">
			<button ion-button clear small navPop style="padding: 0;" (click)="goBack()">
				<img class="back-btn" src="./assets/imgs/back.png" />
			</button>
			<ion-title text-center>报备跟踪</ion-title>
		</div>

	</ion-toolbar>
</ion-header>
<ion-content>
	<ion-list>
		<ion-item *ngFor="let item of all" (click)="goDetail(item.id,item.title)">
			<div class="item">
				<div class="item-header">
					<div class="item-header-box">
						<img src="./assets/imgs/bb1.png" class="itemIcon">
						<span class="item-title">{{item.title}}</span>
					</div>
					<!-- <button ion-button round class="btn color1" *ngIf="item.type == 1"></button> -->
					<button ion-button round class="btn color2" *ngIf="item.state == 2">已发布</button>
					<button ion-button round class="btn color3" *ngIf="item.state == 3">已结束</button>
				</div>
				<div class="item-content">
					<div class="left">
						<div>发布科室：
							<span class="data">{{item.fbDept}}</span>
						</div>
						<div>报备对象：
							<span class="data">{{item.usergroupName}}</span>
						</div>
						<div>报备截止时间：
							<span class="data">{{item.endTime}}</span>
						</div>
					</div>
					<div class="right">
						<button class="participation">人员参与情况</button>
					</div>
				</div>
			</div>
		</ion-item>
	</ion-list>
</ion-content>