CN113761863A - List page configuration method, device and storage medium - Google Patents

List page configuration method, device and storage medium Download PDF

Info

Publication number
CN113761863A
CN113761863A CN202110991697.3A CN202110991697A CN113761863A CN 113761863 A CN113761863 A CN 113761863A CN 202110991697 A CN202110991697 A CN 202110991697A CN 113761863 A CN113761863 A CN 113761863A
Authority
CN
China
Prior art keywords
list page
field
variables
template
fields
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
Application number
CN202110991697.3A
Other languages
Chinese (zh)
Inventor
胡玉洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Genersoft Information Technology Co Ltd
Original Assignee
Shandong Inspur Genersoft Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Genersoft Information Technology Co Ltd filed Critical Shandong Inspur Genersoft Information Technology Co Ltd
Priority to CN202110991697.3A priority Critical patent/CN113761863A/en
Publication of CN113761863A publication Critical patent/CN113761863A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a configuration method, a device and a storage medium of a list page, which are used for solving the technical problem that the configuration efficiency of the list page is low due to the fact that the existing configuration method of the list page is complicated in process. The method comprises the following steps: determining one of a plurality of pre-stored list page templates; wherein, the template comprises a plurality of character strings; searching a plurality of field variables in a plurality of character strings contained in a template based on a preset rule; the field variable is used for associating fields in the list page; and matching the fields and the field variables one by one, then generating a matched list page, and modifying the configured list page. According to the method, the configuration process of the list page is achieved, the configuration and the editing of the list page can be achieved without complex programming, the high efficiency and the convenience in the application program development process are guaranteed, and the experience of a user in the use process is improved.

Description

