<apex:page controller="PrintInspectupReportPDFController" showHeader="false" sidebar="false" renderAs="PDF" action="{!init}" applyHtmlTag="false">
|
<html>
|
<title>打印点检报告书</title>
|
<apex:stylesheet value="{!URLFOR($Resource.BeforeOPDPDF)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.signaturePadMinJs)}"/>
|
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
|
<head>
|
<style>
|
@page {
|
size: A4 landscape;
|
margin: 5mm 12mm 5mm 12mm;
|
|
@bottom-center {
|
content: counter(page) " / " counter(pages);
|
}
|
}
|
|
table {border-collapse: collapse;}
|
|
th {text-align: center;}
|
th.border-thick-title { border-width: 1pt 0pt 1pt 0pt; border-style: solid; border-color: black; text-align: center;}
|
td.middle {text-align: center;}
|
td.topClear {border-top-color: white;}
|
</style>
|
<script>
|
|
</script>
|
</head>
|
<body style="">
|
<apex:variable value="{!0}" var="cntt" />
|
<apex:repeat value="{!listData}" var="onePage" id="listDataPage">
|
<table border="0" style="font-family: Arial Unicode MS;width:100%;">
|
<tr>
|
<apex:outputText rendered="true">
|
<td colspan="3" style="text-align: center; font-size: 16pt; font-weight: bold;">合同点检报告书</td>
|
</apex:outputText>
|
</tr>
|
<tr>
|
<td colspan="3" height="20px"></td>
|
</tr>
|
<tr>
|
<td>医院名:{!maintenanceContract.Hospital__r.Name}</td>
|
<td colspan="2">合同号:{!maintenanceContract.Maintenance_Contract_No__c}</td>
|
</tr>
|
<tr>
|
<td>科室名:{!maintenanceContract.Department__r.Name}</td>
|
<td colspan="2">点检人:{!loginPersonName}</td>
|
</tr>
|
</table>
|
<br/>
|
<br/>
|
<table border="1" style="font-family: Arial Unicode MS;font-size: small;width:99%;border-collapse: collapse;">
|
<thead>
|
<tr class="headerRow" height="30px" align="center">
|
<!--标题 -->
|
<td style="">No</td>
|
<td style="">产品名</td>
|
<td style="">机身号</td>
|
<apex:repeat value="{!inspectupPlanKey}" var="ipkk" id="oppTableipkk">
|
<td width="">{!ipkk}</td>
|
<apex:outputText rendered="{!resultFlag}">
|
<td width="" >结果</td>
|
</apex:outputText>
|
</apex:repeat>
|
</tr>
|
</thead>
|
<apex:variable value="{!0}" var="cnt" />
|
<apex:repeat value="{!onePage}" var="or" id="oppTable">
|
<tr align="center">
|
<td width="">{!cnt+1}</td>
|
<td width="150px">
|
<apex:outputText escape="false" value="{!or.deviceName}"></apex:outputText>
|
</td>
|
<td width="">{!or.serialNumber}</td>
|
<apex:outputText rendered="{!or.spotCheck1 != null}">
|
<td width="">{!or.spotCheck1}</td>
|
<apex:outputText rendered="{!resultFlag}">
|
<td width="" >{!or.spocCheckResult1}</td>
|
</apex:outputText>
|
</apex:outputText>
|
<apex:outputText rendered="{!or.spotCheck2 != null}">
|
<td width="">{!or.spotCheck2}</td>
|
<apex:outputText rendered="{!resultFlag}">
|
<td width="" >{!or.spocCheckResult2}</td>
|
</apex:outputText>
|
</apex:outputText>
|
<apex:outputText rendered="{!or.spotCheck3 != null}">
|
<td width="">{!or.spotCheck3}</td>
|
<apex:outputText rendered="{!resultFlag}">
|
<td width="" >{!or.spocCheckResult3}</td>
|
</apex:outputText>
|
</apex:outputText>
|
<apex:outputText rendered="{!or.spotCheck4 != null}">
|
<td width="">{!or.spotCheck4}</td>
|
<apex:outputText rendered="{!resultFlag}">
|
<td width="" >{!or.spocCheckResult4}</td>
|
</apex:outputText>
|
</apex:outputText>
|
</tr>
|
<apex:variable value="{!cnt + 1}" var="cnt" />
|
</apex:repeat>
|
</table>
|
<apex:outputPanel rendered="{!IF(isPaging && pageCnt > 0,IF(pageCnt-1 > cntt,true,false),false)}" layout="none">
|
<div style="page-break-after:always;"/>
|
</apex:outputPanel>
|
<apex:variable value="{!cntt + 1}" var="cntt" />
|
</apex:repeat>
|
<br/>
|
<br/>
|
<br/>
|
<br/>
|
<apex:outputText rendered="{!activeOn}">
|
<table style="font-family: Arial Unicode MS;">
|
<tr>
|
<th style="text-align: right;" >清洗液</th>
|
<th style="border:1px solid #000000; width: 15%;text-align: left;">{!InspectionReportData.CleaningFluid__c}</th>
|
<th/>
|
<th/>
|
<th/>
|
<th style="text-align: right;">方式</th>
|
<th style="border:1px solid #000000; width: 15%;text-align: left;">{!InspectionReportData.Mode__c}</th>
|
<th/>
|
<th/>
|
<th/>
|
<th style="text-align: right;">灭菌方式</th>
|
<th style="border:1px solid #000000; width: 15%;text-align: left;">{!InspectionReportData.SterilizationMethod__c}</th>
|
<th/>
|
<th/>
|
<th/>
|
<th style="text-align: right;">其他备注</th>
|
<th style="border:1px solid #000000; width: 15%;text-align: left;">{!InspectionReportData.Remarks__c}</th>
|
</tr>
|
<tr>
|
<th style="text-align: right;">消毒液</th>
|
<th style="border:1px solid #000000; width: 15%;text-align: left;">{!InspectionReportData.Disinfectant__c}</th>
|
<th/>
|
<th/>
|
<th/>
|
<th style="text-align: right;">使用机器</th>
|
<th style="border:1px solid #000000; width: 15%;text-align: left;">{!InspectionReportData.UsedMachine__c}</th>
|
<th/>
|
<th/>
|
<th/>
|
<th style="text-align: right;">使用ET</th>
|
<th style="border:1px solid #000000; width: 15%;text-align: left;">{!InspectionReportData.Used_ET__c}</th>
|
<th/>
|
<th/>
|
<th/>
|
<th/>
|
<th/>
|
</tr>
|
</table>
|
</apex:outputText>
|
</body>
|
</html>
|
</apex:page>
|