<apex:page action="{!hospitalCount}" controller="IDInformationAnalyseHospitalController" id="allPage" showHeader="false" sidebar="false" title="修理明细" lightningStylesheets="true" >
|
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"></apex:stylesheet>
|
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"></apex:includeScript>
|
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"></apex:includeScript>
|
<apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.apex20)}"/>
|
<style type="text/css"></style>
|
<script>
|
function searchProductJs() {
|
//searchAsset();
|
hospitalCount();
|
}
|
|
function ClearJs(){
|
blockme();
|
// document.getElementById("allPage:allForm:allBlock:searchBlock:AssetModel").value = "";
|
//searchAsset();
|
init();
|
}
|
function exportJs() {
|
//blockme();
|
exportcsv();
|
}
|
</script>
|
<apex:form id="allForm">
|
<apex:actionFunction name="exportcsv" action="{!exportBycsv}"/>
|
<apex:actionFunction name="hospitalCount" action="{!hospitalCount}" rerender="ConsumableorderdetailsSection,ConsumableorderdetailsHPSection,message,messageHP" onComplete="unblockUI();CheckStatusAfter();SumCompute()">
|
</apex:actionFunction>
|
<apex:actionFunction name="init" action="{!init}" rerender="ConsumableorderdetailsSection,ConsumableorderdetailsHPSection, message,messageHP" onComplete="unblockUI();CheckStatusAfter();SumCompute()">
|
</apex:actionFunction>
|
|
<apex:outputPanel id="allPanel">
|
<apex:pageBlock id="allBlock">
|
<apex:outputPanel id="messageHP">
|
<apex:pageMessages />
|
</apex:outputPanel>
|
<apex:pageBlock title="修理查找" id="ConsumableorderdetailsHPSection">
|
<table class="list" style='border: 1px solid rgb(229, 229, 229);' cellpadding="0" cellspacing="0">
|
<tr>
|
<td align="Left" width="10%">
|
<apex:commandbutton onclick="exportJs();return false;" id="export" value="导出数据"></apex:commandbutton>
|
</td>
|
</tr>
|
<tr class="headerRow">
|
<th>SAP修理单号</th>
|
<th>机身编码</th>
|
<th>状态2</th>
|
<th>科室</th>
|
<th>修理原价</th>
|
<th>11.RC修理品返送日</th>
|
<th>修理单完成日</th>
|
<th>检测日期</th>
|
<th>修理等级</th>
|
<th>通电时间</th>
|
<th>通电次数</th>
|
<th>CBF</th>
|
<th>例均维修价格</th>
|
<th>例均使用时间</th>
|
<!-- WYL ID信息逻辑 add start -->
|
<th>两次修理间隔</th>
|
<th>年均使用列数</th>
|
<!-- WYL ID信息逻辑 add end -->
|
</tr>
|
<apex:repeat value="{!choiceAssetDetailedview}" var="hpRecords" id="HostitaldetailsTable">
|
<tr class="dataRow" style="{!hpRecords.StyleColor}">
|
<td class="dataCell">
|
<!-- WYL ID信息逻辑 update start -->
|
<!-- <apex:outputLink value="/{!hpRecords.Repair.Id}">{!hpRecords.Repair.SAP_Service_Repair_No__c}</apex:outputLink> -->
|
<!-- WYL 2024/1/10 update start -->
|
<apex:outputLink value="/{!hpRecords.Repair.Id}">{!hpRecords.Repair.SAP_Service_Repair_No__c}</apex:outputLink>
|
<!-- WYL 2024/1/10 update end -->
|
<!-- WYL ID信息逻辑 update end -->
|
</td>
|
<td class="dataCell">
|
<apex:outputText value="{!hpRecords.Repair.SerialNumber__c}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputText value="{!hpRecords.Repair.Status2__c}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputText value="{!hpRecords.Repair.Account__r.name}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputText value="{!hpRecords.Repair.Repair_List_Price_formula__c}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputField value="{!hpRecords.Repair.Repair_Shipped_Date__c}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputField value="{!hpRecords.Repair.RepairOrder_Complete_Day__c}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputField value="{!hpRecords.Repair.Repair_Inspection_Date__c}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputField value="{!hpRecords.Repair.Repair_Rank__c}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputText value="{!hpRecords.Repair.Cumulative_Times__c}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputText value="{!hpRecords.Repair.Cumulative_Uses__c}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputText value="{!hpRecords.Repair.Cycle_between_failure__c}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputField value="{!hpRecords.Repair.Average_Maintenance_Cost__c}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputField value="{!hpRecords.Repair.Average_Usage_Time__c}"/>
|
</td>
|
<!-- WYL ID逻辑分析 update start -->
|
<td>
|
<apex:outputField value="{!hpRecords.Repair.Difference_in_repair_intervals__c}"></apex:outputField>
|
</td>
|
<td>
|
<apex:outputText value="{!CEILING(IF(hpRecords.Repair.Difference_in_repair_intervals__c ==0,0,hpRecords.Repair.Cycle_between_failure__c/hpRecords.Repair.Difference_in_repair_intervals__c * 365))}" />
|
</td>
|
<!-- WYL ID逻辑分析 update end -->
|
</tr>
|
</apex:repeat>
|
</table>
|
</apex:pageBlock>
|
</apex:pageBlock>
|
</apex:outputPanel>
|
</apex:form>
|
</apex:page>
|