List page configuration method, device and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for configuring a list page, and a storage medium.
Background
The ERP system is a new generation of integrated enterprise management information system, optimizes the operation mode of modern enterprises, and becomes an important management platform in modern enterprise management. When the list pages are used, some fields in the list pages cannot completely meet the requirements of users, and need to be configured and modified according to actual requirements.
The conventional list page configuration method needs to perform handwriting HTML (hypertext markup language), if the number of the list pages is large, thousands of HTML codes need to be handwritten, the process is complicated for a user, and the list page configuration efficiency is low. Further, if the user does not have knowledge of the encoding, it is difficult to implement handwritten HTML, and the arrangement of list page templates cannot be implemented.
Disclosure of Invention
The embodiment of the application provides a configuration method, a device and a storage medium of a list page, which are used for solving the technical problem that the configuration efficiency of the list page is low due to the fact that the existing configuration method of the list page is complicated in process.
In one aspect, an embodiment of the present application provides a method for configuring a list page, where the method includes: determining one of a plurality of pre-stored list page templates; wherein, the template comprises a plurality of character strings; searching a plurality of field variables in a plurality of character strings contained in a template based on a preset rule; the field variable is used for associating fields in the list page; matching a plurality of fields and a plurality of field variables one by one; and generating a matched list page.
In the embodiment of the application, before the list page is reconfigured, various templates related to the list page are preset in the template editor, and a user only needs to select one template and then configure and edit the template, and does not need to complete the manufacturing of the whole list page by handwriting hundreds of pieces of HTML codes. In the process of configuring the list page, the fields and the field variables in the template are searched and bound, and the list page can be edited. In the whole process, a user only needs to match and bind the fields and the variables, the operation process is simple and convenient, the requirement on the programming capability of the user is low, and the experience of the user is improved in the actual use process.
In an implementation manner of the present application, searching for a plurality of field variables in a template based on a preset rule specifically includes: acquiring a plurality of characteristic character strings in a template; the characteristic character string is a character string marked with a first characteristic symbol; identifying a plurality of characteristic character strings based on the first characteristic symbol; the content contained in the feature strings is extracted to determine field variables.
In one implementation of the present application, the method further comprises: acquiring an operation instruction from a client, and analyzing the operation instruction into a coding program; and generating a plurality of event variables, and mapping the event variables into the coding program corresponding to the operation instruction.
In one implementation of the present application, before generating the event variables, the method further includes: acquiring a plurality of event character strings contained in a template; the event character string is marked with a second characteristic symbol; identifying a number of event strings based on the second signature; the content contained in the event strings is extracted to determine event variables.
In one implementation of the present application, after matching the plurality of fields and the plurality of field variables one to one, the method further includes: generating a first mapping relation between a plurality of fields and a plurality of field variables; the first mapping relation is used for representing a matching process of a plurality of fields and a plurality of field variables; the first mapping relationship is saved in a database.
In an implementation manner of the present application, after generating a plurality of event variables and mapping the plurality of event variables to an encoding program corresponding to an operation instruction, the method further includes: generating a second mapping relation between a plurality of event variables and the coding program corresponding to the operation instruction; the second mapping relation is used for representing a matching process of a plurality of event variables and the coding program corresponding to the operation instruction; and storing the second mapping relation in a database.
In an implementation manner of the present application, generating a matched list page specifically includes: calling a first mapping relation; replacing field variables in the template with fields based on the first mapping relation; and calling a second mapping relation; replacing event variables in the template with operation instruction buttons based on the second mapping relation; and converting the fields in the template and the operation instruction buttons into a list page through a generator. By storing the mapping relation between the fields and the event matching process and then replacing the variables in the template with the corresponding fields and the operation instruction buttons through the mapping relation, the generation accuracy of the fields and the operation instruction buttons can be ensured.
In one implementation of the present application, the method further comprises: acquiring fields and operation instruction buttons in a list page; extracting the fields and the operation instruction buttons to a modification interface; the modification interface is used for modifying the field and the content of the operation instruction button; editing the content of the field and the content of the operation instruction button, converting the edited field into a field variable, and converting the edited operation instruction button into an event variable; mapping the field variable and the event variable to obtain a modified field and an operation instruction button; and converting the modified fields and the operation instruction buttons into a list page through a generator. The generated list page has editability, and in the actual use process, a user can conveniently configure the list page according to the requirement of the user at any time and any place.
On the other hand, the application also provides a configuration device of the list page, and the device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to: prefabricating a plurality of types of templates of the list pages, and selecting one of the templates of the list pages; wherein, the template comprises a plurality of character strings; searching a plurality of field variables in a plurality of character strings contained in a template based on a preset rule; the field variable is used for associating fields in the list page; matching a plurality of fields and a plurality of field variables one by one; and generating a matched list page.
In another aspect, the present application further provides a non-volatile computer storage medium for list page configuration, storing computer-executable instructions configured to: prefabricating a plurality of types of templates of the list pages, and selecting one of the templates of the list pages; wherein, the template comprises a plurality of character strings; searching a plurality of field variables in a plurality of character strings contained in a template based on a preset rule; the field variable is used for associating fields in the list page; matching a plurality of fields and a plurality of field variables one by one; and generating a matched list page.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a flowchart of a configuration method of a list page according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for secondarily modifying a list page according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a configuration device of a list page according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The ERP system is a new generation of integrated enterprise management information system at present, optimizes the operation mode of modern enterprises, and becomes an important management platform in modern enterprise management. When the list pages are used, some fields in the list pages cannot completely meet the requirements of users, and need to be configured and modified according to actual requirements.
The conventional list page configuration method needs to perform handwriting HTML (hypertext markup language), if the number of the list pages is large, thousands of HTML codes need to be handwritten, the process is complicated for a user, and the list page configuration efficiency is low. Further, if the user does not have knowledge of the encoding, it is difficult to implement handwritten HTML, and the arrangement of list page templates cannot be implemented.
Because users generally do not have strong programming ability, a method which does not need the user to write HTML by hand is urgently needed to be developed in the configuration of list pages, and the user can intuitively select the needed objects to be modified. Based on this, the application extracts the fields and events of the list page, and the user can realize the configuration of the list page only by binding at will according to the needs of the user.
The embodiment of the application provides a configuration method of a list page, which is used for solving the technical problem that the configuration efficiency of the list page is low due to the fact that the existing configuration method of the list page is complicated in process. The technical solutions proposed in the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a configuration method of a list page according to an embodiment of the present disclosure. As shown in fig. 1, a configuration method of a list page in the embodiment of the present application at least includes the following steps:
step 101, determining one of a plurality of pre-stored list page templates.
In the embodiment of the application, the configuration and the editing of the list page of the application program in the ERP system are mainly realized based on the HTML template editor. Before use, templates for a larger number of list pages are first pre-stored in the template editor. Since there are often thousands of list pages in an application, it is impossible to recreate the list pages each time, which certainly takes a long time and costs and occupies a large amount of memory resources. Therefore, the configuration of the list page in the embodiment of the present application must be completed by using the corresponding template.
In the embodiment of the application, the templates of the list pages processed by the HTML template editor should be configurable and low-code, so that some HTML code segments need to be stored in the HTML template editor in advance for the user to select.
Specifically, since various requirements and scenes are encountered in the form development process, the developer obtains rules such as where the avatar should be placed, where the field of the title type should be placed, what the page layout of the scene is, etc. by analyzing and summarizing the scenes. According to these rules, the developer constructs HTML fragments, i.e., HTML templates, that are adapted to various types of scenes.
Further, these HTML templates are stored in a template editor in the form of character strings, a process called pre-production HTML templates. When the page of the HTML template editor is initially loaded, the HTML character strings are integrated and processed in the template editor, so that the HTML template is prefabricated. And (4) the user can edit the built-in templates according to the self requirements by selecting the built-in templates on an operation interface of the template editor.
In the embodiment of the application, by means of more list page templates stored in the template editor in advance, most application scenarios in the enterprise management process can be included in the list page templates. Therefore, when a user applies each application program in the ERP system, according to different use requirements, when a certain list page needs to be used and modified and edited, only a template of the corresponding list page needs to be selected in the template editor.
Step 102, field variables are searched in the template.
In the embodiment of the application, the template of the list page with more scenes is pre-stored in the template editor, and after a user selects and uses the pre-stored template in the template editor, the internal system can select and analyze the template of the list page. It will be appreciated that the templates of the pre-formed listing pages are all implemented using HTML coding, and that each template will have a significant number of strings, which in effect are referred to as HTML programming code. The template editor can automatically analyze all HTML coding character strings contained in the template of a certain list page selected by a user.
Further, the template editor finds out the character string marked out by the first character symbol in the character strings. It should be noted that the first token is a special token carried in the template, that is, a special token in the HTML code of the list page. The character strings marked with special symbols are important text fields contained in the list page, and the text fields are fields needing to be edited and modified. The characteristic character string is searched through the characteristic symbol, so that the characteristic character string can be rapidly identified, and the time cost of list page configuration is saved.
Specifically, the template editor searches and distinguishes all the characteristic character strings marked with the first characteristic symbols, and then analyzes and identifies the characteristic character strings. For example, in the template of the pre-made list page in the present application, the first feature symbol is "$ { }", one character string is "$ { t ime }", and "time" is the feature character string referred to in the embodiment of the present application, that is, the field variable. The template editor will quickly identify and find the string of features labeled by the first feature "$ { }" and then determine the field variables. The process of determining the field variable may specifically be to analyze and extract the field variable in an existing regular expression matching manner, and the process is not specifically and carefully described in this application.
In the embodiment of the present application, the list page further includes a certain number of operation instruction buttons, and those skilled in the art can understand that, in the list page of the application program, the user can also configure and edit the operation instruction buttons according to the needs of the user.
Specifically, a user clicks a certain button on a client, then the template editor receives the operation instruction, the system background automatically analyzes the operation instruction, and the received operation instruction is presented on an interface of the template editor in the form of a coding program.
Further, the template editor may automatically generate a plurality of event variables, where an event variable specifically refers to a programming code corresponding to an operation button that a user may select on the list page, that is, specific content that an operation instruction is presented in a template string of the list page. And binding a plurality of event variables with the coding program corresponding to each operation instruction by the template editor.
It should be noted that the process of generating a plurality of event variables by the template editor is as follows: event character strings for representing events in the list pages are contained in character strings of templates of a plurality of list pages prefabricated in a template editor. Similarly, these event strings are marked with a second special symbol. Therefore, the template editor will find all the event strings marked with the second characteristic symbol, and then identify and parse the event strings. The event character string is searched through the characteristic symbol, the event character string can be rapidly identified, and the time cost for configuring the list page can be saved.
Specifically, the template editor will first find all event strings marked with the second characteristic symbol, and then parse and identify the event strings. For example, in the template of the pre-made list page in the present application, the second characteristic symbol is specifically "@", one event string is "@ c l ickEvent", and "c l ickEvent" is the event variable referred to in the embodiments of the present application, and may also be understood as a string representing an event variable. The template editor will quickly recognize and find out the event string marked by the special symbol of '@' and then determine the event variable. The process of determining the event variable is substantially the same as the process of determining the field variable, and the event variable is parsed and extracted by a regular expression matching method, which is not described in detail in the embodiments of the present application.
And 103, matching the fields and the field variables one by one.
In the embodiment of the application, the template editor binds a plurality of fields in the selected prefabricated list page and field variables in the template through the self-contained binding function of the template editor. And simultaneously binding a plurality of events in the prefabricated list page and event variables in the template.
It should be noted that, on the interface of the template editor, the user can select the binding of the field and the binding of the event. Each field variable may bind a different field, and likewise, each event variable may bind a different operation instruction button. The purpose of this design is to allow the user to design the list page and the operation buttons on the list page according to his own needs.
In the embodiment of the application, the process of matching and binding a plurality of fields and a plurality of field variables by the template editor is a mapping process. In the mapping process, a mapping relation is generated, the mapping relation between the field and the field variable is called as a first mapping relation in the application, and after the mapping process is completed, the template editor stores the first mapping relation in the database.
Similarly, in the embodiment of the present application, the matching process between the event variable and the encoding program corresponding to the operation instruction is referred to as a second mapping relationship, and the template editor also stores the second mapping relationship in the database.
It should be noted that the template editor stores the first mapping relationship and the second mapping relationship in the database. The first mapping relation and the second mapping relation may be generated into corresponding code programs in a programming form, and then the code programs are named in a programming file and stored in the database.
And step 104, generating a matched list page.
In the embodiment of the application, the template editor completes template configuration of the list page after completing binding of the fields and the field variables and binding of the events and the event variables.
The template editor calls a first mapping relation from the database, then field variables in the template are replaced by the bound fields through a matching process represented by the first mapping relation, then a second mapping relation is called from the database, and event variables in the template are replaced by operation instructions through a matching process represented by the second mapping relation.
And then, the template editor calls a form generator inside the template editor, and the fields and the operation instructions which are completely replaced are presented on an operation display interface of the template editor in a list page mode.
In the embodiment of the application, the user can configure and edit the list page template through the method so as to obtain the list page required by the user. For the configured list page, the user can edit and modify the list page again according to the needs of the user. The method for secondarily modifying the list page provided by the embodiment of the application is a flowchart, as shown in fig. 2, and mainly comprises the following steps:
step 201, acquiring fields in a list page and operating an instruction button.
In the embodiment of the application, the secondary modification process of the list page which is configured and edited is mainly the modification of the fields and the operation instruction buttons. And when the user uses the function of secondary modification, opening the template editor again, and selecting the list page needing modification from the list pages which are configured through the selection function of the template editor. At this time, the template editor will automatically extract all the fields in the list page and all the operation instruction buttons.
Step 202, extracting the fields and the operation instruction buttons to a modification interface.
In the embodiment of the application, the template editor extracts the fields in the list page to be modified and the content of the operation instruction button to the modification interface as the content to be modified.
On the modification interface of the template editor, all field variables can be subjected to field rebinding, for example, the field variable "time", the originally bound field is "time", the selectable fields in the modification interface of the template editor have "date", "time limit", "times", and the like, and a user can rebinding the fields and the field variables according to own needs.
One situation to be considered is that when the alternative cannot meet the user's requirement, the user can edit the text content of the field by himself/herself, and then bind the text content edited by himself/herself as a new field with the field variable.
Similarly, on the modification interface, the content of the operation instruction button can be modified and edited, and the specific process is similar to the modification process of the field, so that the process is not specifically explained and illustrated in the specification.
And step 203, editing the contents of the fields and the operation instruction buttons, and converting the edited contents into variables.
In the embodiment of the application, the newly selected or newly edited field generates a new field variable again, and the newly selected or newly edited operation instruction button generates a new event variable again. The process of regenerating the fields and the operation command buttons into new variables can be specifically completed by some existing software coding techniques, which are not described in detail in the embodiment of the present application.
In the embodiment of the application, on a modification interface of a template editor, the fields and the field variables in the list page are reselected and bound, or after the fields and the field variables are edited and bound, and the operation instruction buttons and the event variables in the list page are reselected and bound, or after the fields and the event variables are edited and bound again. The template editor maps the regenerated field variable and the regenerated event variable, and then obtains the mapped field and the operation instruction button.
And step 204, regenerating the list page.
In the embodiment of the application, the template editor stores the modified fields and the operation instruction buttons and submits the fields and the operation instruction buttons to the background. And then calling an internal form generator to present the modified content on a modification interface of the template editor in the form of a new list page again.
Meanwhile, a front-to-back comparison interface is generated on the modification interface of the template editor, and a user can check the conditions before and after modification of a certain field or event, so that the user can further modify and adjust according to the actual requirement condition of the user.
The above is a configuration method of a list page provided in the embodiment of the present application, and based on the same inventive concept, the embodiment of the present application further provides a configuration device of a list page, as shown in fig. 3.
Fig. 3 is a schematic diagram of a device for configuring a list page according to an embodiment of the present application. In fig. 3, the apparatus mainly comprises: at least one processor 301; and a memory 302 communicatively coupled to the at least one processor; wherein the memory 302 stores instructions executable by the at least one processor 301, the instructions being executable by the at least one processor 301 to enable the at least one processor 301 to: prefabricating a plurality of types of templates of the list pages, and selecting one of the templates of the list pages; wherein, the template comprises a plurality of character strings; searching a plurality of field variables in a plurality of character strings contained in a template based on a preset rule; the field variable is used for associating fields in the list page; matching a plurality of fields and a plurality of field variables one by one; and generating a matched list page.
In addition to the above list page configuration method and list page configuration device, an embodiment of the present application further provides a non-volatile computer storage medium for list page configuration, where the non-volatile computer storage medium stores computer-executable instructions, and the computer-executable instructions are configured to: prefabricating a plurality of types of templates of the list pages, and selecting one of the templates of the list pages; wherein, the template comprises a plurality of character strings; searching a plurality of field variables in a plurality of character strings contained in a template based on a preset rule; the field variable is used for associating fields in the list page; matching a plurality of fields and a plurality of field variables one by one; and generating a matched list page.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
The embodiments in the present application are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A configuration method of a list page is characterized by comprising the following steps:
determining one of the list page templates in a plurality of pre-stored list page templates; wherein, the template comprises a plurality of character strings;
searching a plurality of field variables in a plurality of character strings contained in the template based on a preset rule; wherein the field variable is used for associating fields in the list page;
matching the fields and the field variables one by one;
and generating the matched list page.
2. The method for configuring a list page according to claim 1, wherein the searching for the plurality of field variables in the template based on a preset rule specifically includes:
acquiring a plurality of characteristic character strings in the template; wherein, the characteristic character string is a character string marked with a first characteristic symbol;
identifying the feature character strings based on the first feature symbol;
extracting contents contained in the feature character strings to determine the field variables.
3. The method of claim 1, wherein the method further comprises:
acquiring an operation instruction from a client, and analyzing the operation instruction into a coding program;
and generating a plurality of event variables, and mapping the event variables into the coding program corresponding to the operation instruction.
4. The method of claim 3, wherein before generating the event variables, the method further comprises:
acquiring a plurality of event character strings contained in the template; the event character string is marked with a second characteristic symbol;
identifying the event character strings based on the second characteristic symbols;
extracting contents contained in the event character strings to determine the event variables.
5. The method of claim 1, wherein after said matching said fields and said field variables, said method further comprises:
generating a first mapping relation between the fields and the field variables; wherein the first mapping relation is used for characterizing a matching process of the fields and the field variables;
and storing the first mapping relation in a database.
6. The method for configuring a list page according to claim 3, wherein after the generating a plurality of event variables and mapping the plurality of event variables to the encoding program corresponding to the operation instruction, the method further comprises:
generating a second mapping relation between the event variables and the coding program corresponding to the operation instruction; the second mapping relation is used for representing a matching process of the event variables and the coding program corresponding to the operation instruction;
and storing the second mapping relation in a database.
7. The method for configuring a list page according to claim 1, wherein the generating the matched list page specifically includes:
calling a first mapping relation;
replacing the field variable in the template with the field based on the first mapping relationship; and the number of the first and second groups,
calling a second mapping relation;
replacing event variables in the template with operation instruction buttons based on the second mapping relation;
and converting the fields in the template and the operation instruction buttons into a list page through a generator.
8. The method of claim 7, wherein the method further comprises:
acquiring fields and operation instruction buttons in the list page;
extracting the field and the operation instruction button to a modification interface; the modification interface is used for modifying the field and the content of the operation instruction button;
editing the content of the field and the content of the operation instruction button, converting the edited field into a field variable, and converting the edited operation instruction button into an event variable;
mapping the field variable and the event variable to obtain the modified field and the modified operation instruction button;
and converting the modified fields and the operation instruction buttons into a list page through a generator.
9. A configuration device for a list page, the device comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
prefabricating a plurality of types of templates of the list pages, and selecting one of the templates of the list pages; wherein, the template comprises a plurality of character strings;
searching a plurality of field variables in a plurality of character strings contained in the template based on a preset rule; wherein the field variable is used for associating fields in the list page;
matching the fields and the field variables one by one;
and generating the matched list page.
10. A non-transitory computer storage medium configured for list pages, storing computer-executable instructions configured to:
prefabricating a plurality of types of templates of the list pages, and selecting one of the templates of the list pages; wherein, the template comprises a plurality of character strings;
searching a plurality of field variables in a plurality of character strings contained in the template based on a preset rule; wherein the field variable is used for associating fields in the list page;
matching the fields and the field variables one by one;
and generating the matched list page.
CN202110991697.3A 2021-08-27 2021-08-27 List page configuration method, device and storage medium Pending CN113761863A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110991697.3A CN113761863A (en) 2021-08-27 2021-08-27 List page configuration method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110991697.3A CN113761863A (en) 2021-08-27 2021-08-27 List page configuration method, device and storage medium

