<body onload="loadViewer()">
<div style="width: 100%; overflow-x: hidden">
<div style="float:right;width:100%" id="viewerContainer">
</div>
</div>
<script type="text/javascript" src="jsViewer.min.js"></script>
<script src="jsViewer.min.js"></script>
<script type="text/javascript">
let viewer;
function loadViewer() {
viewer = GrapeCity.ActiveReports.JSViewer.create({
element: '#viewerContainer',
availableExports: ['Xml', 'Pdf']
});
viewer.openReport("unattendedView/" + '@viewId');
}
</script>
</body>
显示的jsview已提供,可以帮忙看看不?还是展示页面的写法有问题哦,还有第二个问题,上排的打印按钮可以动态参数屏蔽不?或者上面一排按钮可以动态参数屏蔽不? |