| | |
| | | console.log('1'); |
| | | var ReportId = getParam('id'); |
| | | if(!ReportId){ |
| | | window.open('/006/o'); |
| | | // window.open('/006/o'); |
| | | window.open('/006/o','_self'); |
| | | return; |
| | | } |
| | | sforce.connection.sessionId = '{!GETSESSIONID()}'; |
| | |
| | | if(getParam('retURL') != null){ |
| | | str += '&retURL='+getParam('retURL'); |
| | | } |
| | | window.open(str); |
| | | window.open(str,'_self'); |
| | | } |
| | | function getParam(paramName) { |
| | | paramValue = "", isFound = !1; |
| | |
| | | function lostReport(){ |
| | | //失单报告的ID |
| | | var ReportId = getParam('id'); |
| | | var str = '/apex/PCLLostReportPageLwc?pageStatus=View&reportId=' + ReportId; |
| | | window.open(str); |
| | | var str = '/lightning/n/PCLLostReportPageLwc#pageStatus=View&reportId=' + ReportId; |
| | | window.open(str,'_self'); |
| | | |
| | | |
| | | } |