liuyn
2024-03-11 a87f1c3df03078814ee97ad0c8ac200a232419e9
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
<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() {
            var myOBSATBCNumber = '{!myOBSATBCNumber}';
            if(myOBSATBCNumber>0){
                j$(escapeVfId("allPage:alertPanel2")).attr('font-family','Microsoft YaHei');
                j$(escapeVfId("allPage:alertPanel2")).attr('font-weight','bold');
            }
            if(myOBSATBCNumber <= 0){
                j$(escapeVfId( "allPage:alertPanel3")).attr('font-family','Microsoft YaHei');
                j$(escapeVfId( "allPage:alertPanel3")).attr('font-weight','bold');
            }
        }
    </script>
    <body onload="init()"/>
 
    <!--2023-10-12 招投标项目- 页面提醒 zq  start--> 
    <apex:outputPanel id="alertPanel2" rendered ="{!if(  myOBSATBCNumber > 0,
        'true','false')}" >
        <!--待确认的招投标项目-->  
        <apex:outputPanel rendered = "{!if( myOBSATBCNumber > 0, 'true','false')}" style="font-size: 16px; font-weight: bold;font-family:\'Microsoft YaHei\'; "> 
            <apex:outputText value ="{!if(myOBSATBCNumber >0,
            '待确认的招标项目-全国','')}"/>
            <a href="javascript:return null;" onclick="window.open('{!$Label.GIORSP_Tender}','_blank')"><font size="4"  color="red" >({!myOBSATBCNumber}个)</font></a>
            <br />
        </apex:outputPanel>
    </apex:outputPanel>
 
    <apex:outputPanel id="alertPanel3" rendered="{!if( myOBSATBCNumber == 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>  
 
</apex:page>