高章伟
2022-02-24 2aa8da8af66aa8ae00f25831aed6bb0364176e7b
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<apex:page standardController="Campaign" showHeader="false" sidebar="false" extensions="CampaignCreateController" action="{!init}" >
    <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
    <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
    <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
    <apex:stylesheet value="{!URLFOR($Resource.jquerysuggestcss)}"/>
    <apex:includeScript value="{!URLFOR($Resource.jquerysuggestjs)}"/>
    <apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
    <apex:includeScript value="{!URLFOR($Resource.apex20)}"/>
    <script type="text/javascript">
        function skip() {
//            var test = window.location.search;
            var str = '/701/e?cpn1=*';
            if(getParam('RecordType') != null){
                str += '&RecordType='+getParam('RecordType');
            }
            if(getParam('CMRT') != null){
                str += '&CMRT='+getParam('CMRT');
            }
            if(getParam('retURL') != null){
                str += '&retURL='+getParam('retURL');
            }
            if(getParam('p8') != null){
                str += '&p8='+getParam('p8');
            }
            if(getParam('CF00N10000002DIsr') != null){
                str += '&CF00N10000002DIsr='+getParam('CF00N10000002DIsr');
            }
            if(getParam('ent') != null){
                str += '&ent='+getParam('ent');
            }
            if(getParam('CF00N10000002DIsr_lkid') != null){
                str += '&CF00N10000002DIsr_lkid='+getParam('CF00N10000002DIsr_lkid');
            }
            str += '&nooverride=1';
            window.open(str,'_self');
 
        }
        function getParam(paramName) {
            paramValue = "", isFound = !1;
            if (this.location.search.indexOf("?") == 0 && this.location.search.indexOf("=") > 1) {
                arrSource = unescape(this.location.search).substring(1, this.location.search.length).split("&"), i = 0;
                while (i < arrSource.length && !isFound) arrSource[i].indexOf("=") > 0 && arrSource[i].split("=")[0].toLowerCase() == paramName.toLowerCase() && (paramValue = arrSource[i].split("=")[1], isFound = !0), i++
            }
            return paramValue == "" && (paramValue = null), paramValue
        }
        function closeWindowJs(){
            window.location.href = 'https://ocsm--stagefull.my.salesforce.com/701/o';
        }
    </script>
    <apex:form id="allForm">
        <apex:outputPanel id="allPanel">
            <apex:pageBlock id="allBlock">
                <apex:outputPanel id="message">
                    <apex:pageMessages />
                </apex:outputPanel>
                <table id="linetable" class="linetable" border="0" style="border-collapse: collapse;width:590px;table-layout:fixed;">
                    <colgroup>
                        <col width="100px"/>
                        <col width="300px"/>
                        <col width="300px"/>
                    </colgroup>
                    <apex:repeat value="{!AdjudicationDataList}" var="AdInfo" id="records">
                    <tr>
                        <td align="left" colspan="3">
                            <apex:outputLabel value="> 决裁信息" style="font-size:22px;font-weight:bold;"/>
                        </td>
                    </tr>
                    <tr><td>&nbsp;</td></tr>
                    <tr>
                        <td style="text-align: center;">&nbsp;</td>
                        <td style="text-align: left;">
                            <apex:outputLabel style="font-weight: bold; padding-right: 5px;" value="是否申请决裁"/>
                            <apex:inputCheckbox id="isAdjudication" value="{!AdInfo.isAdjudication}"/>
                        </td>
                        <td style="text-align: left;">
                            <apex:outputLabel style="font-weight: bold; padding-right: 5px;" value="会议决裁编码"/>
                            <apex:inputField id="Meeting_Approved_No" value="{!AdInfo.cam.Meeting_Approved_No__c}"/>
                        </td>
                    </tr>
                    <tr><td>&nbsp;</td></tr>
                    <tr>
                        <td style="text-align: center;">&nbsp;</td>
                        <td style="text-align: left;">
                            <apex:outputLabel style="font-weight: bold; padding-right: 5px;" value="会议报告"/>
                            <apex:inputField id="Meeting_Report" value="{!AdInfo.cam.Meeting_Report__c}"/>
                        </td>
                        <td style="text-align: left;">
                            <apex:outputLabel style="font-weight: bold; padding-right: 5px;" value="会议决裁编码(文本)"/>
                            <apex:inputField id="MeetingApprovedNo" value="{!AdInfo.cam.MeetingApprovedNo__c}"/>
                        </td>
                    </tr>
                    <tr><td>&nbsp;</td></tr>
                    <tr>
                        <td align="center" colspan="3">
                            <apex:commandButton immediate="true" onclick="skip();" value="确认" style="width:50px;margin-right: 10px;"/>
                            <apex:commandButton immediate="true" onclick="closeWindowJs();" value="取消" style="width:50px"/>
                        </td>
                    </tr>
                    </apex:repeat>
                </table>
            </apex:pageBlock>
        </apex:outputPanel>
    </apex:form>
</apex:page>