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
<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="/lightning/n/lexDailyReport" target="_blank" >新建日报</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> -->
    <li><a href="/lightning/o/Report__c/new?navigationLocation=LIST_VIEW&saveNewUrl=%2Fa3x%2Fe&nooverride=true&useRecordTypeCheck=true&inContextOfRef=1.eyJ0eXBlIjoic3RhbmRhcmRfX29iamVjdFBhZ2UiLCJhdHRyaWJ1dGVzIjp7Im9iamVjdEFwaU5hbWUiOiJSZXBvcnRfX2MiLCJhY3Rpb25OYW1lIjoibGlzdCJ9LCJzdGF0ZSI6eyJmaWx0ZXJOYW1lIjoiUmVjZW50In19&count=1&backgroundContext=%2Flightning%2Fo%2FReport__c%2Flist%3FfilterName%3DRecent" target="_blank" >新建报告书(新品装机培训/故障预防培训/售后服务跟台/VOC)</a></li>
    <hr />
    <li><a href="/apex/OFSInsReportLayout?rt=EndoscopeSystem" target="_blank" >新建点检报告书</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="/02i?fcf=00B10000002o8Q5" target="_blank" >保有设备一览</a></li>
    <hr />
    <li><a href="/a4h?fcf=00B10000006i07b" target="_blank" >待处理的报修子单</a></li>
    <hr />
    <li><a href="/apex/IDInformationAnalyseAsset" target="_blank" >ID信息分析</a></li>
    <hr /> -->
</ul>
</apex:form>
</apex:page>