<!DOCTYPE html>
<html lang="en">
 <head>
	<meta charset="UTF-8">
	<title>抽取抽查统计</title>
	<link rel="stylesheet" href="../css/bootstrap.min.css">
	<style>
	tr th, table tr td{text-align:center;height:30px}
	table,table tr th, table tr td {border:1px solid #BBBBBB;}
	</style>
 </head>
 <body>
	<div class="container" align="center" style="padding-top:10px">
		<table style="width:500px;">
			<tr>
				<th colspan="6">抽查数：{{.T.total}}</th>
			</tr>
	        <tr>
				<th>属性</th>
				<th>正确</th>
				<th>错误</th>
				<th>未标记</th>
				<th>正确率</th>
				<th>识别正确率</th>
			</tr>
			{{if .T.comm}}
			<tr>
				<td>项目名称</td>
				<td>{{.T.comm.projectname.ok}}</td>
				<td>{{.T.comm.projectname.fail}}</td>
				<td>{{.T.comm.projectname.default}}</td>
				<td>
					<script>
					var a={{.T.comm.projectname.ok}}/({{.T.comm.projectname.ok}}+{{.T.comm.projectname.fail}}+{{.T.comm.projectname.default}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
				<td>
					<script>
					var a={{.T.comm.projectname.ok}}/({{.T.comm.projectname.ok}}+{{.T.comm.projectname.fail}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
			</tr>
			<tr>
				<td>项目编号</td>
				<td>{{.T.comm.projectcode.ok}}</td>
				<td>{{.T.comm.projectcode.fail}}</td>
				<td>{{.T.comm.projectcode.default}}</td>
				<td>
					<script>
					var a={{.T.comm.projectcode.ok}}/({{.T.comm.projectcode.ok}}+{{.T.comm.projectcode.fail}}+{{.T.comm.projectcode.default}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
				<td>
					<script>
					var a={{.T.comm.projectcode.ok}}/({{.T.comm.projectcode.ok}}+{{.T.comm.projectcode.fail}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
			</tr>
			<tr>
				<td>城市</td>
				<td>{{.T.comm.city.ok}}</td>
				<td>{{.T.comm.city.fail}}</td>
				<td>{{.T.comm.city.default}}</td>
				<td>
					<script>
					var a={{.T.comm.city.ok}}/({{.T.comm.city.ok}}+{{.T.comm.city.fail}}+{{.T.comm.city.default}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
				<td>
					<script>
					var a={{.T.comm.city.ok}}/({{.T.comm.city.ok}}+{{.T.comm.city.fail}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
			</tr>
			<tr>
				<td>招标单位	</td>
				<td>{{.T.comm.buyer.ok}}</td>
				<td>{{.T.comm.buyer.fail}}</td>
				<td>{{.T.comm.buyer.default}}</td>
				<td>
					<script>
					var a={{.T.comm.buyer.ok}}/({{.T.comm.buyer.ok}}+{{.T.comm.buyer.fail}}+{{.T.comm.buyer.default}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
				<td>
					<script>
					var a={{.T.comm.buyer.ok}}/({{.T.comm.buyer.ok}}+{{.T.comm.buyer.fail}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
			</tr>
			<tr>
				<td>招标联系人	</td>
				<td>{{.T.comm.buyerperson.ok}}</td>
				<td>{{.T.comm.buyerperson.fail}}</td>
				<td>{{.T.comm.buyerperson.default}}</td>
				<td>
					<script>
					var a={{.T.comm.buyerperson.ok}}/({{.T.comm.buyerperson.ok}}+{{.T.comm.buyerperson.fail}}+{{.T.comm.buyerperson.default}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
				<td>
					<script>
					var a={{.T.comm.buyerperson.ok}}/({{.T.comm.buyerperson.ok}}+{{.T.comm.buyerperson.fail}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
			</tr>
			<tr>
				<td>招标单位电话	</td>
				<td>{{.T.comm.buyertel.ok}}</td>
				<td>{{.T.comm.buyertel.fail}}</td>
				<td>{{.T.comm.buyertel.default}}</td>
				<td>
					<script>
					var a={{.T.comm.buyertel.ok}}/({{.T.comm.buyertel.ok}}+{{.T.comm.buyertel.fail}}+{{.T.comm.buyertel.default}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
				<td>
					<script>
					var a={{.T.comm.buyertel.ok}}/({{.T.comm.buyertel.ok}}+{{.T.comm.buyertel.fail}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
			</tr>
			<tr>
				<td>招标机构	</td>
				<td>{{.T.comm.agency.ok}}</td>
				<td>{{.T.comm.agency.fail}}</td>
				<td>{{.T.comm.agency.default}}</td>
				<td>
					<script>
					var a={{.T.comm.agency.ok}}/({{.T.comm.agency.ok}}+{{.T.comm.agency.fail}}+{{.T.comm.agency.default}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
				<td>
					<script>
					var a={{.T.comm.agency.ok}}/({{.T.comm.agency.ok}}+{{.T.comm.agency.fail}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
			</tr>
			<tr>
				<td>开标日期	</td>
				<td>{{.T.comm.bidopentime.ok}}</td>
				<td>{{.T.comm.bidopentime.fail}}</td>
				<td>{{.T.comm.bidopentime.default}}</td>
				<td>
					<script>
					var a={{.T.comm.bidopentime.ok}}/({{.T.comm.bidopentime.ok}}+{{.T.comm.bidopentime.fail}}+{{.T.comm.bidopentime.default}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
				<td>
					<script>
					var a={{.T.comm.bidopentime.ok}}/({{.T.comm.bidopentime.ok}}+{{.T.comm.bidopentime.fail}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
			</tr>
			<tr>
				<td>预算金额	</td>
				<td>{{.T.comm.budget.ok}}</td>
				<td>{{.T.comm.budget.fail}}</td>
				<td>{{.T.comm.budget.default}}</td>
				<td>
					<script>
					var a={{.T.comm.budget.ok}}/({{.T.comm.budget.ok}}+{{.T.comm.budget.fail}}+{{.T.comm.budget.default}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
				<td>
					<script>
					var a={{.T.comm.budget.ok}}/({{.T.comm.budget.ok}}+{{.T.comm.budget.fail}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
			</tr>
			<tr>
				<td>中标金额	</td>
				<td>{{.T.comm.bidamount.ok}}</td>
				<td>{{.T.comm.bidamount.fail}}</td>
				<td>{{.T.comm.bidamount.default}}</td>
				<td>
					<script>
					var a={{.T.comm.bidamount.ok}}/({{.T.comm.bidamount.ok}}+{{.T.comm.bidamount.fail}}+{{.T.comm.bidamount.default}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
				<td>
					<script>
					var a={{.T.comm.bidamount.ok}}/({{.T.comm.bidamount.ok}}+{{.T.comm.bidamount.fail}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
			</tr>
			<tr>
				<td>中标单位	</td>
				<td>{{.T.comm.winner.ok}}</td>
				<td>{{.T.comm.winner.fail}}</td>
				<td>{{.T.comm.winner.default}}</td>
				<td>
					<script>
					var a={{.T.comm.winner.ok}}/({{.T.comm.winner.ok}}+{{.T.comm.winner.fail}}+{{.T.comm.winner.default}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
				<td>
					<script>
					var a={{.T.comm.winner.ok}}/({{.T.comm.winner.ok}}+{{.T.comm.winner.fail}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
			</tr>
			<tr>
				<td>项目范围	</td>
				<td>{{.T.comm.projectscope.ok}}</td>
				<td>{{.T.comm.projectscope.fail}}</td>
				<td>{{.T.comm.projectscope.default}}</td>
				<td>
					<script>
					var a={{.T.comm.projectscope.ok}}/({{.T.comm.projectscope.ok}}+{{.T.comm.projectscope.fail}}+{{.T.comm.projectscope.default}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
				<td>
					<script>
					var a={{.T.comm.projectscope.ok}}/({{.T.comm.projectscope.ok}}+{{.T.comm.projectscope.fail}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
			</tr>
			{{end}}
			<tr>
				<th colspan="5">
				分包信息:
 				识别正确({{.T.comm.package.ok}});
				识别错误({{.T.comm.package.fail}});
				未标记({{.T.comm.package.default}});
				</th>
			</tr>
			<tr>
				<td>名称	</td>
				<td>{{.T.pack.origin.ok}}</td>
				<td>{{.T.pack.origin.fail}}</td>
				<td>{{.T.pack.origin.default}}</td>
				<td>
					<script>
					var a={{.T.pack.origin.ok}}/({{.T.pack.origin.ok}}+{{.T.pack.origin.fail}}+{{.T.pack.origin.default}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
				<td>
					<script>
					var a={{.T.pack.origin.ok}}/({{.T.pack.origin.ok}}+{{.T.pack.origin.fail}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td> 
			</tr>
			<tr>
				<td>预算	</td>
				<td>{{.T.pack.budget.ok}}</td>
				<td>{{.T.pack.budget.fail}}</td>
				<td>{{.T.pack.budget.default}}</td>
				<td>
					<script>
					var a={{.T.pack.budget.ok}}/({{.T.pack.budget.ok}}+{{.T.pack.budget.fail}}+{{.T.pack.budget.default}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
				<td>
					<script>
					var a={{.T.pack.budget.ok}}/({{.T.pack.budget.ok}}+{{.T.pack.budget.fail}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
			</tr>
			<tr>
				<td>中标金额	</td>
				<td>{{.T.pack.bidamount.ok}}</td>
				<td>{{.T.pack.bidamount.fail}}</td>
				<td>{{.T.pack.bidamount.default}}</td>
				<td>
					<script>
					var a={{.T.pack.bidamount.ok}}/({{.T.pack.bidamount.ok}}+{{.T.pack.bidamount.fail}}+{{.T.pack.bidamount.default}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
				<td>
					<script>
					var a={{.T.pack.bidamount.ok}}/({{.T.pack.bidamount.ok}}+{{.T.pack.bidamount.fail}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
			</tr>
			<tr>
				<td>中标单位	</td>
				<td>{{.T.pack.winner.ok}}</td>
				<td>{{.T.pack.winner.fail}}</td>
				<td>{{.T.pack.winner.default}}</td>
				<td>
					<script>
					var a={{.T.pack.winner.ok}}/({{.T.pack.winner.ok}}+{{.T.pack.winner.fail}}+{{.T.pack.winner.default}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
				<td>
					<script>
					var a={{.T.pack.winner.ok}}/({{.T.pack.winner.ok}}+{{.T.pack.winner.fail}});
					document.write((a*100).toFixed(2)+"%")
					</script>
				</td>
			</tr>
		</table>	
	</div>
 </body>
</html>
