CN114546220A - Page configuration method and device, storage medium and computer equipment - Google Patents

Page configuration method and device, storage medium and computer equipment Download PDF

Info

Publication number
CN114546220A
CN114546220A CN202210252102.7A CN202210252102A CN114546220A CN 114546220 A CN114546220 A CN 114546220A CN 202210252102 A CN202210252102 A CN 202210252102A CN 114546220 A CN114546220 A CN 114546220A
Authority
CN
China
Prior art keywords
page
list
target
target data
data
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
CN202210252102.7A
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.)
Ping An International Smart City Technology Co Ltd
Original Assignee
Ping An International Smart City 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 Ping An International Smart City Technology Co Ltd filed Critical Ping An International Smart City Technology Co Ltd
Priority to CN202210252102.7A priority Critical patent/CN114546220A/en
Publication of CN114546220A publication Critical patent/CN114546220A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a page configuration method and device, a storage medium and computer equipment, relates to the technical field of information processing, and mainly aims to solve the problem that the existing list checking service scene is single. The method mainly comprises the steps of responding to a trigger instruction of a list operation item in a first page, calling a second unrendered page, and acquiring initial transfer parameters determined based on target data in the first page; acquiring configuration operation content for configuring at least two page components in the second page, and determining parameter variables of the page components in the second page based on the configuration operation content; determining target transfer parameters matched with the parameter variables from the initial transfer parameters, and acquiring the target data corresponding to the target transfer parameters; and rendering the target data to the second page to obtain a display page containing the complete target data. The method is mainly used for page configuration of the list viewing page.

Description

