From b954ea6b036aa2d37bc09ee7ef9b892c17e5f355 Mon Sep 17 00:00:00 2001
From: KKbes <1620284052@qq.com>
Date: 星期三, 09 八月 2023 14:47:14 +0800
Subject: [PATCH] review

---
 force-app/main/default/pages/CampaignMeetingcost.page |  857 ++++++++++++++++++--------------------------------------
 1 files changed, 277 insertions(+), 580 deletions(-)

diff --git a/force-app/main/default/pages/CampaignMeetingcost.page b/force-app/main/default/pages/CampaignMeetingcost.page
index 078be30..3004f89 100644
--- a/force-app/main/default/pages/CampaignMeetingcost.page
+++ b/force-app/main/default/pages/CampaignMeetingcost.page
@@ -1,599 +1,296 @@
-<!-- <apex:page Controller="CampaignMeetingcostController" id="CampaignMeetingcostPage" action="{!init}" title="浼氳璐圭敤鎯呭喌" showHeader="false"
- sidebar="false"> -->
-
-<!-- SWAG-BBG8AK 娣诲姞鎵瑰噯鍒楄〃 start-->
-<apex:page standardcontroller="Campaign" extensions="CampaignMeetingcostController" id="CampaignMeetingcostPage" action="{!init}" title="浼氳璐圭敤鎯呭喌" showHeader="false" sidebar="false" lightningStylesheets="true" >
-<!-- SWAG-BBG8AK 娣诲姞鎵瑰噯鍒楄〃 end-->
-    <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}" />
-    <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}" />
-    <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}" />
-    <apex:includeScript value="{!URLFOR($Resource.CommonUtilJs)}" />
-    <apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/>
-    <apex:outputPanel id="checkboxInit">
-    <style>
-    body .bPageBlock .pbSubheader h3{
-        font-size: 13px;
-    }
-    body .pbTitle .mainTitle{
-        font-weight: 700;
-        font-size: 16px;
-    }
-    </style>
-    <script>
+<apex:page showHeader="false" sidebar="false" id="allPage" controller="taskAlertController"
+action="{!init}" lightningStylesheets="true">
+<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
+<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
+<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
+<apex:includeScript value="/soap/ajax/29.0/connection.js"/>
+<apex:includeScript value="/soap/ajax/29.0/apex.js"/>
+    <script type="text/javascript">
         function init() {
-            checkboxInit();
-            totalPriceSum();
-        }
-        function checkboxInit(){
-            if(document.getElementById('isStand') !=null){
-                document.getElementById('isStand').checked = {!CampaignCostMain.isStand__c};
-            }
-            if(document.getElementById('IsSatelliteMeeting')!=null){
-                document.getElementById('IsSatelliteMeeting').checked = {!CampaignCostMain.IsSatelliteMeeting__c};
-            }
-            if(document.getElementById('isTitle')!=null){
-                document.getElementById('isTitle').checked = {!CampaignCostMain.isTitle__c};
-            }
-            if(document.getElementById('IsDocLOGO')!=null){
-                document.getElementById('IsDocLOGO').checked = {!CampaignCostMain.IsDocLOGO__c};
-            }
-            if(document.getElementById('IsShowingEquipment')!=null){
-               document.getElementById('IsShowingEquipment').checked = {!CampaignCostMain.IsShowingEquipment__c};
-        }
-            if(document.getElementById('IsAnimalExperience')!=null){
-                document.getElementById('IsAnimalExperience').checked = {!CampaignCostMain.IsAnimalExperience__c};
-            }
-            if(document.getElementById('isOther')!=null){
-                document.getElementById('isOther').checked = {!CampaignCostMain.isOther__c};
-            }
-            if(document.getElementById('travelByAir')!=null){
-                document.getElementById('travelByAir').checked = {!CampaignCostMain.travelByAir__c};
-            }
-            if(document.getElementById('travelByTrain')!=null){
-                document.getElementById('travelByTrain').checked = {!CampaignCostMain.travelByTrain__c};
-            }
-            if(document.getElementById('travelByCar')!=null){
-                document.getElementById('travelByCar').checked = {!CampaignCostMain.travelByCar__c};
-            }
-        }
-        function totalPriceSum(){
-            
-            var sum = 0;
-            var medicalInsitituteCost = document.getElementById('CampaignMeetingcostPage:allForm:allBlock:Editable:sponsoritems:medicalInsitituteCost:medicalInsitituteCost:medicalInsitituteCost');
-            if(medicalInsitituteCost !=null && medicalInsitituteCost!= undefined && medicalInsitituteCost !=''){
-                sum += localParseFloat(medicalInsitituteCost.value);
+            // var str = '';
+            // var subTaskNumber = '{!subTaskNumber}';
+            // var myAllTaskNumber = '{!myTaskNumber}';
+            // var UnfinishedTaskNumber = '{!UnfinishedTaskNumber}';
+            // var feedbackNumber = '{!feedbackNumber}'; // 2021-11-4 yjk 寰呭弽棣堜换鍔�
+
+            // if(myAllTaskNumber > 0 ){
+            //  str += '鎮ㄦ湭鎺ュ彈鐨勪换鍔″叡鏈�' + myAllTaskNumber +'涓紝'  ;
+            // }
+            // if(subTaskNumber > 0 ){
+            //  str += '鎮ㄤ笅灞炴湭鎺ュ彈鐨勪换鍔″叡鏈�' + subTaskNumber +'涓紝'  ;
+            // }
+            // if(UnfinishedTaskNumber > 0){
+            //  str += '鎮ㄦ湭瀹屾垚鐨勪换鍔″叡鏈�' + UnfinishedTaskNumber + '涓�';
+            // }
+
+            // console.log('1:'+str);
+            // if( str != '' ){
+            //  console.log('2'+str);
+            //  str+= '濡傞渶澶勭悊锛岃鐐瑰嚮宸︿晶浠诲姟绠$悊琛ㄩ摼鎺ワ紒';
+            //  console.log('3'+str);
+            //  //alert(str);
+            // }
+            var myTBCNumber = '{!myTBCNumber}';
+            var myTBRNumber = '{!myTBRNumber}';
+            var myTBBNumber = '{!myTBBNumber}';
+            if(myTBCNumber>0||myTBRNumber>0||myTBBNumber>0){
+                j$(escapeVfId("allPage:alertPanel2")).attr('font-family','Microsoft YaHei');
+                j$(escapeVfId("allPage:alertPanel2")).attr('font-weight','bold');
             }
             
-            var nonMedicalInstituteCost = document.getElementById('CampaignMeetingcostPage:allForm:allBlock:Editable:sponsoritems:nonMedicalInstituteCost:nonMedicalInstituteCost:nonMedicalInstituteCost');
-            if(nonMedicalInstituteCost !=null && nonMedicalInstituteCost!= undefined && nonMedicalInstituteCost !=''){
-                sum += localParseFloat(nonMedicalInstituteCost.value);
+            var subTaskNumber = '{!subTaskNumber}';
+            var myTaskNumber = '{!myTaskNumber}';
+            var UnfinishedTaskNumber = '{!UnfinishedTaskNumber}';
+            var opportunityTasksNumber = '{!opportunityTasksNumber}';
+            var opplostTasksNumber = '{!opplostTasksNumber}';
+            var feedbackNumber = '{!feedbackNumber}';
+            var subOpportunityTasksNumber = '{!subOpportunityTasksNumber}'锛�
+            var subopplostTasksNumber = '{!subopplostTasksNumber}';     
+            if(opportunityTasksNumber>0 || opplostTasksNumber>0){
+                j$(escapeVfId("allPage:alertPanel4")).attr('font-family','Microsoft YaHei');
+                j$(escapeVfId("allPage:alertPanel4")).attr('font-weight','bold');
             }
 
-            var StandFittingComCost = document.getElementById('CampaignMeetingcostPage:allForm:allBlock:Editable:sponsoritems:StandFittingComCost:StandFittingComCost:StandFittingComCost');
-            if(StandFittingComCost !=null && StandFittingComCost!= undefined && StandFittingComCost !=''){
-                sum += localParseFloat(StandFittingComCost.value);
+            if(subTaskNumber>0||myTaskNumber>0||UnfinishedTaskNumber>0||feedbackNumber>0||opportunityTasksNumber>0){
+                j$(escapeVfId("allPage:alertPanel")).attr('font-family','Microsoft YaHei');
+                j$(escapeVfId("allPage:alertPanel")).attr('font-weight','bold');
             }
 
-            var broadcastingCompanyCost = document.getElementById('CampaignMeetingcostPage:allForm:allBlock:Editable:sponsoritems:broadcastingCompanyCost:broadcastingCompanyCost:broadcastingCompanyCost');
-            if(broadcastingCompanyCost !=null && broadcastingCompanyCost!= undefined && broadcastingCompanyCost !=''){
-                sum += localParseFloat(broadcastingCompanyCost.value);
+            if(subTaskNumber==0 && myTaskNumber==0 && UnfinishedTaskNumber==0 && feedbackNumber==0 && opportunityTasksNumber==0){
+                j$(escapeVfId( "allPage:alertPanel3")).attr('font-family','Microsoft YaHei');
+                j$(escapeVfId( "allPage:alertPanel3")).attr('font-weight','bold');
             }
 
-            var animalExperienceCost = document.getElementById('CampaignMeetingcostPage:allForm:allBlock:Editable:sponsoritems:animalExperienceCost:animalExperienceCost:animalExperienceCost');
-            if(animalExperienceCost !=null && animalExperienceCost!= undefined && animalExperienceCost !=''){
-                sum += localParseFloat(animalExperienceCost.value);
+            var isTwoSOne = '{!isTwoSOne}';
+            var OppWithoutConformNumber = '{!OppWithoutConformNumber}';
+            if(isTwoSOne==true&&OppWithoutConformNumber>0){
+                j$(escapeVfId( "allPage:OppWithoutConform")).attr('font-family','Microsoft YaHei');
+                j$(escapeVfId( "allPage:OppWithoutConform")).attr('font-weight','bold');
             }
 
-            var OtherSponsorCost = document.getElementById('CampaignMeetingcostPage:allForm:allBlock:Editable:sponsoritems:OtherSponsorCost:OtherSponsorCost:OtherSponsorCost');
-            if(OtherSponsorCost !=null && OtherSponsorCost!= undefined && OtherSponsorCost !=''){
-                sum += localParseFloat(OtherSponsorCost.value);
-            }
-             var paymentFromCompany = document.getElementById('CampaignMeetingcostPage:allForm:allBlock:Editable:hostCampaignLineItems:paymentFromCompany:paymentFromCompany:paymentFromCompany');
-            if(paymentFromCompany !=null && paymentFromCompany!= undefined && paymentFromCompany !=''){
-                sum += localParseFloat(paymentFromCompany.value);
-            }
 
-            var paymentFromCooperator = document.getElementById('CampaignMeetingcostPage:allForm:allBlock:Editable:hostCampaignLineItems:paymentFromCooperator:paymentFromCooperator:paymentFromCooperator');
-            if(paymentFromCooperator !=null && paymentFromCooperator!= undefined && paymentFromCooperator !=''){
-                sum += localParseFloat(paymentFromCooperator.value);
-            }
-
-            var tansportCost = document.getElementById('CampaignMeetingcostPage:allForm:allBlock:Editable:hostCampaignLineItems:tansportCost:tansportCost:tansportCost');
-            if(tansportCost !=null && tansportCost!= undefined && tansportCost !=''){
-                sum += localParseFloat(tansportCost.value);
-            }
-
-            var livingCost = document.getElementById('CampaignMeetingcostPage:allForm:allBlock:Editable:hostCampaignLineItems:livingCost:livingCost:livingCost');
-            if(livingCost !=null && livingCost!= undefined && livingCost !=''){
-                sum += localParseFloat(livingCost.value);
-            }
-
-            var banquetCost = document.getElementById('CampaignMeetingcostPage:allForm:allBlock:Editable:hostCampaignLineItems:banquetCost:banquetCost:banquetCost');
-            if(banquetCost !=null && banquetCost!= undefined && banquetCost !=''){
-                sum += localParseFloat(banquetCost.value);
-            }
-
-            var lunchCost = document.getElementById('CampaignMeetingcostPage:allForm:allBlock:Editable:hostCampaignLineItems:lunchCost:lunchCost:lunchCost');
-
-            if(lunchCost !=null && lunchCost!= undefined && lunchCost !=''){
-                sum += localParseFloat(lunchCost.value);
-            }
-
-            var teaBreakCost = document.getElementById('CampaignMeetingcostPage:allForm:allBlock:Editable:hostCampaignLineItems:teaBreakCost:teaBreakCost:teaBreakCost');
-            if(teaBreakCost !=null && teaBreakCost!= undefined && teaBreakCost !=''){
-                sum += localParseFloat(teaBreakCost.value);
-            }
-
-            var broadcastingCost = document.getElementById('CampaignMeetingcostPage:allForm:allBlock:Editable:hostCampaignLineItems:broadcastingCost:broadcastingCost:broadcastingCost');
-            if(broadcastingCost !=null && broadcastingCost!= undefined && broadcastingCost !=''){
-                sum += localParseFloat(broadcastingCost.value);
-            }
-
-            var publicityCost = document.getElementById('CampaignMeetingcostPage:allForm:allBlock:Editable:hostCampaignLineItems:publicityCost:publicityCost:publicityCost');
-            if(publicityCost !=null && publicityCost!= undefined && publicityCost !=''){
-                sum += localParseFloat(publicityCost.value);
-            }
-
-            var sundriesCost = document.getElementById('CampaignMeetingcostPage:allForm:allBlock:Editable:hostCampaignLineItems:sundriesCost:sundriesCost:sundriesCost');
-            if(sundriesCost !=null && sundriesCost!= undefined && sundriesCost !=''){
-                sum += localParseFloat(sundriesCost.value);
-            }
-             var hostCompanyCostAndTax = document.getElementById('CampaignMeetingcostPage:allForm:allBlock:Editable:hostCampaignLineItems:hostCompanyCostAndTax:hostCompanyCostAndTax:hostCompanyCostAndTax');
-            if(hostCompanyCostAndTax !=null && hostCompanyCostAndTax!= undefined && hostCompanyCostAndTax !=''){
-                sum += localParseFloat(hostCompanyCostAndTax.value);
-            }
-            document.getElementById('CampaignMeetingcostPage:allForm:allBlock:Editable:totalAmount:totalAmount:totalMeetingCost:totalMeetingCost').innerText = toNumComma(sum);
-
-            //
         }
     </script>
+    <body onload="init()"/>
+    
+    <!-- 2022-5-13 yjk 鍔╃悊寰呰窡杩涘挩璇㈠崟 start-->
+    <apex:outputPanel id="InquiryNumberZhuliform" rendered="{!if( InquiryNumberZhuli > 0, 'true','false')}" style="font-size: 1.3em; font-weight: bold;font-family: \'Microsoft YaHei\';" >        
+        <!--鏈浆鍖栬浠�--> 
+        <apex:outputPanel rendered = "{!if( InquiryNumberZhuli > 0, 'true','false')}" style="font-family:\'\5FAE\8F6F\96C5\9ED1\'; font-weight: bold;"> 
+            <h3> 
+            &nbsp;&nbsp;
+            <apex:outputText value ="{!if(InquiryNumberZhuli > 0,'鍔╃悊寰呰窡杩涘挩璇㈠崟','')}"/>
+            <a  href="javascript:return null;" onclick="window.open('{!$Label.zhuliFollowInquiryForm}','_blank')"><font size="4" color="red">({!InquiryNumberZhuli}涓�)</font></a>
+            </h3>
+        </apex:outputPanel>
     </apex:outputPanel>
-    <style>
-        .pbSubheader {
-            background-color: #44A3BB!important;
-        }
-    </style>
-    <body onload="init()" class="campaignTab">
-       <apex:form id="allForm">
+
+    <!-- 2022-5-13 yjk 鍔╃悊寰呰窡杩涘挩璇㈠崟 end -->
+
+    
+    <!--2021-11-23  mzy  鍏遍�氬钩鍙伴」鐩�-棣栭〉淇敼  start -->
+    <apex:outputPanel id="LeadIntention" style="font-size: 1.3em; font-weight: bold;font-family: \'Microsoft YaHei\';" >        
+        <!-- 寰呰窡杩涚殑鍜ㄨ鍗�  -->
+        <apex:outputPanel rendered = "{!if(InquiryNumber != null && InquiryNumber > 0, 'true','false')}" style="font-family:\'\5FAE\8F6F\96C5\9ED1\'; font-weight: bold;"> 
+            <h3> 
+            &nbsp;&nbsp;
+            <apex:outputText value ="{!if(InquiryNumber != null && InquiryNumber > 0,'寰呰窡杩涚殑鍜ㄨ鍗�','')}"/>
+            <a  href="javascript:return null;" onclick="window.open('{!$Label.WaitFollowInquiryForm}','_blank')"><font size="4" color="red">({!InquiryNumber}涓�)</font></a>
+            <apex:outputText value ="{!if( InquiryNumber > 0, ',' , '')}"/>
+            </h3>
+        </apex:outputPanel>
+        <!--2022-4-19  yjk  SWAG-CBUB2W 棣栭〉淇敼  start -->
+        <apex:outputPanel rendered = "{!if(InquiryNumberFSE != null && InquiryNumberFSE > 0, 'true','false')}" style="font-family:\'\5FAE\8F6F\96C5\9ED1\'; font-weight: bold;"> 
+            <h3> 
+            &nbsp;&nbsp;    
+            <apex:outputText value ="{!if(InquiryNumberFSE != null && InquiryNumberFSE > 0,'FSE寰呰窡杩涚殑鍜ㄨ鍗�','')}"/>
+            <a  href="javascript:return null;" onclick="window.open('{!$Label.FSEWaitFollowInquiryForm}','_blank')"><font size="4" color="red">({!InquiryNumberFSE}涓�)</font></a>
+            <apex:outputText value ="{!if( InquiryNumberFSE > 0, ',' , '')}"/>
+            </h3>
+        </apex:outputPanel>
+        <!--2022-4-19  yjk  SWAG-CBUB2W 棣栭〉淇敼  end -->
+    </apex:outputPanel>
+    <!--2021-11-23  mzy  鍏遍�氬钩鍙伴」鐩�-棣栭〉淇敼  end -->
+    
+    <!--2021-11-15  mzy  鏈浆鍖栬浠�-椤甸潰鎻愰啋  satrt -->
+    <!-- 2021-11-09  mzy  SWAG-C8KCZZ  start-->
+    <apex:outputPanel id="OppWithoutConform" rendered="{!isTwoSOne}" style="font-size: 1.3em; font-weight: bold;font-family: \'Microsoft YaHei\';" >        
+        <!--鏈浆鍖栬浠�--> 
+        <apex:outputPanel rendered = "{!if( OppWithoutConformNumber > 0, 'true','false')}" style="font-family:\'\5FAE\8F6F\96C5\9ED1\'; font-weight: bold;"> 
+            <h3> 
+            &nbsp;&nbsp;
+            <apex:outputText value ="{!if(OppWithoutConformNumber > 0,'鏈浆鍖栫殑缁忛攢鍟嗚浠�','')}"/>
+            <a  href="javascript:return null;" onclick="window.open('{!$Label.OppWithoutConform}','_blank')"><font size="4" color="red">({!OppWithoutConformNumber}涓�)</font></a>
+            <apex:outputText value ="{!if( OppWithoutConformNumber > 0, ',' , '')}"/>
+            </h3>
+        </apex:outputPanel>
+    </apex:outputPanel>
+    <!-- 2021-11-09  mzy  SWAG-C8KCZZ  end-->
+    <!--2021-11-15  mzy  鏈浆鍖栬浠�-椤甸潰鎻愰啋  end -->
+    
+    <!--2021-11-15  mzy  浠诲姟绠$悊鏀瑰杽  start-->
+    <!--2021-05-19 鎷涙姇鏍囬」鐩�- 椤甸潰鎻愰啋 mzy  start--> 
+    <apex:outputPanel id="alertPanel2" rendered ="{!if(  myTBCNumber > 0 || myTBRNumber > 0 || myTBBNumber > 0,
+        'true','false')}" >
+        <!--寰呯‘璁ょ殑鎷涙姇鏍囬」鐩�-->  
+        <apex:outputPanel rendered = "{!if( myTBCNumber > 0, 'true','false')}" style="font-size: 1.3em; font-weight: bold;font-family:\'Microsoft YaHei\'; "> 
+            <h3> 
+            &nbsp;&nbsp;
+            <apex:outputText value ="{!if(myTBCNumber >0,
+            '寰呯‘璁ょ殑鎷涙姇鏍囬」鐩�','')}"/>
+            <a href="javascript:return null;" onclick="window.open('{!$Label.GIORSP_Tender}','_blank')"><font size="4"  color="red" >({!myTBCNumber}涓�)</font></a>
+            <apex:outputText value ="{!if( myTBCNumber > 0, ',' , '')}"/>
+            </h3>
+        </apex:outputPanel>
+        <!--寰呭叧鑱旇浠风殑鎷涙姇鏍囬」鐩�--> 
+        <apex:outputPanel rendered = "{!if( myTBRNumber > 0, 'true','false')}" style="font-size: 1.3em; font-weight: bold;font-family:\'Microsoft YaHei\';">
+            <h3>
+            &nbsp;&nbsp;
+            <apex:outputText value ="{!if(myTBRNumber >0,
+            '寰呭叧鑱旇浠风殑鎷涙姇鏍囬」鐩�','')}"/>
+            <!-- 20221213 ljh SWAG-CK28WT start-->
+            <!-- <a href="javascript:return null;" onclick="window.open('{!$Label.InfoOwner_Tender}','_blank')"><font size="4" color="red">({!myTBRNumber}涓�)</font></a> -->
+            <a href="javascript:return null;" onclick="window.open('{!IF(Is2M4,$Label.InfoOwner_Tender_2M4,$Label.InfoOwner_Tender)}','_blank')"><font size="4" color="red">({!myTBRNumber}涓�)</font></a>
+            <!-- 20221213 ljh SWAG-CK28WT end -->
+            <apex:outputText value ="{!if( myTBRNumber > 0, ',' , '')}"/>
+            </h3>
+        </apex:outputPanel>
+        <!--寰呭簲鏍囩殑鎷涙姇鏍囬」鐩�--> 
+        <apex:outputPanel rendered = "{!if( myTBBNumber > 0, 'true','false')}" style="font-size: 1.3em; font-weight: bold; font-family:\'Microsoft YaHei\';">
+            <h3>
+            &nbsp;&nbsp;    
+            <apex:outputText value ="{!if(myTBBNumber >0,
+            '寰呭簲鏍囩殑鎷涙姇鏍囬」鐩�','')}"/>
+            <a href="javascript:return null;" onclick="window.open('{!$Label.AccountOwner_Tender}','_blank')"><font size="4"  color="red">({!myTBBNumber}涓�)</font></a>
+            <apex:outputText value ="{!if( myTBBNumber > 0, ',' , '')}"/>
+            </h3>
+        </apex:outputPanel> 
+    </apex:outputPanel>
+    <!-- 20220627 sx 璇环浠诲姟寮�鍙� - 鎴愰兘 2. -->
+    <apex:outputPanel id="alertPanel4" rendered ="{!if(  opportunityTasksNumber > 0 || opplostTasksNumber > 0 ,'true','false')}">
+        <apex:outputPanel rendered = "{!if( opportunityTasksNumber > 0, 'true','false')}" style="font-size: 1.3em; font-weight: bold; font-family:\'Microsoft YaHei\';">
+            <h3>
+            &nbsp;&nbsp;    
+            <apex:outputText value ="{!if(opportunityTasksNumber >0,
+            '涓爣缁撴灉纭浠诲姟','')}"/>
+            <a href="javascript:return null;" onclick="window.open('{!$Label.MyConfirmationofAwardTask_Tender}','_blank')"><font size="4"  color="red">({!opportunityTasksNumber}涓�)</font></a>
+            <apex:outputText value ="{!if( opportunityTasksNumber > 0, ',' , '')}"/>   
+            </h3>
+        </apex:outputPanel> 
+        <!-- '{!$Label.AccountOwner_Tender}' -->
+
+        <apex:outputPanel rendered = "{!if( opplostTasksNumber > 0, 'true','false')}" style="font-size: 1.3em; font-weight: bold; font-family:\'Microsoft YaHei\';">
+            <h3>
+            <!-- <apex:outputText value=","/> -->
+            &nbsp;&nbsp;    
+            <apex:outputText value ="{!if(opplostTasksNumber >0,
+            '澶卞崟浠诲姟','')}"/>
+            <a href="javascript:return null;" onclick="window.open('{!$Label.MyLostTask_Tender}','_blank')"><font size="4"  color="red">({!opplostTasksNumber}涓�)</font></a> 
+            <apex:outputText value ="{!if( opplostTasksNumber > 0, ',' , '')}"/>    
+            </h3>
+        </apex:outputPanel> 
+    </apex:outputPanel>
+    <br/>
+    <!-- 20220627 sx 璇环浠诲姟寮�鍙� - 鎴愰兘 2. end-->
+    <!--2021-05-19 鎷涙姇鏍囬」鐩�- 椤甸潰鎻愰啋 mzy  end-->    
+    <!--2021-05-19 浠诲姟- 椤甸潰鎻愰啋 mzy  start-->
+    <apex:outputPanel id="alertPanel" rendered ="{!if( subTaskNumber > 0 || myTaskNumber > 0 || UnfinishedTaskNumber > 0 || feedbackNumber > 0 || OverFeedbackNumber > 0,
+        'true','false')}" style="font-size: 1.3em; font-weight: bold;font-family: \'Microsoft YaHei\';" >
+        <!--2021-09-26         wangweipeng                  start -->           
+        <!--鏈帴鍙椾换鍔�-->  
+        <apex:outputPanel rendered = "{!if( myTaskNumber > 0, 'true','false')}" style="font-weight: bold;font-family: \'Microsoft YaHei\';" > 
+            <h3> 
+            &nbsp;&nbsp;
+            <apex:outputText value ="{!if(myTaskNumber > 0,'鏈帴鍙椾换鍔�','')}"/>
+            <a href="javascript:return null;" onclick="window.open('/apex/taskManage','_blank')"><font size="4" color="red">({!myTaskNumber}涓�)</font></a>
+            <apex:outputText value ="{!if( myTaskNumber > 0 , ',' , '')}"/>
+            </h3>
+        </apex:outputPanel>
+        <!--鏈畬鎴愪换鍔�--> 
+        <apex:outputPanel rendered = "{!if( UnfinishedTaskNumber > 0, 'true','false')}" style="font-weight: bold;font-family: \'Microsoft YaHei\';">
+            <h3>
+            &nbsp;&nbsp;
+            <apex:outputText value ="{!if(UnfinishedTaskNumber > 0,'鏈畬鎴愪换鍔�','' )}"/>
+            <!-- paramType 鍙傛暟2浠h〃锛� 02 鎺ュ彈-->
+            <a href="javascript:return null;" onclick="window.open('/apex/taskManage?paramType=2','_blank')"><font size="4" color="red" >({!UnfinishedTaskNumber}涓�)</font></a>
+            <apex:outputText value ="{!if( UnfinishedTaskNumber > 0 , ',' , '')}"/>
+            </h3>
+        </apex:outputPanel>
+        <!--绱涓嬪睘鏈帴鍙椾换鍔�--> 
+        <apex:outputPanel rendered = "{!if( subTaskNumber > 0, 'true','false')}" style="font-weight: bold;font-family: \'Microsoft YaHei\';">
+            <h3>
+            &nbsp;&nbsp;    
+            <apex:outputText value ="{!if(subTaskNumber > 0,'绱涓嬪睘鏈帴鍙椾换鍔�','')}"/>
+            <a href="javascript:return null;" onclick="window.open('/apex/taskManage','_blank')"><font size="4" color="red"  >({!subTaskNumber}涓�)</font></a>
+            <apex:outputText value ="{!if( subTaskNumber > 0 , ',' , '')}"/>
+            </h3>
+        </apex:outputPanel> 
+        <!-- 涓嬪睘涓爣缁撴灉纭浠诲姟  -->
+        <apex:outputPanel rendered = "{!if( subOpportunityTasksNumber > 0, 'true','false')}" style="font-weight: bold; font-family:\'Microsoft YaHei\';">
+            <h3>
+            &nbsp;&nbsp;    
+            <apex:outputText value ="{!if(subOpportunityTasksNumber >0,
+            '绱Н涓嬪睘涓爣缁撴灉纭浠诲姟','')}"/>
+            <a href="javascript:return null;" onclick="window.open('{!$Label.AllConfirmationofAwardTask_Tender}','_blank')"><font size="4"  color="red">({!subOpportunityTasksNumber}涓�)</font></a>   <apex:outputText value ="{!if( subOpportunityTasksNumber > 0 , ',' , '')}"/>
+            </h3>
+        </apex:outputPanel> 
+        <!-- 涓嬪睘澶卞崟鎶ュ憡浠诲姟 -->
+        <apex:outputPanel rendered = "{!if( subopplostTasksNumber > 0, 'true','false')}" style=" font-weight: bold; font-family:\'Microsoft YaHei\';">
+            <h3>
+            &nbsp;&nbsp;    
+            <apex:outputText value ="{!if(subopplostTasksNumber >0,
+            '绱Н涓嬪睘澶卞崟鎶ュ憡浠诲姟','')}"/>
+            <a href="javascript:return null;" onclick="window.open('{!$Label.AllLostTask_Tender}','_blank')"><font size="4"  color="red">({!subopplostTasksNumber}涓�)</font></a> 
+            <apex:outputText value ="{!if( subopplostTasksNumber > 0 , ',' , '')}"/>
+            </h3>
+        </apex:outputPanel>     
+        <!-- <h3> -->
+        <!-- <apex:outputText value ="{!if(myTaskNumber > 0,'鏈帴鍙椾换鍔�(' + Text(myTaskNumber) + '涓�)锛�','')}"/> -->
+        <!--201-09-18 澧炲姞鏈畬鎴愪换鍔℃暟閲忔樉绀� PK statr -->
+        <!-- <apex:outputText value ="{!if(UnfinishedTaskNumber > 0,'鏈畬鎴愪换鍔�('+ Text(UnfinishedTaskNumber) + '涓�)锛�','' )}"/> -->
+        <!--201-09-18 澧炲姞鏈畬鎴愪换鍔℃暟閲忔樉绀� PK end -->
+        <!-- <apex:outputText value ="{!if(subTaskNumber > 0,'绱涓嬪睘鏈帴鍙椾换鍔★紙' + Text(subTaskNumber) + '涓�)锛�','')}"/> -->
+        <!-- 杩涜澶勭悊璇风偣 -->
+        <!-- <a href="javascript:return null;" onclick="window.open('/apex/taskManage','_blank')">杩欓噷</a> -->
+
         
