From 2aa8da8af66aa8ae00f25831aed6bb0364176e7b Mon Sep 17 00:00:00 2001 From: 高章伟 <gaozhangwei@prec-tech.com> Date: 星期四, 24 二月 2022 20:32:31 +0800 Subject: [PATCH] 1.15---2.24 变更代码 --- force-app/main/default/pages/CampaignCreate.page | 71 +++++++++++++++++++++++++++++++++-- 1 files changed, 66 insertions(+), 5 deletions(-) diff --git a/force-app/main/default/pages/CampaignCreate.page b/force-app/main/default/pages/CampaignCreate.page index 02d0906..c37623c 100644 --- a/force-app/main/default/pages/CampaignCreate.page +++ b/force-app/main/default/pages/CampaignCreate.page @@ -1,6 +1,13 @@ -<apex:page standardController="Campaign" showHeader="false" sidebar="false"> +<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 init() { + function skip() { // var test = window.location.search; var str = '/701/e?cpn1=*'; if(getParam('RecordType') != null){ @@ -36,8 +43,62 @@ } return paramValue == "" && (paramValue = null), paramValue } + function closeWindowJs(){ + window.location.href = 'https://ocsm--stagefull.my.salesforce.com/701/o'; + } </script> - <body onload="init()"> - - </body> + <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> </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: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> </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="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> </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> \ No newline at end of file -- Gitblit v1.9.1