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
<!--
 * @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; */
                cursor: pointer;
            }
        </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('Waitting_Assign_List');return false;" target="_blank" >等待分配的耗材一览</a></li>
    <hr />
    <li><a href="" onclick="toURLPreJs('Need_Resign_ConsumList');return false;" target="_blank" >待重新分配耗材一览</a></li>
    <hr />
    <li><a href="" onclick="toURLPreJs('Consume_Need_ShipCommand');return false;" target="_blank" >需要出库指示的耗材一览</a></li>
    <hr />
    <li><a href="" onclick="toURLPreJs('Consum_keep_ship_set');return false;" target="_blank" >待发货耗材一览</a></li>
    <hr />
    <li><a href="" onclick="toURLPreJs('Consum_UploadedSignList');return false;" target="_blank" >上传耗材试用表一览</a></li>
    <hr />
    <li><a href="" onclick="toURLPreJs('Today_Planned_ReturnConsum_List');return false;" 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 />
    <li><a href="" onclick="toURLPreJs('Monthly_Consum_List');return false;" target="_blank" >备品中心耗材月报一览</a></li>
    <hr />
    <li><a href="" onclick="toURLPreJs('Lendin_Consum_List');return false;" target="_blank" >查询借出中耗材</a></li>
</ul>
</apex:form>
</apex:page>