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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<apex:page showHeader="true" sidebar="true" Controller="SidebarController" lightningStylesheets="true">
    <head>
        <title></title>
        <style>
            ul li {
                list-style: none;
                /* line-height: 25px; */
                /* text-align: center; */
            }
            a{
                text-decoration:none;
                /* font-size: 20px; */
                cursor: pointer;
            }
        </style>
    </head>
    <script>
        function toURLPreJs(name) {
            // alert(name);
            toURL(name);
   
        }
 
        function toURLJs() {
            // alert({!reportid});
            var ss = document.getElementById("hidden").value;
            //新窗口打开,还是本页面打开,还是弹窗打开请自行修改window.open
            window.open('/'+ss,'_blank');   
        }
 
 
    </script>
    <apex:form id="allForm">
        <apex:actionFunction name="toURL" action="{!toURL}" rerender="allForm,checEventFrame" oncomplete="toURLJs();">
                  <apex:param name="firstParam" assignTo="{!DeveloperName}" value="" />
            </apex:actionFunction>
            <apex:outputPanel id="message">
                    <apex:pageMessages />
                    <input id="hidden" type="hidden" name="hidden" value="{!reportid}"/>
                </apex:outputPanel>
        <ul style="margin : 0 auto;">
            <!-- DB202312692678 zyh start -->
            <apex:variable var="type" value="" rendered="{!IF(userId !='6.华南' && userId !='2.东北' && userId !='1.华北',true,false)}">
            <!-- <li><a href="" onclick="toURLPreJs('new_report_URe_weekly');return false;" target="_blank" >{!userId}</a></li> -->
            <li><a href="" onclick="toURLPreJs('new_report_KxS');return false;" target="_blank" >周会--询价管理表</a></li>
            <hr />
            <li><a href="" onclick="toURLPreJs('new_report_mwO');return false;" target="_blank" >周会--注残管理表</a></li>
            </apex:variable>
            <apex:variable var="type" value="" rendered="{!IF(userId ='6.华南' ,true,false)}">
            <!-- <li><a href="" onclick="toURLPreJs('new_report_URe_weekly');return false;" target="_blank" >{!userId}</a></li> -->
            <li><a href="" onclick="toURLPreJs('new_report_omf');return false;" target="_blank" >周会-询价管理表 (华南)</a></li>
            <hr />
            <li><a href="" onclick="toURLPreJs('new_report_Wx4');return false;" target="_blank" >周会-注残管理表 (华南)</a></li>
            </apex:variable>
            <apex:variable var="type" value="" rendered="{!IF(userId ='2.东北' ,true,false)}">
            <!-- <li><a href="" onclick="toURLPreJs('new_report_URe_weekly');return false;" target="_blank" >{!userId}</a></li> -->
            <li><a href="" onclick="toURLPreJs('new_report_PFM');return false;" target="_blank" >周会-询价管理表 (东北)</a></li>
            <hr />
            <li><a href="" onclick="toURLPreJs('new_report_Rv4');return false;" target="_blank" >周会-注残管理表 (东北)</a></li>
            </apex:variable>
            <!-- DB202312692678 zyh end -->
            <!-- DB202401238663 zyh start -->
            <apex:variable var="type" value="" rendered="{!IF(userId ='1.华北' ,true,false)}">
                <!-- <li><a href="" onclick="toURLPreJs('new_report_URe_weekly');return false;" target="_blank" >{!userId}</a></li> -->
                <li><a href="" onclick="toURLPreJs('new_report_AM2');return false;" target="_blank" >周会-询价管理表 (华北)</a></li>
                <hr />
                <li><a href="" onclick="toURLPreJs('new_report_ClX');return false;" target="_blank" >周会-注残管理表 (华北)</a></li>
            </apex:variable>
            <!-- DB202401238663 zyh end -->
            <hr />
            <li><a href="/apex/PersonalCalendar" target="_blank" >周会-行动管理日历</a></li>
            <hr />
            <!-- <li><a href="/apex/AssetTable" target="_blank" >保有设备管理表</a></li> -->
            <li><a href="" onclick="toURLPreJs('new_report_yYP');return false;" target="_blank" >保有设备管理表</a></li>
            <hr />
            <li><a href="/apex/Dealer_enquiryCopy" target="_blank" >询价--经销商询价</a></li>
            <hr />
            <li><a href="/lightning/o/Daily_Report__c/list?filterName=NotApprovedReport_new" target="_blank" >申請中的日报 需要自己批准的</a></li>
            <hr />
            <!-- TMS先不开放 -->
            <!-- <li><a href="/lightning/n/TMS" target="_blank" >TMS管理表</a></li>
            <hr /> -->
            <li><a href="/lightning/n/lexConsumabletargetform" target="_blank" >IMS管理表</a></li>
            
            <!-- <li>window.open('/apex/WebToEquipmentSetShippmentReceived','','height=700, width=1000, top=200, left=200, toolbar=no, menubar=no, scrollbars=no, location=no, status=no')</li> -->
        </ul>
    </apex:form>
</apex:page>