-            <apex:outputPanel id="attribute" >
-                <apex:inputHidden value="{!CampaignCostMain.isStand__c}" id="isStand__c"/>
-                <apex:inputHidden value="{!CampaignCostMain.IsSatelliteMeeting__c}" id="IsSatelliteMeeting__c"/>
-                <apex:inputHidden value="{!CampaignCostMain.isTitle__c}" id="isTitle__c"/>
-                <apex:inputHidden value="{!CampaignCostMain.IsDocLOGO__c}" id="IsDocLOGO__c"/>
-                <apex:inputHidden value="{!CampaignCostMain.IsShowingEquipment__c}" id="IsShowingEquipment__c"/>
-                <apex:inputHidden value="{!CampaignCostMain.IsAnimalExperience__c}" id="IsAnimalExperience__c"/>
-                <apex:inputHidden value="{!CampaignCostMain.isOther__c}" id="isOther__c"/>
-                <apex:inputHidden value="{!CampaignCostMain.travelByAir__c}" id="travelByAir__c"/>
-                <apex:inputHidden value="{!CampaignCostMain.travelByTrain__c}" id="travelByTrain__c"/>
-                <apex:inputHidden value="{!CampaignCostMain.travelByCar__c}" id="travelByCar__c"/>
-                <apex:actionFunction name="refreshPage" action="{!dummy}" 
-                reRender="considerationLineItem,hostCampaign,attribute" />
+        <!-- </h3> -->
+        <!--2021-09-26         wangweipeng                  end -->
+        <apex:outputPanel id="feedbackPanel" rendered ="{!if( feedbackNumber > 0 ,
+            'true','false')}" style="font-weight: bold;font-family: \'Microsoft YaHei\';" >
+            <!--2021-09-26         wangweipeng                  start -->           
+            <!--鏈帴鍙椾换鍔�-->  
+            <apex:outputPanel rendered = "{!if( feedbackNumber > 0, 'true','false')}" style="font-weight: bold;font-family:  \'Microsoft YaHei\';" > 
+                <h3> 
+                <apex:outputText value ="{!if( UnfinishedTaskNumber > 0, ',' , if( myTaskNumber > 0, ',' , if(feedbackNumber>0,',','')))}"/>
+                &nbsp;&nbsp;
+                <apex:outputText style="font-family: Microsoft YaHei" value ="{!if(feedbackNumber > 0,'寰呭弽棣堜换鍔�','')}"/>
+                <a href="javascript:return null;" onclick="window.open('/apex/taskFeedback','_blank')"><font size="4" color="red">({!feedbackNumber}涓�)</font></a>
+                <apex:outputText value ="{!if( feedbackNumber > 0 , ',' , '')}"/>
+                </h3>
             </apex:outputPanel>
