|
|
@@ -1,4 +1,10 @@
|
|
|
-1. 通过preview.html访问预览页面
|
|
|
- http://localhost:8080/report/preview?&userName=UAS&reportName=Purchase&otherParameters=&whereCondition=where%20pu_code=%27MP150500300%27
|
|
|
+1. 打印接口
|
|
|
+ http://localhost:8090/report/print?&userName=UAS&reportName=Purchase&otherParameters=&whereCondition=where%20pu_code=%27MP150500300%27&printType=PREVIEW
|
|
|
+ printType有四个可能的值(默认为PREVIEW):
|
|
|
+ 1)PREVIEW:进入预览页面
|
|
|
+ 2)PRINT:进入预览页面后弹出打印选项
|
|
|
+ 3)PDF:下载pdf
|
|
|
+ 4)EXCEL:下载纯数据excel
|
|
|
+
|
|
|
2. 通过fileUpload.html上传文件
|
|
|
- http://localhost:8080/report/fileUpload
|
|
|
+ http://localhost:8080/report/fileUpload?userName=tmp
|