Commit 7099915c authored by custom's avatar custom

Updates 框架功能描述/jad.md

Auto commit by GitBook Editor
parent 1813efc3
......@@ -28,7 +28,7 @@
本系统支持Excel文件导出排队处理,支持超大数据量,能实时查询文件生成情况,支持取消导出。
#### 前端使用方法
调用js方法
* 方法一(针对grid)
```javascript
Hel.exportExcel=function(opts){
var contextPath =opts.contextPath,
......@@ -53,6 +53,31 @@
| dataSourceId | 数据源id |
| _csrf_token | 防跨域的token |
* 方式二(针对hlsPage)
```javascript
Hel.exportPageExcel({
contextPath:basePath,
param:{},
controller:"/acr/inf/index/excel/export",
fileName:"产品线", pageConfig:[
{"name":"documentNumber","title":"单据编 号","width":260,"align":"","type":"string"},
{"name":"invoiceDate","title":"开票日期","align":"","type":"string"},
{"name":"invoiceKindDesc","title":"发票种类","width":160,"align":"center","type":"boolean"},
{"name":"bpName","title":"购货单位"},
]
});
```
| 参数名 | 描述 |
| --- | --- |
| contextPath | 项目上的url |
| param| 配合controller添加查询条件 |
| controller | 对应查询url |
| fileName | 文件名 |
| | 文件名 |
#### 后端使用方法
1. 在代码中注入Excel导出Service
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment