111
沙世明
2022-11-22 928399eceec50e3d37ea08669a12789a9410a9d2
force-app/main/default/pages/RepairAgainAnPDF.page
@@ -5,7 +5,7 @@
        <style>
            @page {
                size: A4 portrait;
                margin: 5mm 12mm 5mm 12mm;
                margin: 5mm 10mm 5mm 10mm;
                /*@top-center {
                    content: element(header);
                }*/
@@ -20,7 +20,7 @@
            
            table {border-collapse: collapse;} 
            td.title {text-align: center; font-weight: bold; background-color: #BDBDBD; height: 23px;}
            td.middle {text-align: center; font-size:120%;}
            td.middle {text-align: center; font-size:100%;}
            td.label {padding-left: 10px; height: 23px; font-weight: bold;}   
        </style>
@@ -61,7 +61,7 @@
                    </table>
                    <table width="100%" cellspacing="0">
                        <tr>
                            <td style="font-size: 10pt; text-align: left; padding: 0px 0px 0px 0px;">管理号:</td>
                            <td style="font-size: 10pt; text-align: left; padding: 0px 0px 0px 0px;">管理号:{!ra.Repair__r.Name}</td>
                            <td style="font-size: 10pt; text-align: left; padding: 0px 0px 0px 0px;"></td>
                        </tr>
                    </table>
@@ -111,13 +111,15 @@
                            <td class="label">医院</td>
                            <td colspan="3" class="middle">{!ra.Hospital__c}</td>
                            <td rowspan="7" class="label">报价检测确认</td>
                            <td rowspan="7" colspan="3" class="middle" style="height:161px; font-size:120%; font-weight: bold;">
                            <td rowspan="7" colspan="3" class="middle" style="height:161px; font-size:100%; font-weight: bold;">
                                <div style="text-align: left;text-indent:2em" id="Society_div">
                                <c:PDFWbr targetStr="{!ra.InspectionComment__c}" />
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td rowspan="1" class="label">故障现象</td>
                            <td rowspan="1" colspan="3" class="middle" style="height:46px; font-size:120%; font-weight: bold;">
                            <td rowspan="1" colspan="3" class="middle" style="height:46px; font-size:100%; font-weight: bold;">
                                <c:PDFWbr targetStr="{!ra.PhenomenonName__c}" />
                            </td>
                        </tr>
@@ -201,7 +203,7 @@
                        </tr>
                        <tr>
                            <td width="10%" class="label">上次故障维修信息</td>
                            <td colspan="5" class="middle" style="height:69px; font-size:120%; font-weight: bold;">
                            <td colspan="5" class="middle" style="height:69px; font-size:100%; font-weight: bold;">
                                <c:PDFWbr targetStr="{!ra.InspectionFailureCause_Last__c}" />
                            </td>
                        </tr>
@@ -233,7 +235,7 @@
                <td width="12%" style="text-align: right; vertical-align: bottom; font-size: 10pt;">
                    <table width="100%" cellspacing="0">
                        <tr>
                            <td style="font-size: 10px; text-align: left; padding: 0px 0px 0px 0px;">管理号:</td>
                            <td style="font-size: 10px; text-align: left; padding: 0px 0px 0px 0px;">管理号:{!ra.Repair__r.Name}</td>
                            <td style="font-size: 10px; text-align: left; padding: 0px 0px 0px 0px;"></td>
                        </tr>
                    </table>
@@ -274,6 +276,20 @@
                      </table>
                    </td>
                </tr>
                <tr>
                    <td colspan="4" style="border-top-color: white;">
                     <table width="100%" border="1" cellspacing="0">
                         <tr><td style="height:250px; text-align: center;"><apex:image value="{!ra.Dectect_Picture3_URL__c}" height="90%" width="80%" rendered="{!NOT(ISBLANK(ra.Dectect_Picture3_URL__c))}" /></td></tr>
                         <tr><td style="height:40px;"></td></tr>
                     </table>
                     </td>
                     <td colspan="4" style="border-top-color: white;">
                     <table width="100%" border="1" cellspacing="0">
                            <tr><td style="height:250px; text-align: center;"><apex:image value="{!ra.Dectect_Picture4_URL__c}" height="90%" width="80%" rendered="{!NOT(ISBLANK(ra.Dectect_Picture4_URL__c))}" /></td></tr>
                            <tr><td style="height:40px;"></td></tr>
                      </table>
                    </td>
                </tr>
        </table>
        </apex:outputPanel>
@@ -301,7 +317,7 @@
                <td width="12%" style="text-align: right; vertical-align: bottom; font-size: 10pt;">
                    <table width="100%" cellspacing="0">
                        <tr>
                            <td style="font-size: 10px; text-align: left; padding: 0px 0px 0px 0px;">管理号:</td>
                            <td style="font-size: 10px; text-align: left; padding: 0px 0px 0px 0px;">管理号:{!ra.Repair__r.Name}</td>
                            <td style="font-size: 10px; text-align: left; padding: 0px 0px 0px 0px;"></td>
                        </tr>
                    </table>
@@ -321,56 +337,116 @@
                            <td colspan="8" style="height:18px; padding-top: 0px; padding-bottom: 0px; padding-left: 10px; font-weight: bold">技术检测/分析详述</td>
                        </tr>
                        <tr>
                            <td colspan="8" class="middle" style="height:138px; border-top-color: white; font-size:120%; font-weight: bold; vertical-align: top;"><c:PDFWbr targetStr="{!ra.AnalysisOSH__c}" /></td>
                            <td colspan="8" class="left" style="height:20px; border-top-color: white; font-weight: bold; vertical-align: top; padding-left: 10px;">[客诉故障现象的确认结果]:
                             <apex:outputPanel rendered="{!isFirst}">
                                 <apex:outputPanel layout="none" rendered="{!ra.Complaint_confirm__c == '未再现'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.Complaint_confirm__c <> '未再现'}">&#9633;</apex:outputPanel>未再现
                                 &nbsp;&nbsp;&nbsp;&nbsp;
                                <apex:outputPanel layout="none" rendered="{!ra.Complaint_confirm__c == '再现'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.Complaint_confirm__c <> '再现'}">&#9633;</apex:outputPanel>再现
                            </apex:outputPanel>
                             <apex:outputPanel rendered="{!!isFirst}">
                                 <apex:outputPanel layout="none" rendered="{!ra.Complaint_confirm2__c == '未再现'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.Complaint_confirm2__c <> '未再现'}">&#9633;</apex:outputPanel>未再现
                                 &nbsp;&nbsp;&nbsp;&nbsp;
                                <apex:outputPanel layout="none" rendered="{!ra.Complaint_confirm2__c == '再现'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.Complaint_confirm2__c <> '再现'}">&#9633;</apex:outputPanel>再现
                            </apex:outputPanel>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="8" class="left" style="height:20px; border-top-color: white; font-weight: bold; vertical-align: top; padding-left: 10px;">[客诉故障现象以外的其他故障内容]:<apex:outputPanel rendered="{!isFirst}">{!ra.Complaint_otherFault__c}</apex:outputPanel>{!ra.Complaint_otherFault2__c}
                            </td>
                        </tr>
                        <!-- <tr>
                            <td colspan="8" class="middle" style="height:50px; border-top-color: white; font-size:100%; font-weight: bold; vertical-align: top;"><c:PDFWbr rendered="{!isFirst}" targetStr="{!ra.AnalysisOSH__c}" /> <c:PDFWbr rendered="{!!isFirst}" targetStr="{!ra.AnalysisOSH2__c}" /></td>
                        </tr> -->
                        <tr>
                            <td colspan="8" style="height:50px;border-top-color: white; font-size:100%; font-weight: bold; vertical-align: top;">
                                  <apex:outputField value="{!ra.AnalysisOSH__c}"/>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="8" style="height:18px; padding-top: 0px; padding-bottom: 0px; padding-left: 10px;">原因</td>
                        </tr>
                        <tr>
                            <td colspan="8" class="middle" style="height:69px; border-top-color: white; font-size:120%; font-weight: bold; vertical-align: top;"><c:PDFWbr targetStr="{!ra.AnalysisReasonOSH__c}" /></td>
                            <td colspan="8" class="middle" style="height:50px; border-top-color: white; font-size:100%; font-weight: bold; vertical-align: top;"><c:PDFWbr rendered="{!isFirst}" targetStr="{!ra.AnalysisReasonOSH__c}" /><c:PDFWbr rendered="{!!isFirst}" targetStr="{!ra.AnalysisReasonOSH2__c}" /></td>
                        </tr>
                        <tr>
                            <td colspan="8" class="left" style="height:20px; border-top-color: white; font-weight: bold; vertical-align: top; padding-left: 10px;"> 对应措施:</td>
                        </tr>
                        <tr>
                            <td colspan="8" style="height:18px; padding-top: 0px; padding-bottom: 0px; padding-left: 10px;">对应措施:</td>
                            <td colspan="8" class="middle" style="height:50px; border-top-color: white; font-size:100%; font-weight: bold; vertical-align: top;"><c:PDFWbr rendered="{!isFirst}" targetStr="{!ra.Countermeasures__c}" /> <c:PDFWbr rendered="{!!isFirst}" targetStr="{!ra.Countermeasures2__c}" /></td>
                        </tr>
                        <tr>
                            <td class="label">质量判定</td>
                            <td colspan="7" class="label">
                                <apex:outputPanel layout="none" rendered="{!ra.JudgementOSH__c == '质量原因'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.JudgementOSH__c <> '质量原因'}">&#9633;</apex:outputPanel>质量原因
                                <apex:outputPanel rendered="{!isFirst}">
                                <apex:outputPanel layout="none" rendered="{!ra.JudgementOSH__c == '质量原因'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.JudgementOSH__c <> '质量原因'}">&#9633;</apex:outputPanel>质量原因
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <apex:outputPanel layout="none" rendered="{!ra.JudgementOSH__c == '非质量原因'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.JudgementOSH__c <> '非质量原因'}">&#9633;</apex:outputPanel>非质量原因
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <apex:outputPanel layout="none" rendered="{!ra.JudgementOSH__c == '故障未再现'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.JudgementOSH__c <> '故障未再现'}">&#9633;</apex:outputPanel>故障未再现
                                </apex:outputPanel>
                                <apex:outputPanel rendered="{! !isFirst}">
                                <apex:outputPanel layout="none" rendered="{!ra.JudgementOSH2__c == '质量原因'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.JudgementOSH2__c <> '质量原因'}">&#9633;</apex:outputPanel>质量原因
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <apex:outputPanel layout="none" rendered="{!ra.JudgementOSH2__c == '非质量原因'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.JudgementOSH2__c <> '非质量原因'}">&#9633;</apex:outputPanel>非质量原因
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <apex:outputPanel layout="none" rendered="{!ra.JudgementOSH2__c == '故障未再现'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.JudgementOSH2__c <> '故障未再现'}">&#9633;</apex:outputPanel>故障未再现
                                </apex:outputPanel>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">技术对应</td>
                            <td colspan="7" class="label">
                                <apex:outputPanel rendered="{!isFirst}">
                                <apex:outputPanel layout="none" rendered="{!ra.ActionOSH__c == '无偿维修'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOSH__c <> '无偿维修'}">&#9633;</apex:outputPanel>无偿维修
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <apex:outputPanel layout="none" rendered="{!ra.ActionOSH__c == '有偿维修'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOSH__c <> '有偿维修'}">&#9633;</apex:outputPanel>有偿维修
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <apex:outputPanel layout="none" rendered="{!ra.ActionOSH__c == '无偿+有偿'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOSH__c <> '无偿+有偿'}">&#9633;</apex:outputPanel>无偿+有偿
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <apex:outputPanel layout="none" rendered="{!ra.ActionOSH__c == '送回'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOSH__c <> '送回'}">&#9633;</apex:outputPanel>送回
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <apex:outputPanel layout="none" rendered="{!ra.ActionOSH__c == '继续观察'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOSH__c <> '继续观察'}">&#9633;</apex:outputPanel>继续观察
                                </apex:outputPanel>
                                <apex:outputPanel rendered="{! !isFirst}">
                                <apex:outputPanel layout="none" rendered="{!ra.ActionOSH2__c == '无偿维修'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOSH2__c <> '无偿维修'}">&#9633;</apex:outputPanel>无偿维修
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <apex:outputPanel layout="none" rendered="{!ra.ActionOSH2__c == '有偿维修'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOSH2__c <> '有偿维修'}">&#9633;</apex:outputPanel>有偿维修
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <apex:outputPanel layout="none" rendered="{!ra.ActionOSH2__c == '无偿+有偿'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOSH2__c <> '无偿+有偿'}">&#9633;</apex:outputPanel>无偿+有偿
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <apex:outputPanel layout="none" rendered="{!ra.ActionOSH2__c == '送回'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOSH2__c <> '送回'}">&#9633;</apex:outputPanel>送回
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <apex:outputPanel layout="none" rendered="{!ra.ActionOSH2__c == '继续观察'}">&#10004;</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOSH2__c <> '继续观察'}">&#9633;</apex:outputPanel>继续观察
                                </apex:outputPanel>
                            </td>
                        </tr>
                        <tr>
                            <td width="10%" class="label">检测者</td>
                            <td width="15%" class="middle">{!ra.OSH_Detector__r.Name}</td>
                            <td width="15%" class="middle"><apex:outputPanel rendered="{!isFirst}">{!ra.OSH_Detector__r.Name}</apex:outputPanel>{!ra.OSH_Detector2__r.Name}</td>
                            <td width="10%" class="label">确认者</td>
                            <td width="15%" class="middle">{!ra.OSH_Confirmer__r.Name}</td>
                            <td width="15%" class="middle"><apex:outputPanel rendered="{!isFirst}">{!ra.OSH_Confirmer__r.Name}</apex:outputPanel>{!ra.OSH_Confirmer2__r.Name}</td>
                            <td width="10%" class="label">确认日</td>
                            <td width="15%" class="middle"><apex:outputField value="{!ra.OSH_Confirmation_Date__c}"/></td>
                            <td width="15%" class="middle"><apex:outputField rendered="{!isFirst}" value="{!ra.OSH_Confirmation_Date__c}"/><apex:outputField rendered="{!!isFirst}" value="{!ra.OSH_Confirmation_Date2__c}"/></td>
                            <td width="10%" class="label">附图片</td>
                            <td width="15%" class="label">
                                <apex:outputPanel layout="none" rendered="{!ra.OSH_Dectect_Picture1_URL__c != null || ra.OSH_Dectect_Picture2_URL__c != null || ra.OSH_Dectect_Picture3_URL__c != null || ra.OSH_Dectect_Picture4_URL__c != null}">&#10004;</apex:outputPanel>
                                <apex:outputPanel layout="none" rendered="{!ra.OSH_Dectect_Picture1_URL__c == null && ra.OSH_Dectect_Picture2_URL__c == null && ra.OSH_Dectect_Picture3_URL__c == null && ra.OSH_Dectect_Picture4_URL__c == null}">&#9633;</apex:outputPanel>有
                                <apex:outputPanel layout="none" rendered="{!ra.OSH_Dectect_Picture1_URL__c != null || ra.OSH_Dectect_Picture2_URL__c != null || ra.OSH_Dectect_Picture3_URL__c != null || ra.OSH_Dectect_Picture4_URL__c != null || ra.OSH_Dectect_Picture5_URL__c != null || ra.OSH_Dectect_Picture6_URL__c != null || ra.OSH_Dectect_Picture7_URL__c != null || ra.OSH_Dectect_Picture8_URL__c != null}">&#10004;</apex:outputPanel>
                                <apex:outputPanel layout="none" rendered="{!ra.OSH_Dectect_Picture1_URL__c == null && ra.OSH_Dectect_Picture2_URL__c == null && ra.OSH_Dectect_Picture3_URL__c == null && ra.OSH_Dectect_Picture4_URL__c == null || ra.OSH_Dectect_Picture5_URL__c == null || ra.OSH_Dectect_Picture6_URL__c == null || ra.OSH_Dectect_Picture7_URL__c == null || ra.OSH_Dectect_Picture8_URL__c == null}">&#9633;</apex:outputPanel>有
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                <apex:outputPanel layout="none" rendered="{!ra.OSH_Dectect_Picture1_URL__c == null && ra.OSH_Dectect_Picture2_URL__c == null && ra.OSH_Dectect_Picture3_URL__c == null && ra.OSH_Dectect_Picture4_URL__c == null}">&#10004;</apex:outputPanel>
                                <apex:outputPanel layout="none" rendered="{!ra.OSH_Dectect_Picture1_URL__c != null || ra.OSH_Dectect_Picture2_URL__c != null || ra.OSH_Dectect_Picture3_URL__c != null || ra.OSH_Dectect_Picture4_URL__c != null}">&#9633;</apex:outputPanel>无
                                <apex:outputPanel layout="none" rendered="{!ra.OSH_Dectect_Picture1_URL__c == null && ra.OSH_Dectect_Picture2_URL__c == null && ra.OSH_Dectect_Picture3_URL__c == null && ra.OSH_Dectect_Picture4_URL__c == null || ra.OSH_Dectect_Picture5_URL__c == null || ra.OSH_Dectect_Picture6_URL__c == null || ra.OSH_Dectect_Picture7_URL__c == null || ra.OSH_Dectect_Picture8_URL__c == null}">&#10004;</apex:outputPanel>
                                <apex:outputPanel layout="none" rendered="{!ra.OSH_Dectect_Picture1_URL__c != null || ra.OSH_Dectect_Picture2_URL__c != null || ra.OSH_Dectect_Picture3_URL__c != null || ra.OSH_Dectect_Picture4_URL__c != null || ra.OSH_Dectect_Picture5_URL__c != null || ra.OSH_Dectect_Picture6_URL__c != null || ra.OSH_Dectect_Picture7_URL__c != null || ra.OSH_Dectect_Picture8_URL__c != null}">&#9633;</apex:outputPanel>无
                            </td>
                        </tr>
                         <apex:outputPanel layout="none" rendered="{!status>=2}">
                        <tr>
                            <td colspan="2" class="label">审核者</td>
                            <td colspan="2" class="middle"> <apex:outputPanel rendered="{!isFirst}">{!ra.OSH_Auditor__r.Name}</apex:outputPanel>{!ra.OSH_Auditor2__r.Name}</td>
                            <td colspan="2" class="label">审核确认日</td>
                            <td colspan="2" class="middle"> <apex:outputField rendered="{!isFirst}" value="{!ra.RepairAgainAn_Approve_Confirm__c}"/> <apex:outputField rendered="{!!isFirst}" value="{!ra.RepairAgainAn_Approve_Confirm2__c}"/></td>
                        </tr>
                        <apex:outputPanel layout="none" rendered="{!status>=2}">
                        <tr>
                             <td colspan="8" style="border-top-color: white;">
                                 <table width="100%" border="1" cellspacing="0">
@@ -414,6 +490,40 @@
        </table>
        </apex:outputPanel>
        <apex:outputPanel layout="none" rendered="{!status>=2 && (ra.OSH_Dectect_Picture5_URL__c != null || ra.OSH_Dectect_Picture6_URL__c != null || ra.OSH_Dectect_Picture7_URL__c != null || ra.OSH_Dectect_Picture8_URL__c != null)}">
            <div style="page-break-after: always;"></div>
            <table width="100%" border="1" cellspacing="0">
                <tr>
                   <td colspan="4" style="border-top-color: white;">
                       <table width="100%" border="1" cellspacing="0">
                             <tr><td style="height:250px; text-align: center;"><apex:image value="{!ra.OSH_Dectect_Picture5_URL__c}" height="90%" width="80%" rendered="{!NOT(ISBLANK(ra.OSH_Dectect_Picture5_URL__c))}" /></td></tr>
                             <tr><td style="height:40px;"></td></tr>
                       </table>
                   </td>
                   <td colspan="4" style="border-left-color: white;">
                        <table width="100%" border="1" cellspacing="0">
                               <tr><td style="height:250px; text-align: center;"><apex:image value="{!ra.OSH_Dectect_Picture6_URL__c}" height="90%" width="80%" rendered="{!NOT(ISBLANK(ra.OSH_Dectect_Picture6_URL__c))}" /></td></tr>
                               <tr><td style="height:40px;"></td></tr>
                        </table>
                   </td>
               </tr>
               <tr>
                   <td colspan="4" style="border-top-color: white;">
                       <table width="100%" border="1" cellspacing="0">
                             <tr><td style="height:250px; text-align: center;"><apex:image value="{!ra.OSH_Dectect_Picture7_URL__c}" height="90%" width="80%" rendered="{!NOT(ISBLANK(ra.OSH_Dectect_Picture7_URL__c))}" /></td></tr>
                             <tr><td style="height:40px;"></td></tr>
                       </table>
                   </td>
                   <td colspan="4" style="border-left-color: white;">
                        <table width="100%" border="1" cellspacing="0">
                               <tr><td style="height:250px; text-align: center;"><apex:image value="{!ra.OSH_Dectect_Picture8_URL__c}" height="90%" width="80%" rendered="{!NOT(ISBLANK(ra.OSH_Dectect_Picture8_URL__c))}" /></td></tr>
                               <tr><td style="height:40px;"></td></tr>
                        </table>
                   </td>
               </tr>
            </table>
        </apex:outputPanel>
         <!-- 在元素后插入分页符 -->
        <apex:outputPanel layout="none" rendered="{!status>=3}">
        <div style="page-break-after: always;"></div>
@@ -436,7 +546,7 @@
                <td width="12%" style="text-align: right; vertical-align: bottom; font-size: 10pt;">
                    <table width="100%" cellspacing="0">
                        <tr>
                            <td style="font-size: 10px; text-align: left; padding: 0px 0px 0px 0px;">管理号:</td>
                            <td style="font-size: 10px; text-align: left; padding: 0px 0px 0px 0px;">管理号:{!ra.Repair__r.Name}</td>
                            <td style="font-size: 10px; text-align: left; padding: 0px 0px 0px 0px;"></td>
                        </tr>
                    </table>
@@ -452,7 +562,7 @@
                <td colspan="6" class="title">客户对应(OCSM服务本部填写)</td>
            </tr>
            <tr>
                <td colspan="6" class="middle" style="height:92px; border-top-color: white; font-size:120%; font-weight: bold; verical-align: top;"><c:PDFWbr targetStr="{!ra.AnalysisOCM__c}" /></td>
                <td colspan="6" class="middle" style="height:92px; border-top-color: white; font-size:100%; font-weight: bold; verical-align: top;"><c:PDFWbr targetStr="{!ra.AnalysisOCM__c}" /></td>
            </tr>
            <tr>
                <td class="label">客户对应</td>