<apex:page action="{!init}" controller="IDInformationAnalyseAssetController" id="allPage" showHeader="false" sidebar="false" title="保有设备ID信息分析" 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() {
|
// init();
|
blockme();
|
hospitalCount();
|
|
}
|
|
function ClearJs(Val){
|
blockme();
|
if (Val=='0') {
|
document.getElementById("allPage:allForm:allBlock:searchBlock:AssetModel").value = "";
|
}else if (Val=='1') {
|
document.getElementById("allPage:allForm:allBlock:searchBlock:HospitalName").value = "";
|
}else if (Val=='2') {
|
document.getElementById("allPage:allForm:allBlock:searchBlock:HospitalName").value = "";
|
}else{
|
document.getElementById("allPage:allForm:allBlock:searchBlock:YearRange").value = "";
|
}
|
init();
|
}
|
</script>
|
<apex:form id="allForm">
|
<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:pageBlock id="searchBlock" >
|
<table>
|
<tr>
|
<!-- <td colspan="2"/> -->
|
<td colspan="3">医院名称:
|
<!-- <apex:inputTextarea value="{!HospitalName}" id="HospitalName" style="width:400px"/>必填 -->
|
<span style="color: red;">*</span>
|
<apex:inputText value="{!HospitalName}" id="HospitalName" required="true"/>
|
</td>
|
<td align="right"></td>
|
<!-- <td><input type="button" value="清空医院名称" onclick="ClearJs(1);return false;" class="btn"/></td> -->
|
<!-- </tr>
|
<tr> -->
|
<!-- <td colspan="2"/> -->
|
<td colspan="3"> 搜索年限:
|
<span style="color: red;">*</span>
|
<apex:inputText value="{!YearRange}" id="YearRange" required="true"/>
|
</td>
|
<td align="right"></td>
|
<!-- <td><input type="button" value="清空搜索年限" onclick="ClearJs(3);return false;" class="btn"/></td> -->
|
|
<!-- <td colspan="2"/> -->
|
<td colspan="3"> 设备型号:
|
<apex:inputText value="{!AssetModel}" id="AssetModel"/>
|
</td>
|
<td align="right"></td>
|
<!-- <td><input type="button" value="清空设备型号" onclick="ClearJs(0);return false;" class="btn"/></td> -->
|
<!-- </tr>
|
<tr> -->
|
<!-- <td colspan="2"/> -->
|
<td colspan="3"> 机身号码:
|
<apex:inputText value="{!SerialNumber}" id="SerialNumber"/>
|
</td>
|
<td align="right"></td>
|
<!-- <td><input type="button" value="清空机身号码" onclick="ClearJs(2);return false;" class="btn"/></td> -->
|
<td align="right"></td>
|
<td><apex:commandButton value="搜索" style="margin-left: 20px;" onclick="searchProductJs('0');return false;" /></td>
|
</tr>
|
</table>
|
</apex:pageBlock>
|
<apex:outputPanel id="messageHP">
|
<apex:pageMessages />
|
</apex:outputPanel>
|
<apex:pageBlock title="医院查找" id="ConsumableorderdetailsHPSection">
|
<table class="list" border="0" cellpadding="0" cellspacing="0">
|
<tr class="headerRow">
|
<th>医院</th>
|
<th>设备型号</th>
|
<th>内镜件数</th>
|
<th>大修件数</th>
|
<th>大修报价</th>
|
<th>大修均价</th>
|
<th>总例数</th>
|
<th>MCBF</th>
|
<th>年均使用例数</th>
|
<th>例均分钟数</th>
|
<th>例均维修价格</th>
|
</tr>
|
<apex:repeat value="{!choiceAssetDetailedview}" var="hpRecords" id="HostitaldetailsTable">
|
<tr class="dataRow">
|
<td class="dataCell">
|
<apex:outputLink value="/apex/IDInformationAnalyseHospital?id={!hpRecords.HPid}&Type={!hpRecords.AstModel}&Year={!YearRange}">{!hpRecords.HPName}</apex:outputLink>
|
</td>
|
<td class="dataCell">
|
<apex:outputText value="{!hpRecords.AstModel}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputText value="{!hpRecords.Endoscope}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputText value="{!hpRecords.Overhaul}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputText value="{!hpRecords.OverhaulPrice}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputText value="{!hpRecords.OverhaulvagPrice}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputText value="{!hpRecords.Users}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputText value="{!hpRecords.CBF}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputText value="{!hpRecords.YearVagCBF}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputText value="{!hpRecords.MinuteVagCBF}"/>
|
</td>
|
<td class="dataCell">
|
<apex:outputText value="{!hpRecords.UsersVagPrice}"/>
|
</td>
|
|
</tr>
|
</apex:repeat>
|
</table>
|
</apex:pageBlock>
|
</apex:pageBlock>
|
</apex:outputPanel>
|
</apex:form>
|
</apex:page>
|