CN116956847A - Report management method and device - Google Patents
Report management method and device Download PDFInfo
- Publication number
- CN116956847A CN116956847A CN202310920563.1A CN202310920563A CN116956847A CN 116956847 A CN116956847 A CN 116956847A CN 202310920563 A CN202310920563 A CN 202310920563A CN 116956847 A CN116956847 A CN 116956847A
- Authority
- CN
- China
- Prior art keywords
- report
- user
- area
- style
- response
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000007726 management method Methods 0.000 title claims abstract description 50
- 230000004044 response Effects 0.000 claims abstract description 61
- 238000000034 method Methods 0.000 claims abstract description 30
- 238000010586 diagram Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 3
- 230000005611 electricity Effects 0.000 description 2
- 235000013305 food Nutrition 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 239000004615 ingredient Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 235000014594 pastries Nutrition 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
- G06F40/18—Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请提供一种报表管理方法和装置,该方法包括:响应于用户输入的报表创建请求,向用户显示报表编辑页面;响应于用户输入的报表元素拖动请求,将报表元素区域中的报表元素拖动到报表编辑区域;响应于用户输入的报表元素配置请求,在报表元素配置区域配置报表元素的属性信息,生成目标报表。本申请实现了用户可根据自己的需求在报表编辑页面通过拖拽报表元素对报表进行编辑,不需要开发人员根据用户需求专门开发一个能满足需要的特定报表模板,便于用户操作,提高了工作效率以及提高了用户体验。
This application provides a report management method and device. The method includes: in response to a report creation request input by the user, displaying a report editing page to the user; in response to a report element drag request input by the user, moving the report elements in the report element area Drag to the report editing area; in response to the report element configuration request input by the user, configure the attribute information of the report element in the report element configuration area to generate the target report. This application enables users to edit reports by dragging report elements on the report editing page according to their own needs. It does not require developers to specially develop a specific report template that can meet user needs, which facilitates user operations and improves work efficiency. As well as improving user experience.
Description
技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种报表管理方法和装置。The present application relates to the field of computer technology, and in particular to a report management method and device.
背景技术Background technique
随着国家政策与互联网信息技术持续推进,校园信息化建设程度越来越高,校园餐饮管理的信息化程度也越来越高。其中,通过餐饮管理系统对学校餐饮进行管理和服务,在餐饮管理系统中,可以通过生成报表对采购需求、收支计算等数据进行统计呈现。With the continuous advancement of national policies and Internet information technology, the degree of campus informatization is getting higher and higher, and the degree of informatization of campus catering management is also getting higher and higher. Among them, school catering is managed and served through the catering management system. In the catering management system, reports can be generated to statistically present data such as procurement requirements, revenue and expenditure calculations, etc.
其中,报表的生成一般都是由前端开发人员根据报表的具体生成需求编写代码,由于校园中的餐饮管理系统的用户包括各档口商家、多家供应商等,对报表的需求不同,需要开发人员根据不同的需求分别开发能满足需要的报表模板,并且,当需求变动时,开发人员就再开发报表模板,不仅对开发人员的专业能力要求较高,也使得报表的更新维护较为困难且周期较长,从而导致报表创建效率低,降低校园餐饮管理系统的用户体验。Among them, report generation is generally done by front-end developers writing code according to the specific report generation needs. Since the users of the campus catering management system include stall merchants, multiple suppliers, etc., they have different needs for reports and need to be developed. According to different needs, developers develop report templates that can meet the needs, and when the needs change, developers will develop report templates again. This not only requires higher professional capabilities of developers, but also makes the update and maintenance of reports more difficult and periodic. It is long, resulting in low report creation efficiency and reducing the user experience of the campus catering management system.
发明内容Contents of the invention
本发明提供一种报表管理方法和装置,用以解决报表创建效率低,用户体验差的技术问题。The present invention provides a report management method and device to solve the technical problems of low report creation efficiency and poor user experience.
第一方面,本申请提供一种报表管理方法,包括:In the first aspect, this application provides a report management method, including:
响应于用户输入的报表创建请求,向所述用户显示报表编辑页面,所述报表编辑页面包括:报表元素区域、报表编辑区域、报表元素配置区域,所述报表元素区域中显示有用于组成报表的报表元素;In response to a report creation request input by the user, a report editing page is displayed to the user. The report editing page includes: a report element area, a report editing area, and a report element configuration area. The report element area displays elements used to compose the report. report elements;
响应于所述用户输入的报表元素拖动请求,将所述报表元素区域中的报表元素拖动到所述报表编辑区域;In response to the report element drag request input by the user, drag the report element in the report element area to the report editing area;
响应于所述用户输入的报表元素配置请求,在所述报表元素配置区域配置所述报表元素的属性信息,生成目标报表,所述报表元素配置区域包括以下至少一项属性信息的配置:数据源、品类名称、尺寸、颜色。In response to the report element configuration request input by the user, configure the attribute information of the report element in the report element configuration area to generate a target report, and the report element configuration area includes the configuration of at least one of the following attribute information: data source , category name, size, color.
可选的,所述响应于用户输入的报表创建请求,向所述用户显示报表编辑页面,包括:Optionally, in response to a report creation request input by the user, displaying a report editing page to the user includes:
接收所述目标报表的报表创建请求,根据所述报表创建请求显示报表风格选择页面,所述报表风格包括:第一报表风格、第二报表风格和第三报表风格;Receive a report creation request of the target report, and display a report style selection page according to the report creation request. The report style includes: a first report style, a second report style and a third report style;
响应于所述用户输入的报表风格选择请求,向所述用户显示与报表风格对应的所述报表编辑页面。In response to the report style selection request input by the user, the report editing page corresponding to the report style is displayed to the user.
可选的,所述报表风格选择请求用于请求创建第一报表风格的风格时,所述报表元素包括:文本框;Optionally, when the report style selection request is used to request the creation of a first report style, the report elements include: a text box;
所述报表风格选择请求用于请求创建第二报表风格的风格时,所述报表元素包括:文本框和表格;When the report style selection request is used to request the creation of a second report style, the report elements include: text boxes and tables;
所述报表风格选择请求用于请求创建第三报表风格的风格时,所述报表元素包括:文本框、图表和表格。When the report style selection request is used to request the creation of a third report style, the report elements include: text boxes, charts, and tables.
可选的,所述报表元素还包括以下至少一项:图形、图片、线条和数据集;Optionally, the report elements also include at least one of the following: graphics, pictures, lines and data sets;
其中,所述数据集为由多个品类名称组成的下拉列表,所述数据集中的品类名称已预先配置数据源;Wherein, the data set is a drop-down list composed of multiple category names, and the category names in the data set have pre-configured data sources;
其中,所述报表元素拖动请求用于指示将所述数据集中的品类名称拖到所述报表编辑区域时,所述响应于所述用户输入的报表元素拖动请求,将所述报表元素区域中的报表元素拖动到所述报表编辑区域之前,还包括:Wherein, the report element drag request is used to instruct the category name in the data set to be dragged to the report editing area, and in response to the report element drag request input by the user, the report element area is Before dragging the report elements into the report editing area, also include:
响应于所述用户输入的数据集下拉请求,在所述报表编辑页面显示由多个品类名称组成的列表;In response to the data set drop-down request input by the user, display a list consisting of multiple category names on the report editing page;
所述响应于所述用户输入的报表元素拖动请求,将所述报表元素区域中的报表元素拖动到所述报表编辑区域之后,还包括:After dragging the report element in the report element area to the report editing area in response to the report element drag request input by the user, the method further includes:
向用户显示与所述品类名称对应的单元格,所述单元格中显示所述品类名称的数值。A cell corresponding to the category name is displayed to the user, and a numerical value of the category name is displayed in the cell.
可选的,所述属性信息为数据源时,所述响应于所述用户输入的报表元素配置请求,在所述报表元素配置区域配置所述报表元素的属性信息,包括:Optionally, when the attribute information is a data source, configuring the attribute information of the report element in the report element configuration area in response to the report element configuration request input by the user includes:
响应于所述用户输入的报表元素配置请求,获取所述用户的数据源调用权限;In response to the report element configuration request input by the user, obtain the data source calling permission of the user;
根据所述用户的数据源调用权限,在所述报表元素配置区域配置所述报表元素的数据源。According to the user's data source calling authority, the data source of the report element is configured in the report element configuration area.
可选的,所述生成所述目标报表之后,还包括:Optionally, after generating the target report, the following steps are also included:
响应于所述用户输入的报表更新请求,向所述用户显示所述报表编辑页面,所述报表编辑页面还包括:所述目标报表。In response to the report update request input by the user, the report editing page is displayed to the user, and the report editing page further includes: the target report.
可选的,所述生成所述目标报表之后,还包括:Optionally, after generating the target report, the following steps are also included:
响应于所述用户输入的报表查看请求,显示所述目标报表。The target report is displayed in response to the report viewing request input by the user.
第二方面,本申请提供一种报表管理装置,包括:In a second aspect, this application provides a report management device, including:
创建模块,用于响应于用户输入的报表创建请求,向所述用户显示报表编辑页面,所述报表编辑页面包括:报表元素区域、报表编辑区域、报表元素配置区域,所述报表元素区域中显示有用于组成报表的报表元素;A creation module, configured to display a report editing page to the user in response to a report creation request input by the user. The report editing page includes: a report element area, a report editing area, and a report element configuration area. Displayed in the report element area is There are report elements used to compose the report;
拖动模块,用于响应于所述用户输入的报表元素拖动请求,将所述报表元素区域中的报表元素拖动到所述报表编辑区域;A drag module, configured to drag report elements in the report element area to the report editing area in response to the report element drag request input by the user;
配置模块,用于响应于所述用户输入的报表元素配置请求,在所述报表元素配置区域配置所述报表元素的属性信息,生成目标报表,所述报表元素配置区域包括以下至少一项属性信息的配置:数据源、品类名称、尺寸、颜色。A configuration module configured to respond to the report element configuration request input by the user, configure the attribute information of the report element in the report element configuration area, and generate a target report, where the report element configuration area includes at least one of the following attribute information Configuration: data source, category name, size, color.
可选的,所述报表管理装置,还包括显示模块;Optionally, the report management device also includes a display module;
创建模块在响应于用户输入的报表创建请求,向所述用户显示报表编辑页面时,还用于:接收所述目标报表的报表创建请求,根据所述报表创建请求显示报表风格选择页面,所述报表风格包括:第一报表风格、第二报表风格和第三报表风格;When the creation module displays the report editing page to the user in response to the report creation request input by the user, it is also used to: receive the report creation request of the target report, and display the report style selection page according to the report creation request, the Report styles include: first report style, second report style and third report style;
显示模块,用于响应于所述用户输入的报表风格选择请求,向所述用户显示与报表风格对应的所述报表编辑页面。A display module configured to display the report editing page corresponding to the report style to the user in response to the report style selection request input by the user.
可选的,所述报表风格选择请求用于请求创建第一报表风格的风格时,所述报表元素包括:文本框;Optionally, when the report style selection request is used to request the creation of a first report style, the report elements include: a text box;
所述报表风格选择请求用于请求创建第二报表风格的风格时,所述报表元素包括:文本框和表格;When the report style selection request is used to request the creation of a second report style, the report elements include: text boxes and tables;
所述报表风格选择请求用于请求创建第三报表风格的风格时,所述报表元素包括:文本框、图表和表格。When the report style selection request is used to request the creation of a third report style, the report elements include: text boxes, charts, and tables.
可选的,所述报表元素还包括以下至少一项:图形、图片、线条和数据集;Optionally, the report elements also include at least one of the following: graphics, pictures, lines and data sets;
其中,所述数据集为由多个品类名称组成的下拉列表,所述数据集中的品类名称已预先配置数据源;Wherein, the data set is a drop-down list composed of multiple category names, and the category names in the data set have pre-configured data sources;
在所述报表元素拖动请求用于指示将所述数据集中的品类名称拖到所述报表编辑区域时,所述拖动模块响应于所述用户输入的报表元素拖动请求,将所述报表元素区域中的报表元素拖动到所述报表编辑区域之前,还用于:When the report element drag request is used to instruct the category name in the data set to be dragged to the report editing area, the drag module responds to the report element drag request input by the user, and drags the report element into the report editing area. Before dragging the report elements in the element area to the report editing area, it is also used to:
响应于所述用户输入的数据集下拉请求,在所述报表创建页面显示由多个品类名称组成的列表;In response to the data set drop-down request input by the user, display a list consisting of multiple category names on the report creation page;
显示模块在所述拖动模块响应于所述用户输入的报表元素拖动请求,将所述报表元素区域中的报表元素拖动到所述报表编辑区域之后,还用于:After the drag module drags the report element in the report element area to the report editing area in response to the report element drag request input by the user, the display module is also used to:
向用户显示与所述品类名称对应的单元格,所述单元格中显示所述品类名称的数值。A cell corresponding to the category name is displayed to the user, and a numerical value of the category name is displayed in the cell.
可选的,属性信息为数据源时,所述配置模块响应于所述用户输入的报表元素配置请求,在所述报表元素配置区域配置所述报表元素的属性信息时,具体用于:Optionally, when the attribute information is a data source, the configuration module responds to the report element configuration request input by the user and configures the attribute information of the report element in the report element configuration area, specifically for:
响应于所述用户输入的报表元素配置请求,获取所述用户的数据源调用权限;In response to the report element configuration request input by the user, obtain the data source calling permission of the user;
根据所述用户的数据源调用权限,在所述报表元素配置区域配置所述报表元素的数据源。According to the user's data source calling authority, the data source of the report element is configured in the report element configuration area.
可选的,显示模块在所述配置模块生成所述目标报表之后,还用于:响应于所述用户输入的报表更新请求,向所述用户显示所述报表编辑页面,所述报表编辑页面还包括:所述目标报表。Optionally, after the configuration module generates the target report, the display module is also configured to: in response to the report update request input by the user, display the report editing page to the user, and the report editing page is also Includes: the target report.
可选的,显示模块在所述生成所述目标报表之后,还用于:Optionally, after generating the target report, the display module is also used to:
响应于所述用户输入的报表查看请求,显示所述目标报表。The target report is displayed in response to the report viewing request input by the user.
第三方面,本申请提供一种电子设备,包括:处理器和存储器;In a third aspect, this application provides an electronic device, including: a processor and a memory;
所述存储器存储计算机执行指令;The memory stores computer execution instructions;
所述处理器执行所述存储器存储的计算机执行指令,使得所述处理器执行如第一方面任一项所述的方法。The processor executes computer execution instructions stored in the memory, so that the processor executes the method according to any one of the first aspects.
第四方面,本申请提供一种可读存储介质,所述可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如第一方面任一项所述的方法。In a fourth aspect, the present application provides a readable storage medium in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the method as described in any one of the first aspects is implemented. .
第五方面,本申请提供一种程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如第一方面中任一项所述的方法。In a fifth aspect, the present application provides a program product, including a computer program, which implements the method according to any one of the first aspects when executed by a processor.
本申请提供一种报表管理方法和装置,通过响应于用户输入的报表创建请求,向用户显示报表编辑页面;响应于用户输入的报表元素拖动请求,将报表元素区域中的报表元素拖动到报表编辑区域;响应于用户输入的报表元素配置请求,在报表元素配置区域配置报表元素的属性信息,生成目标报表。本申请实现了用户可根据自己的需求在报表编辑页面通过拖拽报表元素对报表进行编辑,不需要开发人员根据用户需求专门开发一个能满足需要的特定报表模板,便于用户操作,提高了工作效率以及提高了用户体验。This application provides a report management method and device. By responding to a report creation request input by the user, a report editing page is displayed to the user; in response to a report element drag request input by the user, the report element in the report element area is dragged to Report editing area; in response to the report element configuration request input by the user, configure the attribute information of the report element in the report element configuration area to generate the target report. This application enables users to edit reports by dragging and dropping report elements on the report editing page according to their own needs. It does not require developers to specially develop a specific report template that can meet the needs of users, which facilitates user operations and improves work efficiency. As well as improving user experience.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.
图1为本申请一实施例提供的报表管理方法的流程图;Figure 1 is a flow chart of a report management method provided by an embodiment of the present application;
图2为本申请一实施例提供的报表风格的创建页面的界面图;Figure 2 is an interface diagram of a report-style creation page provided by an embodiment of the present application;
图3为本申请一实施例提供的第一报表风格的报表编辑页面的界面图;Figure 3 is an interface diagram of the report editing page of the first report style provided by an embodiment of the present application;
图4为本申请一实施例提供的第二报表风格的报表编辑页面的界面图;Figure 4 is an interface diagram of the report editing page of the second report style provided by an embodiment of the present application;
图5为本申请一实施例提供的第三报表风格的报表编辑页面的界面图;Figure 5 is an interface diagram of the report editing page of the third report style provided by an embodiment of the present application;
图6为本申请一实施例提供的数据集图标下拉列表页面的界面图;Figure 6 is an interface diagram of a data set icon drop-down list page provided by an embodiment of the present application;
图7为本申请一实施例提供的报表管理装置的结构示意图;Figure 7 is a schematic structural diagram of a report management device provided by an embodiment of the present application;
图8为本申请一实施例提供的电子设备的结构示意图。FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,也属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application are clearly and completely described below. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Example. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts also fall within the scope of protection of this application.
现有技术中,传统报表系统通常由开发人员开发与维护,当用户需要对报表进行更新或创建新报表时,用户需要与开发人员沟通,以便于重新开发一个能满足需要的特定报表系统或报表模板,而在日常工作中,报表更新频率较高,创建新报表频率较高,面对用户需求的变动或信息系统的变更,使得报表的更新维护较为困难且周期较长,从而导致工作效率低。In the existing technology, traditional report systems are usually developed and maintained by developers. When users need to update a report or create a new report, the user needs to communicate with the developer in order to re-develop a specific report system or report that can meet the needs. Templates, and in daily work, reports are updated more frequently and new reports are created more frequently. In the face of changes in user needs or changes in information systems, the update and maintenance of reports is more difficult and the cycle is longer, resulting in low work efficiency. .
为解决上述技术问题,本申请提供一种报表管理方法和装置,通过采用简单直观的网页交互模式,使用户根据所需在网页上通过简单点击或拖动操作,进行报表的创建或编辑,提高了报表编辑效率和用户体验。In order to solve the above technical problems, this application provides a report management method and device, which uses a simple and intuitive web page interaction mode to enable users to create or edit reports through simple click or drag operations on the web page according to their needs, thereby improving Improve report editing efficiency and user experience.
图1为本申请一实施例提供的报表管理方法的流程图。本方法中执行主体可以为服务器,如图1所示,本实施例提供的方法包括:Figure 1 is a flow chart of a report management method provided by an embodiment of the present application. The execution subject in this method can be a server, as shown in Figure 1. The method provided by this embodiment includes:
S101、响应于用户输入的报表创建请求,向用户显示报表编辑页面。S101. In response to the report creation request input by the user, display the report editing page to the user.
其中,报表编辑页面包括:报表元素区域、报表编辑区域、报表元素配置区域,报表元素区域中显示有用于组成报表的报表元素。The report editing page includes: a report element area, a report editing area, and a report element configuration area. The report elements used to compose the report are displayed in the report element area.
具体的,本实施例中报表管理方法应用于餐饮管理系统中,餐饮管理系统是大型餐饮机构例如学校食堂管理其食材、现金流、刷卡机等的网络系统,用户使用餐饮管理系统时,需要对日常的流水记录或汇总,常用报表设计来实现记录或汇总,当用户进入餐饮管理系统,用户可点击界面上的“新增报表”对应的图标或选中列表中已有的报表,其中,服务器接收到用户的点击操作,即服务器接收到报表创建请求,并响应用户输入的报表创建请求在网页上向用户显示如图3所示的报表编辑页面。Specifically, the report management method in this embodiment is applied to the catering management system. The catering management system is a network system for large catering institutions such as school cafeterias to manage their ingredients, cash flow, credit card machines, etc. When users use the catering management system, they need to Daily flow records or summaries are commonly used in report designs. When the user enters the catering management system, the user can click the icon corresponding to "New Report" on the interface or select an existing report in the list. The server receives Upon the user's click operation, that is, the server receives the report creation request and responds to the report creation request input by the user to display the report editing page as shown in Figure 3 to the user on the web page.
如图3所示,报表编辑页面上包括:报表元素区域、报表编辑区域、报表元素配置区域,其中,报表编辑区域位于界面中心,用于编辑报表;报表元素区域位于报表编辑区域左侧,报表元素区域中含有报表元素的图标,其中,报表元素是组成报表的元素,例如可以是文本框,文本框在报表编辑区域可以形成单元格,从而组成表格,获得报表;报表元素配置区域位于报表编辑区域右侧,其中,在未选中报表元素时,报表元素配置区域为不可使用状态,选中报表元素时,报表元素配置区域为可使用状态。As shown in Figure 3, the report editing page includes: report element area, report editing area, and report element configuration area. The report editing area is located in the center of the interface and is used for editing reports; the report element area is located on the left side of the report editing area. The element area contains icons of report elements. The report element is the element that makes up the report. For example, it can be a text box. The text box can form a cell in the report editing area to form a table and obtain the report. The report element configuration area is located in the report editing area. On the right side of the area, when the report element is not selected, the report element configuration area is in the unusable state, and when the report element is selected, the report element configuration area is in the usable state.
S102、响应于用户输入的报表元素拖动请求,将报表元素区域中的报表元素拖动到报表编辑区域。S102. In response to the report element drag request input by the user, drag the report element in the report element area to the report editing area.
具体的,用户可点击界面上文本框的图标,将文本框拖动到报表编辑区域,其中,服务器响应用户拖动操作即成功发出报表元素拖动请求,如图3所示,报表编辑区域中新增文本框,其中,默认以单元格的形式显示。因此,报表中的表格通过多次将文本框的图标拖动到报表编辑区域的界面形成。Specifically, the user can click the icon of the text box on the interface and drag the text box to the report editing area. The server responds to the user's drag operation and successfully issues a drag request for the report element. As shown in Figure 3, in the report editing area A new text box is added, which is displayed in the form of cells by default. Therefore, the table in the report is formed by dragging the icon of the text box to the report editing area multiple times.
其中,可选的,在拖动文本框的图标拖动到报表编辑区域时,可以直接将报表编辑区域中新增的单元格通过鼠标拖动到其在表格中对应的位置处。Among them, optionally, when dragging the icon of the text box to the report editing area, you can directly drag the newly added cells in the report editing area to its corresponding position in the table with the mouse.
S103、响应于用户输入的报表元素配置请求,在报表元素配置区域配置报表元素的属性信息,生成目标报表。S103. In response to the report element configuration request input by the user, configure the attribute information of the report element in the report element configuration area to generate the target report.
其中,报表元素配置区域包括以下至少一项属性信息的配置:数据源、品类名称、尺寸、颜色。The report element configuration area includes the configuration of at least one of the following attribute information: data source, category name, size, and color.
具体的,用户点击报表编辑区域的单元格,选中单元格后,服务器接收到用户的点击操作,即接收到用户输入的报表元素配置请求,响应用户报表元素配置请求,将报表元素配置区域显示为可使用状态,以对单元格的属性信息进行配置,从而通过对报表编辑区域中的报表元素进行属性信息的配置,获得目标报表。Specifically, the user clicks on a cell in the report editing area. After selecting the cell, the server receives the user's click operation, that is, receives the report element configuration request input by the user, responds to the user's report element configuration request, and displays the report element configuration area as The status can be used to configure the attribute information of the cell, so as to obtain the target report by configuring the attribute information of the report elements in the report editing area.
属性信息可以包括:数据源、品类名称、尺寸、颜色等,其中,数据源为当前选中单元格内数据的接口地址,通过接口地址调用数据库存储的报表数据;品类名称为当前选中单元格内数据所代表的名称,例如有副食、西点、水果、水电气、补贴等;尺寸为当前选中单元格的长和宽,可输入数值自定义单元格尺寸;颜色为当前选中单元格的边框颜色或字体颜色。Attribute information can include: data source, category name, size, color, etc., where the data source is the interface address of the data in the currently selected cell, and the report data stored in the database is called through the interface address; the category name is the data in the currently selected cell. The name represented, for example, non-staple food, pastry, fruit, water, electricity, subsidies, etc.; the size is the length and width of the currently selected cell, and you can enter a numerical value to customize the cell size; the color is the border color or font of the currently selected cell color.
可选的,属性信息还包括:报表基本信息,例如有报表名称,所属模块等。报表名称为当前编辑的报表的名称,可通过输入自定义的报表名称;所属模块为当前报表在该餐饮管理系统中属于哪一模块,例如需求计划、供应管理、库存管理、供应商平台等,根据所属模块可清晰划分报表针对的用户。Optionally, the attribute information also includes: basic report information, such as report name, module to which it belongs, etc. The report name is the name of the currently edited report. You can enter a customized report name; the module it belongs to is which module the current report belongs to in the catering management system, such as demand planning, supply management, inventory management, supplier platform, etc. The users targeted by the report can be clearly divided according to the modules to which they belong.
本申请实施例提供的报表管理方法,响应于用户输入的报表创建请求,向用户显示报表编辑页面;响应于用户输入的报表元素拖动请求,将报表元素区域中的报表元素拖动到报表编辑区域;响应于用户输入的报表元素配置请求,在报表元素配置区域配置报表元素的属性信息,生成目标报表。实现了用户可根据自己的需求在报表编辑页面通过拖拽报表元素对报表进行编辑,不需要开发人员根据用户需求专门开发报表模板,便于用户操作,提高了报表管理效率以及提高了用户体验。The report management method provided by the embodiment of the present application displays the report editing page to the user in response to the report creation request input by the user; and drags the report element in the report element area to the report editor in response to the report element drag request input by the user. area; in response to the report element configuration request input by the user, configure the attribute information of the report element in the report element configuration area to generate the target report. It enables users to edit reports by dragging report elements on the report editing page according to their own needs. Developers do not need to specially develop report templates according to user needs, which facilitates user operation, improves report management efficiency and improves user experience.
可选的,S101的一种具体的实现方式为:Optional, a specific implementation method of S101 is:
S1011、接收目标报表的报表创建请求,根据报表创建请求显示报表风格选择页面,报表风格包括:第一报表风格、第二报表风格和第三报表风格。S1011. Receive a report creation request for the target report, and display a report style selection page according to the report creation request. The report styles include: a first report style, a second report style, and a third report style.
具体的,本实施例提供不同报表风格的报表创建功能,其中,报表风格包括第一报表风格、第二报表风格和第三报表风格,用户输入报表创建请求后,服务器响应用户输入的报表创建请求,向用户显示报表风格选择页面。Specifically, this embodiment provides report creation functions of different report styles, where the report styles include a first report style, a second report style and a third report style. After the user inputs a report creation request, the server responds to the report creation request input by the user. , display the report style selection page to the user.
其中,如图2所示,报表风格选择页面在用户界面显示时,第一报表风格显示为报表风格,第二报表风格显示为组合报表,第三报表风格显示为自由风格,以便用户在创建报表时,通过直观的名称准确选择所需的功能。Among them, as shown in Figure 2, when the report style selection page is displayed on the user interface, the first report style is displayed as report style, the second report style is displayed as combined report, and the third report style is displayed as free style, so that users can create reports , select exactly the function you need with its intuitive name.
S1012、响应于用户输入的报表风格选择请求,向用户显示与报表风格对应的报表编辑页面。S1012. In response to the report style selection request input by the user, display a report editing page corresponding to the report style to the user.
报表风格对应的报表编辑页面在用户界面显示时,第一报表风格、第二报表风格和第三报表风格之间,在报表编辑页面存在差异。When the report editing page corresponding to the report style is displayed on the user interface, there are differences in the report editing page between the first report style, the second report style and the third report style.
具体的,用户根据需求创建报表时,在如图2所示的报表风格选择页面,用户点击页面上对应的报表风格图标,服务器接收到用户对页面上报表风格图标的点击操作,即接收用户输入的报表创建请求,响应于报表创建请求,在网页上显示与用户所选的报表风格对应的报表编辑页面。Specifically, when the user creates a report according to their needs, on the report style selection page shown in Figure 2, the user clicks the corresponding report style icon on the page, and the server receives the user's click operation on the report style icon on the page, that is, it receives user input. A report creation request is made, and in response to the report creation request, a report editing page corresponding to the report style selected by the user is displayed on the web page.
其中,第一报表风格对应的编辑页面如图3所示:Among them, the editing page corresponding to the first report style is shown in Figure 3:
第一报表风格,支持表头编辑表尾编辑。The first report style supports header editing and footer editing.
如图3所示,第一报表风格对应的报表编辑页面中,报表编辑区域包括:头部区域、明细区域和尾部区域三部分,在编辑报表时,分别对表头、明细和表尾在对应的编辑区域进行编辑,最后获得完整的报表。As shown in Figure 3, in the report editing page corresponding to the first report style, the report editing area includes: header area, detail area and tail area. When editing the report, the header, details and footer are correspondingly Edit in the editing area and finally obtain a complete report.
可选的,报表风格选择请求用于请求创建第一报表风格的风格时,报表元素包括:文本框。Optionally, when the report style selection request is used to request the creation of the first report style, the report elements include: text boxes.
具体的,用户在报表风格的选择页面点击第一报表风格即成功发送创建请求,用户可在第一报表风格的报表元素区域中选中文本框元素,并拖动文本框元素到报表编辑区域,该文本框元素在报表编辑区域默认以单元格的形式存在,用户选中文本框元素可在页面右侧的报表元素配置区域编辑文本框元素的文本内容、字体、字号、边框颜色、边框粗细等,用户可通过对文本框元素的组合排列实现报表的添加。Specifically, the user clicks the first report style on the report style selection page to successfully send the creation request. The user can select the text box element in the report element area of the first report style and drag the text box element to the report editing area. Text box elements exist in the form of cells by default in the report editing area. When users select the text box element, they can edit the text content, font, font size, border color, border thickness, etc. of the text box element in the report element configuration area on the right side of the page. Users Reports can be added by combining and arranging text box elements.
第二报表风格对应的报表编辑页面如图4所示:The report editing page corresponding to the second report style is shown in Figure 4:
第二报表风格,在第一报表风格的基础上,可以引用其他报表,引用的报表可以是第一报表风格、第二报表风格或第三报表风格,所引用的报表根据配置的数据源自动完成填报,可以对引用的报表中某个单元格进行数据源的配置或者选择整个引用的报表进行数据源配置。The second report style, based on the first report style, can reference other reports. The referenced report can be the first report style, the second report style or the third report style. The referenced report is automatically completed according to the configured data source. After filling in the report, you can configure the data source for a certain cell in the referenced report or select the entire referenced report for data source configuration.
可选的,报表风格选择请求用于请求创建第二报表风格的风格时,报表元素包括:文本框和表格。Optionally, when the report style selection request is used to request the creation of a second report style, the report elements include: text boxes and tables.
具体的,用户在报表风格的选择页面点击第二报表风格即成功发送创建请求,第二报表风格的文本框元素同第一报表风格的文本框元素。Specifically, when the user clicks on the second report style on the report style selection page, the creation request is successfully sent. The text box elements of the second report style are the same as the text box elements of the first report style.
对于第二报表风格的表格元素,用户可在第二报表风格的报表元素区域中选中表格元素,并拖动表格元素到报表编辑区域,该表格元素在报表编辑区域默认以4×3的表格形式存在,用户选中表格后,在报表元素配置区域配置表格中每个单元格的属性信息,用户需要对表格的行列数添加时,需要通过拖动文本框来实现,实现表格内套表格的需求。For the table element of the second report style, the user can select the table element in the report element area of the second report style and drag the table element to the report editing area. The table element defaults to a 4×3 table in the report editing area. Yes, after the user selects the table, he configures the attribute information of each cell in the table in the report element configuration area. When the user needs to add the number of rows and columns of the table, he needs to drag the text box to achieve the need for a table within a table.
第三报表风格对应的报表编辑页面如图5所示:The report editing page corresponding to the third report style is shown in Figure 5:
第三报表风格,在第二报表风格的基础上,还可以插入图表,图表为统计图,表格与统计图根据设置的数据源自动完成填报,编辑表格时可选择整个表的数据源或对单元格分别选择数据源。The third report style, based on the second report style, can also insert charts. The charts are statistical charts. The tables and statistical charts are automatically filled in according to the set data source. When editing the form, you can select the data source of the entire table or the unit. Select the data source respectively.
可选的,报表风格选择请求用于请求创建第三报表风格的风格时,报表元素包括:文本框、图表和表格。Optionally, when the report style selection request is used to request the creation of a third report style, the report elements include: text boxes, charts, and tables.
具体的,用户在报表风格的选择页面点击第三报表风格即成功发送创建请求,第三报表风格的文本框元素和表格元素同第二报表风格的文本框元素和表格元素。Specifically, the user clicks on the third report style on the report style selection page and successfully sends the creation request. The text box elements and table elements of the third report style are the same as the text box elements and table elements of the second report style.
对于第三报表风格的图表元素,用户可在第三报表风格的报表元素区域中选中图表元素,并拖动图表元素到报表编辑区域,该图表元素在报表编辑区域默认以饼状图的形式存在,用户选中饼状图,在报表元素配置区域配置饼状图的数据绑定、参数配置、尺寸位置、边框粗细等,用户可通过对图表元素的数据源的配置,实现统计图形的自行生成,直观反应对应品类名称的数值大小及所占比例,可选的,图表还可以是柱状图、折线图等。For the chart elements of the third report style, the user can select the chart element in the report element area of the third report style and drag the chart element to the report editing area. The chart element exists in the form of a pie chart by default in the report editing area. , the user selects the pie chart and configures the data binding, parameter configuration, size position, border thickness, etc. of the pie chart in the report element configuration area. The user can realize the self-generation of statistical graphics by configuring the data source of the chart element. Intuitively reflect the numerical size and proportion of the corresponding category name. Optionally, the chart can also be a bar chart, a line chart, etc.
综上所述,本申请实施例提供的报表管理方法,针对用户需求,提供多种报表风格,并且通过设置文本框、图表和表格等报表元素,丰富了报表元素多样性,实现拖拽操作进行报表管理,用户操作更简洁直观,提高了用户体验。In summary, the report management method provided by the embodiment of the present application provides a variety of report styles according to user needs, and enriches the diversity of report elements by setting report elements such as text boxes, charts, and tables, and enables drag and drop operations. Report management makes user operations more concise and intuitive, improving user experience.
可选的,如图3-图5所示,报表元素还包括以下至少一项:图形、图片、线条和数据集。Optionally, as shown in Figures 3-5, the report elements also include at least one of the following: graphics, pictures, lines, and data sets.
具体的,用户可在任一报表风格的报表元素区域中选中图形元素图标,图形元素主要为矩形、三角形、多边形等常见形状,提供常见图形主要使用户编辑报表时可直接拖动使用,无需通过线条重复绘制,从而提高报表编辑的简易性。具体的,拖动图形元素图标到报表编辑区域,该图形元素在报表编辑区域默认以矩形框的形式存在,用户选中图形元素,可在页面右侧的报表元素配置区域编辑图形元素的形状等,可通过对图形元素的添加,增加报表的丰富程度。Specifically, users can select graphic element icons in the report element area of any report style. Graphic elements are mainly common shapes such as rectangles, triangles, polygons, etc. Common graphics are provided so that users can directly drag and use them when editing reports, without using lines. Repeat drawing to improve the ease of report editing. Specifically, drag the graphic element icon to the report editing area. The graphic element exists in the form of a rectangular box by default in the report editing area. The user selects the graphic element and can edit the shape of the graphic element, etc. in the report element configuration area on the right side of the page. The richness of the report can be increased by adding graphic elements.
用户可在任一报表风格的报表元素区域中选中图片元素图标,图片元素主要使用户可自主添加自定义图片,例如商标或签名等,从而为用户编辑的报表建立专属性,具体的,拖动图片元素图标到报表编辑区域,该图片元素在报表编辑区域默认以文件夹的形式存在,用户在报表编辑区域选中文件夹,可实现自定义图片添加到报表编辑区域,可通过对图片元素的添加,增加报表的专属性,图片例如可以是企业图标等。Users can select the picture element icon in the report element area of any report style. The picture element mainly allows users to add customized pictures, such as trademarks or signatures, etc., thereby establishing exclusivity for the reports edited by users. Specifically, drag the picture element icon to the report editing area. The picture element exists in the form of a folder by default in the report editing area. The user selects the folder in the report editing area to add a custom picture to the report editing area. By adding the picture element, To increase the exclusivity of the report, the picture can be a corporate icon, etc.
用户可在任一报表风格的报表元素区域中选中线条元素图标,线条元素主要使用户可灵活绘制报表单元格,或灵活绘制需要的形状图案,为用户操作提供了更多可能性,具体的,拖动线条元素图标到报表编辑区域,该线条元素在报表编辑区域默认以直线线段的形式存在,用户选中线条元素,可在页面右侧的报表元素配置区域编辑线条元素的粗细、颜色、样式等,可通过对线条元素的添加,实现报表编辑的灵活性,可以在报表编辑区域自行绘制需要的图样。Users can select the line element icon in the report element area of any report style. The line element mainly allows users to flexibly draw report cells or flexibly draw required shapes and patterns, providing more possibilities for user operations. Specifically, drag and drop Move the line element icon to the report editing area. The line element exists in the form of a straight line segment by default in the report editing area. The user selects the line element and can edit the thickness, color, style, etc. of the line element in the report element configuration area on the right side of the page. The flexibility of report editing can be achieved by adding line elements, and the required patterns can be drawn in the report editing area.
其中,数据集为由多个品类名称组成的下拉列表,数据集中的品类名称已预先配置数据源。Among them, the data set is a drop-down list composed of multiple category names, and the category names in the data set have pre-configured data sources.
具体的,如图6所示,用户可在进行目标报表的编辑时,在报表元素区域中点击数据集图标打开下拉列表,在报表编辑页面上显示下拉列表,下拉列表中展示已预先配置数据源的品类名称,下拉列表中的品类名称例如可以是日期、收入、主食、水电气、管理费等用户自定义品类名称。Specifically, as shown in Figure 6, when editing the target report, the user can click the data set icon in the report element area to open the drop-down list, and the drop-down list will be displayed on the report editing page, and the pre-configured data sources will be displayed in the drop-down list. The category name in the drop-down list can be, for example, user-defined category names such as date, income, staple food, water, electricity, management fees, etc.
其中,报表元素拖动请求用于指示将数据集中的品类名称拖到报表编辑区域时,S102之前,还包括:Among them, the report element drag request is used to instruct the category name in the data set to be dragged to the report editing area. Before S102, it also includes:
S102a、响应于用户输入的数据集下拉请求,在报表编辑页面显示由多个品类名称组成的列表。S102a. In response to the data set drop-down request input by the user, display a list consisting of multiple category names on the report editing page.
具体的,完成数据源导入的品类名称组成的列表为数据集,用户点击位于报表元素区域中的数据集图标,数据集元素主要用于设置各品类名称的数据源接口地址,根据所接入系统的数据自动汇总至报表中,完成数据源的导入操作,数据集展示已存储并已导入数据源的品类名称,点击数据集图标即为数据集下拉请求。Specifically, the list of category names that have been imported into the data source is a data set. The user clicks the data set icon located in the report element area. The data set element is mainly used to set the data source interface address of each category name. According to the connected system The data is automatically summarized into the report, and the import operation of the data source is completed. The data set displays the category names that have been stored and imported into the data source. Clicking the data set icon is a drop-down request for the data set.
则S102之后,还包括:After S102, it also includes:
S1021、向用户显示与品类名称对应的单元格,单元格中显示品类名称的数值。S1021. Display the cell corresponding to the category name to the user, and display the numerical value of the category name in the cell.
具体的,用户创建报表时,可拖动数据集下拉列表中的品类名称,将所需的品类名称直接应用于单元格中,单元格中自动展示该品类名称对应的数据源即该品类名称的数值。Specifically, when users create a report, they can drag the category name in the data set drop-down list and apply the required category name directly to the cell. The data source corresponding to the category name is automatically displayed in the cell, that is, the data source of the category name. numerical value.
综上,本申请实施例提供的报表管理方法,通过添加多个品类名称组成数据集,数据集中品类名称可被用户直接拖动使用,无需重复配置,提高了报表管理的便捷性,提高了用户体验。In summary, the report management method provided by the embodiment of the present application forms a data set by adding multiple category names. The category names in the data set can be directly dragged and used by the user without repeated configuration, which improves the convenience of report management and improves the user experience. experience.
可选的,属性信息为数据源时,S103的一种具体的实现方式为:Optionally, when the attribute information is a data source, a specific implementation method of S103 is:
S1031、响应于用户输入的报表元素配置请求,获取用户的数据源调用权限。S1031. In response to the report element configuration request input by the user, obtain the user's data source calling permission.
具体的,在用户进入餐饮管理系统进行报表管理前,还包括用户身份验证阶段,网页显示用户登陆界面,根据用户输入的账号密码,网页显示对应身份权限的报表管理界面。Specifically, before the user enters the catering management system for report management, it also includes the user identity verification stage. The web page displays the user login interface. According to the account password entered by the user, the web page displays the report management interface corresponding to the identity authority.
该身份权限下,用户选中位于报表编辑区域的报表元素并点击即发出报表元素配置请求,报表编辑区域右侧显示为报表元素配置区域,根据身份权限获取数据源调用权限。Under this identity authority, the user selects the report element located in the report editing area and clicks it to issue a report element configuration request. The right side of the report editing area is displayed as the report element configuration area, and the data source calling authority is obtained according to the identity authority.
S1032、根据用户的数据源调用权限,在报表元素配置区域配置报表元素的数据源。S1032. Configure the data source of the report element in the report element configuration area according to the user's data source calling permission.
具体的,不同的身份权限存在与其对应的数据源调用权限,如果没有权限,报表元素配置区域无法通过点击进行配置数据源的接口地址,如有对应权限,报表元素配置区域可以由点击操作进行配置数据源的接口地址。Specifically, different identity permissions have corresponding data source calling permissions. If there is no permission, the report element configuration area cannot configure the interface address of the data source by clicking. If there is the corresponding permission, the report element configuration area can be configured by clicking. The interface address of the data source.
综上,本申请实施例提供的报表管理方法,通过验证用户权限,实现餐饮管理系统的多类用户使用,提高了数据安全性和用户体验。In summary, the report management method provided by the embodiments of this application enables multiple types of users to use the catering management system by verifying user permissions, thereby improving data security and user experience.
可选的,生成目标报表之后,所述方法还包括:Optionally, after generating the target report, the method also includes:
S301、响应于用户输入的报表更新请求,向用户显示报表编辑页面,报表编辑页面还包括:目标报表。S301. In response to the report update request input by the user, display the report editing page to the user. The report editing page also includes: the target report.
具体的,用户进入餐饮管理系统,可点击界面左上角新增报表或选中列表报表,其中,点击界面左上角选中列表报表即发出报表更新请求,网页向用户显示报表编辑页面,用户可对已经存在的报表进行管理操作,例如可以改变其数据源、增加文本框、添加图片等管理操作,从而对目标报表进行更新。Specifically, when users enter the catering management system, they can click on the upper left corner of the interface to add a new report or select a list report. Among them, clicking on the upper left corner of the interface to select a list report will issue a report update request. The web page will display the report editing page to the user, and the user can edit the existing report. Perform management operations on the report, such as changing its data source, adding text boxes, adding pictures and other management operations, thereby updating the target report.
综上,本申请实施例提供的报表管理方法,在创建报表的同时还可对现有报表进行及时更新,增加了报表编辑的灵活性,便于用户根据自身需求管理报表,提高了用户体验。In summary, the report management method provided by the embodiments of this application can also timely update existing reports while creating reports, which increases the flexibility of report editing, facilitates users to manage reports according to their own needs, and improves user experience.
可选的,生成目标报表之后,所述方法还包括:Optionally, after generating the target report, the method also includes:
S302、响应于用户输入的报表查看请求,显示目标报表。S302. In response to the report viewing request input by the user, display the target report.
具体的,用户在生成获得目标报表后,可对目标报表进行查看,其中,可通过输入目标报表的识别码查找目标报表,目标报表的识别码为在编辑完成目标报表后保存目标报表时,为目标报表设置的唯一标识,其中,识别码可以为目标报表的名称,或者一串数字。Specifically, after the user generates and obtains the target report, he or she can view the target report. The target report can be found by inputting the identification code of the target report. The identification code of the target report is when the target report is saved after editing. The unique identifier set by the target report. The identification code can be the name of the target report or a string of numbers.
服务器接收到用户输入的目标报表的识别码,即接收到用户的报表查看请求,根据识别码查找对应的目标报表并显示。The server receives the identification code of the target report input by the user, that is, receives the user's report viewing request, searches for the corresponding target report based on the identification code, and displays it.
综上,本申请实施例提供的报表管理方法,可对目标报表预览和查看,使用户更加直观的查看所编辑完成的目标报表,提高了用户体验。In summary, the report management method provided by the embodiment of the present application can preview and view the target report, allowing the user to view the edited target report more intuitively, and improving the user experience.
图7为本申请一实施例提供的报表管理装置的结构示意图。如图7所示,本实施例提供的报表管理装置包括:创建模块701、拖动模块702和配置模块703。可选的,所述报表管理装置还包括:显示模块704。Figure 7 is a schematic structural diagram of a report management device provided by an embodiment of the present application. As shown in Figure 7, the report management device provided by this embodiment includes: a creation module 701, a drag module 702 and a configuration module 703. Optionally, the report management device also includes: a display module 704.
其中,创建模块701,用于响应于用户输入的报表创建请求,向所述用户显示报表编辑页面,所述报表编辑页面包括:报表元素区域、报表编辑区域、报表元素配置区域,所述报表元素区域中显示有用于组成报表的报表元素;Among them, the creation module 701 is used to display a report editing page to the user in response to a report creation request input by the user. The report editing page includes: a report element area, a report editing area, and a report element configuration area. The report elements The report elements used to compose the report are displayed in the area;
拖动模块702,用于响应于所述用户输入的报表元素拖动请求,将所述报表元素区域中的报表元素拖动到所述报表编辑区域;The drag module 702 is configured to drag the report elements in the report element area to the report editing area in response to the report element drag request input by the user;
配置模块703,用于响应于所述用户输入的报表元素配置请求,在所述报表元素配置区域配置所述报表元素的属性信息,生成目标报表,所述报表元素配置区域包括以下至少一项属性信息的配置:数据源、品类名称、尺寸、颜色。Configuration module 703, configured to respond to the report element configuration request input by the user, configure the attribute information of the report element in the report element configuration area, and generate a target report, where the report element configuration area includes at least one of the following attributes Information configuration: data source, category name, size, color.
可选的,创建模块701在响应于用户输入的报表创建请求,向所述用户显示报表编辑页面时,还用于:接收所述目标报表的报表创建请求,根据所述报表创建请求显示报表风格选择页面,所述报表风格包括:第一报表风格、第二报表风格和第三报表风格;Optionally, when the creation module 701 displays the report editing page to the user in response to the report creation request input by the user, it is also used to: receive the report creation request of the target report, and display the report style according to the report creation request. Select a page, and the report styles include: a first report style, a second report style, and a third report style;
显示模块704,用于响应于所述用户输入的报表风格选择请求,向所述用户显示与报表风格对应的所述报表编辑页面。The display module 704 is configured to display the report editing page corresponding to the report style to the user in response to the report style selection request input by the user.
可选的,所述报表风格选择请求用于请求创建第一报表风格的风格时,所述报表元素包括:文本框;Optionally, when the report style selection request is used to request the creation of a first report style, the report elements include: a text box;
所述报表风格选择请求用于请求创建第二报表风格的风格时,所述报表元素包括:文本框和表格;When the report style selection request is used to request the creation of a second report style, the report elements include: text boxes and tables;
所述报表风格选择请求用于请求创建第三报表风格的风格时,所述报表元素包括:文本框、图表和表格。When the report style selection request is used to request the creation of a third report style, the report elements include: text boxes, charts, and tables.
可选的,所述报表元素还包括以下至少一项:图形、图片、线条和数据集;Optionally, the report elements also include at least one of the following: graphics, pictures, lines and data sets;
其中,所述数据集为由多个品类名称组成的下拉列表,所述数据集中的品类名称已预先配置数据源;Wherein, the data set is a drop-down list composed of multiple category names, and the category names in the data set have pre-configured data sources;
在所述报表元素拖动请求用于指示将所述数据集中的品类名称拖到所述报表编辑区域时,所述拖动模块702响应于所述用户输入的报表元素拖动请求,将所述报表元素区域中的报表元素拖动到所述报表编辑区域之前,还用于:When the report element drag request is used to indicate dragging the category name in the data set to the report editing area, the drag module 702 responds to the report element drag request input by the user, and drags the category name in the data set to the report editing area. Before dragging the report elements in the report element area to the report editing area, it is also used to:
响应于所述用户输入的数据集下拉请求,在所述报表创建页面显示由多个品类名称组成的列表;In response to the data set drop-down request input by the user, display a list consisting of multiple category names on the report creation page;
显示模块704在所述拖动模块702响应于所述用户输入的报表元素拖动请求,将所述报表元素区域中的报表元素拖动到所述报表编辑区域之后,还用于:After the drag module 702 drags the report element in the report element area to the report editing area in response to the report element drag request input by the user, the display module 704 is also used to:
向用户显示与所述品类名称对应的单元格,所述单元格中显示所述品类名称的数值。A cell corresponding to the category name is displayed to the user, and a numerical value of the category name is displayed in the cell.
可选的,属性信息为数据源时,所述配置模块703响应于所述用户输入的报表元素配置请求,在所述报表元素配置区域配置所述报表元素的属性信息时,具体用于:Optionally, when the attribute information is a data source, the configuration module 703 responds to the report element configuration request input by the user and configures the attribute information of the report element in the report element configuration area, specifically for:
响应于所述用户输入的报表元素配置请求,获取所述用户的数据源调用权限;In response to the report element configuration request input by the user, obtain the data source calling permission of the user;
根据所述用户的数据源调用权限,在所述报表元素配置区域配置所述报表元素的数据源。According to the user's data source calling authority, the data source of the report element is configured in the report element configuration area.
可选的,显示模块704在所述配置模块703生成所述目标报表之后,还用于:响应于所述用户输入的报表更新请求,向所述用户显示所述报表编辑页面,所述报表编辑页面还包括:所述目标报表。Optionally, after the configuration module 703 generates the target report, the display module 704 is also configured to display the report editing page to the user in response to the report update request input by the user. The page also includes: the target report.
可选的,显示模块704在所述生成所述目标报表之后,还用于:Optionally, after generating the target report, the display module 704 is also used to:
响应于所述用户输入的报表查看请求,显示所述目标报表。The target report is displayed in response to the report viewing request input by the user.
本申请实施例提供的报表管理装置可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。The report management device provided by the embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principles and beneficial effects are similar and will not be described again here.
图8为本申请一实施例提供的电子设备的结构示意图,如图8所示,该电子设备包括:处理器810和存储器820,其中,处理器810、存储器820通过总线830连接。FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in FIG. 8 , the electronic device includes a processor 810 and a memory 820 , where the processor 810 and the memory 820 are connected through a bus 830 .
在具体实现过程中,处理器810执行存储器820存储的计算机执行指令,使得处理器810执行如上的报表管理方法。In a specific implementation process, the processor 810 executes the computer execution instructions stored in the memory 820, so that the processor 810 executes the above report management method.
处理器810的具体实现过程可参见上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The specific implementation process of the processor 810 can be found in the above method embodiments. The implementation principles and technical effects are similar and will not be described again in this embodiment.
在上述图8所示的实施例中,应理解,处理器可以是中央处理单元(CentralProcessing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital SignalProcessor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合申请所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。In the above embodiment shown in Figure 8, it should be understood that the processor can be a central processing unit (Central Processing Unit, CPU), or other general-purpose processor, digital signal processor (Digital Signal Processor, DSP), or application specific integrated circuit (Application Specific Integrated Circuit, ASIC), etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The steps of the method disclosed in the application can be directly implemented by a hardware processor, or executed by a combination of hardware and software modules in the processor.
存储器可能包含高速RAM存储器,也可能还包括非易失性存储NVM,例如磁盘存储器。Memory may include high-speed RAM memory, or may also include non-volatile storage NVM, such as disk memory.
总线可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(ExtendedIndustry Standard Architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,本申请附图中的总线并不限定仅有一根总线或一种类型的总线。The bus may be an Industry Standard Architecture (Industry Standard Architecture, ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, the bus in the drawings of this application is not limited to only one bus or one type of bus.
本申请还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,当处理器执行计算机执行指令时,实现如上的报表管理方法。This application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the processor executes the computer-executed instructions, the above report management method is implemented.
上述的计算机可读存储介质,上述可读存储介质可以是由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。可读存储介质可以是通用或专用计算机能够存取的任何可用介质。The above-mentioned computer-readable storage medium, the above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable memory. Programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. Readable storage media can be any available media that can be accessed by a general purpose or special purpose computer.
一种示例性的可读存储介质耦合至处理器,从而使处理器能够从该可读存储介质读取信息,且可向该可读存储介质写入信息。当然,可读存储介质也可以是处理器的组成部分。处理器和可读存储介质可以位于专用集成电路(Application Specific IntegratedCircuits,简称:ASIC)中。当然,处理器和可读存储介质也可以作为分立组件存在于设备中。An exemplary readable storage medium is coupled to the processor such that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may be located in Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium may also exist as discrete components in the device.
本申请实施例提供的一种程序产品,包括计算机程序,计算机程序被处理器执行时实现本实施例任一项的方法。A program product provided by an embodiment of the present application includes a computer program. When the computer program is executed by a processor, the method of any one of the embodiments is implemented.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Persons of ordinary skill in the art can understand that all or part of the steps to implement the above method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps including the above-mentioned method embodiments are executed; and the aforementioned storage media include: ROM, RAM, magnetic disks, optical disks and other media that can store program codes.
最后应说明的是,本申请技术方案中没有描述的内容均可以使用现有技术实现。另外,以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解;其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that any content not described in the technical solution of this application can be implemented using existing technologies. In addition, the above embodiments are only used to illustrate the technical solution of the present application, but not to limit it. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that they can still modify the foregoing. The technical solutions described in each embodiment may be modified, or some or all of the technical features may be equivalently replaced; however, these modifications or substitutions shall not cause the essence of the corresponding technical solutions to depart from the scope of the technical solutions of each embodiment of the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310920563.1A CN116956847B (en) | 2023-07-25 | 2023-07-25 | Report management method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310920563.1A CN116956847B (en) | 2023-07-25 | 2023-07-25 | Report management method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116956847A true CN116956847A (en) | 2023-10-27 |
CN116956847B CN116956847B (en) | 2024-07-30 |
Family
ID=88450832
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310920563.1A Active CN116956847B (en) | 2023-07-25 | 2023-07-25 | Report management method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116956847B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117252180A (en) * | 2023-11-16 | 2023-12-19 | 太平金融科技服务(上海)有限公司 | Report generation method and device, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104281447A (en) * | 2014-09-01 | 2015-01-14 | 国家电网公司 | Report form fast generating and issuing system and method |
CN107015958A (en) * | 2017-04-14 | 2017-08-04 | 东莞中国科学院云计算产业技术创新与育成中心 | Report form generation method and device |
CN109684387A (en) * | 2018-12-24 | 2019-04-26 | 成都四方伟业软件股份有限公司 | Report generation method and device |
CN113032633A (en) * | 2021-04-15 | 2021-06-25 | 内蒙古金财信息技术有限公司 | Method for customizing table by using reference data item |
CN115422898A (en) * | 2022-08-31 | 2022-12-02 | 启明信息技术股份有限公司 | Visual self-defined report form analysis system based on container cloud |
CN115759018A (en) * | 2022-11-03 | 2023-03-07 | 广州南天电脑系统有限公司 | Report generation method and device, computer equipment and storage medium |
CN116400920A (en) * | 2023-04-12 | 2023-07-07 | 银联商务股份有限公司 | Dynamic page design method and device, electronic equipment and storage medium |
-
2023
- 2023-07-25 CN CN202310920563.1A patent/CN116956847B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104281447A (en) * | 2014-09-01 | 2015-01-14 | 国家电网公司 | Report form fast generating and issuing system and method |
CN107015958A (en) * | 2017-04-14 | 2017-08-04 | 东莞中国科学院云计算产业技术创新与育成中心 | Report form generation method and device |
CN109684387A (en) * | 2018-12-24 | 2019-04-26 | 成都四方伟业软件股份有限公司 | Report generation method and device |
CN113032633A (en) * | 2021-04-15 | 2021-06-25 | 内蒙古金财信息技术有限公司 | Method for customizing table by using reference data item |
CN115422898A (en) * | 2022-08-31 | 2022-12-02 | 启明信息技术股份有限公司 | Visual self-defined report form analysis system based on container cloud |
CN115759018A (en) * | 2022-11-03 | 2023-03-07 | 广州南天电脑系统有限公司 | Report generation method and device, computer equipment and storage medium |
CN116400920A (en) * | 2023-04-12 | 2023-07-07 | 银联商务股份有限公司 | Dynamic page design method and device, electronic equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
胡于进 等: "基于组件F1Book的报表生成工具的设计与应用", 计算机工程与应用, no. 32, 31 December 2004 (2004-12-31), pages 112 - 114 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117252180A (en) * | 2023-11-16 | 2023-12-19 | 太平金融科技服务(上海)有限公司 | Report generation method and device, electronic equipment and storage medium |
CN117252180B (en) * | 2023-11-16 | 2024-02-23 | 太平金融科技服务(上海)有限公司 | Report generation method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN116956847B (en) | 2024-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9953007B2 (en) | Template-based content creation | |
CN111881662A (en) | Form generation method, device, processing equipment and storage medium | |
CN112561386A (en) | Method, device and equipment for acquiring business process | |
CN110413281B (en) | Drag-based enterprise circulation flow management and control method | |
US9760552B2 (en) | Document renewal and translation | |
US11868598B2 (en) | Generating and modifying content using data structures | |
WO2014088837A1 (en) | System and method for the creation, review and revision of investment banking materials | |
US11120200B1 (en) | Capturing unstructured information in application pages | |
CN111708516A (en) | Web application customization development system on network | |
CN113760287A (en) | Form creating method and device based on JSON structure | |
CN116956847B (en) | Report management method and device | |
CN116382643A (en) | A running system based on a low-code platform | |
US20220113847A1 (en) | Online collaborative document processing method and device | |
CN115186643A (en) | Self-defined configuration method, device, equipment and storage medium of sign-up template | |
US20120131426A1 (en) | Document generation and services management | |
CN113111632A (en) | Visual configuration method, device, equipment and medium for electronic manuscript paper | |
US11544241B1 (en) | System and method for generating and managing pseudo data fields in CRM | |
CN112241264B (en) | Visual page processing method and device | |
CN114239525A (en) | Contract template editing method and device, computer equipment and storage medium | |
US11113322B2 (en) | Dynamically generating strategic planning datasets based on collecting, aggregating, and filtering distributed data collections | |
CN114816405A (en) | Business view interface display method and device, computer equipment and storage medium | |
CA2827378C (en) | System and method for variant content management | |
KR101499052B1 (en) | A method for building cardbook using knowledge card based on digital information | |
CN117743329A (en) | Self-service data analysis method supporting dynamic configuration data source | |
CN119150836A (en) | Financial product report generation method and device based on interactive configuration |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |