<apex:page
|
standardController="Account_Delay_Apply__c"
|
extensions="AccChangeApprovalResponseController"
|
showHeader="false"
|
sidebar="false"
|
id="allPage"
|
action="{!init}"
|
>
|
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}" />
|
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}" />
|
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}" />
|
<script>
|
function tocenterjs() {
|
//blockme();
|
window.open(
|
"/apex/AccChangeApprovalResponsePopUp?accid=" +
|
"{!URLENCODE(Account_Delay_Apply__c.Id)}" +
|
"&type=response2system",
|
"HospitalApprovalDate",
|
"height=400,width=600,top=0,left=0,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no"
|
);
|
}
|
|
function touserjs() {
|
//blockme();
|
window.open(
|
"/apex/AccChangeApprovalResponsePopUp?accid=" +
|
"{!URLENCODE(Account_Delay_Apply__c.Id)}" +
|
"&type=response2user",
|
"HospitalApprovalDate",
|
"height=400,width=600,top=0,left=0,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no"
|
);
|
}
|
function reloadjs() {
|
//blockme();
|
init();
|
}
|
</script>
|
<apex:form id="allForm">
|
<apex:actionFunction
|
name="init"
|
action="{!init}"
|
rerender="allPanel,message"
|
>
|
</apex:actionFunction>
|
<apex:outputPanel id="allPanel">
|
<apex:pageBlock
|
title="{!$ObjectType.Account_Delay_Apply__c.fields.Response__c.label}"
|
id="allBlock"
|
>
|
<apex:pageBlockButtons location="top">
|
<apex:commandButton
|
onclick="tocenterjs(); return false;"
|
value="To:当前审批人"
|
rerender="dummy"
|
/>
|
<apex:commandButton
|
onclick="touserjs(); return false;"
|
value="To:申请者"
|
rerender="dummy"
|
/>
|
</apex:pageBlockButtons>
|
|
<apex:inputField
|
id="response"
|
value="{!ra.Response__c}"
|
style="width: 100%; height: 120px; resize: none"
|
/>
|
<script>
|
j$(escapeVfId("allPage:allForm:allBlock:response")).attr(
|
"readonly",
|
true
|
);
|
</script>
|
</apex:pageBlock>
|
</apex:outputPanel>
|
</apex:form>
|
</apex:page>
|