<template>
	<uni-table :loading="loading" @selection-change="selects" border stripe>
		<!-- 表头行 -->
		<uni-tr>
			<uni-th width="70" rowspan="2" align="center">部门名称</uni-th>
			<uni-th align="center" colspan="2">院内</uni-th>
			<uni-th align="center" colspan="2">第三方</uni-th>
		</uni-tr>
		<uni-tr>
			<uni-th width="80" align="center">已填报</uni-th>
			<uni-th width="80" align="center">未填报</uni-th>
			<uni-th width="80" align="center">已填报</uni-th>
			<uni-th width="80" align="center">未填报</uni-th>
		</uni-tr>
		<!-- 表格数据行 -->
		<uni-tr v-for="(item,index) in userList" :key="index">
			<uni-td align="center">{{item.officeName}}</uni-td>
			<uni-td align="center">
				<button :class="item.noneCount>0?'tabButton':'tab'" @click="item.noneCount>0?clickNum(item.officeId,null,0):''" type="default">{{item.noneCount}}</button>
			</uni-td>
			<uni-td align="center">
				<button :class="item.alreadyCount>0?'tabButton':'tab'" @click="item.alreadyCount>0?clickNum(item.officeId,null,1):''" type="default">{{item.alreadyCount}}</button>
			</uni-td>
			<uni-td align="center">
				<button :class="item.jsAlreadyCount>0?'tabButton':'tab'" @click="item.jsAlreadyCount>0?clickNum(item.officeId,1,1):''" type="default">{{item.jsAlreadyCount}}</button>
			</uni-td>
			<uni-td align="center">
				<button :class="item.sqAlreadyCount>0?'tabButton':'tab'" @click="item.sqAlreadyCount>0?clickNum(item.officeId,2,1):''" type="default">{{item.sqAlreadyCount}}</button>
			</uni-td>
		</uni-tr>
	</uni-table>
</template>

<script>
</script>

<style>
</style>