Publications (1)

Publication Number Publication Date
CN113761863A true CN113761863A (en) 2021-12-07

Family

ID=78791489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110991697.3A Pending CN113761863A (en) 2021-08-27 2021-08-27 List page configuration method, device and storage medium

Country Status (1)

Country Link
CN (1) CN113761863A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114895823A (en) * 2022-05-07 2022-08-12 深圳市掌阅科技有限公司 Menu display method, electronic device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114895823A (en) * 2022-05-07 2022-08-12 深圳市掌阅科技有限公司 Menu display method, electronic device and storage medium
CN114895823B (en) * 2022-05-07 2024-05-03 深圳市掌阅科技有限公司 Menu display method, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
CN108319547B (en) Test case generation method, device and system
CN109308254B (en) Test method, test device and test equipment
CN106933887B (en) Data visualization method and device
US20050188323A1 (en) Template creation apparatus and creation method
CN107273546B (en) Counterfeit application detection method and system
Freeman Essential TypeScript 5
CN111966334A (en) Service processing method, device and equipment
CN110543299A (en) Cloud computing management platform code generation method and device
CN110990274A (en) Data processing method, device and system for generating test case
CN108874379B (en) Page processing method and device
CN111667231B (en) Automatic tax return method, device, system, computer equipment and storage medium
CN113010169A (en) Method and apparatus for converting UI diagram into code file
CN114610286A (en) Development document generation method and device, computer equipment and storage medium
CN110362792B (en) Method and device for converting RN file into applet file and conversion equipment
Reid et al. NCQ: code reuse support for Node. js developers
CN117311683B (en) Code auxiliary system, code auxiliary processing method and device and electronic equipment
CN113761863A (en) List page configuration method, device and storage medium
CN112231197A (en) Page testing method and device and storage medium
Krosnick et al. Promises and Pitfalls of Using LLMs for Scraping Web UIs
CN114449063B (en) Message processing method, device and equipment
CN116501317A (en) Page generation method and device, storage medium and electronic equipment
CN115016778A (en) WebIDE-based application development method, equipment and medium
CN110704742B (en) Feature extraction method and device
CN112114794A (en) Automatic generation method and device of website application program and computer storage medium
CN113051262A (en) Data quality inspection 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