<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=%2Fa0B%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="" 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={!$Label.toplinkService_2}" target="_blank" >保有设备一览</a></li>
|
<!-- <li><a href="" onclick="toURLPreJs('new_report20230727');return false;" target="_blank" >保有设备一览</a></li> -->
|
<hr />
|
<li><a href="/a4h?fcf={!$Label.topLinkDealer}" target="_blank" >待处理的报修子单</a></li>
|
</ul>
|
</apex:form>
|
</apex:page>
|