Page configuration method and device, equipment and storage medium
By introducing configuration pages into the page configuration method, users can edit page content without modifying the code, solving the problem of waste of resources and inefficiency of code modification when page changes, and achieving higher flexibility and scalability.
Patent Information
- Application Number
- CN202411611503.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-03-11
AI Technical Summary
In the prior art, page code needs to be modified when changes occur, resulting in waste of development resources, inefficient configuration, poor flexibility and scalability.
Provides a page configuration method, which displays the configuration page by responding to the edit button trigger in the target page. Users can edit the name and function of the display object in the configuration page without modifying the code.
Users can easily configure page content, save development resources, improve configuration efficiency, improve flexibility and scalability.
Smart Images

Figure CN119597285A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a page configuration method, device, equipment and storage medium. Background Art
[0002] With the rapid development of Internet technology, online information has exploded and updated rapidly, making the pages in applications ever-changing, and the demand for application page design has also increased.
[0003] In the related art, page configuration is usually achieved by writing code. However, in this way, when the page changes, the page code needs to be modified, which not only seriously wastes development resources and has low page configuration efficiency, but also has poor flexibility and scalability. Summary of the invention
[0004] The present application provides a page configuration method, apparatus, device and storage medium to solve the problem in the related art that when a page changes, the page code needs to be modified, which not only seriously wastes development resources, but also leads to low page configuration efficiency and poor flexibility and scalability.
[0005] In a first aspect, the present application provides a page configuration method, the method comprising: in response to a trigger operation on an edit button in a target page, displaying a configuration page of the target page, wherein the configuration page comprises: a configuration bar of a first display object corresponding to the target page, wherein the configuration bar comprises: an object name of the first display object, a first editing area for editing a display name of the object name on the target page, and selection items corresponding to each of a plurality of page functions in the target page, wherein the selection items of the page function are used to determine whether the display name edited in the first editing area appears in the page function; obtaining a target display name of the object name on the target page from the first editing area, and obtaining selection results of the respective selection items of the plurality of page functions, wherein the selection result of the selection item of at least one target page function among the plurality of page functions indicates that the display name edited in the first editing area appears in the target page function; and displaying the target display name in the target page function of the target page.
[0006] In a second aspect, the present application provides a page configuration device, the device comprising: a first display module, for displaying a configuration page of the target page in response to a trigger operation on an edit button in a target page, wherein the configuration page comprises: a configuration bar of a first display object corresponding to the target page, wherein the configuration bar comprises: an object name of the first display object, a first editing area for editing a display name of the object name on the target page, and selection items corresponding to each of a plurality of page functions in the target page, wherein the selection items of the page function are used to determine whether the display name edited in the first editing area appears in the page function; an acquisition module, for acquiring a target display name of the object name on the target page from the first editing area, and acquiring selection results of the respective selection items of the plurality of page functions, wherein the selection result of the selection item of at least one target page function among the plurality of page functions indicates that the display name edited in the first editing area appears in the target page function; a second display module, for displaying the target display name in the target page function of the target page.
[0007] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the page configuration method disclosed in an embodiment of the present application.
[0008] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the page configuration method disclosed in the embodiment of the present application.
[0009] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the page configuration method disclosed in the embodiment of the present application.
[0010] The technical solution of this application has the following advantages or beneficial effects:
[0011] After determining that the edit button on the target page is triggered, the configuration page of the target page is displayed, and the configuration bar of the first display object corresponding to the target page is displayed on the configuration page, and the first editing area of the display name of the edited object name on the target page is displayed in the configuration bar, and an option for determining whether the display name edited in the first editing area appears in the page function of the target page is displayed. As a result, the user can conveniently configure the display name of the first display object on the target page and configure whether the display name of the first display object appears on the corresponding page function of the target page through the configuration page without modifying the code, saving a lot of development resources, improving page configuration efficiency, and having good flexibility and extensibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0013] Figure 1 The process of the page configuration method provided in the embodiment of the present application Figure 1 ;
[0014] Figure 2 The process of the page configuration method provided in the embodiment of the present application Figure 2 ;
[0015] Figure 3 This is a sample image of the configuration page;
[0016] Figure 4 An example of a configuration page for deleting a target configuration bar;
[0017] Figure 5 The process of the page configuration method provided in the embodiment of the present application Figure 3 ;
[0018] Figure 6 The process of the page configuration method provided in the embodiment of the present application Figure 4 ;
[0019] Figure 7 An example diagram of the modification page for modifying the management module for the target schema is shown below.
[0020] Figure 8 The process of the page configuration method provided in the embodiment of the present application Figure 5 ;
[0021] Fig. 9 This is an example diagram of the business category modification page corresponding to the first asset database table.
[0022] Fig.10An example diagram of a target page showing relevant information of a first asset data table under a second business category;
[0023] Fig.11 A schematic diagram of the structure of a page configuration device provided in an embodiment of the present application;
[0024] Fig.12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0025] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0026] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0027] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties. The acquisition, transmission, storage, use, and processing of data in the technical solution of this application are in compliance with the relevant laws and regulations of the relevant regions.
[0028] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0029] In the related art, page configuration is usually achieved by writing code. However, in this method, when the page changes, for example, the display name of a display object in the page changes, or the display name needs to be modified, and whether the display name appears in the corresponding page function needs to be modified. At this time, the page code needs to be modified, which not only seriously wastes development resources and has low page configuration efficiency, but also has poor flexibility and scalability.
[0030] In order to solve the problem that when a page changes, the code of the page needs to be modified, which not only seriously wastes development resources, but also has low page configuration efficiency and poor flexibility and scalability, the present application proposes a page configuration method, which proposes the following technical ideas: after determining that the edit button on the target page is triggered, the configuration page of the target page is displayed, and the configuration bar of the first display object corresponding to the target page is displayed on the configuration page, and the first editing area of the display name of the edited object name on the target page is displayed in the configuration bar, and the selection item for determining whether the display name edited in the first editing area appears in the page function of the target page is displayed. As a result, the user does not need to modify the code, and can conveniently configure the display name of the first display object on the target page through the configuration page, and configure whether the display name of the first display object appears on the corresponding page function of the target page, saving a lot of development resources, improving page configuration efficiency, and having good flexibility and scalability.
[0031] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may be omitted in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0032] First combine Figure 1 , an exemplary description is given of the page configuration method provided in the embodiment of the present application.
[0033] Figure 1 The process of the page configuration method provided in the embodiment of the present application Figure 1 .
[0034] It should be noted that the page configuration method provided in the embodiment of the present application can be executed by a page configuration device, wherein the page configuration device can be an electronic device, or can be configured in an electronic device.
[0035] Among them, the electronic device can be any device with computing capabilities, such as a personal computer, a mobile terminal, a server, etc. The mobile terminal can be, for example, a mobile phone, a tablet computer, a personal digital assistant, and other hardware devices with various operating systems, touch screens and / or display screens.
[0036] like Figure 1 As shown, the page configuration method includes the following steps:
[0037] S101, in response to a trigger operation on an edit button in a target page, a configuration page of the target page is displayed, wherein the configuration page includes: a configuration bar of a first display object corresponding to the target page, wherein the configuration bar includes: an object name of the first display object, a first editing area for editing a display name of the object name on the target page, and selection items corresponding to each of a plurality of page functions in the target page, wherein the selection items of the page function are used to determine whether the display name edited in the first editing area appears in the page function.
[0038] It should be noted that the first display object in this embodiment refers to an object that can be displayed in a corresponding page function in a target page.
[0039] Among them, when the target page in this embodiment is an asset management page, the first display object in this embodiment can be an asset database table, or a field included in the asset database table. This embodiment does not specifically limit the first display object.
[0040] Among them, it can be understood that, in the case where the user has previously configured the first display object, the display name last configured for the first display object can be displayed in the first editing area accordingly. At this time, the user can modify the display name of the first display object according to the display name currently displayed in the first editing area, or the user can delete the display name currently displayed in the first editing area and re-edit a new display name. This embodiment does not specifically limit this.
[0041] It should be noted that, when the user has not configured the first display object, the current content of the corresponding first editing area is empty.
[0042] S102, obtaining the target display name of the object name on the target page from the first editing area, and obtaining the selection results of the selection items of the multiple page functions, wherein the selection result of the selection item of at least one target page function among the multiple page functions indicates that the display name edited in the first editing area appears in the target page function.
[0043] In one embodiment of the present application, the configuration page in this embodiment may further include: a save button. Specifically, after the user has edited the display name of the object name on the target page in the first editing area and configured the selection results of the selection items corresponding to the multiple page functions, the user can click the save button in the configuration page. Correspondingly, after the device receives the trigger operation for the save button, it can obtain the current content in the first editing area, and use the current content as the target display name of the display name on the target page, and obtain the selection results of the selection items of the multiple page functions.
[0044] When the selection result of the selection item of the corresponding page function is the first selection item, it means that the display name edited in the first editing area appears in the corresponding page function.
[0045] When the selection result of the selection item of the corresponding page function is the second selection item, it means that the display name edited in the first editing area does not appear in the corresponding page function.
[0046] It should be noted that, in this embodiment, an exemplary description is given by taking the first option being: yes and the second option being: no as an example.
[0047] The above-mentioned multiple page functions may be at least two of the following: a query function, a list function, an import function, an export function, and a detail page function. Thus, the user can conveniently configure whether the corresponding display name appears in the corresponding page function through the configuration page.
[0048] As an example, the above-mentioned multiple page functions may include all of the following: query function, list function, import function, export function, and detail page function. Thus, the user can conveniently configure whether the corresponding display name appears in the corresponding page function through the configuration page.
[0049] S103, displaying the target display name in the target page function of the target page.
[0050] The page configuration method provided in the embodiment of the present application, after determining that the edit button on the target page is triggered, displays the configuration page of the target page, and displays the configuration bar of the first display object corresponding to the target page on the configuration page, and displays the first editing area of the display name of the edited object name on the target page in the configuration bar, and displays an option for determining whether the display name edited in the first editing area appears in the page function of the target page. As a result, the user can conveniently configure the display name of the first display object on the target page and configure whether the display name of the first display object appears on the corresponding page function of the target page through the configuration page without modifying the code, saving a lot of development resources, improving page configuration efficiency, and having good flexibility and scalability.
[0051] Among them, it should be noted that, in the case that a target page function can display the display names of multiple first display objects, in order for users to conveniently modify the display order of multiple display names in the target page function, correspondingly, the configuration page may also include: a second editing area for editing the display order of the display names edited in the first editing area in the target page function, and the method may also include: obtaining the target value entered in the second editing area; determining the target display order of the target display names in the target page function according to the target value; and displaying the target display names on the target page function according to the target display order.
[0052] In the embodiment of the present disclosure, the target display order corresponding to the target value may be obtained from the correspondence between the pre-saved values and the display order.
[0053] As an example, the above target value can be a target number, and correspondingly, the target display order can be determined based on the target number. For example, the target number is 1, and the corresponding target display order is 1, or the target number is 2, and the corresponding target display order is 2.
[0054] In the case where the configuration page includes multiple configuration bars, and the first display objects corresponding to different configuration bars are different, the configuration page may also include a delete button, so that the user can delete the selected configuration bar through the delete button. Figure 2 This method is described exemplarily.
[0055] Figure 2 The process of the page configuration method provided in the embodiment of the present application Figure 2 .
[0056] like Figure 2 As shown, the page configuration method also includes the following steps:
[0057] S201 , in response to a selection operation on a target configuration bar among a plurality of configuration bars, changing a state of the target configuration bar from an unselected state to a selected state.
[0058] The target configuration bar refers to a selected configuration bar among the multiple configuration bars.
[0059] The number of target configuration bars may be one or more, and this embodiment does not specifically limit the number of target configuration bars.
[0060] S202: In response to a trigger operation on a delete button, a target configuration bar in a selected state is obtained from a plurality of configuration bars.
[0061] That is, when it is detected that the user selects at least one target configuration bar from a plurality of configuration bars and clicks a delete button, the selected target configuration bar may be deleted from the configuration page.
[0062] S203, deleting the target configuration bar from the configuration page.
[0063] For example, the sample image of the configuration page is as follows: Figure 3 As shown, when the user selects the target configuration bar in the configuration page and clicks the delete button, the target configuration bar will be deleted from the configuration page accordingly. The example diagram of the configuration page for deleting the target configuration bar is as follows: Figure 4 As shown. It should be noted that Figure 3 Mark in Indicates that the corresponding configuration bar is selected. It should be noted that: Figure 3 In the description, a target configuration bar in a selected state is taken as an example for illustrative description.
[0064] S204: Display the target page according to the configuration content in the configuration bar currently included in the configuration page.
[0065] In the embodiment of the present application, the user can conveniently delete the configuration bar of the corresponding display object through the delete button in the configuration page, thereby making the configuration content in the configuration bar of the corresponding display object invalid.
[0066] In one embodiment of the present application, in order to allow the corresponding user to conveniently add a configuration bar of the corresponding display object on the configuration page, so as to configure the display name of the corresponding display object and whether the display name corresponding to the corresponding display object appears in the corresponding page function through the added configuration bar, the following is combined with Figure 5 This process is described exemplarily.
[0067] Figure 5 The process of the page configuration method provided in the embodiment of the present application Figure 3 .
[0068] like Figure 5 As shown, the page configuration method may also include the following steps:
[0069] S501, in response to a triggering operation on an add button in a configuration page, a new configuration bar is added to the configuration page.
[0070] S502: Obtain the target object name selected from the object name selection item of the newly added configuration bar.
[0071] S503: Use the newly added configuration bar as a configuration bar of a second display object corresponding to the target object name, wherein the first display object and the second display object are different.
[0072] Among them, it can be understood that the display name of the object name of the second display object on the target page can be edited in the first editing area of the newly added configuration bar, and the display name of the second display object can be configured in which page functions through the selection items of each page function in the newly added configuration bar.
[0073] In this embodiment, the user can add a new configuration bar to the configuration page by triggering the add button in the configuration page, so as to configure the display name of the corresponding display object and whether the display name corresponding to the corresponding display object appears in the corresponding page function through the added configuration bar configuration. Therefore, it is convenient to add the corresponding display name in the corresponding page function, meet the constantly changing page requirements, improve the page configuration efficiency, and have good flexibility and scalability.
[0074] In the case where the first display object is the first asset data table, and the first asset data table is managed by the target management module associated with the target page, a target asset data table set including the first asset data table may also be configured for the target management module. Figure 6 This process is described exemplarily.
[0075] Figure 6 The process of the page configuration method provided in the embodiment of the present application Figure 4 .
[0076] like Figure 6 As shown, the page configuration method may also include the following steps:
[0077] S601, displaying multiple schemas of the asset database.
[0078] S602 : In response to a triggering operation of modifying a management module for a target schema among a plurality of schemas, a plurality of candidate management modules are displayed.
[0079] It should be noted that the target schema is one of the above-mentioned multiple schemas.
[0080] In one embodiment of the present application, in response to a trigger operation for modifying a management module for a target schema among multiple schemas, a modification page for modifying the management module for the target schema may be displayed, wherein the modification page may include multiple candidate management modules to facilitate user selection from the multiple candidate management modules.
[0081] It should be noted that the modification page may also include: relevant information of the target schema, and relevant information of the asset database to which the target schema belongs.
[0082] The relevant information of the target schema may include, but is not limited to: the English name of the target schema, schema description, schema publishing status, publishing type, etc.
[0083] The relevant information of the asset database may include, but is not limited to: the English name of the asset database, the database type and the database description.
[0084] It should be noted that the example diagram of the modification page for modifying the management module for the target schema is as follows: Figure 7 As shown, through Figure 7 It can be seen that the user can conveniently select the management module he needs from the multiple candidate management modules provided by the management module node according to his needs.
[0085] S603, when it is determined that the management module selected by the selection operation is the target management module according to the selection operation on the multiple candidate management modules, the asset data table set under the target schema is used as the target asset data table set managed by the target management module.
[0086] The target asset data table set includes a first asset data table, that is, the first asset data table is an asset data table in the target data asset data table set managed by the target management module.
[0087] It should be noted that the asset data table set under the above target schema includes multiple asset data tables.
[0088] In this embodiment, the user can flexibly configure the asset data table set managed by the target management module without modifying the code, which facilitates the user to configure the asset data table set managed by the target management module.
[0089] Figure 8 The process of the page configuration method provided in the embodiment of the present application Figure 5 .
[0090] based on Figure 7 Based on the embodiment shown, Figure 8 As shown, the method may also include the following steps:
[0091] S801, in response to a triggering operation of modifying a business classification for a first asset database table, displaying a business classification modification page for a first asset database table.
[0092] It should be noted that, in order to enable the user to easily understand the first asset data table, the business classification modification page may also include relevant information of the first asset data table.
[0093] Among them, the relevant information of the first asset data table may include but is not limited to: the name information of the first asset data table (such as the English name of the table, the Chinese name of the table, the name of the table space), the name information of the schema to which the first asset data table belongs, and the database name information of the asset database to which the first asset data table belongs, etc.
[0094] S802, when it is determined that the business classification of the first asset database table is changed from the first business classification to the second business classification based on the user operation in the business classification modification page, the first asset database table under the first business classification is moved to the second business classification, and the relevant information of the first asset database table is displayed under the second business classification of the business classification directory of the target page.
[0095] For example, the English name of the first asset database table is A, and the Chinese name of the table is XX1, wherein the example diagram of the business classification modification page corresponding to the first asset database table is as follows: Fig. 9 As shown, through Fig. 9 It can be seen that the user can select a second business category from the multiple business categories provided by the category options. When it is determined that the second business category is different from the first business category to which the first asset database table originally belongs, the first asset database table under the first business category is moved to the second business category, and the relevant information of the first asset database table is displayed under the second business category in the business category directory of the target page. Among them, an example of a target page displaying relevant information of the first asset database table under the second business category is shown in FIG. Fig.10 shown.
[0096] It should be noted that the first service category and the second service category in this embodiment are different service categories under the same service category directory.
[0097] In this embodiment, the user can conveniently modify the classification corresponding to the first asset data table through the business classification modification page.
[0098] Fig.11 A schematic diagram of the structure of a page configuration device provided in an embodiment of the present application.
[0099] like Fig.11 As shown, the page configuration device 1100 may include: a first display module 1101, an acquisition module 1102, and a second display module 1103, wherein:
[0100] The first display module 1101 is used to display the configuration page of the target page in response to a trigger operation on an edit button in the target page, wherein the configuration page includes: a configuration bar of a first display object corresponding to the target page, wherein the configuration bar includes: an object name of the first display object, a first editing area for editing a display name of the object name on the target page, and selection items corresponding to each of a plurality of page functions in the target page, wherein the selection items of the page function are used to determine whether the display name edited in the first editing area appears in the page function.
[0101] Acquisition module 1102 is used to obtain the target display name of the object name on the target page from the first editing area, and obtain the selection results of the selection items of each of the multiple page functions, wherein the selection result of the selection item of at least one target page function among the multiple page functions indicates that the display name edited in the first editing area appears in the target page function.
[0102] The second display module 1103 is used to display the target display name in the target page function of the target page.
[0103] In one embodiment of the present application, the first display object is a first asset database table, wherein the first asset database table is managed by a target management module associated with the target page, and the device may further include:
[0104] The first processing module is used to display multiple schemas of the asset database; in response to a trigger operation of modifying a management module for a target schema among the multiple schemas, multiple candidate management modules are displayed; when it is determined that the management module selected by the selection operation is the target management module based on the selection operation for the multiple candidate management modules, the asset data table set under the target schema is used as the target asset data table set managed by the target management module, wherein the target asset data table set includes the first asset data table.
[0105] In one embodiment of the present application, the configuration page further includes: a second editing area for editing the display order of the display name edited in the first editing area in the target page function, and the device further includes:
[0106] The second processing module is used to obtain the target value input in the second editing area; determine the target display order of the target display name in the target page function according to the target value; and display the target display name on the target page function according to the target display order.
[0107] In one embodiment of the present application, the configuration page includes: a plurality of configuration bars, wherein the first display objects corresponding to different configuration bars are different, the configuration page also includes: a delete button, and the device also includes:
[0108] The third processing module is used to change the state of the target configuration bar from an unselected state to a selected state in response to a selection operation on a target configuration bar among multiple configuration bars; obtain the target configuration bar in a selected state from the multiple configuration bars in response to a trigger operation on a delete button; delete the target configuration bar from the configuration page; and display the target page according to the configuration content in the configuration bar currently included in the configuration page.
[0109] In one embodiment of the present application, the configuration page further includes: adding a button, and the device further includes:
[0110] The fourth processing module is used to respond to the trigger operation of the add button, add a new configuration bar on the configuration page; obtain the target object name selected from the object name selection item of the newly added configuration bar; use the newly added configuration bar as the configuration bar of the second display object corresponding to the target object name, wherein the first display object and the second display object are different.
[0111] In one embodiment of the present application, the device further comprises:
[0112] The fifth processing module is used to display a business classification modification page for the first asset database table in response to a trigger operation for modifying the business classification of the first asset database table; when it is determined that the business classification of the first asset database table is to be modified from the first business classification to the second business classification based on the user operation in the business classification modification page, the first asset database table under the first business classification is moved to the second business classification, and the relevant information of the first asset database table is displayed under the second business classification of the business classification directory of the target page.
[0113] In one embodiment of the present application, the multiple page functions are at least two of the following: a query function, a list function, an import function, an export function, and a detail page function.
[0114] The page configuration device provided in the embodiment of the present application can be used to execute the technical solution of the page configuration method in the above embodiment. Its implementation principle and technical effect are similar and will not be repeated here.
[0115] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. For example, the acquisition module 1102 can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The function of the above acquisition module 1102. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
[0116] Fig.12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0117] The present application is described in more detail below using embodiments. The present application can be embodied in a variety of different forms and should not be construed as being limited to the exemplary embodiments described herein.
[0118] like Fig.12 As shown, the electronic device 1200 may include: a memory 1201, a processor 1202, a communication interface 1203, and a bus architecture 1204, wherein the memory 1201 is used to store a computer program for executing the solution of the present application, and the execution is controlled by the processor 1202. The processor 1202 is used to execute the computer program stored in the memory 1201, thereby implementing the method disclosed in the above embodiment of the present application.
[0119] The communication interface 1203, the processor 1202 and the memory 1201 may be interconnected via a bus architecture 1204; the bus architecture 1204 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus architecture 1204 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.12 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0120] Processor 1202 may be a CPU, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the program of the present application.
[0121] The communication interface 1203 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), wired access networks, etc.
[0122] The memory 1201 may be a ROM or other types of static storage devices that can store static information and instructions, a RAM or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, an optical disc storage (including a compressed optical disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via a bus architecture 1204. The memory may also be integrated with the processor.
[0123] The embodiment of the present application also provides a chip for executing instructions, which is used to execute the technical solution of the page configuration method in the above embodiment.
[0124] An embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the technical solution of the page configuration method in the above embodiment.
[0125] An embodiment of the present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When at least one processor executes the computer program, the technical solution of the page configuration method in the above embodiment can be implemented.
[0126] The electronic device, chip, computer-readable storage medium, and computer program product provided in the embodiments of the present application can be used to execute the technical solutions of the task processing methods in the above embodiments. Their implementation principles and technical effects are similar and will not be repeated here.
[0127] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0128] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A page configuration method, characterized in that: The method comprises: In response to a trigger operation on an edit button in a target page, a configuration page of the target page is displayed, wherein the configuration page includes: a configuration bar of a first display object corresponding to the target page, wherein the configuration bar includes: an object name of the first display object, a first editing area for editing a display name of the object name on the target page, and selection items corresponding to a plurality of page functions in the target page, wherein the selection items of the page function are used to determine whether the display name edited in the first editing area appears in the page function; Acquire a target display name of the object name on the target page from the first editing area, and acquire selection results of the respective selection items of the plurality of page functions, wherein the selection result of the selection item of at least one target page function among the plurality of page functions indicates that the display name edited in the first editing area appears in the target page function; The target display name is displayed in the target page function of the target page.
2. The method according to claim 1, characterized in that The first display object is a first asset database table, wherein the first asset database table is managed by a target management module associated with the target page, and the method further includes: Display multiple schemas of the asset database; In response to a triggering operation of modifying a management module for a target schema among the plurality of schemas, displaying a plurality of candidate management modules; When it is determined that the management module selected by the selection operation is the target management module based on the selection operation for the multiple candidate management modules, the asset data table set under the target schema is used as the target asset data table set managed by the target management module, wherein the target asset data table set includes the first asset data table.
3. The method according to claim 1, characterized in that The configuration page further includes: a second editing area for editing the display order of the display name edited in the first editing area in the target page function, and the method further includes: Obtaining the target value entered in the second editing area; Determining the target display order of the target display name in the target page function according to the target value; The target display names are displayed on the target page function according to the target display order.
4. The method according to claim 1, characterized in that The configuration page includes: a plurality of configuration bars, wherein different configuration bars correspond to different first display objects, the configuration page also includes: a delete button, and the method further includes: In response to a selection operation on a target configuration bar among the multiple configuration bars, changing the state of the target configuration bar from an unselected state to a selected state; In response to a trigger operation on the delete button, acquiring the target configuration bar in a selected state from the multiple configuration bars; Deleting the target configuration bar from the configuration page; The target page is displayed according to the configuration content in the configuration bar currently included in the configuration page.
5. The method according to claim 1, characterized in that The configuration page further includes: adding a button, and the method further includes: In response to a trigger operation on the add button, adding a new configuration bar on the configuration page; Get the name of the target object selected from the object name selection item in the newly added configuration bar; The newly added configuration bar is used as a configuration bar of a second display object corresponding to the target object name, wherein the first display object and the second display object are different.
6. The method according to claim 2, characterized in that The method further comprises: In response to a trigger operation for modifying a business classification for the first asset database table, displaying a business classification modification page for the first asset database table; When it is determined that the business classification of the first asset database table is changed from the first business classification to the second business classification based on the user operation in the business classification modification page, the first asset database table under the first business classification is moved to the second business classification, and the relevant information of the first asset database table is displayed under the second business classification in the business classification directory of the target page.
7. The method according to any one of claims 1 to 6, characterized in that The multiple page functions are at least two of the following: a query function, a list function, an import function, an export function, and a detail page function.
8. A page configuration device, characterized in that: The method comprises: A first display module, configured to display a configuration page of the target page in response to a trigger operation on an edit button in a target page, wherein the configuration page includes: a configuration bar of a first display object corresponding to the target page, wherein the configuration bar includes: an object name of the first display object, a first editing area for editing a display name of the object name on the target page, and selection items corresponding to a plurality of page functions in the target page, wherein the selection items of the page function are used to determine whether the display name edited in the first editing area appears in the page function; an acquisition module, configured to acquire, from the first editing area, a target display name of the object name on the target page, and acquire selection results of respective selection items of the plurality of page functions, wherein the selection result of the selection item of at least one target page function among the plurality of page functions indicates that the display name edited in the first editing area appears in the target page function; A second display module is used to display the target display name in the target page function of the target page.
9. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.
11. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 7 when being executed by a processor.