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
<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;">
            <li><a href="/apex/FrameNumUpload" target="_blank" >OSH上传</a></li>
            <hr />
            <li><a href="" onclick="toURLPreJs('SFDC_E1h');return false;" target="_blank" >双单报表SFDC数据</a></li>
            <hr />
            <li><a href="" onclick="toURLPreJs('Report_PPROD');return false;" target="_blank" >[重要] 预测今年发货的询价产品明细</a></li>
            <hr />
            <li><a href="" onclick="toURLPreJs('report_lastbuy_opp');return false;" target="_blank" >预留产品相关询价</a></li>
            <hr />
            <li><a href="" onclick="toURLPreJs('ProductReport');return false;" target="_blank" >产品一览</a></li>
            <hr />
            <li><a href="" onclick="toURLPreJs('new_reportPSI2');return false;" target="_blank" >所有注残的预测发货</a></li>
            <hr />
            <li><a href="" onclick="toURLPreJs('OSH2');return false;" target="_blank" >阿西赛多报表</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>