<apex:page showHeader="false" sidebar="false" id="toMcpApproval" title="打包合同报价审批">
|
<apex:includeLightning />
|
<div style="width:100%;height:100%;" id="toMcpApprovalContainer" />
|
<style>
|
.slds-scope .slds-form-element__control .slds-radio, .slds-scope .slds-form-element__control .slds-checkbox{
|
display:inline-block !important;
|
}
|
</style>
|
<script>
|
$Lightning.use("c:toMcpApprovalApp", function () {
|
$Lightning.createComponent("c:lexToMcpApproval",
|
{},
|
"toMcpApprovalContainer",
|
function (cmp) {
|
console.log('Component created, do something cool here');
|
});
|
});
|
|
var interval = setInterval(()=>{
|
var hrefStr = window.location.href;
|
if (hrefStr.indexOf("Refresh") != -1) {
|
var arr = hrefStr.split("==");
|
window.opener.parent.location.href = "/"+arr[1];
|
window.location.hash = '';
|
}
|
},1000);
|
</script>
|
|
</apex:page>
|