buli
2023-05-23 07390e2fcb4adf27c928335bf27ae7939c5a80ad
force-app/main/default/pages/SI_Opportunity_Response.page
@@ -1,4 +1,4 @@
<apex:page standardController="Opportunity" extensions="SI_Opportunity_ResponseController" showHeader="false" sidebar="false" action="{!init}" id="allPage" >
<apex:page standardController="Opportunity" extensions="SI_Opportunity_ResponseController" showHeader="false" sidebar="false" action="{!init}" id="allPage" lightningStylesheets="true" >
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
@@ -42,9 +42,9 @@
        var resStatus = j$(escapeVfId('allPage:allForm:ResponseBlock:mailStatus')).val();
        if(resStatus =='Fin'){
           setTimeout( alert('发送完成'),5000 );
           top.window.opener.reloadJs();
           top.window.close();
            setTimeout( alert('发送完成'),5000 );
            top.window.opener.reloadJs();
            top.window.close();
        }
    }
</script>
@@ -52,8 +52,8 @@
    <apex:actionFunction action="{!sendMail}" name="sendMail"/>
    <apex:actionFunction action="{!init}" name="initJs"  />
        <apex:pageBlock id="allBlock" rendered="{!IF(isShowFlg=='true',true,false)}">
            <apex:pageBlockButtons location="top">
            <apex:pageBlockButtons location="top" style="display:flex">
                <apex:commandButton title="SI部门" value="TO:SP-SI" onclick="SendToSIJs()" />
                <apex:commandButton title="申请者" value="TO:营业本部" onclick="SendToApplyJs()" />
            </apex:pageBlockButtons>
@@ -64,9 +64,9 @@
        </apex:pageBlock>
        <apex:pageBlock rendered="{!IF(isShowFlg=='true',false,true)}" id="ResponseBlock">
        <apex:outputPanel id="message">
           <apex:pageMessages />
       </apex:outputPanel>
       <apex:inputHidden id="mailStatus" value="{!mailStatus}"/>
            <apex:pageMessages />
        </apex:outputPanel>
        <apex:inputHidden id="mailStatus" value="{!mailStatus}"/>
            <apex:pageBlockButtons location="top" >
                <apex:commandButton onclick="ConfirmJs(); " value="发送" rerender="allForm,ResponseBlock,message,mailStatus" oncomplete="refreshPage();"/>
                <apex:commandButton onclick="CancelJs(); " value="取消" rerender="dummy" oncomplete="CancelJs();"/>