cshtml页面:
<div ng-controller="app.report.views.bigCustomer.shunFeng.Report as vm">
<iframe style="height:1000px;100%" id="bigCustomer"></iframe>
</div>
js页面 angular写法
(function () {
angular.module('app').controller('app.report.views.bigCustomer.shunFeng.Report', [
'$scope',
function ($scope) {
var userid = abp.session.userId; //获取输入的用户名
var iframe = document.getElementById("bigCustomer");
iframe.src = "http://report.50bm.cc:8080/webroot/decision/view/report?viewlet=bigCustomer.cpt&userid=" + userid +"&__bypagesize__=false"
}
]);
})();