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
<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="/lightning/o/Event/new?originalUrl=https%3A%2F%2Focsm--c.vf.force.com%2Fapex%2FSimpleEventRegister%3FsObjectName%3DEvent%26save_new_url%3D%252F00U%252Fe%26navigationLocation%3DLIST_VIEW%26lexiSObjectName%3DEvent%26lexiActionName%3Dnew%26sfdc.override%3D1%26vfRetURLInSFX%3D%252F00U%252Fo&count=1" target="_blank" >新建事件</a></li>
            <hr />
            <!--  /lightning/cmp/c__AuraDailyReport -->
            <li><a href="/lightning/n/lexDailyReport" target="_blank" >新建日报</a></li>
            <hr />
            <!-- DB202402480100   20240304   zyh   start -->
            <li><a href="/lightning/o/Daily_Report__c/list?filterName=NotApprovedReport_new" target="_blank" >申請中的日报 需要自己批准的</a></li>
            <hr />
            <!-- DB202402480100   20240304   zyh   end -->
            <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" >新建报告书(OPD/NTC/VOC)</a></li>
            <hr />
            <li><a href="/apex/NewQuoteIrai" target="_blank" >新建报价委托</a></li>
            <!-- <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>window.open('/apex/WebToEquipmentSetShippmentReceived','','height=700, width=1000, top=200, left=200, toolbar=no, menubar=no, scrollbars=no, location=no, status=no')</li> -->
            <hr />
            <!-- TMS先不开放 -->
            <!-- <li><a href="/lightning/n/TMS" target="_blank" >TMS管理表</a></li>
            <hr /> -->
            <li><a href="/lightning/n/lexConsumabletargetform" target="_blank" >IMS管理表</a></li>
        </ul>
    </apex:form>
</apex:page>