张宇恒
2023-08-08 e15f4679a2b71a186aa9e87cd49b4ab9c249cc63
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
<!--
 * @Author: zhangchunxu
 * @Date: 2023-03-17 15:19:22
 * @LastEditors: zhangchunxu
 * @LastEditTime: 2023-07-25 15:45:21
-->
<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{
                color: #1468b6;
                text-decoration:none;
                /* font-size: 20px; */
            }
        </style>
         <base target="_blank" />
    </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="" onclick="toURLPreJs('Need_Resign_ConsumList');return false;" target="_blank" >待重新分配耗材一览</a></li>
    <hr />
    <li><a href="/setup/ui/recordtypeselect.jsp?ent=01I10000000u0VA&retURL=%2F&save_new_url=%2Fa1E%2Fe%3FretURL%3D%252F" target="_blank" >新建:产品评价表</a></li>
    <hr />
    <li><a href="" onclick="toURLPreJs('Today_Planned_ReturnConsum_List');return false;" target="_blank" >今天返回的耗材一览</a></li>
    <hr />
    <li><a href="/00O10000003pX5R" target="_blank" >发货发票联络表</a></li>
    <hr />
    <li><a href="" onclick="toURLPreJs('Today_Stored_Consum_List');return false;" target="_blank" >今天入库的耗材一览</a></li>
    <hr />
    <li><a href="" onclick="toURLPreJs('Expired_Consum');return false;" target="_blank" >已过期耗材一览</a></li>
    <hr />
    <li><a href="" onclick="toURLPreJs('Consumed_List');return false;" target="_blank" >已消耗耗材一览</a></li>
    <hr />
</ul>
</apex:form>
</apex:page>