From 07390e2fcb4adf27c928335bf27ae7939c5a80ad Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期二, 23 五月 2023 11:28:12 +0800
Subject: [PATCH] bakcup20230523
---
force-app/main/default/pages/CampaignCreate.page | 114 ++++++++++++++++++++++++++++----------------------------
1 files changed, 57 insertions(+), 57 deletions(-)
diff --git a/force-app/main/default/pages/CampaignCreate.page b/force-app/main/default/pages/CampaignCreate.page
index 8b9bdd9..547b500 100644
--- a/force-app/main/default/pages/CampaignCreate.page
+++ b/force-app/main/default/pages/CampaignCreate.page
@@ -1,48 +1,48 @@
-<apex:page standardController="Campaign" showHeader="false" sidebar="false" extensions="CampaignCreateController" action="{!init}" >
- <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
+<apex:page standardController="Campaign" showHeader="false" sidebar="false" extensions="CampaignCreateController" action="{!init}" lightningStylesheets="true" >
+ <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 skipJS() {
- // skipPage();
- // }
- // function ReturnWindowJs(){
- // returnPage();
- // }
- function displayDecisionThemeJS(){
- if(document.getElementById('j_id0:allForm:allBlock:Meeting_Approved_No').value != ''){
- var MeetingApprovedName = document.getElementById('j_id0:allForm:allBlock:Meeting_Approved_No').value;
- displayDecisionTheme(MeetingApprovedName);
- }
- }
- function changeCheckbox(){
- debugger
- var as = j$(escapeVfId("j_id0:allForm:allBlock:isAdjudication")).value();
- if(as==""){
- changeCheckboxs('0');
- }else{
- changeCheckboxs('1');
- }
- }
- </script>
- <apex:form id="allForm">
- <apex:actionFunction name="returnPage" action="{!returnPage}" rerender="allForm,allPanel,allBlock,records">
+ <script type="text/javascript">
+ // function skipJS() {
+ // skipPage();
+ // }
+ // function ReturnWindowJs(){
+ // returnPage();
+ // }
+ function displayDecisionThemeJS(){
+ if(document.getElementById('j_id0:allForm:allBlock:Meeting_Approved_No').value != ''){
+ var MeetingApprovedName = document.getElementById('j_id0:allForm:allBlock:Meeting_Approved_No').value;
+ displayDecisionTheme(MeetingApprovedName);
+ }
+ }
+ function changeCheckbox(){
+ debugger
+ var as = j$(escapeVfId("j_id0:allForm:allBlock:isAdjudication")).value();
+ if(as==""){
+ changeCheckboxs('0');
+ }else{
+ changeCheckboxs('1');
+ }
+ }
+ </script>
+ <apex:form id="allForm">
+ <apex:actionFunction name="returnPage" action="{!returnPage}" rerender="allForm,allPanel,allBlock,records">
</apex:actionFunction>
- <apex:actionFunction name="skipPage" action="{!skipPage}" rerender="allForm,allPanel,allBlock,records">
+ <apex:actionFunction name="skipPage" action="{!skipPage}" rerender="allForm,allPanel,allBlock,records">
</apex:actionFunction>
- <apex:actionFunction name="displayDecisionTheme" action="{!displayDecisionTheme}" rerender="allForm,allPanel,allBlock,records">
- <apex:param name="firstParam" assignTo="{!MeetingApprovedName}" value="" />
+ <apex:actionFunction name="displayDecisionTheme" action="{!displayDecisionTheme}" rerender="allForm,allPanel,allBlock,records">
+ <apex:param name="firstParam" assignTo="{!MeetingApprovedName}" value="" />
</apex:actionFunction>
- <apex:actionFunction name="changeCheckboxs" action="{!changeCheckboxs}" rerender="allForm,allPanel,allBlock,records">
- <apex:param name="firstParam" assignTo="{!flag}" value="" />
+ <apex:actionFunction name="changeCheckboxs" action="{!changeCheckboxs}" rerender="allForm,allPanel,allBlock,records">
+ <apex:param name="firstParam" assignTo="{!flag}" value="" />
</apex:actionFunction>
<apex:outputPanel id="allPanel">
<apex:pageBlock id="allBlock">
- <input type="hidden" id="hasError" value="{!hasError}"/>
+ <input type="hidden" id="hasError" value="{!hasError}"/>
<apex:outputPanel id="message">
<apex:pageMessages />
</apex:outputPanel>
@@ -58,30 +58,30 @@
<td align="left" colspan="4">
<apex:outputLabel value="> 鍐宠淇℃伅" style="font-size:22px;font-weight:bold;"/>
</td>
- </tr>
- <tr><td> </td></tr>
- <tr>
- <td style="text-align: center;"> </td>
- <td style="text-align: left;">
- <apex:outputLabel style="font-weight: bold; padding-right: 5px;" value="鏄惁闇�瑕佺敵璇峰喅瑁�"/>
- <apex:inputField id="isAdjudication" value="{!AdjudicationDataobj.cam.IF_Approved__c}" onchange="changeCheckbox();"/>
- </td>
- <td style="text-align: left;">
- <apex:outputLabel style="font-weight: bold; padding-right: 5px;" value="浼氳鍐宠缂栫爜"/>
- <apex:inputField id="Meeting_Approved_No" value="{!AdjudicationDataobj.cam.Meeting_Approved_No__c}" onchange="displayDecisionThemeJS();"/>
- </td>
- <td style="text-align: left;">
- <apex:outputLabel style="font-weight: bold; padding-right: 8px;" value="浼氳鍐宠涓婚锛�"/>
- <apex:outputText id="DecisionTheme" value="{!CampaignTheme}"/>
- </td>
- </tr>
- <tr><td> </td></tr>
- <tr>
- <td align="center" colspan="3">
- <apex:commandButton immediate="true" action="{!skipPage}" value="纭" style="width:50px;margin-right: 10px;"/>
- <apex:commandButton immediate="true" action="{!returnPage}" value="鍙栨秷" style="width:50px"/>
- </td>
- </tr>
+ </tr>
+ <tr><td> </td></tr>
+ <tr>
+ <td style="text-align: center;"> </td>
+ <td style="text-align: left;">
+ <apex:outputLabel style="font-weight: bold; padding-right: 5px;" value="鏄惁闇�瑕佺敵璇峰喅瑁�"/>
+ <apex:inputField id="isAdjudication" value="{!AdjudicationDataobj.cam.IF_Approved__c}" onchange="changeCheckbox();"/>
+ </td>
+ <td style="text-align: left;">
+ <apex:outputLabel style="font-weight: bold; padding-right: 5px;" value="浼氳鍐宠缂栫爜"/>
+ <apex:inputField id="Meeting_Approved_No" value="{!AdjudicationDataobj.cam.Meeting_Approved_No__c}" onchange="displayDecisionThemeJS();"/>
+ </td>
+ <td style="text-align: left;">
+ <apex:outputLabel style="font-weight: bold; padding-right: 8px;" value="浼氳鍐宠涓婚锛�"/>
+ <apex:outputText id="DecisionTheme" value="{!CampaignTheme}"/>
+ </td>
+ </tr>
+ <tr><td> </td></tr>
+ <tr>
+ <td align="center" colspan="3">
+ <apex:commandButton immediate="true" action="{!skipPage}" value="纭" style="width:70px;margin-right: 10px;"/>
+ <apex:commandButton immediate="true" action="{!returnPage}" value="鍙栨秷" style="width:70px"/>
+ </td>
+ </tr>
<!-- </apex:repeat> -->
</table>
</apex:pageBlock>
--
Gitblit v1.9.1