first commit
This commit is contained in:
78
WebRoot/jsp/cqbytSampleValue/testReportView.jsp
Normal file
78
WebRoot/jsp/cqbytSampleValue/testReportView.jsp
Normal file
@ -0,0 +1,78 @@
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
||||
<style type="text/css">
|
||||
.select2-container .select2-selection--single{
|
||||
height:34px;
|
||||
line-height: 34px;
|
||||
}
|
||||
.select2-selection__arrow{
|
||||
margin-top:3px;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
</script>
|
||||
<div class="modal fade" id="subModal">
|
||||
<div class="modal-dialog modal-xlg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title">实验室检测报告</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<table class="table table-bordered table-condensed" id="tableView">
|
||||
<tr class="info">
|
||||
<th colspan="6">基本信息</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>样品编号</td><td>${testReport.code}</td>
|
||||
<td>样品名称</td><td>${testReport.name}</td>
|
||||
<td>样品来源</td><td>${testReport.samplesource}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>样品类型</td><td>${testReport.classifyname}</td>
|
||||
<td>样品状态</td><td>${testReport.samplestate}</td>
|
||||
<td>采样人</td><td>${testReport.sampler}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>采样点</td><td>${testReport.waterpointname}</td>
|
||||
<td>采样地址</td><td>${testReport.sampleaddress}</td>
|
||||
<td>采样时间</td><td>${testReport.sampledate.substring(0,10)}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>收样日期</td><td>${testReport.receivingdate.substring(0,10)}</td>
|
||||
<td>评价标准</td><td>${testReport.evaluatestandardname}</td>
|
||||
<td>检测日期</td><td>${testReport.checkdate}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>受检单位</td><td>${testReport.becheckedunitname}</td>
|
||||
<td>委托单位</td><td colspan="3">${testReport.sampleinstitutionname}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>检测项目</td><td colspan="5">${testReport.checkitems}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>检测结论</td><td colspan="5">${testReport.checkconclusion}</td>
|
||||
</tr>
|
||||
<tr class="info"><th>序号</th><th>指标名称</th><th>指标单位</th><th width="20%">检测方法</th><th>标准限值</th><th>检测结果</th></tr>
|
||||
<c:set var="idx" value="${1}" />
|
||||
<c:if test="${testReport.testReportDetails !=null and fn:length(testReport.testReportDetails)>0}">
|
||||
<c:forEach items="${testReport.testReportDetails}" var="obj">
|
||||
<tr><td>${idx}</td><td>${obj.itemname}</td>
|
||||
<td>${obj.itemunit}</td><td>${obj.checkstandardname}</td>
|
||||
<td>${obj.itemlimit}</td><td>${obj.value}</td>
|
||||
</tr>
|
||||
<c:set var="idx" value="${idx+1}" />
|
||||
</c:forEach>
|
||||
</c:if>
|
||||
</table>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default pull-right" data-dismiss="modal">关闭</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.modal-content -->
|
||||
</div>
|
||||
<!-- /.modal-dialog -->
|
||||
</div>
|
||||
Reference in New Issue
Block a user