Skip to main content

干部任免审批表示例

在报表中您可以添加各种组件来设置模板,本节以干部任免审批表为例带您快速了解创建分页报表的流程。

05-01

1. 数据准备

新增数据源并添加到数据集。

1.1 数据源配置

数据源属性属性值
数据名干部任免审批表
Web API地址https://result.eolink.com/jLwe6LL471d5112ef61d6b2ebe579a5190be3ee81164537?uri=/Application-form-for-the-appointment-and-removal-of-cadres
请求方法GET
JSON路径$.data[*]

JSON数据:

{
"success": true,
"code": 200,
"message": "successful",
"data": [{
"id": 1,
"Name": "耿浩",
"Sex": "男",
"Birthday": "1970-01-01",
"Nation": "汉族",
"Native place": "陕西",
"Birthplace": "西安",
"Date of join the party": "1992-07-01",
"Work time ": "1993-01-01",
"Health": "身体健康",
"Full-time schooling": "背景Xx大学",
"In-service education": "Xx大学",
"Graduate school and professional-main": "航空自动化",
"Graduate school and professional-minor": "MBA课程",
"Current position": "副总经理",
"Designated position": "总经理",
"To free post": "",
"Resume": "1、2011/01/01-2016/05/01 任集团副总经理;2、2001/05/04-2011/12/31 任集团生产部主任;3、1993/01/10-2001/05/03 任集团生产一车间员工;4、1988/09/01-1992/07/01 就读于北京科技大学",
"Rewards": "1、2012/12/31 全国创新管理实践者;2、2009/05/01 五一劳动奖章;3、2005/05/04 市级优秀青年;4、2000/05/01 任集团生产能手",
"Year appraisals as a result,": "优秀",
"Appointment and removal reasons": "",
"Reporting unit": "\r\n\r\n\r\n 盖 章\r\n 年 月 日 ",
"Examination and approval gimmicks opinions": "\r\n\r\n\r\n 盖 章\r\n 年 月 日 ",
"Administration native place appointment and removal opinions": "\r\n\r\n\r\n 盖 章\r\n 年 月 日 "
}]
}

注意:数值型数据不要添加双引号。

1.2 数据集字段

05-02

05-03

05-04

2. 创建分页报表

2.1 创建分页报表

05-05

05-06

2.2 数据绑定

05-07

2.3 设置矩表

05-08

2.4 设置图片

05-09

05-10

05-11

2.5 设置文本字段

05-12

3. 导出Word文档

05-13

05-14

注意:使用WPS预览导出的Word模板会出现布局上的问题,如果使用Office预览则正常。