Page configuration method and device, storage medium and computer equipment
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a page configuration method and apparatus, a storage medium, and a computer device.
Background
With the development of the internet, browsing pages of websites or application programs are the main source of data information acquired by people, and many data in the pages are displayed in a list form. When a user clicks a data list operation item of a current page, responding to an operation instruction of the user, skipping the current page to a next page, simultaneously transmitting a parameter of the data list to the next page by the current page, and displaying the detailed data in the page in the form of the data list or a form by the next page according to the acquired parameter.
In the existing process of jumping from a list page to a next level page, a data acquisition method of a list or a list based on single parameter transmission can only jump to a page displaying a single form service by operating a list operation item, such as opening a single list detail page, jumping to an external link, and the like. When viewing a complex data list or acquiring data of other data lists, the page configuration requirements of rendering a plurality of different forms and lists on the same page cannot be met, and the problem that the list viewing service scene is single exists.
Disclosure of Invention
In view of this, the present invention provides a page configuration method and apparatus, a storage medium, and a computer device, and mainly aims to solve the problem that the existing list viewing service scenario is single.
According to an aspect of the present invention, there is provided a page configuration method, including:
responding to a trigger instruction of a list operation item in a first page, calling a non-rendered second page, and acquiring an initial transmission parameter determined based on list data in the first page;
acquiring configuration operation content for configuring at least two page components in the second page, and determining parameter variables of the page components in the second page based on the configuration operation content;
determining target transmission parameters matched with the parameter variables from the initial transmission parameters, and acquiring target data corresponding to the target transmission parameters;
and rendering the target data to the second page to obtain a display page containing the complete target data.
Further, before the obtaining of the initial delivery parameter determined based on the target data in the first page, the method further includes:
receiving a configuration information query instruction, and querying based on keywords carried by the configuration information query instruction to obtain target configuration information matched with the keywords;
and acquiring a configuration result for configuring the transmission parameters listed in the first page based on the target configuration information, and extracting the initial transmission parameters from the configuration result based on the target data.
Further, the target data is the associated data shown in the second page; the target configuration information includes preset parameter variables and associated field values for configuring the delivery parameters.
Further, the page components include a list component and a form component, and the obtaining configuration operation content for configuring at least two page components in the second page, and determining parameter variables of the page components in the second page based on the configuration operation content includes:
acquiring first operation content for configuring the page component of the second page, and generating at least one form component and/or at least one list component based on the first operation content;
and acquiring second operation content for configuring the parameter variables of the form component and/or the list component, and determining the form parameter variables and/or the list parameter variables based on the second operation content.
Further, the parameter variables include list parameter variables and form parameter variables, the target data includes target list data and target form data, and extracting the target transfer parameter matched with the parameter variables from the initial transfer parameter and acquiring the target data corresponding to the target transfer parameter includes:
determining target list parameters matched with the list parameter variables from the initial transmission parameters, and inquiring according to the target list parameters to obtain target list data;
and determining target form parameters matched with the form parameter variables from the initial transmission parameters, and inquiring according to the associated field values of the target form parameters to obtain target form data.
Further, the list operation item in the first page at least includes one of item information in an item list, transaction details in a transaction list and order information in an order list.
Further, the method further comprises:
when an updating operation instruction for updating second target data in the display page is detected, acquiring the updating operation content of the second target data;
inquiring according to the target transmission parameters corresponding to the second target data, and determining the target data corresponding to the second target data;
and updating the target data according to the updating operation content of the second target data.
According to another aspect of the present invention, there is provided a page configuring apparatus, including:
the first obtaining module is used for responding to a trigger instruction of a list operation item in a first page, calling a non-rendered second page and obtaining an initial transmission parameter determined based on target data in the first page;
a second obtaining module, configured to obtain configuration operation content for configuring at least two page components in the second page, and determine parameter variables of the page components in the second page based on the configuration operation content;
a third obtaining module, configured to determine, from the initial transfer parameters, target transfer parameters that are matched with the parameter variables, and obtain the target data corresponding to the target transfer parameters;
and the rendering module is used for rendering the target data to the second page to obtain a display page containing the complete target data.
Further, the apparatus further comprises:
the query module is used for receiving a configuration information query instruction and querying based on at least two keywords carried by the configuration information query instruction to obtain target configuration information matched with each keyword;
and the configuration module is used for acquiring a configuration result for configuring the transmission parameters of the list in the first page based on the target configuration information, and extracting the initial transmission parameters from the configuration result based on the target data.
Further, the configuration module is specifically configured to enable the target data to be associated data displayed in the second page;
the target configuration information includes preset parameter variables and associated field values for configuring the delivery parameters.
Further, the second obtaining module includes:
a first obtaining unit, configured to obtain first operation content for configuring a page component of the second page, and generate at least one form component and/or at least one list component based on the first operation content;
and the second acquisition unit is used for acquiring second operation content for configuring the parameter variables of the form component and/or the list component and determining the form parameter variables and/or the list parameter variables based on the second operation content.
Further, the fourth obtaining module includes:
a third obtaining unit, configured to determine, from the initial transfer parameters, target list parameters that match the list parameter variables, and perform query according to the target list parameters to obtain target list data; and/or the presence of a gas in the gas,
and the fourth obtaining unit is used for determining the target form parameters matched with the form parameter variables from the initial transmission parameters and inquiring according to the associated field values of the target form parameters to obtain the target form data.
Further, the first obtaining module is specifically configured to enable the list operation item in the first page to at least include one of item information in an item list, transaction details in a transaction list, and order information in an order list.
Further, the apparatus further comprises:
the fourth obtaining module is used for obtaining the updating operation content of the second target data when an updating operation instruction for updating the second target data in the display page is detected;
the second query module is used for querying according to the target transmission parameter corresponding to the second target data and determining the target data corresponding to the second target data;
and the updating module is used for updating the target data according to the updating operation content of the second target data.
According to another aspect of the present invention, a storage medium is provided, where at least one executable instruction is stored, and the executable instruction causes a processor to perform operations corresponding to the page configuration method.
According to still another aspect of the present invention, there is provided a computer apparatus including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the page configuration method.
By the technical scheme, the technical scheme provided by the embodiment of the invention at least has the following advantages:
compared with the prior art, the embodiment of the invention calls a non-rendered second page by responding to a trigger instruction of a list operation item in a first page, and obtains an initial transmission parameter determined based on target data in the first page; acquiring configuration operation content for configuring at least two page components in the second page, and determining parameter variables of the page components in the second page based on the configuration operation content; determining target transmission parameters matched with the parameter variables from the initial transmission parameters, and acquiring target data corresponding to the target transmission parameters; and rendering the target data to the second page to obtain a display page containing the complete target data, so that the contents of lists and/or forms in a plurality of list detail pages are displayed in one detail page of the list, and the page configuration contents of the list viewing page are greatly enriched, thereby meeting the viewing requirements of users on complex lists and effectively improving the user experience.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a flowchart of a page configuration method provided in an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another page configuring method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a list configuration module according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a further page configuring method according to an embodiment of the present invention;
FIG. 5 is a block diagram illustrating a page configuration apparatus according to an embodiment of the present invention;
fig. 6 shows a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Aiming at the process of jumping from a list page to a next level page in the prior art, the data acquisition method of the list or the list based on single parameter transmission can only jump to the page displaying single form service by operating the list operation item, such as opening a single list detail page, jumping to an external link and the like, when viewing or acquiring data of other data lists for a complex data list, the page configuration requirement of rendering a plurality of different forms and lists on the same page can not be met, and the problem that the list viewing service scene is single exists. An embodiment of the present invention provides a page configuration method, as shown in fig. 1, the method includes:
101. and in response to a triggering instruction of the list operation item in the first page, calling a non-rendered second page, and acquiring initial transfer parameters determined based on target data in the first page.
In this embodiment of the present invention, the first page is a list page including at least one list, each list may include a plurality of list rows, and each list row includes a plurality of list operation items for indicating associated data in an associated page of the presentation list, such as detail data in a detail page. For example, an order list contains a plurality of orders, each order includes an order serial number, an order name and other presentation data, and also includes order information, transportation information and other list operation items which can expand specific contents of the order information or specific logistics information of the transportation information in response to a click command. The second page is a list viewing page for showing the list details in the first page. When one list operation item is triggered, the server calls a second page for displaying associated data in an associated page of the list, and obtains an initial transmission parameter corresponding to a list row pointed by the current list operation item, wherein the initial transmission parameter can be used as a query basis for the second page to obtain the display data.
It should be noted that the initial delivery parameter is a list delivery parameter determined based on the target data. The target data is data that needs to be presented in the second page determined from the associated data in the next-level page (associated page) of all list operation items of the list. For example, if a user needs to check the item details and the item progress, the delivery parameters may be configured based on the item detail data in the item detail association page and the item progress data in the item progress association page, so as to obtain a first delivery parameter corresponding to the item detail data and a second delivery parameter corresponding to the item progress data. When the item details or the item progress (list operation item) of a certain item is triggered, a second page is called, and a first transmission parameter and a second transmission parameter corresponding to the item are transmitted to a next display page together. And when the list operation item is triggered, a plurality of initial transmission parameters corresponding to the list row pointed by the current list operation item are transmitted to the second page, so that the multi-parameter transmission of the list can be realized, a data basis is provided for the page configuration of the subsequent display page, and the aim of displaying a plurality of service scene data in the same page is fulfilled.
102. And acquiring configuration operation content for configuring at least two page components in the second page, and determining parameter variables of the page components in the second page based on the configuration operation content.
In the embodiment of the invention, because the second page needs to display the associated data of the list in the plurality of items of first page, and the associated data of the list may have two display forms, i.e. the item detail data is displayed in the form of list, and the item progress data is displayed in the form of form. Therefore, the page components in the second page need to be configured according to the associated data of the list in the first page that needs to be displayed in the second page, and corresponding parameter variables are bound to the configured page components, and the parameter variables are determined based on the data content that the page components need to receive. For example, if the project detail data and the project progress data need to be displayed, a list component and a form component are configured in the second page, and further, the parameter variable corresponding to the project detail data is bound for the list component, and the parameter variable corresponding to the project progress data is bound for the form component.
It should be noted that the parameter variable bound to the page component of the second page corresponds to the initial transfer parameter, and the parameter variable bound to the page component, that is, the transfer parameter to be acquired by each page component is set, so that each page component can determine the transfer parameter required by the page component from the plurality of transfer parameters of the initial transfer parameter according to the bound parameter variable, thereby respectively acquiring the multi-page components of the plurality of transfer parameters.
103. And determining target transmission parameters matched with the parameter variables from the initial transmission parameters, and acquiring the target data corresponding to the target transmission parameters.
In the embodiment of the invention, the initial transfer parameters comprise a plurality of transfer parameters corresponding to different forms or lists of data, each transfer parameter comprises a parameter variable and an associated field value associated with the parameter variable, each page component configured in the second page is matched with a transfer parameter required by the page component, namely a target transfer parameter, from the plurality of transfer parameters of the initial transfer parameters according to the bound parameter variable, and then data query is carried out according to the target transfer parameter, the position of the target data in a back-end database table is determined, and the target data required to be displayed in the page component is called from the database table.
104. And rendering the target data to the second page to obtain a display page containing the complete target data.
In the embodiment of the invention, the acquired target data is loaded to the second page, and after the form component or the list in the page acquires the corresponding target data, the page browser is rendered through a js + css + html program to obtain the display page of the second page. For example, the target data comprises project detail data associated with project information in the first page list and project progress data associated with project progress, the project detail data and the project progress data are searched from the back-end database table, the project detail data and the project progress data are loaded into the second page, and the rendering is performed through a js + css + html program, so that a display page comprising a project detail list and a project progress form is obtained. The target data are respectively rendered into the corresponding page components, so that the form and/or the list of a plurality of service types are displayed in one page, the requirement of a user for checking the data of the plurality of service types in one page is met, and the use experience of the user is effectively improved.
For further explanation and limitation, in an embodiment of the present invention, as shown in fig. 2, before the obtaining 101 at least two initial delivery parameters determined based on the list data in the first page, the method further includes:
201. receiving a configuration information query instruction, and querying based on at least two keywords carried by the configuration information query instruction to obtain target configuration information matched with each keyword.
202. And acquiring a configuration result for configuring the transmission parameters listed in the first page based on the target configuration information, and extracting the initial transmission parameters from the configuration result based on the target data.
In the embodiment of the invention, in order to completely display a plurality of items of target data which need to be viewed by a user in the second page, the initial transmission parameters corresponding to the target data need to be generated, and the target data in the list in the first page is transmitted based on the initial transmission parameters. A user can input a configuration information query instruction through the list configuration module, acquire target configuration information according to keywords carried by the query instruction, and configure initial transmission parameters according to the target configuration information. The configuration information query instruction comprises a query statement configured by all or part of associated data displayed by a user according to needs, the query statement is used for calling configuration information for configuring transmission parameters, and a keyword carried by the instruction corresponds to a list operation item name corresponding to the associated data. For example, project _ info corresponds to the associated data of the item information, the configuration result of the delivery parameters may include the configuration result of the delivery parameters of all associated data in a list, or the configuration result of the delivery parameters of all associated data in several lists, and the initial delivery parameters that need to be delivered need to be determined from the configuration result of the delivery parameters of the associated data according to the target data.
It should be noted that, as shown in fig. 3, the list configuration module includes an SQL (Structured Query Language) code editor and a global delivery parameter configurator. The SQL code editor can be used for configuring SQL sentences and executing the SQL sentences to query and acquire data, the global transmission parameter configurator is used for configuring global transmission parameters including unique instance IDs and custom parameters based on queried preset parameter variables and associated field values, the unique instance IDs are parameters corresponding to form data, the associated field values (values) in the unique instance IDs are unique identifiers of the query form data, and the associated field values (values) in the custom parameters are unique identifiers for identifying the query list data. The user displays the associated data in the second page as required, an SQL statement corresponding to the associated data is set in an SQL code editor, a list configuration module obtains a plurality of preset parameter variables and associated field values corresponding to the associated data by executing the SQL statement query set by the user, the queried content is sent to a global transfer parameter configurator, the user selects the preset parameter variables from the global transfer parameter configurator and selects the associated field values corresponding to the preset parameter variables, namely, the association relation between the preset parameter variables (key) and the associated field values is established, and each pair of the preset parameter variables and the associated field values determines an initial transfer parameter. The preset parameter variable may be a name of associated data, such as order _ info (order information), and the associated field value may be a storage address of associated data, such as order _ id (order data storage address), which is not limited in the embodiment of the present invention. For example, when a user faces a project list of a certain project and needs to simultaneously display project information details such as a project name, a project number, project creation time, a project principal, and the like, and project progress information in an open second page after clicking a detail operation item of the project information, the user needs to set a statement in an SQL code editor to obtain preset parameter variables corresponding to the project information and the project progress from a database and storage addresses of the project information and the project progress data in the database, and associate the preset parameter variables of the project information and the storage addresses of the project information data through a global transfer parameter configurator to obtain initial transfer parameters of the project information.
It should be noted that, the user who sets the initial delivery parameters may be a developer or a person who performs a list viewing operation. Aiming at the condition that the list viewing items of the list are basically fixed by the list viewing personnel and the page configuration requirements of the display page are also fixed, the initial transmission parameters can be configured by the developers. For example, a documentary staff of foreign trade orders needs to check order information, transportation information and customs clearance information of each order in an order list every day, and initial transmission parameters can be pre-configured by developers based on the order information, the transportation information and the customs clearance information; aiming at the conditions that the list viewing personnel has higher professional level and the viewed list items are more complex, the list viewing personnel can configure the initial transmission parameters by the list configuration module, for example, professional project management personnel need to view different project information in stages, for the project in the project approval phase, project butt joint personnel need to be viewed, information such as approval progress and the like, for the project in the project implementation phase, project progress and project expenditure and the like need to be viewed, and then the list viewing personnel can configure the initial transmission parameters according to the requirement of recently viewing the list.
For further explanation and limitation, in one embodiment of the present invention, the target data in step 201 is associated data shown in the second page; the configuration information includes preset parameter variables and associated field values for configuring the delivery parameters.
In the embodiment of the invention, the initial transfer parameter variable is determined from the transfer parameter configuration result based on the target data. The target data is associated data which is necessarily displayed in the second page, and the target data may be associated data which is matched with a keyword carried by the configuration information query instruction, or associated data which is matched with the keyword carried by the configuration information query instruction and pointed by an operation item of the triggered list. When the list only comprises the related information of one item, for example, only the item A is in the list, and the item details and the item progress of the item A need to be shown on the second page, the initial transmission parameters can be determined by configuring the corresponding keywords carried by the information query instruction; however, when A, B, C related information of a plurality of items are included in the list, it is necessary to determine which item detail data and item progress data of the item is to be transferred based on the determination of the related data that needs to be transferred, such as the item detail data and the item progress data, and at this time, it is necessary to determine in combination with the item pointed by the triggered operation item. For example, in the project list, the keywords carried by the configuration information query instruction are determined to be the project information and the project schedule, that is, corresponding transmission parameters are configured for all the project information and the project schedule in the project list. Because the project information and the project schedule of only one project need to be checked each time, when the list operation item corresponding to a certain project is triggered, only the project information and the project schedule of the project corresponding to the triggered list operation item are transmitted.
It should be noted that the target list column to be transmitted is determined by the keywords carried by the configuration information query instruction, the target list column includes associated data in the target list column of all list rows, and further, the pointed list row is determined by triggering the list operation item, and the target data and the initial transmission parameter are determined, so that the initial transmission parameter can be accurately determined under the condition that the list data is more complex, and the requirement that a plurality of items of associated data in a certain list item in the more complex list are displayed in the page is met.
In an embodiment of the present invention, for further explanation and limitation, as shown in fig. 4, the step 102 of obtaining configuration operation contents for configuring at least two page components in the second page, and determining parameter variables of the page components in the second page based on the configuration operation contents includes:
1021. and acquiring first operation content for configuring the page component of the second page, and generating at least one form component and/or at least one list component based on the first operation content.
1022. And acquiring second operation content for configuring the parameter variables of the form component and/or the list component, and determining the form parameter variables and/or the list parameter variables based on the second operation content.
In the embodiment of the present invention, since the target data of the first page is associated data in an associated page listed in the first page, may include at least one list-form data and at least one form-form data, and may also include data in a plurality of form forms or a plurality of list forms, in order to display a plurality of items of target data in the first page in a corresponding data form, such as a list form and a form, in the second page, it is necessary to configure corresponding page components, such as a list component and a form component, in the second page, a first operation content for configuring a page component of the second page may be to configure at least one form component and at least one list component to the second page, or to configure at least two form components or at least two list components to the second page, and further configure parameter variables of the page component, aiming at the configuration of the parameter variables of the page component, the configuration modes of the list component and the form component are different, the list component configures the list parameter variables of the list in a global transmission parameter configurator of a list configuration module, and the form component binds the form parameter variables to the form component in a mode of setting properties or names through a page designer.
It should be noted that, the configuration of the page component can configure the required page component to the second page through the page designer, wherein the page designer at least comprises a component list for configuring page components to pages and an input control for setting names or properties for the list components, the configuration of the parameter variables is determined based on the initial transfer parameters which need to be received by the current page components, for identifying from the initial delivery parameters that its corresponding page component needs to receive, by configuring the page components in the second page and determining the parameter variables of the page components based on the initial transmission parameters which need to be received by the current page components, each page component in the second page can respectively and automatically acquire the initial transmission parameters which need to be received, therefore, multi-parameter transmission in the list viewing process is supported, and simultaneously, display of multiple items of associated data in one list viewing page is supported.
For further explanation and limitation, in an embodiment of the present invention, the step 103 of extracting target transfer parameters matching the parameter variables from the initial transfer parameters and acquiring the target data corresponding to the target transfer parameters includes:
and determining target list parameters matched with the list parameter variables from the initial transmission parameters, and inquiring according to the target list parameters to obtain target list data.
And determining target form parameters matched with the form parameter variables from the initial transmission parameters, and inquiring according to the associated field values of the target form parameters to obtain target form data.
In the embodiment of the present invention, in order to obtain the target data that needs to be displayed in the second page, after the parameter variable of the page component in the second page is configured, the target data that needs to be received by each list component needs to be obtained from the database according to the parameter variable of each page component. Since different page components, such as a list component and a form component, have different target data acquisition manners, the target data acquisition manners of the list component and the form component are described separately. Aiming at the list component, according to the list parameter variable bound by the current list component, identifying an initial transfer parameter (target list parameter) with a preset parameter variable name consistent with the list parameter variable name from a plurality of received initial transfer parameters, transferring an associated field value of the obtained target list parameter to the list parameter variable, and further obtaining a where query statement through an SQL code editor based on the list parameter variable and the associated field value of the current list component. And acquiring target list data required to be received by the list component from the database table by executing a where query statement, for example, the preset parameter variable is project _ info _ id, the corresponding associated field value is project _ id, and the corresponding target list data in the database table is acquired by the where table field project _ info _ id @ project _ id @ of SQL. Aiming at the form component, according to the form parameter variable bound by the current form component, the initial transfer parameter (target form parameter) with the preset parameter variable name consistent with the form parameter variable name is identified from the received multiple initial transfer parameters, the associated field value of the target form parameter is transferred to a data query interface, and the target form data required to be received by the current form is obtained through interface query. The initial transfer parameter is determined based on the associated data in the associated page of the list in the first page, that is, there is an association relationship between the associated page and the initial transfer parameter, so the target form parameter matching the current form parameter variable can be found according to the association relationship between the associated page of the list in the first page and the initial transfer parameter. Specifically, the matched associated page address is found according to the form parameter variable, the form address in the associated page is found through the matched associated page address, the target form parameter matched with the form parameter variable is further found through the found form address, the associated field value of the target form parameter is transmitted to a form data interface, and the target form data is obtained through interface query.
For further illustration and definition, in an embodiment of the present invention, the list operation item in the first page in step 101 at least includes one of item information in an item list, transaction details in a transaction list, and order information in an order list.
In this embodiment of the present invention, the list in the first page may be an actual application scenario of one of an item list and a trade list order list. When the list in the first page is a project list, the user may configure corresponding initial delivery parameters based on project information, approval information, cost information, and associated data of project progress in the project list. When an item information list operation item of a certain item in the item list is triggered, a second page is called, initial transmission parameters of item information, examination and approval information, expense information and item progress correlation data corresponding to the item are obtained, the item information, examination and approval information, expense information and item progress correlation data of the item to be displayed are determined according to the initial transmission parameters and parameter variables of all page components configured in the second page, and the item information, examination and approval information, expense information and item progress correlation data are rendered into the corresponding page components of the display page. When the list in the first page is a transaction list, the user can configure corresponding initial transmission parameters based on the transaction reason, the transaction amount and the associated data of the transaction time in the transaction list, and when the transaction detail list operation item of a certain transaction in the transaction list is triggered, the second page is called, and the initial transmission parameters of the associated data of the transaction reason, the transaction amount and the transaction time corresponding to the transaction are obtained. And determining the transaction affair, transaction amount and associated data of the transaction time which need to be displayed according to the initial transmission parameters and the parameter variables of each page component configured in the second page, and rendering the data to the corresponding page component of the display page. When the list in the first page is an order list, the user may configure corresponding initial delivery parameters based on the order details, delivery status, and associated data of the logistics information in the order list. When an order detail list operation item of a certain order in the order list is triggered, a second page is called, initial transmission parameters of associated data of order details, delivery states and logistics information corresponding to the order are obtained, the associated data of the order details, the delivery states and the logistics information of the order to be displayed are determined according to the initial transmission parameters and parameter variables of all page components configured in the second page, and the associated data are rendered into the corresponding page components of the display page.
It should be noted that, by providing an initial transmission parameter configuration method matched with an actual service list aiming at lists of different actual services, the lists of different actual services can display multiple items of list associated data in the same list expansion page, thereby meeting the viewing requirements of users on complex lists in different actual application scenes.
In an embodiment of the present invention, for further explanation and limitation, the method further comprises:
and when an updating operation instruction for updating second target data in the display page is detected, acquiring the updating operation content of the second target data.
And inquiring according to the target transmission parameters corresponding to the second target data, and determining the target data corresponding to the second target data.
And updating the target data according to the updating operation content of the second target data.
In the embodiment of the invention, after the display page containing complete target data is obtained, when a user needs to modify certain target data in the display page, namely second target data, the update operation content for updating the second target data is obtained in response to an update operation instruction for updating the second target data in the display page by the user, and the storage address of the target data corresponding to the list in the first page by the second target data is inquired according to the target transmission parameter corresponding to the second target data. Further, the content of the storage address of the target data is updated according to the update operation content of the second target data.
It should be noted that, the second target data in the display page corresponds to the target delivery parameter, and the associated field value in the target delivery parameter may be used to search the target data, that is, the second target data is the corresponding target data obtained by the target delivery parameter. Therefore, when the second target data is updated, the target data can be searched through the corresponding target transmission parameters, and synchronous updating of the currently displayed page data and the list associated data in the previous-level page is realized through searching and updating the target data, so that the unification of the multi-level list data is ensured.
The embodiment of the invention provides a page configuration method, which comprises the steps of calling a non-rendered second page by responding to a trigger instruction of a list operation item in a first page, and acquiring an initial transmission parameter determined based on target data in the first page; acquiring configuration operation content for configuring at least two page components in the second page, and determining parameter variables of the page components in the second page based on the configuration operation content; determining target transmission parameters matched with the parameter variables from the initial transmission parameters, and acquiring target data corresponding to the target transmission parameters; and rendering the target data to the second page to obtain a display page containing the complete target data, so that the contents of lists and/or forms in a plurality of list detail pages are displayed in one detail page of the list, and the page configuration contents of the list viewing page are greatly enriched, thereby meeting the viewing requirements of users on complex lists and effectively improving the user experience.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present invention provides a page configuration apparatus, as shown in fig. 5, where the apparatus includes:
a first obtaining module 31, configured to, in response to a trigger instruction of a list operation item in a first page, call a second page that is not rendered, and obtain an initial transfer parameter determined based on target data in the first page;
a second obtaining module 32, configured to obtain configuration operation content for configuring at least two page components in the second page, and determine parameter variables of the page components in the second page based on the configuration operation content;
a third obtaining module 33, configured to determine, from the initial transfer parameters, target transfer parameters that are matched with the parameter variables, and obtain the target data corresponding to the target transfer parameters;
and a rendering module 34, configured to render the target data to the second page, so as to obtain a display page including the complete target data.
Further, the apparatus further comprises:
the query module is used for receiving a configuration information query instruction and querying based on at least two keywords carried by the configuration information query instruction to obtain target configuration information matched with each keyword;
and the configuration module is used for acquiring a configuration result for configuring the transmission parameters of the list in the first page based on the target configuration information, and extracting the initial transmission parameters from the configuration result based on the target data.
Further, the configuration module is specifically configured to enable the target data to be associated data displayed in the second page;
the target configuration information includes preset parameter variables and associated field values for configuring the delivery parameters.
Further, the second obtaining module includes:
a first obtaining unit, configured to obtain first operation content for configuring a page component of the second page, and generate at least one form component and/or at least one list component based on the first operation content;
and the second acquisition unit is used for acquiring second operation content for configuring the parameter variables of the form component and/or the list component and determining the form parameter variables and/or the list parameter variables based on the second operation content.
Further, the fourth obtaining module includes:
a third obtaining unit, configured to determine, from the initial transfer parameters, target list parameters that match the list parameter variables, and perform query according to the target list parameters to obtain target list data; and/or the presence of a gas in the gas,
and the fourth obtaining unit is used for determining the target form parameters matched with the form parameter variables from the initial transmission parameters and inquiring according to the associated field values of the target form parameters to obtain the target form data.
Further, the first obtaining module is specifically configured to enable the list operation item in the first page to at least include one of item information in an item list, transaction details in a transaction list, and order information in an order list.
Further, the apparatus further comprises:
the fourth obtaining module is used for obtaining the updating operation content of the second target data when an updating operation instruction for updating the second target data in the display page is detected;
the second query module is used for querying according to the target transmission parameter corresponding to the second target data and determining the target data corresponding to the second target data;
and the updating module is used for updating the target data according to the updating operation content of the second target data.
The embodiment of the invention provides a page configuration device, which is characterized in that a second unrendered page is called by responding to a trigger instruction of a list operation item in a first page, and an initial transmission parameter determined based on target data in the first page is obtained; acquiring configuration operation content for configuring at least two page components in the second page, and determining parameter variables of the page components in the second page based on the configuration operation content; determining target transmission parameters matched with the parameter variables from the initial transmission parameters, and acquiring target data corresponding to the target transmission parameters; and rendering the target data to the second page to obtain a display page containing the complete target data, so that the contents of lists and/or forms in a plurality of list detail pages are displayed in one detail page of the list, and the page configuration contents of the list viewing page are greatly enriched, thereby meeting the viewing requirements of users on complex lists and effectively improving the user experience.
According to an embodiment of the present invention, a storage medium is provided, where the storage medium stores at least one executable instruction, and the computer executable instruction can execute the page configuration method in any method embodiment.
Fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the computer device.
As shown in fig. 6, the computer apparatus may include: a processor (processor)402, a Communications Interface 404, a memory 406, and a Communications bus 408.
Wherein: the processor 402, communication interface 404, and memory 406 communicate with each other via a communication bus 408.
A communication interface 404 for communicating with network elements of other devices, such as clients or other servers.
The processor 402 is configured to execute the program 410, and may specifically perform relevant steps in the above-described embodiment of the page configuration method.
In particular, program 410 may include program code comprising computer operating instructions.
The processor 402 may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention. The device includes one or more processors, which may be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 406 for storing a program 410. Memory 406 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 410 may specifically be configured to cause the processor 402 to perform the following operations:
responding to a trigger instruction of a list operation item in a first page, calling a non-rendered second page, and acquiring an initial transfer parameter determined based on target data in the first page;
acquiring configuration operation content for configuring at least two page components in the second page, and determining parameter variables of the page components in the second page based on the configuration operation content;
determining target transmission parameters matched with the parameter variables from the initial transmission parameters, and acquiring target data corresponding to the target transmission parameters;
and rendering the target data to the second page to obtain a display page containing the complete target data.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A page configuration method is characterized by comprising the following steps:
responding to a trigger instruction of a list operation item in a first page, calling a non-rendered second page, and acquiring an initial transfer parameter determined based on target data in the first page;
acquiring configuration operation content for configuring at least two page components in the second page, and determining parameter variables of the page components in the second page based on the configuration operation content;
determining target transfer parameters matched with the parameter variables from the initial transfer parameters, and acquiring the target data corresponding to the target transfer parameters;
and rendering the target data to the second page to obtain a display page containing the complete target data.
2. The method of claim 1, wherein prior to obtaining the initial delivery parameters determined based on the target data in the first page, the method further comprises:
receiving a configuration information query instruction, and querying based on keywords carried by the configuration information query instruction to obtain target configuration information matched with the keywords;
and acquiring a configuration result for configuring the transmission parameters listed in the first page based on the target configuration information, and extracting the initial transmission parameters from the configuration result based on the target data.
3. The method of claim 2, wherein the target data is associated data presented in the second page;
the target configuration information includes preset parameter variables and associated field values for configuring the delivery parameters.
4. The method of claim 1, wherein the page components comprise a list component and a form component, and wherein obtaining configuration operation content for configuring at least two page components in the second page and determining parameter variables of the page components in the second page based on the configuration operation content comprises:
acquiring first operation content for configuring the page component of the second page, and generating at least one form component and/or at least one list component based on the first operation content;
and acquiring second operation content for configuring the parameter variables of the form component and/or the list component, and determining the form parameter variables and/or the list parameter variables based on the second operation content.
5. The method of claim 1, wherein the parameter variables comprise list parameter variables and/or form parameter variables, the target data comprise target list data and/or target form data, and the extracting target transfer parameters matching the parameter variables from the initial transfer parameters and obtaining the target data corresponding to the target transfer parameters comprises:
determining target list parameters matched with the list parameter variables from the initial transmission parameters, and inquiring according to the target list parameters to obtain target list data; and/or the presence of a gas in the gas,
and determining target form parameters matched with the form parameter variables from the initial transmission parameters, and inquiring according to the associated field values of the target form parameters to obtain target form data.
6. The method of claim 1, wherein the list operation item in the first page comprises at least one of item information in an item list, transaction details in a transaction list, and order information in an order list.
7. The method according to any one of claims 1-5, further comprising:
when an updating operation instruction for updating second target data in the display page is detected, acquiring the updating operation content of the second target data;
inquiring according to the target transmission parameters corresponding to the second target data, and determining the target data corresponding to the second target data;
and updating the target data according to the updating operation content of the second target data.
8. A page configuring apparatus, comprising:
the first obtaining module is used for responding to a trigger instruction of a list operation item in a first page, calling a non-rendered second page and obtaining an initial transmission parameter determined based on target data in the first page;
a second obtaining module, configured to obtain configuration operation content for configuring at least two page components in the second page, and determine parameter variables of the page components in the second page based on the configuration operation content;
a third obtaining module, configured to extract the target parameter matched with the parameter variable from the initial transfer parameter, and obtain target data corresponding to the target parameter;
and the rendering module is used for rendering the target data to the second page to obtain a display page containing the complete target data.
9. A storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the page configuration method of any one of claims 1-7.
10. A computer device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the page configuration method according to any one of claims 1-7.
CN202210252102.7A 2022-03-15 2022-03-15 Page configuration method and device, storage medium and computer equipment Pending CN114546220A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210252102.7A CN114546220A (en) 2022-03-15 2022-03-15 Page configuration method and device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210252102.7A CN114546220A (en) 2022-03-15 2022-03-15 Page configuration method and device, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN114546220A true CN114546220A (en) 2022-05-27

