D C
2023-08-07 5ddfce2bc1c37265902b8f61d6e1c298b94a7091
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
<!--
 * @Author: zhangchunxu
 * @Date: 2023-07-18 11:26:24
 * @LastEditors: zhangchunxu
 * @LastEditTime: 2023-07-21 17:11:15
 * 
 -->
 <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="/apex/XinDailyReport" target="_blank" >新建日报</a></li>
    <hr />
    <li><a href="/apex/OPDSortManage" target="_blank">OPD计划管理表</a></li>
    <hr />
    <li><a href="/setup/ui/recordtypeselect.jsp?ent=01I10000000SWfe&retURL=%2Fa0B%2Fo&save_new_url=%2Fa0B%2Fe%3FretURL%3D%252Fa0B%252Fo" target="_blank" >新建报告书(OPD/NTC/VOC)</a></li>
    <hr />
    <li><a href="" onclick="toURLPreJs('OPD_Analysis');return false;" target="_blank" >OPD/SIS报告一览</a></li>
    <hr />
    <li><a href="" onclick="toURLPreJs('NTC_Analysis');return false;" target="_blank" >NTC报告一览</a></li>
    <hr />
    <li><a href="" onclick="toURLPreJs('On_Call_record_by_staff');return false;" target="_blank" >On-Call报告一览</a></li>
    <hr />
    <li><a href="" onclick="toURLPreJs('New_inspection');return false;" target="_blank" >点检报告书一览</a></li>
    <hr />
    <li><a href="/2i?fcf=00B10000002o8Q5" target="_blank" >保有设备一览</a></li>
    <hr />
    <li><a href="/a0A?fcf=00B100000027sl9" target="_blank" >申請中的日报 需要自己批准的</a></li>
    <hr />
</ul>
</apex:form>
</apex:page>