Browse Source

打印报表加密处理

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@825 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
shenj 11 years ago
parent
commit
abb44be0bf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/webapp/resources/js/common/services.js

+ 1 - 0
src/main/webapp/resources/js/common/services.js

@@ -193,6 +193,7 @@ define([ 'angular', 'toaster' ], function(angular) {
 				$http.get(rootPath + '/report/getName', {params: {enuu: enuu, pagename: pageName}})
 				$http.get(rootPath + '/report/getName', {params: {enuu: enuu, pagename: pageName}})
 					.success(function(data){
 					.success(function(data){
 						if(data) {
 						if(data) {
+							data = eval(data);							
 							var url = 'http://192.168.253.6:8099/B2BCR/?reportfile=' + data + '&rcondition=' + condition;		
 							var url = 'http://192.168.253.6:8099/B2BCR/?reportfile=' + data + '&rcondition=' + condition;		
 							window.open(url, title + '-打印', 'width=' + (window.screen.width-10) + ',height=' + (window.screen.height*0.87) + ',top=0,left=0,toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no');
 							window.open(url, title + '-打印', 'width=' + (window.screen.width-10) + ',height=' + (window.screen.height*0.87) + ',top=0,left=0,toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no');
 						} else {
 						} else {