Family

ID=81663761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210252102.7A Pending CN114546220A (en) 2022-03-15 2022-03-15 Page configuration method and device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN114546220A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116302294A (en) * 2023-05-18 2023-06-23 安元科技股份有限公司 Method and system for automatically identifying component attribute through interface

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116302294A (en) * 2023-05-18 2023-06-23 安元科技股份有限公司 Method and system for automatically identifying component attribute through interface
CN116302294B (en) * 2023-05-18 2023-09-01 安元科技股份有限公司 Method and system for automatically identifying component attribute through interface

Similar Documents

Publication Publication Date Title
US6434580B1 (en) System, method, and recording medium for drafting and preparing patent specifications
US6587849B1 (en) Method and system for constructing personalized result sets
US20060173815A1 (en) Facilitating Identification of Entire Web Pages When Each Web Page is Rendered From Multiple Portions and Interest is Expressed Based on Content of the Portions
CN106406844B (en) Method and device for realizing public number menu of communication interaction platform
US11568011B2 (en) System and method for improved searching across multiple databases
US20150089415A1 (en) Method of processing big data, apparatus performing the same and storage media storing the same
US20210157841A1 (en) Information providing system and information providing method
US20200133948A1 (en) Dynamic topic adaptation for machine translation using user session context
CN106471497A (en) Auxiliary using context browses
CN110109981B (en) Information display method and device for work queue, computer equipment and storage medium
CN103544271B (en) Load Image in a kind of browser the method and apparatus for processing window
CN109885729B (en) Method, device and system for displaying data
CN114546220A (en) Page configuration method and device, storage medium and computer equipment
US20110289070A1 (en) Dynamic resource orchestration system for data retrieval and output generation
US20020107846A1 (en) CAD information management system and CAD information management method
US11243935B2 (en) Content management system
JP5737249B2 (en) Load simulation apparatus, simulation apparatus, load simulation method, simulation method, and program
CN113656737B (en) Webpage content display method and device, electronic equipment and storage medium
CN113495723B (en) Method, device and storage medium for calling functional component
US11853336B2 (en) Method and apparatus for providing relation note using correlation
CN114461909A (en) Information processing method, information processing apparatus, electronic device, and storage medium
CN114527993A (en) Application deployment method, device, equipment and medium
KR20200059349A (en) Search service method
CN113157722A (en) Data processing method, device, server, system and storage medium
CN112540820A (en) User interface updating method and device and electronic equipment

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