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
- request input
- 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 53
- 238000000034 method Methods 0.000 claims abstract description 30
- 230000004044 response Effects 0.000 claims abstract description 17
- 238000010586 diagram Methods 0.000 description 9
- 235000013305 food Nutrition 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000005516 engineering process Methods 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
- 238000012545 processing Methods 0.000 description 2
- 230000000007 visual effect Effects 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
- 239000003086 colorant Substances 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- -1 electricity Substances 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process 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)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application provides a report management method and a report management device, wherein the method comprises the following steps: responding to a report creation request input by a user, and displaying a report editing page to the user; dragging the report elements in the report element area to the report editing area in response to a report element dragging request input by a user; and responding to a report element configuration request input by a user, configuring attribute information of the report element in a report element configuration area, and generating a target report. According to the application, the report can be edited by dragging the report elements on the report editing page according to the requirements of the user, a developer is not required to specially develop a specific report template capable of meeting the requirements according to the requirements of the user, the operation of the user is convenient, the working efficiency is improved, and the user experience is improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a report management method and apparatus.
Background
Along with the continuous promotion of national policies and Internet information technology, the information construction degree of campuses is higher and higher, and the information degree of campuses catering management is also higher and higher. The school catering is managed and serviced through the catering management system, and in the catering management system, data such as purchasing requirements, balance calculation and the like can be statistically presented through report generation.
The front-end developer writes codes according to specific generation requirements of the report, and because users of the catering management system in the campus comprise business companies at various ports, multiple suppliers and the like, the requirements on the report are different, the developers are required to develop the report templates which can meet the requirements according to different requirements, and when the requirements change, the developers re-develop the report templates, so that the requirements on professional ability of the developers are higher, the updating and maintenance of the report are difficult, the period is longer, the report creation efficiency is low, and the user experience of the campus catering management system is reduced.
Disclosure of Invention
The application provides a report management method and device, which are used for solving the technical problems of low report creation efficiency and poor user experience.
In a first aspect, the present application provides a report management method, including:
responding to a report creation request input by a user, displaying a report editing page to the user, wherein the report editing page comprises: the system comprises a report element area, a report editing area and a report element configuration area, wherein report elements for forming a report are displayed in the report element area;
Dragging the report elements in the report element area to the report editing area in response to the report element dragging request input by the user;
responding to the report element configuration request input by the user, configuring attribute information of the report element in the report element configuration area, and generating a target report, wherein the report element configuration area comprises configuration of at least one item of attribute information as follows: data source, class name, size, color.
Optionally, the responding to the report creation request input by the user displays a report editing page to the user, including:
receiving a report creation request of the target report, and displaying a report style selection page according to the report creation request, wherein the report style comprises: the first report style, the second report style and the third report style;
and responding to the report style selection request input by the user, and displaying the report editing page corresponding to the report style to the user.
Optionally, when the report style selection request is used for requesting to create a style of the first report style, the report elements include: a text box;
when the report style selection request is used for requesting to create a style of the second report style, the report elements include: text boxes and forms;
When the report style selection request is used for requesting to create a style of a third report style, the report elements include: text boxes, charts, and tables.
Optionally, the report element further includes at least one of the following: graphics, pictures, lines, and datasets;
wherein the data set is a drop-down list composed of a plurality of category names, and the category names in the data set are pre-configured with data sources;
when the report element dragging request is used for indicating that the class name in the data set is dragged to the report editing area, before the report element in the report element area is dragged to the report editing area in response to the report element dragging request input by the user, the method further comprises the steps of:
responding to the data set drop-down request input by the user, and displaying a list composed of a plurality of category names on the report editing page;
the step of responding to the report element dragging request input by the user, and after dragging the report element in the report element area to the report editing area, further comprises the following steps:
and displaying a cell corresponding to the category name to the user, wherein the numerical value of the category name is displayed in the cell.
Optionally, when the attribute information is a data source, the responding to the report element configuration request input by the user configures the attribute information of the report element in the report element configuration area, including:
responding to the report element configuration request input by the user, and acquiring the data source calling authority of the user;
and configuring the data source of the report element in the report element configuration area according to the data source calling authority of the user.
Optionally, after the generating the target report, the method further includes:
responding to the report updating request input by the user, displaying the report editing page to the user, wherein the report editing page further comprises: and the target report forms.
Optionally, after the generating the target report, the method further includes:
and responding to the report viewing request input by the user, and displaying the target report.
In a second aspect, the present application provides a report management apparatus, including:
the creation module is used for responding to a report creation request input by a user and displaying a report editing page to the user, wherein the report editing page comprises the following components: the system comprises a report element area, a report editing area and a report element configuration area, wherein report elements for forming a report are displayed in the report element area;
The dragging module is used for responding to a report element dragging request input by the user and dragging the report element in the report element area to the report editing area;
the configuration module is used for responding to the report element configuration request input by the user, configuring the attribute information of the report element in the report element configuration area, and generating a target report, wherein the report element configuration area comprises the configuration of at least one item of attribute information as follows: data source, class name, size, color.
Optionally, the report management device further comprises a display module;
the creation module is further used for, when responding to a report creation request input by a user and displaying a report editing page to the user,: receiving a report creation request of the target report, and displaying a report style selection page according to the report creation request, wherein the report style comprises: the first report style, the second report style and the third report style;
and the display module is used for responding to the report style selection request input by the user and displaying the report editing page corresponding to the report style to the user.
Optionally, when the report style selection request is used for requesting to create a style of the first report style, the report elements include: a text box;
When the report style selection request is used for requesting to create a style of the second report style, the report elements include: text boxes and forms;
when the report style selection request is used for requesting to create a style of a third report style, the report elements include: text boxes, charts, and tables.
Optionally, the report element further includes at least one of the following: graphics, pictures, lines, and datasets;
wherein the data set is a drop-down list composed of a plurality of category names, and the category names in the data set are pre-configured with data sources;
when the report element dragging request is used for indicating to drag the category name in the dataset to the report editing area, the dragging module is further used for, before responding to the report element dragging request input by the user and dragging the report element in the report element area to the report editing area:
responding to the data set drop-down request input by the user, and displaying a list composed of a plurality of category names on the report creation page;
the display module is further configured to, after the dragging module drags the report element in the report element area to the report editing area in response to the report element dragging request input by the user:
And displaying a cell corresponding to the category name to the user, wherein the 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 a report element configuration request input by the user, and when the report element configuration area configures the attribute information of the report element, the configuration module is specifically configured to:
responding to the report element configuration request input by the user, and acquiring the data source calling authority of the user;
and configuring the data source of the report element in the report element configuration area according to the data source calling authority of the user.
Optionally, after the configuration module generates the target report, the display module is further configured to: responding to the report updating request input by the user, displaying the report editing page to the user, wherein the report editing page further comprises: and the target report forms.
Optionally, after the generating the target report, the display module is further configured to:
and responding to the report viewing request input by the user, and displaying the target report.
In a third aspect, the present application provides an electronic device comprising: a processor and a memory;
The memory stores computer-executable instructions;
the processor executing computer-executable instructions stored in the memory causing the processor to perform the method of any one of the first aspects.
In a fourth aspect, the present application provides a readable storage medium having stored therein computer-executable instructions which, when executed by a processor, implement the method of any of the first aspects.
In a fifth aspect, the present application provides a program product comprising a computer program which, when executed by a processor, implements the method according to any of the first aspects.
The application provides a report management method and a report management device, which are used for displaying a report editing page to a user by responding to a report creation request input by the user; dragging the report elements in the report element area to the report editing area in response to a report element dragging request input by a user; and responding to a report element configuration request input by a user, configuring attribute information of the report element in a report element configuration area, and generating a target report. According to the application, the report can be edited by dragging the report elements on the report editing page according to the requirements of the user, a developer is not required to specially develop a specific report template capable of meeting the requirements according to the requirements of the user, the operation of the user is convenient, the working efficiency is improved, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a report management method according to an embodiment of the present application;
FIG. 2 is an interface diagram of a report style creation page provided by an embodiment of the present application;
FIG. 3 is an interface diagram of a report editing page of a first report style according to an embodiment of the present application;
FIG. 4 is an interface diagram of a report editing page in a second report style according to an embodiment of the present application;
FIG. 5 is an interface diagram of a report editing page in a third report style according to an embodiment of the present application;
FIG. 6 is an interface diagram of a data set icon drop down list page according to one embodiment of the present application;
FIG. 7 is a schematic diagram of a report management apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are also within the scope of the application.
In the prior art, the traditional report system is usually developed and maintained by a developer, when a user needs to update a report or create a new report, the user needs to communicate with the developer so as to redevelop a specific report system or report template which can meet the needs, and in daily work, the report update frequency is higher, the new report is created more frequently, and the change of the information system or the change of the user needs is faced, so that the update and maintenance of the report are more difficult and the period is longer, thereby resulting in low working efficiency.
In order to solve the technical problems, the application provides the report management method and the report management device, which enable a user to create or edit a report by simply clicking or dragging the user on a webpage according to the requirement by adopting a simple and visual webpage interaction mode, so that the report editing efficiency and the user experience are improved.
Fig. 1 is a flowchart of a report management method according to an embodiment of the present application. In this method, the execution body may be a server, as shown in fig. 1, and the method provided in this embodiment includes:
s101, responding to a report creation request input by a user, and displaying a report editing page to the user.
Wherein, report editing page includes: the report element configuration area is used for configuring a report.
Specifically, the report management method in this embodiment is applied to a dining management system, where the dining management system is a network system for a large dining organization, such as a dining hall of a school, to manage food materials, cash flows, card swiping machines, etc., when a user uses the dining management system, daily flow records or summaries are required, and a report design is used to implement the records or summaries.
As shown in fig. 3, the report editing page includes: the system comprises a report element area, a report editing area and a report element configuration area, wherein the report editing area is positioned in the center of an interface and is used for editing a report; the report element area is positioned at the left side of the report editing area, and the report element area contains icons of report elements, wherein the report elements are elements composing a report, such as text boxes, which can form cells in the report editing area so as to compose a table and obtain a report; the report element configuration area is positioned on the right side of the report editing area, wherein the report element configuration area is in an unusable state when the report element is not selected, and is in an usable state when the report element is selected.
S102, responding to a report element dragging request input by a user, and dragging the report element in the report element area to the report editing area.
Specifically, the user may click on an icon of the text box on the interface, drag the text box to the report editing area, where the server responds to the user drag operation to successfully issue a report element drag request, as shown in fig. 3, and newly adds the text box in the report editing area, where the text box is displayed in a unit cell form by default. Thus, the tables in the report are formed by dragging the icons of the text boxes to the interface of the report editing area multiple times.
Optionally, when the icon of the dragged text box is dragged to the report editing area, the newly added cell in the report editing area can be directly dragged to the corresponding position in the table through the mouse.
S103, responding to a report element configuration request input by a user, and configuring attribute information of report elements in a report element configuration area to generate a target report.
The report element configuration area comprises configuration of at least one of the following attribute information: data source, class name, size, color.
Specifically, after clicking a cell of the report editing area by a user and selecting the cell, the server receives clicking operation of the user, namely, receives a report element configuration request input by the user, and responds to the user report element configuration request, and the report element configuration area is displayed as a usable state so as to configure attribute information of the cell, thereby obtaining a target report by configuring attribute information of report elements in the report editing area.
The attribute information may include: the method comprises the steps of data source, class name, size, color and the like, wherein the data source is an interface address of data in a currently selected cell, and report data stored in a database is called through the interface address; the names of the products are represented by the data in the currently selected cell, such as subsidiary foods, western foods, fruits, water, electricity, gas, patches and the like; the size is the length and width of the currently selected cell, and the cell size can be customized by inputting a numerical value; the color is the border color or font color of the currently selected cell.
Optionally, the attribute information further includes: the report basic information includes report names, belonging modules, etc. The report name is the name of the report currently edited, and the report name can be customized by inputting the report name; the module belongs to which module in the catering management system the current report belongs, such as demand planning, supply management, inventory management, supplier platform, etc., and users for the report can be clearly divided according to the module.
According to the report management method provided by the embodiment of the application, a report creation request input by a user is responded, and a report editing page is displayed to the user; dragging the report elements in the report element area to the report editing area in response to a report element dragging request input by a user; and responding to a report element configuration request input by a user, configuring attribute information of the report element in a report element configuration area, and generating a target report. The report can be edited by a user on the report editing page through dragging the report elements according to the needs of the user, a developer is not required to specially develop a report template according to the needs of the user, the operation of the user is convenient, the report management efficiency is improved, and the user experience is improved.
Optionally, a specific implementation manner of S101 is:
s1011, receiving a report creation request of a target report, and displaying a report style selection page according to the report creation request, wherein the report style comprises: the first report style, the second report style and the third report style.
Specifically, the embodiment provides a report creation function of different report styles, wherein the report styles comprise a first report style, a second report style and a third report style, and after a report creation request is input by a user, a server responds to the report creation request input by the user and displays a report style selection page to the user.
As shown in fig. 2, when the report style selection page is displayed on the user interface, the first report style is displayed as a report style, the second report style is displayed as a combined report, and the third report style is displayed as a free style, so that a user can accurately select a required function through an intuitive name when creating a report.
S1012, responding to a report style selection request input by a user, and displaying 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, the difference exists among the first report style, the second report style and the third report style in the report editing page.
Specifically, when the user creates a report according to the requirement, the user selects a page in the report style shown in fig. 2, clicks a corresponding report style icon on the page, the server receives the clicking operation of the user on the report style icon on the page, namely, receives a report creation request input by the user, and displays a report editing page corresponding to the report style selected by the user on the web page in response to the report creation request.
The editing page corresponding to the first report style is shown in fig. 3:
and the first report style supports editing of the head and the tail of the table.
As shown in fig. 3, in a report editing page corresponding to the first report style, a report editing area includes: when the report is edited, the head area, the detail area and the tail area are edited in the corresponding editing areas respectively, and finally the complete report is obtained.
Optionally, when the report style selection request is used for requesting to create a style 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, namely, the creation request is successfully sent, the user can select a text box element in a report element area of the first report style and drag the text box element to a report editing area, the text box element exists in a unit cell mode in the report editing area by default, the text box element can edit text content, fonts, word sizes, frame colors, frame thicknesses and the like of the text box element in a report element configuration area on the right side of the page when the user selects the text box element, and the user can realize addition of a report through combination arrangement of the text box element.
The report editing page corresponding to the second report style is shown in fig. 4:
the second report style can refer to other reports on the basis of the first report style, the referenced report can be the first report style, the second report style or the third report style, the referenced report can be automatically filled according to the configured data source, and the data source configuration can be carried out on a certain cell in the referenced report or the data source configuration can be carried out by selecting the whole referenced report.
Optionally, when the report style selection request is for requesting to create a style of the second report style, the report elements include: text boxes and forms.
Specifically, the user clicks a second report style on the report style selection page, namely, the creation request is successfully sent, and the text box element of the second report style is identical to the text box element of the first report style.
For the table elements of the second report style, the user can select the table elements in the report element area of the second report style and drag the table elements to the report editing area, the table elements exist in a 4×3 table form in the report editing area by default, after the user selects the table, the attribute information of each cell in the table is configured in the report element configuration area, and when the user needs to add the row number of the table, the user needs to drag a text box to realize the requirement of the table in the table.
The report editing page corresponding to the third report style is shown in fig. 5:
and a third report style, wherein a chart can be inserted on the basis of the second report style, the chart is a statistical chart, the table and the statistical chart can be automatically filled according to the set data sources, and the data sources of the whole table can be selected or the data sources can be respectively selected for the unit cells when the table is edited.
Optionally, when the report style selection request is for requesting to create a style of the third report style, the report elements include: text boxes, charts, and tables.
Specifically, the user clicks a third report style on the report style selection page, namely, the creation request is successfully sent, and the text box elements and the table elements of the third report style are the same as those of the second report style.
For chart elements of the third report style, a user can select chart elements in a report element area of the third report style and drag the chart elements to a report editing area, the chart elements default to exist in a form of a pie chart in the report editing area, the user selects the pie chart, data binding, parameter configuration, size position, frame thickness and the like of the pie chart are configured in a report element configuration area, the user can realize self-generation of a statistical chart through configuration of a data source of the chart elements, and the numerical value and the proportion of corresponding class names can be intuitively reflected, and optionally, the chart can also be a histogram, a line graph and the like.
In summary, according to the report management method provided by the embodiment of the application, various report styles are provided according to the user demands, and the report element diversity is enriched by setting the report elements such as text boxes, charts and tables, so that the report management by drag operation is realized, the user operation is more concise and visual, and the user experience is improved.
Optionally, as shown in fig. 3-5, the report element further includes at least one of: graphics, pictures, lines, and datasets.
Specifically, the user can select graphic element icons in the report element areas of any report style, the graphic elements are mainly in common shapes such as rectangles, triangles and polygons, and the common graphics are provided to enable the user to directly drag and use when editing a report, repeated drawing through lines is not needed, and therefore simplicity of report editing is improved. Specifically, the graphic element icon is dragged to the report editing area, the graphic element exists in a rectangular frame form in the report editing area by default, the graphic element is selected by a user, the shape and the like of the graphic element can be edited in the report element configuration area on the right side of the page, and the richness of the report can be increased by adding the graphic element.
The user can select the picture element icon in the report element area of any report style, the picture element mainly enables the user to autonomously add the custom picture, such as a trademark or a signature, so that the specificity is built for the report edited by the user, specifically, the picture element icon is dragged to the report editing area, the picture element exists in the form of a folder in the report editing area by default, the user selects the folder in the report editing area, the custom picture can be added to the report editing area, the specificity of the report can be increased through adding the picture element, and the picture can be an enterprise icon, for example.
The user can select a line element icon in a report element area of any report style, the line element mainly enables the user to flexibly draw report unit cells or flexibly draw required shape patterns, more possibilities are provided for the user operation, specifically, the line element icon is dragged to a report editing area, the line element exists in a linear line segment form by default in the report editing area, the user selects the line element, the thickness, the color, the style and the like of the line element can be edited in a report element configuration area on the right side of a page, the flexibility of report editing can be realized through adding the line element, and the required pattern can be drawn in the report editing area by oneself.
Wherein the data set is a drop-down list composed of a plurality of category names, and the category names in the data set have been preconfigured with data sources.
Specifically, as shown in fig. 6, when the user edits the target report, clicking the data set icon in the report element area to open a drop-down list, displaying the drop-down list on the report editing page, where the drop-down list displays the category names of the preconfigured data sources, and the category names in the drop-down list may be user-defined category names such as dates, incomes, staple foods, water, electricity, management fees, and the like.
Wherein, when the report element dragging request is used for indicating that the category name in the dataset is dragged to the report editing area, before S102, the method further comprises:
s102a, in response to a data set pull-down request input by a user, displaying a list composed of a plurality of category names on a report editing page.
Specifically, the list formed by the class names for completing the importing of the data sources is a data set, the user clicks a data set icon in a report element area, the data set element is mainly used for setting the data source interface address of each class name, the data source interface address is automatically summarized into a report according to the data of the accessed system, the importing operation of the data sources is completed, the data set displays the class names which are already stored and imported into the data sources, and the data set icon is clicked to obtain a data set drop-down request.
Then after S102, further comprising:
s1021, displaying a cell corresponding to the category name to the user, wherein the cell displays the numerical value of the category name.
Specifically, when the user creates a report, the user can drag the category names in the drop-down list of the data set, directly apply the required category names in the cells, and automatically display the data source corresponding to the category names, namely the numerical value of the category names in the cells.
In summary, according to the report management method provided by the embodiment of the application, the data set is formed by adding a plurality of item names, the item names in the data set can be directly dragged by a user for use, repeated configuration is not needed, convenience in report management is improved, and user experience is improved.
Optionally, when the attribute information is a data source, a specific implementation manner of S103 is:
s1031, responding to a report element configuration request input by a user, and acquiring the data source calling authority of the user.
Specifically, before the user enters the catering management system to perform report management, the method further comprises a user identity verification stage, wherein the webpage displays a user login interface, and the webpage displays a report management interface corresponding to the identity authority according to the account number and the password input by the user.
Under the identity authority, a user selects a report element positioned in a report editing area and clicks to send a report element configuration request, the right side of the report editing area is displayed as a report element configuration area, and the data source calling authority is acquired according to the identity authority.
S1032, configuring the data source of the report element in the report element configuration area according to the data source calling authority of the user.
Specifically, the different identity authorities have the corresponding data source calling authorities, if the authorities do not exist, the report element configuration area cannot configure the interface address of the data source by clicking, if the authorities correspond, the report element configuration area can configure the interface address of the data source by clicking operation.
In summary, the report management method provided by the embodiment of the application realizes the use of multiple types of users of the catering management system by verifying the user rights, and improves the data security and the user experience.
Optionally, after generating the target report, the method further includes:
s301, responding to a report updating request input by a user, displaying a report editing page to the user, wherein the report editing page further comprises: and (5) a target report.
Specifically, the user enters the catering management system, can click on a new report or a selected list report at the upper left corner of the interface, wherein, the report update request is sent by clicking on the selected list report at the upper left corner of the interface, the webpage displays a report editing page to the user, and the user can perform management operations on the existing report, such as changing the data source, adding text boxes, adding pictures and the like, so as to update the target report.
In summary, the report management method provided by the embodiment of the application can update the existing report in time while creating the report, thereby increasing the flexibility of report editing, facilitating the management of the report according to the self requirement of the user and improving the user experience.
Optionally, after generating the target report, the method further includes:
s302, responding to a report viewing request input by a user, and displaying a target report.
Specifically, after the user generates and obtains the target report, the user can check the target report, wherein the target report can be searched by inputting the identification code of the target report, the identification code of the target report is a unique identification set for the target report when the target report is saved after the target report is edited, and the identification code can be the name of the target report or a series of numbers.
The server receives the identification code of the target report input by the user, namely, receives the report viewing request of the user, and searches and displays the corresponding target report according to the identification code.
In summary, the report management method provided by the embodiment of the application can preview and view the target report, so that the user can more intuitively view the edited target report, and the user experience is improved.
Fig. 7 is a schematic structural diagram of a report management device according to an embodiment of the present application. As shown in fig. 7, the report management apparatus provided in this embodiment includes: a creation module 701, a drag module 702, and a configuration module 703. Optionally, the report management device further includes: and a display module 704.
The creating module 701 is configured to respond to a report creation request input by a user, and display a report editing page to the user, where the report editing page includes: the system comprises a report element area, a report editing area and a report element configuration area, wherein report elements for forming a report are displayed in the report element area;
a dragging module 702, configured to drag a report element in the report element area to the report editing area in response to the report element dragging request input by the user;
a configuration module 703, configured to configure attribute information of the report element in the report element configuration area in response to the report element configuration request input by the user, and generate a target report, where the report element configuration area includes configuration of at least one of the following attribute information: data source, class name, size, color.
Optionally, the creating module 701 is further configured to, in response to a report creation request input by a user, when displaying a report editing page to the user: receiving a report creation request of the target report, and displaying a report style selection page according to the report creation request, wherein the report style comprises: the first report style, the second report style and the third report style;
And the display module 704 is used for responding to the report style selection request input by the user and displaying the report editing page corresponding to the report style to the user.
Optionally, when the report style selection request is used for requesting to create a style of the first report style, the report elements include: a text box;
when the report style selection request is used for requesting to create a style of the second report style, the report elements include: text boxes and forms;
when the report style selection request is used for requesting to create a style of a third report style, the report elements include: text boxes, charts, and tables.
Optionally, the report element further includes at least one of the following: graphics, pictures, lines, and datasets;
wherein the data set is a drop-down list composed of a plurality of category names, and the category names in the data set are pre-configured with data sources;
when the report element dragging request is used for indicating to drag the category name in the dataset to the report editing area, the dragging module 702 is further used for, before responding to the report element dragging request input by the user and dragging the report element in the report element area to the report editing area:
Responding to the data set drop-down request input by the user, and displaying a list composed of a plurality of category names on the report creation page;
the display module 704 is further configured to, after the dragging module 702 drags the report element in the report element area to the report editing area in response to the report element dragging request input by the user:
and displaying a cell corresponding to the category name to the user, wherein the numerical value of the category name is displayed in the cell.
Optionally, when the attribute information is a data source, the configuration module 703 is configured to, in response to the report element configuration request input by the user, when the report element configuration area configures the attribute information of the report element, specifically:
responding to the report element configuration request input by the user, and acquiring the data source calling authority of the user;
and configuring the data source of the report element in the report element configuration area according to the data source calling authority of the user.
Optionally, after the configuration module 703 generates the target report, the display module 704 is further configured to: responding to the report updating request input by the user, displaying the report editing page to the user, wherein the report editing page further comprises: and the target report forms.
Optionally, the display module 704 is further configured to, after the generating the target report:
and responding to the report viewing request input by the user, and displaying the target report.
The report management device provided by the embodiment of the application can execute the technical scheme shown in the embodiment of the method, and the implementation principle and the beneficial effects are similar, and are not repeated here.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application, as shown in fig. 8, where the electronic device includes: processor 810 and memory 820, wherein processor 810 and memory 820 are connected by bus 830.
In a particular implementation, processor 810 executes computer-executable instructions stored in memory 820, causing processor 810 to perform the report management method as described above.
The specific implementation process of the processor 810 may refer to the above-mentioned method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In the embodiment shown in fig. 8 described above, it should be understood that the processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise high speed RAM memory or may also comprise non-volatile storage NVM, such as disk memory.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
The application also provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and when the processor executes the computer execution instructions, the report management method is realized.
The computer readable storage medium described above may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable 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 disk, or optical disk. A readable storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. In the alternative, the readable storage medium may be integral to the processor. The processor and the readable storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). The processor and the readable storage medium may reside as discrete components in a device.
A program product provided by an embodiment of the present application includes a computer program, which when executed by a processor implements a method according to any of the embodiments.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that what is not described in the technical solution of the present application can be implemented using the prior art. In addition, the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will appreciate that; the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.
Claims (10)
1. A report management method, comprising:
responding to a report creation request input by a user, displaying a report editing page to the user, wherein the report editing page comprises: the system comprises a report element area, a report editing area and a report element configuration area, wherein report elements for forming a report are displayed in the report element area;
dragging the report elements in the report element area to the report editing area in response to the report element dragging request input by the user;
responding to the report element configuration request input by the user, configuring attribute information of the report element in the report element configuration area, and generating a target report, wherein the report element configuration area comprises configuration of at least one item of attribute information as follows: data source, class name, size, color.
2. The method of claim 1, wherein the displaying a report edit page to the user in response to a report creation request entered by the user comprises:
receiving a report creation request of the target report, and displaying a report style selection page according to the report creation request, wherein the report style comprises: the first report style, the second report style and the third report style;
And responding to the report style selection request input by the user, and displaying the report editing page corresponding to the report style to the user.
3. The method of claim 2, wherein when the report style selection request is for requesting creation of a style of a first report style, the report element comprises: a text box;
when the report style selection request is used for requesting to create a style of the second report style, the report elements include: text boxes and forms;
when the report style selection request is used for requesting to create a style of a third report style, the report elements include: text boxes, charts, and tables.
4. The method of claim 3, wherein the report element further comprises at least one of: graphics, pictures, lines, and datasets;
wherein the data set is a drop-down list composed of a plurality of category names, and the category names in the data set are pre-configured with data sources;
when the report element dragging request is used for indicating that the class name in the data set is dragged to the report editing area, before the report element in the report element area is dragged to the report editing area in response to the report element dragging request input by the user, the method further comprises the steps of:
Responding to the data set drop-down request input by the user, and displaying a list composed of a plurality of category names on the report editing page;
the step of responding to the report element dragging request input by the user, and after dragging the report element in the report element area to the report editing area, further comprises the following steps:
and displaying a cell corresponding to the category name to the user, wherein the numerical value of the category name is displayed in the cell.
5. The method according to claim 1, wherein when the attribute information is a data source, the 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:
responding to the report element configuration request input by the user, and acquiring the data source calling authority of the user;
and configuring the data source of the report element in the report element configuration area according to the data source calling authority of the user.
6. The method of claim 1, wherein after generating the target report, further comprising:
responding to the report updating request input by the user, displaying the report editing page to the user, wherein the report editing page further comprises: and the target report forms.
7. The method of any one of claims 1-6, wherein after generating the target report, further comprising:
and responding to the report viewing request input by the user, and displaying the target report.
8. A report management device, comprising:
the creation module is used for responding to a report creation request input by a user and displaying a report editing page to the user, wherein the report editing page comprises the following components: the system comprises a report element area, a report editing area and a report element configuration area, wherein report elements for forming a report are displayed in the report element area;
the dragging module is used for responding to a report element dragging request input by the user and dragging the report element in the report element area to the report editing area;
the configuration module is used for responding to the report element configuration request input by the user, configuring the attribute information of the report element in the report element configuration area, and generating a target report, wherein the report element configuration area comprises the configuration of at least one item of attribute information as follows: data source, class name, size, color.
9. An electronic device, comprising: a processor and a memory;
The memory stores computer-executable instructions;
the processor executing computer-executable instructions stored in the memory, causing the processor to perform the method of any one of claims 1 to 7.
10. A readable storage medium having stored therein computer executable instructions which, when executed by a processor, implement the method of any one of claims 1 to 7.
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 |
---|---|---|
CN113094037B (en) | Interaction method, development platform, equipment and storage medium for forms and workflows | |
US11301623B2 (en) | Digital processing systems and methods for hybrid scaling/snap zoom function in table views of collaborative work systems | |
CN111125560B (en) | Data visualization processing method, device and computer system | |
CN112561386A (en) | Method, device and equipment for acquiring business process | |
US20160110313A1 (en) | System and method of content creation, versioning and publishing | |
EP3374949A1 (en) | Single or multi-choice data presentation through collaboration database service | |
CN111881662A (en) | Form generation method, device, processing equipment and storage medium | |
US20070136357A1 (en) | Methods and apparatus for designing a workflow process using inheritance | |
US20210224328A1 (en) | Data visualization tool with guided visualization creation and secure publication features, and graphical user interface thereof | |
US8224853B2 (en) | Methods and apparatus for updating a plurality of data fields in an electronic form | |
CN116956847B (en) | Report management method and device | |
CN112241263A (en) | Visual page processing method and equipment | |
CN111708516A (en) | Web application customization development system on network | |
US8972848B2 (en) | Document renewal and translation | |
CN112241265A (en) | Visual page processing method and equipment | |
CN104182225A (en) | General mobile information system adaptation method and device | |
WO2019019789A1 (en) | Parameter value calculation method and apparatus, storage medium and computer device | |
CN113220952B (en) | Bill processing method and device | |
WO2007056656A2 (en) | Methods and apparatus for processing business objects, electronic forms, and workflows | |
CN108153465A (en) | Label setting method and device based on enterprise SaaS applications | |
US20070143305A1 (en) | Methods and apparatus for storing functions associated with an electronic form | |
US20230059606A1 (en) | Automation tool for generating web pages and links | |
US11544453B2 (en) | Method for configuring documents for circulation and device implementing method | |
CN112579664A (en) | Processing method and device for chart linkage | |
US11113322B2 (en) | Dynamically generating strategic planning datasets based on collecting, aggregating, and filtering distributed data collections |
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 |