-            <apex:outputPanel rendered="{!errorflg}">
-                <table width="100%">
-                    <tr>
-                        <td align="left">
-                            <div style="font-size:22px" class="errorMsg">{!errorMessage}</div>
-                        </td>
-                    </tr>
-                </table>
-            </apex:outputPanel>
-            <apex:pageBlock id="allBlock" rendered="{!canseePage}">
-                <!-- 鏄剧ず鐢� -->
-                <apex:outputPanel id="message">
-                    <apex:pageMessages />
-                </apex:outputPanel>
-
-                <apex:pageBlock title="浼氳璐圭敤鎯呭喌锛堝ぇ浼氭墍鏈夎垂鐢紝涓嶅垎鎴愭湰涓績锛�" id="unEditable" rendered="{!!(status)}">
-                    <apex:pageblocksection id="totalAmount_out" columns="1" title="浼氳璐圭敤鎬昏">
-                        <apex:pageBlockSectionItem id="totalAmount">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.totalMeetingCost__c.label}" for="totalMeetingCostlabel" />
-                            <apex:variable var="v" value="" id="totalMeetingCost">
-                                <apex:outputtext id="totalMeetingCost" value="{!CampaignCostMain.totalMeetingCost__c}" />鍏�/RMB</apex:variable>
-                        </apex:pageBlockSectionItem>
-                    </apex:pageblocksection>
-                    <apex:pageblocksection id="sponsoritems_out" columns="2" title="璧炲姪浼氳垂鐢ㄦ槑缁�" rendered="{!showSponsor}" >
-
-                        <apex:outputtext id="medicalInsititute" value="{!CampaignCostMain.medicalInsititute__c}" />
-                        <apex:pageBlockSectionItem id="medicalInsitituteCost">
-                            <apex:outputLabel value="{!$ObjectType.Campaign.fields.medicalInsitituteCost__c.label}" for="medicalInsitituteCost" />
-                            <apex:variable var="v" value="" id="medicalInsitituteCost">
-                                <apex:outputtext id="medicalInsitituteCost" value="{!CampaignCostMain.medicalInsitituteCost__c}" />鍏�/RMB</apex:variable>
-                        </apex:pageBlockSectionItem>
-
-                        <apex:outputtext id="nonMedicalInstitute" value="{!CampaignCostMain.nonMedicalInstitute__c}" />
-                        <apex:pageBlockSectionItem id="nonMedicalInstituteCost">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.nonMedicalInstituteCost__c.label}" for="medicalInsitituteCost" />
-                            <apex:variable var="v" value="" id="nonMedicalInstituteCost">
-                                <apex:outputtext id="nonMedicalInstituteCost" value="{!CampaignCostMain.nonMedicalInstituteCost__c}" />鍏�/RMB</apex:variable>
-                        </apex:pageBlockSectionItem>
-
-                        <apex:outputtext id="standFittingCompany__c" value="{!CampaignCostMain.standFittingCompany__c}" />
-                        <apex:pageBlockSectionItem id="StandFittingComCost" >
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.StandFittingComCost__c.label}" for="StandFittingComCost" />
-                            <apex:variable var="v" value="" id="StandFittingComCost">
-                                <apex:outputtext id="StandFittingComCost" value="{!CampaignCostMain.StandFittingComCost__c}" />鍏�/RMB</apex:variable>
-                        </apex:pageBlockSectionItem>
-
-                        <apex:outputtext id="broadcastingCompany" value="{!CampaignCostMain.broadcastingCompany__c}" />
-                        <apex:pageBlockSectionItem id="broadcastingCompanyCost" >
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.broadcastingCompanyCost__c.label}" for="broadcastingCompanyCost" />
-                            <apex:variable var="v" value="" id="broadcastingCompanyCost">
-                                <apex:outputtext id="broadcastingCompanyCost" value="{!CampaignCostMain.broadcastingCompanyCost__c}" />鍏�/RMB</apex:variable>
-                        </apex:pageBlockSectionItem>
-
-
-
-
-                        <apex:pageBlockSectionItem id="animalExperienceCost">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.animalExperienceCost__c.label}" for="animalExperienceCost" />
-                            <apex:variable var="v" value="" id="animalExperienceCost">
-                                <apex:outputtext id="animalExperienceCost" value="{!CampaignCostMain.animalExperienceCost__c}" />鍏�/RMB</apex:variable>
-                        </apex:pageBlockSectionItem>
-                        <apex:pageBlockSectionItem id="OtherSponsorCost">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.OtherSponsorCost__c.label}" for="OtherSponsorCost" />
-                            <apex:variable var="v" value="" id="OtherSponsorCost">
-                                <apex:outputtext id="OtherSponsorCost" value="{!CampaignCostMain.OtherSponsorCost__c}" />鍏�/RMB</apex:variable>
-                        </apex:pageBlockSectionItem>
-                    </apex:pageblocksection>
-                    
-                    <apex:pageblocksection columns="1" id="consideration_out" title="瀵逛环鍐呭锛氾紙鍕鹃�夛級" rendered="{!showSponsor}">
-                        <apex:pageBlockSectionItem >
-                            <input type="checkbox" disabled = 'true' name="chk_group1" id = "isStand"
-                             />
-                            {!$ObjectType.Campaign_Cost__c.fields.isStand__c.label}
-                            <input type="checkbox" disabled = 'true' name="chk_group2" id = "IsSatelliteMeeting"
-                             />
-                            {!$ObjectType.Campaign_Cost__c.fields.IsSatelliteMeeting__c.label}
-                            <input type="checkbox" disabled = 'true' name="chk_group3"  id = "isTitle"
-                            />
-                            {!$ObjectType.Campaign_Cost__c.fields.isTitle__c.label}
-
-                            <input type="checkbox" disabled = 'true' name="chk_group4"  id = "IsDocLOGO"
-                             />
-                            {!$ObjectType.Campaign_Cost__c.fields.IsDocLOGO__c.label}
-                            <input type="checkbox" disabled = 'true' name="chk_group5" id = "IsShowingEquipment"
-                             />
-                            {!$ObjectType.Campaign_Cost__c.fields.IsShowingEquipment__c.label}
-                            <input type="checkbox" disabled = 'true' name="chk_group6" id = "IsAnimalExperience"
-                             />
-                            {!$ObjectType.Campaign_Cost__c.fields.IsAnimalExperience__c.label}
-                            <input type="checkbox" disabled = 'true' name="chk_group7" id = "isOther"
-                             />
-                            {!$ObjectType.Campaign_Cost__c.fields.isOther__c.label}
-                            <br />
-                        </apex:pageBlockSectionItem>
-                    </apex:pageblocksection>
-
-                    <apex:pageblocksection columns="2" id="considerationLineItem_out" title="瀵逛环鏄庣粏:" rendered="{!showSponsor}">
-                        <apex:pageBlockSectionItem rendered="{!CampaignCostMain.isStand__c}">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.standArea__c.label}" for="OtherSponsorCost" />
-                            <apex:variable var="v" value="" id="standArea">
-                                <apex:outputtext value="{!CampaignCostMain.standArea__c}" />&nbsp;m虏</apex:variable>
-                        </apex:pageBlockSectionItem>
-                        <apex:pageBlockSectionItem rendered="{!CampaignCostMain.IsAnimalExperience__c}">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.AnimalExperienceNumber__c.label}" for="OtherSponsorCost" />
-                            <apex:variable var="v" value="" id="AnimalExperienceNumber">
-                                <apex:outputtext value="{!CampaignCostMain.AnimalExperienceNumber__c }" />&nbsp;鍙�</apex:variable>
-                        </apex:pageBlockSectionItem>
-                        <apex:pageBlockSectionItem rendered="{!CampaignCostMain.IsSatelliteMeeting__c}">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.satelliteMeetingHours__c.label}" for="OtherSponsorCost" />
-                            <apex:variable var="v" value="" id="satelliteMeetingHours">
-                                <apex:outputtext value="{!CampaignCostMain.satelliteMeetingHours__c}" />&nbsp;鍒嗛挓</apex:variable>
-                        </apex:pageBlockSectionItem>
-                        <apex:pageBlockSectionItem rendered="{!CampaignCostMain.IsShowingEquipment__c}">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.showingEquipmentNumber__c.label}" for="OtherSponsorCost" />
-                            <apex:variable var="v" value="" id="showingEquipmentNumber">
-                                <apex:outputtext value="{!CampaignCostMain.showingEquipmentNumber__c}" />&nbsp;鍙�</apex:variable>
-                        </apex:pageBlockSectionItem>
-                        <apex:pageBlockSectionItem rendered="{!CampaignCostMain.isTitle__c}">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.titleArea__c.label}" for="OtherSponsorCost" />
-                            <apex:variable var="v" value="" id="titleArea">
-                                <apex:outputtext value="{!CampaignCostMain.titleArea__c}" />&nbsp;</apex:variable>
-                        </apex:pageBlockSectionItem>
-                        <apex:pageBlockSectionItem rendered="{!CampaignCostMain.isOther__c}">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.otherWords__c.label}" for="OtherSponsorCost" />
-                            <apex:variable var="v" value="" id="otherWords">
-                                <apex:outputtext value="{!CampaignCostMain.otherWords__c}" />&nbsp;</apex:variable>
-                        </apex:pageBlockSectionItem>
-                        <apex:pageBlockSectionItem rendered="{!CampaignCostMain.IsDocLOGO__c}">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.DocLOGOcontent__c.label}" for="OtherSponsorCost" />
-                            <apex:variable var="v" value="" id="DocLOGOcontent">
-                                <apex:outputtext value="{!CampaignCostMain.DocLOGOcontent__c}" />&nbsp;</apex:variable>
-                        </apex:pageBlockSectionItem>
-                    </apex:pageblocksection>
-
-                    <apex:outputPanel id="hostCampaign_out">
-                        <apex:pageblocksection id="hostCampaignLineItems" columns="2" title="鑷姙/鍏卞姙浼氳垂鐢ㄦ槑缁�" rendered="{!showHost}">
-                            <apex:pageBlockSectionItem id="paymentFromCompany">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.paymentFromCompany__c.label}" for="paymentFromCompany" />
-                                <apex:variable var="v" value="" id="paymentFromCompany">
-                                    <apex:outputtext id="paymentFromCompany" value="{!CampaignCostMain.paymentFromCompany__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                            <apex:pageBlockSectionItem id="paymentFromCooperator">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.paymentFromCooperator__c.label}" for="paymentFromCooperator" />
-                                <apex:variable var="v" value="" id="paymentFromCooperator">
-                                    <apex:outputtext id="paymentFromCooperator" value="{!CampaignCostMain.paymentFromCooperator__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                            <apex:pageBlockSectionItem >
-                                <apex:outputLabel value="浜ら�氬唴瀹�" />
-                                <input type="checkbox" id="travelByAir" name="chk_group_travel1" 
-                                disabled="true"/> 椋炴満
-                                <input type="checkbox" id="travelByTrain" name="chk_group_travel2" 
-                                disabled="true" /> 鐏溅
-                                <input type="checkbox" id = "travelByCar" name="chk_group_travel3" 
-                                disabled="true" /> 姹借溅
-                            </apex:pageBlockSectionItem>
-                            <apex:pageBlockSectionItem id="tansportCost">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.tansportCost__c.label}" for="tansportCost" />
-                                <apex:variable var="v" value="" id="tansportCost">
-                                    <apex:outputtext id="tansportCost" value="{!CampaignCostMain.tansportCost__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                            <apex:pageBlockSectionItem id="livingCost">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.livingCost__c.label}" for="livingCost" />
-                                <apex:variable var="v" value="" id="livingCost">
-                                    <apex:outputtext id="livingCost" value="{!CampaignCostMain.livingCost__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                            <apex:pageBlockSectionItem id="banquetCost" >
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.banquetCost__c.label}" for="banquetCost" />
-                                <apex:variable var="v" value="" id="banquetCost">
-                                    <apex:outputtext id="banquetCost" value="{!CampaignCostMain.banquetCost__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                            <apex:pageBlockSectionItem id="lunchCost">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.lunchCost__c.label}" for="tansportCost" />
-                                <apex:variable var="v" value="" id="lunchCost">
-                                    <apex:outputtext id="lunchCost" value="{!CampaignCostMain.lunchCost__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                            <apex:pageBlockSectionItem id="teaBreakCost">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.teaBreakCost__c.label}" for="teaBreakCost" />
-                                <apex:variable var="v" value="" id="teaBreakCost">
-                                    <apex:outputtext id="teaBreakCost" value="{!CampaignCostMain.teaBreakCost__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                            <apex:pageBlockSectionItem id="broadcastingCost">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.broadcastingCost__c.label}" for="broadcastingCost" />
-                                <apex:variable var="v" value="" id="broadcastingCost">
-                                    <apex:outputtext id="broadcastingCost" value="{!CampaignCostMain.broadcastingCost__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                            <apex:pageBlockSectionItem id="publicityCost">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.publicityCost__c.label}" for="publicityCost" />
-                                <apex:variable var="v" value="" id="publicityCost">
-                                    <apex:outputtext id="publicityCost" value="{!CampaignCostMain.publicityCost__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                             <apex:outputtext id="sundryContent" value="{!CampaignCostMain.sundryContent__c}" />
-                            <apex:pageBlockSectionItem id="sundriesCost">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.sundriesCost__c.label}" for="sundriesCost" />
-                                <apex:variable var="v" value="" id="sundriesCost">
-                                    <apex:outputtext id="sundriesCost" value="{!CampaignCostMain.sundriesCost__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-
-                            <apex:outputtext id="hostCompany" value="{!CampaignCostMain.hostCompany__c}" />
-                            <apex:pageBlockSectionItem id="hostCompanyCostAndTax">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.hostCompanyCostAndTax__c.label}" for="hostCompanyCostAndTax" />
-                                <apex:variable var="v" value="" id="hostCompanyCostAndTax">
-                                    <apex:outputtext id="hostCompanyCostAndTax" value="{!CampaignCostMain.hostCompanyCostAndTax__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                        </apex:pageblocksection>
-                    </apex:outputPanel>
-                </apex:pageBlock>
-
-                <!-- 缂栬緫鐢� -->
-                <apex:pageBlock title="浼氳璐圭敤鎯呭喌锛堝ぇ浼氭墍鏈夎垂鐢紝涓嶅垎鎴愭湰涓績锛�" id="Editable" rendered="{!status}">
-                    <apex:pageBlockButtons location="top">
-                        <apex:commandButton value="淇� 瀛�" action="{!save}" onclick="blockme();" rerender="Editable,message,checkboxInit" oncomplete="unblockUI(); checkboxInit();"
-                         style="width: 50px;" />
-                         <apex:commandButton value="鎻愪氦瀹℃壒" action="{!submit}" onclick="blockme();" rerender="allBlock,unEditable,message,checkboxInit,ApprovalHistory" oncomplete="unblockUI(); checkboxInit();"
-                        />
-                        <apex:commandButton value="鍙� 娑�" onclick="window.close();"  />
-                    </apex:pageBlockButtons>
-                    <apex:pageblocksection id="totalAmount" columns="1" title="浼氳璐圭敤鎬昏">
-                        <apex:pageBlockSectionItem id="totalAmount">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.totalMeetingCost__c.label}" for="totalMeetingCostlabel" />
-                            <apex:variable var="v" value="" id="totalMeetingCost">
-                                <apex:outputtext id="totalMeetingCost" value="{!CampaignCostMain.totalMeetingCost__c}" />鍏�/RMB</apex:variable>
-                        </apex:pageBlockSectionItem>
-                    </apex:pageblocksection>
-                    <apex:pageblocksection id="sponsoritems" columns="2" title="璧炲姪浼氳垂鐢ㄦ槑缁�" rendered="{!showSponsor}" >
-
-                        <apex:inputField id="medicalInsititute" value="{!CampaignCostMain.medicalInsititute__c}" />
-                        <apex:pageBlockSectionItem id="medicalInsitituteCost">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.medicalInsitituteCost__c.label}" for="medicalInsitituteCost" />
-                            <apex:variable var="v" value="" id="medicalInsitituteCost">
-                                <apex:inputField onchange="totalPriceSum();" id="medicalInsitituteCost" value="{!CampaignCostMain.medicalInsitituteCost__c}" />鍏�/RMB</apex:variable>
-                        </apex:pageBlockSectionItem>
-
-                        <apex:inputField id="nonMedicalInstitute" value="{!CampaignCostMain.nonMedicalInstitute__c}" />
-                        <apex:pageBlockSectionItem id="nonMedicalInstituteCost">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.nonMedicalInstituteCost__c.label}" for="medicalInsitituteCost" />
-                            <apex:variable var="v" value="" id="nonMedicalInstituteCost">
-                                <apex:inputField onchange="totalPriceSum()" id="nonMedicalInstituteCost" value="{!CampaignCostMain.nonMedicalInstituteCost__c}" />鍏�/RMB</apex:variable>
-                        </apex:pageBlockSectionItem>
-
-                        <apex:inputField id="standFittingCompany__c" value="{!CampaignCostMain.standFittingCompany__c}" />
-                        <apex:pageBlockSectionItem id="StandFittingComCost" >
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.StandFittingComCost__c.label}" for="StandFittingComCost" />
-                            <apex:variable var="v" value="" id="StandFittingComCost">
-                                <apex:inputField onchange="totalPriceSum()" id="StandFittingComCost" value="{!CampaignCostMain.StandFittingComCost__c}" />鍏�/RMB</apex:variable>
-                        </apex:pageBlockSectionItem>
-
-                        <apex:inputField id="broadcastingCompany" value="{!CampaignCostMain.broadcastingCompany__c}" />
-                        <apex:pageBlockSectionItem id="broadcastingCompanyCost" >
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.broadcastingCompanyCost__c.label}" for="broadcastingCompanyCost" />
-                            <apex:variable var="v" value="" id="broadcastingCompanyCost">
-                                <apex:inputField onchange="totalPriceSum()" id="broadcastingCompanyCost" value="{!CampaignCostMain.broadcastingCompanyCost__c}" />鍏�/RMB</apex:variable>
-                        </apex:pageBlockSectionItem>
-
-
-
-
-                        <apex:pageBlockSectionItem id="animalExperienceCost">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.animalExperienceCost__c.label}" for="animalExperienceCost" />
-                            <apex:variable var="v" value="" id="animalExperienceCost">
-                                <apex:inputField onchange="totalPriceSum()" id="animalExperienceCost" value="{!CampaignCostMain.animalExperienceCost__c}" />鍏�/RMB</apex:variable>
-                        </apex:pageBlockSectionItem>
-                        <apex:pageBlockSectionItem id="OtherSponsorCost">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.OtherSponsorCost__c.label}" for="OtherSponsorCost" />
-                            <apex:variable var="v" value="" id="OtherSponsorCost">
-                                <apex:inputField onchange="totalPriceSum()" id="OtherSponsorCost" value="{!CampaignCostMain.OtherSponsorCost__c}" />鍏�/RMB</apex:variable>
-                        </apex:pageBlockSectionItem>
-                    </apex:pageblocksection>
-
-                    <apex:pageblocksection columns="1" id="consideration" title="瀵逛环鍐呭锛氾紙鍕鹃�夛級" rendered="{!showSponsor}">
-                        <apex:pageBlockSectionItem >
-                            <input type="checkbox" name="chk_group1" id = "isStand"
-                            onchange="document.getElementById('{!$Component.isStand__c}').value 
-                            = this.checked;refreshPage();"/>
-                            {!$ObjectType.Campaign_Cost__c.fields.isStand__c.label}
-                            <input type="checkbox" name="chk_group2" id = "IsSatelliteMeeting"
-                            onchange="document.getElementById('{!$Component.IsSatelliteMeeting__c}').value 
-                            = this.checked;refreshPage();"/>
-                            {!$ObjectType.Campaign_Cost__c.fields.IsSatelliteMeeting__c.label}
-                            <input type="checkbox" name="chk_group3"  id = "isTitle"
-                            onchange="document.getElementById('{!$Component.isTitle__c}').value 
-                            = this.checked;refreshPage();"/>
-                            {!$ObjectType.Campaign_Cost__c.fields.isTitle__c.label}
-
-                            <input type="checkbox" name="chk_group4"  id = "IsDocLOGO"
-                            onchange="document.getElementById('{!$Component.IsDocLOGO__c}').value 
-                            = this.checked;refreshPage();"/>
-                            {!$ObjectType.Campaign_Cost__c.fields.IsDocLOGO__c.label}
-                            <input type="checkbox" name="chk_group5" id = "IsShowingEquipment"
-                            onchange="document.getElementById('{!$Component.IsShowingEquipment__c}').value 
-                            = this.checked;refreshPage();"/>
-                            {!$ObjectType.Campaign_Cost__c.fields.IsShowingEquipment__c.label}
-                            <input type="checkbox" name="chk_group6" id = "IsAnimalExperience"
-                            onchange="document.getElementById('{!$Component.IsAnimalExperience__c}').value 
-                            = this.checked;refreshPage();"/>
-                            {!$ObjectType.Campaign_Cost__c.fields.IsAnimalExperience__c.label}
-                            <input type="checkbox" name="chk_group7" id = "isOther"
-                            onchange="document.getElementById('{!$Component.isOther__c}').value 
-                            = this.checked;refreshPage();" />
-                            {!$ObjectType.Campaign_Cost__c.fields.isOther__c.label}
-                            <br />
-                        </apex:pageBlockSectionItem>
-                    </apex:pageblocksection>
-                    <apex:pageblocksection columns="2" id="considerationLineItem" title="瀵逛环鏄庣粏:" rendered="{!showSponsor}">
-                        <apex:pageBlockSectionItem rendered="{!CampaignCostMain.isStand__c}">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.standArea__c.label}" for="OtherSponsorCost" />
-                            <apex:variable var="v" value="" id="standArea">
-                                <apex:inputField value="{!CampaignCostMain.standArea__c}" />&nbsp;m虏</apex:variable>
-                        </apex:pageBlockSectionItem>
-                        <apex:pageBlockSectionItem rendered="{!CampaignCostMain.IsAnimalExperience__c}">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.AnimalExperienceNumber__c.label}" for="OtherSponsorCost" />
-                            <apex:variable var="v" value="" id="AnimalExperienceNumber">
-                                <apex:inputField value="{!CampaignCostMain.AnimalExperienceNumber__c }" />&nbsp;鍙�</apex:variable>
-                        </apex:pageBlockSectionItem>
-                        <apex:pageBlockSectionItem rendered="{!CampaignCostMain.IsSatelliteMeeting__c}">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.satelliteMeetingHours__c.label}" for="OtherSponsorCost" />
-                            <apex:variable var="v" value="" id="satelliteMeetingHours">
-                                <apex:inputField value="{!CampaignCostMain.satelliteMeetingHours__c}" />&nbsp;鍒嗛挓</apex:variable>
-                        </apex:pageBlockSectionItem>
-                        <apex:pageBlockSectionItem rendered="{!CampaignCostMain.IsShowingEquipment__c}">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.showingEquipmentNumber__c.label}" for="OtherSponsorCost" />
-                            <apex:variable var="v" value="" id="showingEquipmentNumber">
-                                <apex:inputField value="{!CampaignCostMain.showingEquipmentNumber__c}" />&nbsp;鍙�</apex:variable>
-                        </apex:pageBlockSectionItem>
-                        <apex:pageBlockSectionItem rendered="{!CampaignCostMain.isTitle__c}">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.titleArea__c.label}" for="OtherSponsorCost" />
-                            <apex:variable var="v" value="" id="titleArea">
-                                <apex:inputField value="{!CampaignCostMain.titleArea__c}" />&nbsp;</apex:variable>
-                        </apex:pageBlockSectionItem>
-                        <apex:pageBlockSectionItem rendered="{!CampaignCostMain.isOther__c}">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.otherWords__c.label}" for="OtherSponsorCost" />
-                            <apex:variable var="v" value="" id="otherWords">
-                                <apex:inputField value="{!CampaignCostMain.otherWords__c}" />&nbsp;</apex:variable>
-                        </apex:pageBlockSectionItem>
-                        <apex:pageBlockSectionItem rendered="{!CampaignCostMain.IsDocLOGO__c}">
-                            <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.DocLOGOcontent__c.label}" for="OtherSponsorCost" />
-                            <apex:variable var="v" value="" id="DocLOGOcontent">
-                                <apex:inputField value="{!CampaignCostMain.DocLOGOcontent__c}" />&nbsp;</apex:variable>
-                        </apex:pageBlockSectionItem>
-                        <apex:pageBlockSectionItem rendered="{!CampaignCostMain.IsDocLOGO__c}">
-                        </apex:pageBlockSectionItem>
-                        <apex:outputtext value="濉啓鍏蜂綋椤圭洰锛氭湰/绗�/璇佷欢鍗″甫logo" style=" color: blue; font-weight: bold; text-align: center; margin-left:20%" rendered="{!CampaignCostMain.IsDocLOGO__c}"/>
-                    </apex:pageblocksection>
-                    <apex:outputPanel id="hostCampaign">
-                        <apex:pageblocksection id="hostCampaignLineItems" columns="2" title="鑷姙/鍏卞姙浼氳垂鐢ㄦ槑缁�" rendered="{!showHost}">
-                            <apex:pageBlockSectionItem id="paymentFromCompany">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.paymentFromCompany__c.label}" for="paymentFromCompany" />
-                                <apex:variable var="v" value="" id="paymentFromCompany">
-                                    <apex:inputField onchange="totalPriceSum()" id="paymentFromCompany" value="{!CampaignCostMain.paymentFromCompany__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                            <apex:pageBlockSectionItem id="paymentFromCooperator">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.paymentFromCooperator__c.label}" for="paymentFromCooperator" />
-                                <apex:variable var="v" value="" id="paymentFromCooperator">
-                                    <apex:inputField onchange="totalPriceSum()" id="paymentFromCooperator" value="{!CampaignCostMain.paymentFromCooperator__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                            <apex:pageBlockSectionItem >
-                                <apex:outputLabel value="浜ら�氬唴瀹�" />
-                                <input type="checkbox" id="travelByAir" name="chk_group_travel1" 
-                                onchange="document.getElementById('{!$Component.travelByAir__c}').value 
-                                = this.checked;"/> 椋炴満
-                                <input type="checkbox" id="travelByTrain" name="chk_group_travel2" 
-                                onchange="document.getElementById('{!$Component.travelByTrain__c}').value 
-                                = this.checked;"/> 鐏溅
-                                <input type="checkbox" id = "travelByCar" name="chk_group_travel3" 
-                                onchange="document.getElementById('{!$Component.travelByCar__c}').value 
-                                = this.checked;"/> 姹借溅
-                            </apex:pageBlockSectionItem>
-                            <apex:pageBlockSectionItem id="tansportCost">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.tansportCost__c.label}" for="tansportCost" />
-                                <apex:variable var="v" value="" id="tansportCost">
-                                    <apex:inputField onchange="totalPriceSum()" id="tansportCost" value="{!CampaignCostMain.tansportCost__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                            <apex:pageBlockSectionItem id="livingCost">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.livingCost__c.label}" for="livingCost" />
-                                <apex:variable var="v" value="" id="livingCost">
-                                    <apex:inputField onchange="totalPriceSum()" id="livingCost" value="{!CampaignCostMain.livingCost__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                            <apex:pageBlockSectionItem id="banquetCost" >
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.banquetCost__c.label}" for="banquetCost" />
-                                <apex:variable var="v" value="" id="banquetCost">
-                                    <apex:inputField onchange="totalPriceSum()" id="banquetCost" value="{!CampaignCostMain.banquetCost__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                            <apex:pageBlockSectionItem id="lunchCost">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.lunchCost__c.label}" for="tansportCost" />
-                                <apex:variable var="v" value="" id="lunchCost">
-                                    <apex:inputField onchange="totalPriceSum()" id="lunchCost" value="{!CampaignCostMain.lunchCost__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                            <apex:pageBlockSectionItem id="teaBreakCost">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.teaBreakCost__c.label}" for="teaBreakCost" />
-                                <apex:variable var="v" value="" id="teaBreakCost">
-                                    <apex:inputField onchange="totalPriceSum()" id="teaBreakCost" value="{!CampaignCostMain.teaBreakCost__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                            <apex:pageBlockSectionItem id="broadcastingCost">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.broadcastingCost__c.label}" for="broadcastingCost" />
-                                <apex:variable var="v" value="" id="broadcastingCost">
-                                    <apex:inputField onchange="totalPriceSum()" id="broadcastingCost" value="{!CampaignCostMain.broadcastingCost__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                            <apex:pageBlockSectionItem id="publicityCost">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.publicityCost__c.label}" for="publicityCost" />
-                                <apex:variable var="v" value="" id="publicityCost">
-                                    <apex:inputField onchange="totalPriceSum()" id="publicityCost" value="{!CampaignCostMain.publicityCost__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                             <apex:inputField id="sundryContent" value="{!CampaignCostMain.sundryContent__c}" />
-                            <apex:pageBlockSectionItem id="sundriesCost">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.sundriesCost__c.label}" for="sundriesCost" />
-                                <apex:variable var="v" value="" id="sundriesCost">
-                                    <apex:inputField onchange="totalPriceSum()" id="sundriesCost" value="{!CampaignCostMain.sundriesCost__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-
-                            <apex:inputField id="hostCompany" value="{!CampaignCostMain.hostCompany__c}" />
-                            <apex:pageBlockSectionItem id="hostCompanyCostAndTax">
-                                <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.hostCompanyCostAndTax__c.label}" for="hostCompanyCostAndTax" />
-                                <apex:variable var="v" value="" id="hostCompanyCostAndTax">
-                                    <apex:inputField onchange="totalPriceSum()" id="hostCompanyCostAndTax" value="{!CampaignCostMain.hostCompanyCostAndTax__c}" />鍏�/RMB</apex:variable>
-                            </apex:pageBlockSectionItem>
-                        </apex:pageblocksection>
-                    </apex:outputPanel>
-                </apex:pageBlock>
-            </apex:pageBlock>
-
-       </apex:form>
-       <!-- SWAG-BBG8AK 娣诲姞鎵瑰噯鍒楄〃 start-->
-    <apex:outputPanel id="ApprovalHistory" rendered="{!canseePage}">
-        <apex:relatedList list="ProcessSteps"/>
+        </apex:outputPanel>
+        <!--宸插畬鎴愬弽棣堜换鍔�   mzy  2021-11-17 start-->  
+        <!--<apex:outputPanel rendered = "{!if( OverFeedbackNumber > 0, 'true','false')}" style="font-weight: bold;font-family: \'Microsoft YaHei\';">
+            <h3>
+            <apex:outputText value ="{!if(myTaskNumber >0 || subTaskNumber > 0 || UnfinishedTaskNumber >0 || feedbackNumber>0 , ',' , '')}"/>
+            &nbsp;-->
+            <!--<apex:outputText value ="{!if(OverFeedbackNumber > 0,'宸插畬鎴愬弽棣堜换鍔�','' )}"/>-->
+            <!--<font size="3.5" color="#015ba7">宸插畬鎴愬弽棣堜换鍔�</font>
+            <a href="javascript:return null;" onclick="window.open('{!$Label.OverFeedbackTask}','_blank')"><font size="4" color="red" >({!OverFeedbackNumber}涓�)</font></a>
+            </h3>
+        </apex:outputPanel>-->
+        <!--宸插畬鎴愬弽棣堜换鍔�   mzy  2021-11-17 end-->  
     </apex:outputPanel>
-    <!-- SWAG-BBG8AK 娣诲姞鎵瑰噯鍒楄〃 end-->
-    </body>
+
+    <apex:outputPanel id="alertPanel3" rendered="{!if( subTaskNumber == 0 && myTaskNumber == 0 && UnfinishedTaskNumber == 0,    'true','false')}" style="font-weight: bold;font-family: \'Microsoft YaHei\';" >
+        <h3>
+        鎮ㄦ病鏈夋湭鎺ュ彈鐨勪换鍔★紝闇�瑕佽繘鍏ヤ换鍔$鐞嗚〃璇风偣
+        <a href="javascript:return null;" onclick="window.open('/apex/taskManage','_blank')">杩欓噷</a>
+        </h3>        
+        <br/>
+    </apex:outputPanel>  
+
+
+    <!--2021-11-15  mzy  浠诲姟绠$悊鏀瑰杽  end-->
 </apex:page>
\ No newline at end of file

--
Gitblit v1.9.1