高章伟
2022-03-18 4bfe21c4b5ddc089ae5a95f4b10f6cff148b690d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<apex:page controller="RentalApplyExtensionsController" showHeader="false" sidebar="false" action="{!init}" id="allPage" >
    <head>
        <title>备品借出申请延期</title>
        <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
        <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
        <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
        <apex:includeScript value="{!URLFOR($Resource.RelationListPagingCmpJS)}"/>
    </head>
    <apex:form id="allForm">
        <apex:outputPanel id="message">
            <apex:pageMessages />
        </apex:outputPanel>
        <apex:actionFunction name="submitExtensionRequest" action="{!submitExtensionRequest}" rerender="allForm" oncomplete="unblockUI();"/>
        <apex:outputPanel id="pageallPanel">
            <apex:pageBlock id="searchBlock" tabStyle="Report">
                <apex:pageBlockSection title="备品借出申请" id="mainSection">
                </apex:pageBlockSection>
                <table style="width:800px;float:right;margin-top: 8px" >
                    <tr>
                        <td style="width:450px;">
                            <apex:commandButton value="提交延期申请" onclick="if (window.confirm('是否提交延期申请?')) {blockme(); submitExtensionRequest();}return false;"/>
                        </td>
                        <td style="width:450px;">
                            <apex:outputPanel rendered="{!if( buttonFlag , 'true','false')}" > 
                                <input type="submit" value="关闭" class="btn" onclick="window.close();"/>
                            </apex:outputPanel>
                            <apex:outputPanel rendered="{!if( buttonFlag , 'false','true')}" > 
                                <apex:commandButton value="返回" action="{!comeBack}" />
                            </apex:outputPanel>
                        </td>
                    </tr>
                </table>
            </apex:pageBlock>
            <c:RelationListPagingCmp id="cmpid" pgController="{!this}" hasCheckbox="true" isRadio="false"/>
        </apex:outputPanel>
    </apex:form>
</apex:page>