|
|
<title>报表</title>
|
|
|
<script type="text/html" template>
|
|
|
{{#
|
|
|
var viewURL = sessionStorage.getItem('jimuReport') + '/page/reportCode?access_token='+localStorage.getItem('access_token');
|
|
|
layui.use(['sessions','common','admin'], function () {
|
|
|
var $ = layui.$;
|
|
|
var common = layui.common;
|
|
|
var admin = layui.admin;
|
|
|
var arr = [];
|
|
|
window.location.hash.split('/').forEach(function (v, i) {
|
|
|
if (v.indexOf('=') != -1 && v.indexOf('reportCode') != -1) {
|
|
|
viewURL = viewURL.replaceAll('reportCode',v.split('=')[1])
|
|
|
}
|
|
|
});
|
|
|
|
|
|
$('#actionListIframe').attr('src',viewURL);
|
|
|
});
|
|
|
}}
|
|
|
<iframe id="actionListIframe" src="{{viewURL}}" frameborder="0" class="layadmin-iframe"></iframe>
|
|
|
</script> |
...
|
...
|
|