Liu Cheng
2022-06-23 7d6ee416efe023de6492fe1dcd67017882c9f182
SWAG-CFDA6G 【委托】用户系统首页待提醒事项顺序调整
1个文件已修改
100 ■■■■■ 已修改文件
force-app/main/default/pages/taskAlert.page 100 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/taskAlert.page
@@ -3,8 +3,8 @@
<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"/>
<apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
<apex:includeScript value="{!URLFOR($Resource.apex20)}"/>
    <script type="text/javascript">
        function init() {
            var str = '';
@@ -12,7 +12,8 @@
            var myAllTaskNumber = '{!myTaskNumber}';
            var UnfinishedTaskNumber = '{!UnfinishedTaskNumber}';
            var feedbackNumber = '{!feedbackNumber}'; // 2021-11-4 yjk 待反馈任务
            var isShowTask  = '{!isShowTask}'; // 2022-3-17 yjk 根据简档显示任务提醒
            var proId = '{!proId}';
            if(myAllTaskNumber > 0 ){
                str += '您未接受的任务共有' + myAllTaskNumber +'个,'  ;
            }
@@ -63,6 +64,58 @@
        }
    </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>
    <!-- 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>
            </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>
            </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>
            </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,
@@ -97,15 +150,15 @@
            <a href="javascript:return null;" onclick="window.open('{!$Label.AccountOwner_Tender}','_blank')"><font size="4"  color="red">({!myTBBNumber}个)</font></a>        
            </h3>
        </apex:outputPanel> 
        <br/>
        <div style='height:5px;'/>
    </apex:outputPanel>
    <!--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,
    <apex:outputPanel id="alertPanel" rendered ="{!if( (subTaskNumber > 0 || myTaskNumber > 0 || UnfinishedTaskNumber > 0 || feedbackNumber > 0 || OverFeedbackNumber > 0) && isShowTask,
        'true','false')}" style="font-size: 1.3em; font-weight: bold;font-family: \'Microsoft YaHei\';" >
        <!--2021-09-26         wangweipeng                  start -->            
        <!--未接受任务-->  
        <br/>
        <apex:outputPanel rendered = "{!if( myTaskNumber > 0, 'true','false')}" style="font-weight: bold;font-family: \'Microsoft YaHei\';" > 
            <h3> 
            &nbsp;&nbsp;
@@ -170,43 +223,12 @@
        <!--已完成反馈任务   mzy  2021-11-17 end-->  
    </apex:outputPanel>
    <apex:outputPanel id="alertPanel3" rendered="{!if( subTaskNumber == 0 && myTaskNumber == 0 && UnfinishedTaskNumber == 0,    'true','false')}" style="font-weight: bold;font-family: \'Microsoft YaHei\';" >
    <apex:outputPanel id="alertPanel3" rendered="{!if( subTaskNumber == 0 && myTaskNumber == 0 && UnfinishedTaskNumber == 0 && isShowTask,  'true','false')  }" style="font-weight: bold;font-family: \'Microsoft YaHei\';" >
        <br/>
        <h3>
        您没有未接受的任务,需要进入任务管理表请点
        <a href="javascript:return null;" onclick="window.open('/apex/taskManage','_blank')">这里</a>
        </h3>         
        <br/>
    </apex:outputPanel>  
    <!--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;">
            <br/>
            <div style='height:5px;'/>
            <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>
            </h3>
        </apex:outputPanel>
    </apex:outputPanel>
    <!-- 2021-11-09  mzy  SWAG-C8KCZZ  end -->
    <!--2021-11-15  mzy  未转化询价-页面提醒  end -->
    <!--2021-11-23  mzy  共通平台项目-首页修改  start -->
    <apex:outputPanel id="LeadIntention" rendered="{!isShowInquiry}" style="font-size: 1.3em; font-weight: bold;font-family: \'Microsoft YaHei\';" >
        <!-- 待跟进的咨询单  -->
        <apex:outputPanel rendered = "{!if( InquiryNumber > 0, 'true','false')}" style="font-family:\'\5FAE\8F6F\96C5\9ED1\'; font-weight: bold;">
            <br/>
            <div style='height:5px;'/>
            <h3>
            &nbsp;&nbsp;
            <apex:outputText value ="{!if(InquiryNumber > 0,'待跟进的咨询单','')}"/>
            <a  href="javascript:return null;" onclick="window.open('{!$Label.WaitFollowInquiryForm}','_blank')"><font size="4" color="red">({!InquiryNumber}个)</font></a>
            </h3>
        </apex:outputPanel>
    </apex:outputPanel>
    <!--2021-11-23  mzy  共通平台项目-首页修改  end -->
    <!--2021-11-15  mzy  任务管理改善  end-->
</apex:page>