CN117827824A - List page generation method, device, electronic equipment and storage medium - Google Patents
List page generation method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN117827824A CN117827824A CN202311619637.4A CN202311619637A CN117827824A CN 117827824 A CN117827824 A CN 117827824A CN 202311619637 A CN202311619637 A CN 202311619637A CN 117827824 A CN117827824 A CN 117827824A
- Authority
- CN
- China
- Prior art keywords
- list page
- configuration
- configuration information
- target list
- relational database
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000009877 rendering Methods 0.000 claims abstract description 63
- 238000004590 computer program Methods 0.000 claims description 13
- 238000012216 screening Methods 0.000 claims description 5
- 238000011161 development Methods 0.000 abstract description 19
- 238000004891 communication Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000004900 laundering Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
- G06Q20/4016—Transaction verification involving fraud or risk level assessment in transaction processing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a list page generation method, a device, electronic equipment and a storage medium, belonging to the technical field of computers, wherein the method comprises the following steps: receiving a first input, wherein the first input is an operation for setting display content and style of a target list page; responding to the first input, and storing user-defined configuration information corresponding to the first input into a relational database; when a list page generation request is received, rendering configuration information corresponding to the target list page is obtained from the relational database; and generating the target list page according to the rendering configuration information. The invention realizes the configurability of list page generation, can adapt to the requirements of different users or different scenes, not only improves the user satisfaction, but also improves the development efficiency and reduces the development cost.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for generating a list page, an electronic device, and a storage medium.
Background
The back money laundering system needs to process a large amount of data and information and different users or different scenes need to show different data information. The existing back money laundering system usually adopts a fixed list page, cannot meet the requirements of different users or different scenes, has low user satisfaction, needs to develop different pages for different requirements, and has high development cost.
Disclosure of Invention
The invention provides a list page generation method, a list page generation device, electronic equipment and a storage medium, which are used for solving the defects that a fixed list page is usually adopted in a money laundering system in the prior art, the requirements of different users or different scenes cannot be met, the user satisfaction is low, different pages are required to be developed for different requirements, and the development cost is high.
The invention provides a list page generation method, which comprises the following steps:
receiving a first input, wherein the first input is an operation for setting display content and style of a target list page;
responding to the first input, and storing user-defined configuration information corresponding to the first input into a relational database;
when a list page generation request is received, rendering configuration information corresponding to the target list page is obtained from the relational database;
and generating the target list page according to the rendering configuration information.
According to the list page generating method provided by the invention, the storing of the user-defined configuration information corresponding to the first input into the relational database comprises the following steps:
acquiring a view configuration ID of the target list page;
and storing the user-defined configuration items into a user-defined configuration table corresponding to the target list page in the relational database according to the video configuration ID.
According to the list page generation method provided by the invention, the rendering configuration information corresponding to the target list page is obtained from the relational database, and the method comprises the following steps:
and according to the view configuration ID, rendering configuration information corresponding to the target list page is obtained from a relational database.
According to the list page generation method provided by the invention, the rendering configuration information comprises the following steps: query condition configuration items, list configuration items, operation button configuration items, and user-defined configuration items.
According to the list page generation method provided by the invention, the method further comprises the following steps:
obtaining rendering configuration information corresponding to different view configuration IDs;
and pre-storing rendering configuration information corresponding to the different view configuration IDs into the relational database.
According to the list page generation method provided by the invention, the target list page is generated according to the rendering configuration information, and the method comprises the following steps:
calling a corresponding renderer according to the query condition configuration items, the list configuration items, the operation button configuration items and the user-defined configuration items to generate the target list page;
the renderer includes: a query condition renderer, a data table renderer, an operation button renderer, and a slot renderer.
According to the list page generation method provided by the invention, the display content and the style of the target list page are set, and the method comprises the following steps: and setting screening conditions corresponding to the data to be displayed on the target list page, data types corresponding to the data to be displayed and ordering modes corresponding to the data to be displayed.
The invention also provides a list page generating device, which comprises:
the configuration receiving module is used for receiving a first input, wherein the first input is an operation of setting the display content and the style of the target list page;
the configuration storage module is used for responding to the first input and storing user-defined configuration information corresponding to the first input into a relational database;
the configuration acquisition module is used for acquiring rendering configuration information corresponding to the target list page from the relational database when receiving a list page generation request;
and the page generation module is used for generating the target list page according to the rendering configuration information.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the list page generation method as described in any one of the above when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a list page generation method as described in any of the above.
The invention also provides a computer program product comprising a computer program which when executed by a processor implements a list page generation method as described in any one of the above.
According to the list page generation method, the list page generation device, the electronic equipment and the storage medium, user-defined configuration information is obtained by receiving the operation of setting the display content and the style of the target list page, and the user-defined configuration information is stored in the relational database; when a list page generation request is received, rendering configuration information corresponding to a target list page is obtained from the relational database; according to the rendering configuration information, the target list page is generated, so that the configurability of list page generation is realized, the requirements of different users or different scenes can be met, the user satisfaction degree is improved, the development efficiency is improved, and the development cost is reduced.
Drawings
In order to more clearly illustrate the invention 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 invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a list page generating method according to an embodiment of the present invention;
FIG. 2 is a second flowchart of a method for generating a list page according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a list page generating device according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an entity structure of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a flow chart of a list page generating method according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps: step 110, step 120, step 130 and step 140. The method flow steps are only one possible implementation of the invention. The method comprises the following steps:
step 110, receiving a first input, wherein the first input is an operation of setting display content and style of a target list page;
it should be noted that, the execution body of the list page generating method provided by the embodiment of the present invention may be an electronic device, a component in the electronic device, an integrated circuit, or a chip. The electronic device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet, notebook, palmtop, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS) or personal computer (personal computer, PC), etc., the invention is not particularly limited.
The following description will take an electronic device as an example of a list page generating apparatus.
It can be appreciated that the user can set the display content and style of the list page to be displayed, and the list page to be displayed is referred to as a target list page.
List pages are a common page type used for displaying a plurality of information items, so that a user can quickly browse and find own target information.
The display content and the style of the target list page comprise: screening conditions corresponding to data to be displayed on a target list page, data types corresponding to the data to be displayed and ordering modes corresponding to the data to be displayed.
The setting of the display content and the style of the target list page comprises the following steps: and setting screening conditions corresponding to the data to be displayed on the target list page, data types corresponding to the data to be displayed and ordering modes corresponding to the data to be displayed.
In the embodiment of the present invention, the user may be a user who uses the target list page data, or may be a developer.
That is, the user may set the filtering condition corresponding to the data to be displayed on the target list page, the data type corresponding to the data to be displayed, and the ordering mode corresponding to the data to be displayed.
According to the method and the device for setting the display content and the style of the target list page, the requirements of different users or different scenes can be met through receiving the operation that the user sets the display content and the style of the target list page.
Step 120, responding to the first input, and storing user-defined configuration information corresponding to the first input into a relational database;
and after receiving the operation of setting the display content and the style of the target list page by the user, the list page generating device responds to the operation and stores user-defined configuration information corresponding to the first input into a relational database.
It can be understood that the first input specifies that the operation object is the target list page and which settings the user makes, and the settings made by the user on the display content and style of the target list page are stored as user-defined configuration information in the relational database.
It should be noted that, in the embodiment of the present invention, for each list page, a plurality of corresponding configuration tables, for example, a basic configuration table, a column configuration table, a button configuration table, and a user-defined configuration table, are pre-stored in the relational database, and information in these configuration tables is rendering configuration information corresponding to the list page. Each list page has a unique number, called view configuration ID.
The rendering configuration information refers to configuration information related to the rendering of the list page, and comprises a query condition configuration item, a data table configuration item, an operation button configuration item, a user-defined configuration item and the like. The user-defined configuration items are determined according to user-defined configuration information.
After receiving the operation of setting the display content and style of the target list page by the user, the list page generating device responds to the operation, and calls the back-end service to store the user-defined configuration information corresponding to the first input into the user-defined configuration table corresponding to the target list page in the relational database.
According to the embodiment of the invention, the configuration information corresponding to the list page is stored in the relational database, so that the requirements of different users or scenes can be met, the adjustment of the list page only needs to change the configuration information, the generation code of the page does not need to be adjusted, and the development workload can be greatly reduced.
130, when a list page generation request is received, rendering configuration information corresponding to the target list page is obtained from the relational database;
it can be understood that after the user completes the setting of the display content and style of the target list page, the user clicks the generate button, and the list page generating device can receive the list page generating request, and obtain rendering configuration information corresponding to the target list page from the relational database.
Specifically, the list page generation request carries a view configuration ID corresponding to the target list page, and rendering configuration information corresponding to the target list page can be obtained from the relational database according to the view configuration ID.
And 140, generating the target list page according to the rendering configuration information.
And finally, according to the rendering configuration information, calling a corresponding renderer to generate a target list page required by a user.
According to the list page generation method provided by the embodiment of the invention, the user-defined configuration information is obtained by receiving the operation of setting the display content and the style of the target list page, and the user-defined configuration information is stored in the relational database; when a list page generation request is received, rendering configuration information corresponding to a target list page is obtained from the relational database; the target list page is generated according to the rendering configuration information, so that the configurability of list page generation is realized, the requirements of different users or different scenes can be met, the user satisfaction is improved, the development efficiency is improved, and the development cost is reduced.
In some embodiments, storing the user-defined configuration information corresponding to the first input in a relational database includes:
acquiring a view configuration ID of the target list page;
and storing the user-defined configuration items into a user-defined configuration table corresponding to the target list page in the relational database according to the video configuration ID.
Specifically, acquiring a view configuration ID of the target list page;
determining a user-defined configuration item corresponding to the target list page in the relational database according to the video configuration ID;
according to the user-defined configuration information, the user-defined configuration items are adjusted, and adjusted user-defined configuration items are obtained;
and storing the adjusted user-defined configuration items into a user-defined configuration table corresponding to the target list page in the relational database.
Therefore, the configurable list page generation is realized, the requirements of different users or different scenes can be met, the user satisfaction degree is improved, the development efficiency is improved, and the development cost is reduced.
In some embodiments, the obtaining rendering configuration information corresponding to the target list page from a relational database includes:
and according to the view configuration ID, rendering configuration information corresponding to the target list page is obtained from a relational database.
In the embodiment of the invention, for each list page, a plurality of corresponding configuration tables, such as a basic configuration table, a column configuration table, a button configuration table and a user-defined configuration table, are prestored in a relational database, and the information in the configuration tables is rendering configuration information corresponding to the list page. Each list page has a unique number, called view configuration ID.
The rendering configuration information refers to configuration information related to the rendering of the list page, and comprises a query condition configuration item, a data table configuration item, an operation button configuration item, a user-defined configuration item and the like. The user-defined configuration items are determined according to user-defined configuration information.
After the first input is received, it can be determined that the operation object aimed by the first input is a target list page and what settings are performed by the user, the settings performed by the user on the display content and style of the target list page are used as user-defined configuration information, and then the user-defined configuration information is stored into a user-defined configuration table under the view configuration ID in the relational database according to the view configuration ID of the target list page.
Therefore, according to the view configuration ID, rendering configuration information corresponding to the target list page is obtained from a relational database. The rendering configuration information includes: query condition configuration items, list configuration items, operation button configuration items, and user-defined configuration items.
The query condition configuration item corresponds to a query condition. The list configuration items correspond to the contents in the list configuration table, the operation button configuration items correspond to the contents in the button configuration table, and the user-defined configuration items correspond to the contents in the user-defined configuration table.
According to the list page generation method provided by the embodiment of the invention, the configuration information related to the list page generation is stored by adopting the relational database, so that the requirements of different users or scenes can be met, the adjustment of the list page only needs to change the configuration information, the page generation code does not need to be adjusted, and the development workload can be greatly reduced.
In some embodiments, the method further comprises:
obtaining rendering configuration information corresponding to different view configuration IDs;
and pre-storing rendering configuration information corresponding to the different view configuration IDs into the relational database.
The invention sets the following four tables in the relational database to store rendering configuration information of different list pages.
TABLE 1 basic configuration Table (BASE_CONFIG)
Field name | Field annotation |
PageId | View configuration ID (unique) |
PageView | Whether to display paging device |
PageCfg | Whether to display custom configuration items |
PageColWidthAuth | Whether or not to adapt to column width |
PageNeedPayload | Whether to use payload for transmission |
PageInterface | Query interface name |
PageResultEntity | Query result package entity name |
PageDesc | Description of the functionality |
Table 2 presents a configuration table (COL_CONFIG)
TABLE 3 button configuration Table (BTN_CONFIG)
Field name | Field annotation |
PageId | View configuration ID (unique) |
BtnId | Button ID |
BtnName | Button name |
BtnIcon | Button icon Key |
BtnDesc | Button description |
BtnInterface | Button interface name |
BtnAuthNo | Button authority number |
BtnMethod | Name of button executing method |
BtnSlot | Button slot |
BtnGroup | Grouping of buttons |
BtnGroupSeq | Sequence number in button group |
TABLE 4 user-defined configuration table (CUSTOM_CONFIG)
Specifically, a developer determines rendering configuration information corresponding to different view configuration IDs, and then a list page generating device acquires the rendering configuration information corresponding to the different view configuration IDs and stores the rendering configuration information corresponding to the different view configuration IDs in the relational database in advance.
According to the list page generation method provided by the embodiment of the invention, the configuration information related to the list page generation is stored by adopting the relational database, so that the requirements of different users or scenes can be met, the adjustment of the list page only needs to change the configuration information, the page generation code does not need to be adjusted, and the development workload can be greatly reduced.
In some embodiments, the generating the target list page according to the rendering configuration information includes:
calling a corresponding renderer according to the query condition configuration items, the list configuration items, the operation button configuration items and the user-defined configuration items to generate the target list page;
the renderer includes: a query condition renderer, a data table renderer, an operation button renderer, and a slot renderer.
Specifically, according to the query condition configuration item, the list configuration item, the operation button configuration item and the user-defined configuration item, a query condition renderer, a data table renderer, an operation button renderer and a slot renderer are called to generate the target list page.
The invention perfects the custom requirement of the developer through the slot renderer on the basis of database configuration, so that the developer still keeps the complete development capability on the basis of simplified development. For example: the page query condition is displayed through the configuration of the database [ query condition A ] [ query condition B ], and a developer does not need to add a custom query condition through configuration for some reason. The list page generating device presets a custom slot position in the generated page, for example: { before_A } [ query condition A ] { after_A } { before_B } [ query condition B } ] { before_B }, a developer can autonomously select to append a conditional position to a custom slot according to { internally defined ID } when using a page component. Data table items and button items are the same.
The list page generation method provided by the embodiment of the invention can adapt to the requirements of different users or scenes, so that the adjustment of the list page is only needed to change the configuration information, the page generation code is not needed to be adjusted, and the development workload can be greatly reduced.
It should be noted that each embodiment of the present application may be freely combined, permuted, or executed separately, and does not need to rely on or rely on a fixed execution sequence.
Fig. 2 is a second flowchart of a list page generating method according to an embodiment of the present invention, where, as shown in fig. 2, the list page generating method includes:
the configuration receiving module receives an operation of setting display contents and styles of a target list page;
the configuration storage module stores user-defined configuration information into a relational database;
the configuration acquisition module acquires rendering configuration information corresponding to the target list page from a relational database when receiving a list page generation request;
and the page generation module generates the target list page according to the rendering configuration information.
The list page generation method provided by the embodiment of the invention can adapt to the requirements of different users or scenes, the users can customize the display content and format of the list pages according to the own requirements, the development of a plurality of different list pages for meeting the different requirements is avoided, the development flexibility is reserved, the development cost is saved, the complexity of the system is reduced, and the satisfaction of the users is improved due to the unification of the pages.
The list page generating apparatus provided by the present invention will be described below, and the list page generating apparatus described below and the list page generating method described above may be referred to correspondingly to each other.
Fig. 3 is a schematic structural diagram of a list page generating apparatus according to an embodiment of the present invention. As shown in fig. 3, the list page generating apparatus includes: a configuration receiving module 310, a configuration storage module 320, a configuration acquisition module 330, and a page generation module 340, wherein,
a configuration receiving module 310, configured to receive a first input, where the first input is an operation of setting a display content and a style of a target list page;
a configuration storage module 320, configured to store user-defined configuration information corresponding to the first input to a relational database in response to the first input;
a configuration obtaining module 330, configured to obtain rendering configuration information corresponding to the target list page from the relational database when receiving a list page generation request;
and the page generating module 340 is configured to generate the target list page according to the rendering configuration information.
In some embodiments, the configuration storage module 320 is configured to:
acquiring a view configuration ID of the target list page;
and storing the user-defined configuration items into a user-defined configuration table corresponding to the target list page in the relational database according to the video configuration ID.
In some embodiments, the configuration acquisition module 330 is configured to:
and according to the view configuration ID, rendering configuration information corresponding to the target list page is obtained from the relational database.
In some embodiments, the rendering configuration information includes: query condition configuration items, list configuration items, operation button configuration items, and user-defined configuration items.
In some embodiments, the apparatus further comprises a rendering configuration storage module for:
obtaining rendering configuration information corresponding to different view configuration IDs;
and pre-storing rendering configuration information corresponding to the different view configuration IDs into the relational database.
In some embodiments, the page generation module 340 is configured to:
calling a corresponding renderer according to the query condition configuration items, the list configuration items, the operation button configuration items and the user-defined configuration items to generate the target list page;
the renderer includes: a query condition renderer, a data table renderer, an operation button renderer, and a slot renderer.
In some embodiments, the setting the display content and the style of the target list page includes: and setting screening conditions corresponding to the data to be displayed on the target list page, data types corresponding to the data to be displayed and ordering modes corresponding to the data to be displayed.
It should be noted that, the list page generating device provided by the embodiment of the present invention can implement all the method steps implemented by the embodiment of the list page generating method, and can achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects as those of the embodiment of the method in the embodiment are omitted.
Fig. 4 illustrates a physical schematic diagram of an electronic device, as shown in fig. 4, which may include: processor 410, communication interface (Communications Interface) 420, memory 430 and communication bus 440, wherein processor 410, communication interface 420 and memory 430 communicate with each other via communication bus 440. Processor 410 may invoke logic instructions in memory 430 to perform a list page generation method comprising: receiving a first input, wherein the first input is an operation for setting display content and style of a target list page; responding to the first input, and storing user-defined configuration information corresponding to the first input into a relational database; when a list page generation request is received, rendering configuration information corresponding to the target list page is obtained from the relational database; and generating the target list page according to the rendering configuration information.
In addition, the logic instructions in the memory 430 described above may be implemented in the form of software functional modules and stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product comprising a computer program, the computer program being storable on a non-transitory computer readable storage medium, the computer program, when executed by a processor, being capable of performing a list page generation method provided by the methods described above, the method comprising: receiving a first input, wherein the first input is an operation for setting display content and style of a target list page; responding to the first input, and storing user-defined configuration information corresponding to the first input into a relational database; when a list page generation request is received, rendering configuration information corresponding to the target list page is obtained from the relational database; and generating the target list page according to the rendering configuration information.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform a list page generation method provided by the above methods, the method comprising: receiving a first input, wherein the first input is an operation for setting display content and style of a target list page; responding to the first input, and storing user-defined configuration information corresponding to the first input into a relational database; when a list page generation request is received, rendering configuration information corresponding to the target list page is obtained from the relational database; and generating the target list page according to the rendering configuration information.
The apparatus embodiments described above are merely illustrative, wherein the modules illustrated as separate components may or may not be physically separate, and the components shown as modules may or may not be physical, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. A list page generation method, comprising:
receiving a first input, wherein the first input is an operation for setting display content and style of a target list page;
responding to the first input, and storing user-defined configuration information corresponding to the first input into a relational database;
when a list page generation request is received, rendering configuration information corresponding to the target list page is obtained from the relational database;
and generating the target list page according to the rendering configuration information.
2. The method for generating a list page according to claim 1, wherein storing the user-defined configuration information corresponding to the first input in a relational database comprises:
acquiring a view configuration ID of the target list page;
and storing the user-defined configuration items into a user-defined configuration table corresponding to the target list page in the relational database according to the video configuration ID.
3. The list page generating method according to claim 2, wherein the obtaining rendering configuration information corresponding to the target list page from the relational database includes:
and according to the view configuration ID, rendering configuration information corresponding to the target list page is obtained from the relational database.
4. A list page generating method as defined in claim 3, wherein the rendering configuration information includes: query condition configuration items, list configuration items, operation button configuration items, and user-defined configuration items.
5. The list page generating method of claim 4, wherein the method further comprises:
obtaining rendering configuration information corresponding to different view configuration IDs;
and pre-storing rendering configuration information corresponding to the different view configuration IDs into the relational database.
6. The list page generating method as claimed in claim 3, wherein said generating the target list page according to the rendering configuration information comprises:
calling a corresponding renderer according to the query condition configuration items, the list configuration items, the operation button configuration items and the user-defined configuration items to generate the target list page;
the renderer includes: a query condition renderer, a data table renderer, an operation button renderer, and a slot renderer.
7. The list page generating method as claimed in claim 1, wherein said setting the display contents and the style of the target list page comprises: and setting screening conditions corresponding to the data to be displayed on the target list page, data types corresponding to the data to be displayed and ordering modes corresponding to the data to be displayed.
8. A list page generating apparatus, comprising:
the configuration receiving module is used for receiving a first input, wherein the first input is an operation of setting the display content and the style of the target list page;
the configuration storage module is used for responding to the first input and storing user-defined configuration information corresponding to the first input into a relational database;
the configuration acquisition module is used for acquiring rendering configuration information corresponding to the target list page from the relational database when receiving a list page generation request;
and the page generation module is used for generating the target list page according to the rendering configuration information.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the list page generation method of any of claims 1 to 7 when the program is executed by the processor.
10. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the list page generation method of any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311619637.4A CN117827824A (en) | 2023-11-29 | 2023-11-29 | List page generation method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311619637.4A CN117827824A (en) | 2023-11-29 | 2023-11-29 | List page generation method, device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117827824A true CN117827824A (en) | 2024-04-05 |
Family
ID=90510542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311619637.4A Pending CN117827824A (en) | 2023-11-29 | 2023-11-29 | List page generation method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117827824A (en) |
-
2023
- 2023-11-29 CN CN202311619637.4A patent/CN117827824A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108363809A (en) | A method of in PC client information input interface upload pictures | |
CN109542878B (en) | List creation method and device | |
CN110888672B (en) | Expression engine implementation method and system based on metadata architecture | |
CN113467777A (en) | Path identification method, device and system | |
CN105760729B (en) | Login method and electronic equipment | |
CN103164245B (en) | The method of application display language-specific and terminal | |
CN108874495B (en) | Theme resource conversion method and device and electronic equipment | |
CN108062401B (en) | Application recommendation method and device and storage medium | |
CN111984293B (en) | Information processing method, device and storage medium | |
CN111475492B (en) | Data processing method and device | |
CN117579638A (en) | Double-end data synchronization framework realization method, device and system and electronic equipment | |
CN108809763B (en) | Network performance parameter acquisition method, terminal device and storage medium | |
CN117827824A (en) | List page generation method, device, electronic equipment and storage medium | |
CN116739524A (en) | Business process setting method, device, equipment, storage medium and program product | |
CN111459571A (en) | Configuration method, processing method and device | |
CN116301866A (en) | Cloud rendering method, device, equipment and storage medium based on custom software | |
CN116738954A (en) | Report export method, report template configuration device and computer equipment | |
US20180198915A1 (en) | Interactive processing method and device | |
CN113031989A (en) | Method and device for realizing customized version of BIOS Setup setting item | |
CN113515712B (en) | Page generation method and device of integrated system, electronic equipment and storage medium | |
US10425532B2 (en) | Method and apparatus for storing phone number, and method and apparatus for dialing phone number | |
CN113900959B (en) | Software testing method, device, equipment and storage medium | |
CN114268653B (en) | Equipment calling method, device, equipment, medium and product | |
KR20240044701A (en) | Goods production system linked to photo booth and method of operation thereof | |
CN117348862A (en) | Application development and application running method, device, equipment and storage medium |
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 |