Table processing method and device, electronic equipment and storage medium

Using VUE technology to create dynamic tables and perform interface conversion and classified storage solves the problems of code redundancy and waste of human resources in table data operations, and achieves efficient table data processing and operations.

CN118760684APending Publication Date: 2024-10-11BANK OF CHINA
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410914177.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

When processing tabular data, existing technology requires the development of multiple pages and back-end services, resulting in code redundancy and waste of human resources, especially in the addition, deletion, modification, and query operations of tabular data.

Method used

Create dynamic tables through VUE technology, use the identification of dynamic tables to store data in the database, and perform interface conversion and classified storage to achieve unified data processing and operations and avoid code redundancy caused by multi-page processing.

Benefits of technology

It realizes the addition, deletion, modification and query operations of table data on the same page, reduces code redundancy and labor costs, and improves the efficiency and flexibility of data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760684A_ABST
    Figure CN118760684A_ABST
Patent Text Reader

Abstract

The invention discloses a table processing method and device, electronic equipment and a storage medium, and is applied to the field of big data or finance. In the application, a dynamic table is firstly created based on a VUE technology, the dynamic table comprises first data and a configuration operation, the dynamic table has a corresponding identifier, the identifier is used for indicating a storage position of the dynamic table in a database, and then the first data is operated based on the configuration operation to obtain second data. And finally, performing interface conversion on the second data, and storing the converted second data into the database based on the identifier to complete the processing of the dynamic table. According to the method and the device, the problems of complex codes and waste of human resources caused by complex data interfaces and table operation of multiple pages are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of big data technology, and in particular to a table processing method, device, electronic device and storage medium. Background Art

[0002] Vue is a very popular front-end framework. Vue's table component is often used to process list data. However, in the process, the addition, deletion, modification and query of table data often requires the development of multiple pages to handle it. The back-end service often also needs to develop corresponding field data and addition, deletion, modification and query interfaces, which leads to code redundancy and consumes more human resources. Summary of the invention

[0003] In view of this, embodiments of the present application provide a table processing method, device, electronic device and storage medium, aiming to solve the problems of complex code and waste of human resources caused by table operations on multiple pages and complex data interfaces.

[0004] In a first aspect, an embodiment of the present application provides a method for table processing, the method comprising:

[0005] Creating a dynamic table based on VUE technology, the dynamic table including first data and configuration operations, the dynamic table having a corresponding identifier, the identifier being used to indicate a storage location of the dynamic table in a database;

[0006] Based on the configuration operation, the data is operated to obtain second data;

[0007] The second data is interface converted, and based on the identifier, the converted second data is stored in a storage location of the database, thereby completing the processing of the dynamic table.

[0008] Optionally, performing interface conversion on the second data, and storing the converted second data in the database based on the identifier, includes:

[0009] Performing interface conversion on the second data to convert the second data into third data with a unified interface;

[0010] classifying the third data based on the type of configuration operation;

[0011] The classified third data is stored in a corresponding position of the database based on the identifier.

[0012] Optionally, storing the classified third data in a corresponding position of the database based on the identifier includes:

[0013] Setting a data table in the database, wherein the data table has an identifier corresponding to the dynamic table;

[0014] Establishing an association relationship between the data table and the dynamic table based on the identifier;

[0015] The classified third data is stored in the data table based on the association relationship.

[0016] Optionally, the creating a dynamic table based on VUE technology includes:

[0017] Create a front-end table configuration interface based on VUE technology, select the corresponding table elements through the front-end interface, generate a custom dynamic table, and save the dynamic table structure of the completed page;

[0018] The first data and configuration operations are configured for the dynamic table to complete the creation of the dynamic table, wherein the configuration operations are used to perform corresponding operations on the first data in the dynamic table.

[0019] Optionally, the method further includes:

[0020] Using a database to create a data table, the data table includes table element attributes and a form element value table, and is used to store table related information, and the data table has an identifier corresponding to the dynamic table;

[0021] The dynamic table is associated with the data table based on the identifier and stores the data of the dynamic table.

[0022] Optionally, the classifying the third data based on the type of configuration operation includes:

[0023] Determining an operation type of the third data based on the type of configuration operation;

[0024] The third data is classified based on the operation type.

[0025] Optionally, the configuration operation includes adding, modifying and deleting, and the operating the first data based on the configuration operation to obtain the second data includes:

[0026] Based on the configuration operation, a new addition, modification or deletion operation is performed on the first data to obtain the second data.

[0027] In a second aspect, an embodiment of the present application provides a table processing device, the device comprising: a creation module, an operation module and a storage module;

[0028] The creation module is used to create a dynamic table based on VUE technology, the dynamic table includes first data and configuration operations, and the dynamic table has a corresponding identifier, and the identifier is used to indicate a storage location of the dynamic table in a database;

[0029] The operation module is used to operate the data based on the configuration operation to obtain second data;

[0030] The storage module is used to perform interface conversion on the second data, and store the converted second data in a storage location of the database based on the identifier, thereby completing the processing of the dynamic table.

[0031] In a third aspect, the present application provides an electronic device, the device comprising: a processor, a memory, and a system bus;

[0032] The processor and the memory are connected via the system bus;

[0033] The memory is used to store one or more programs, and the one or more programs include instructions, which, when executed by the processor, enable the processor to execute the method described in the first aspect.

[0034] In a fourth aspect, an embodiment of the present application provides a computer storage medium, in which a code is stored. When the code is executed, a device executing the code implements any method described in the first aspect.

[0035] The present application provides a method, device, electronic device and storage medium for table processing. When executing the method, a dynamic table is first created based on VUE technology. The dynamic table includes first data and configuration operations. The dynamic table has a corresponding identifier, which is used to indicate the storage location of the dynamic table in the database. Then, the data is operated based on the configuration operation to obtain second data. Finally, the second data is interface converted, and the converted second data is stored in the database based on the identifier to complete the processing of the dynamic table. In this way, the dynamic table created by VUE technology allows users to perform data operations on the dynamic table and realize real-time data updates. By setting data and configuration operations on the dynamic table, users can add, delete, modify, delete and other operations on this page of the dynamic table, avoiding code redundancy caused by multi-page processing due to different types of operations, and facilitating user use. At the same time, by converting the second data into data with a unified interface through interface conversion, it is convenient to uniformly process any table data, reduce code redundancy, and reduce labor costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1 A flowchart of a table processing method provided in an embodiment of the present application;

[0038] Figure 2 A flowchart of a method for data conversion and storage provided in an embodiment of the present application;

[0039] Figure 3 A flowchart of a data storage method provided in an embodiment of the present application;

[0040] Figure 4 A schematic diagram of the structure of a table processing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0042] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.

[0043] In the research on related technologies, it was found that Vue is currently a very popular front-end framework, and Vue's table components are often used to process list data. However, in the process, the addition, deletion, modification and query of table data often requires the development of multiple pages to handle it. The back-end service often also needs to develop corresponding field data and addition, deletion, modification and query interfaces, which requires a lot of code and consumes a lot of manpower.

[0044] Based on this, the present application proposes a table processing method, device, electronic device and storage medium. Through a dynamic table data processing method, access can be made in the form of a component, and table data can be added, deleted, modified and queried on the same page. The back-end uses a public interface, and any table data can be processed uniformly, reducing code redundancy and labor costs.

[0045] The table processing method, device, electronic device, and storage medium provided by the present invention can be used in the financial field or other fields, for example, in application scenarios where users in the financial field operate tables. Other fields are any fields other than the financial field, for example, the big data field. The above is only an example and does not limit the application field of the table processing method, device, electronic device, and storage medium provided by the present invention.

[0046] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0047] Figure 1 A flowchart of a table processing method provided in an embodiment of the present application, see Figure 1 As shown, a table processing method provided in an embodiment of the present application includes:

[0048] S11: creating a dynamic table based on VUE technology, wherein the dynamic table includes first data and configuration operations, and the dynamic table has a corresponding identifier, and the identifier is used to indicate a storage location of the dynamic table in a database.

[0049] VUE is a JavaScript framework for building user interfaces. It is built on standard HTML, CSS, and JavaScript, and provides a declarative, component-based programming model to help developers develop user interfaces efficiently. Vue is an independent community-driven project. It is one of the most widely used JavaScript frameworks in production environments. It can easily handle most web application scenarios with almost no manual optimization, and Vue is fully capable of handling large-scale applications.

[0050] The method for creating a dynamic table may specifically include: firstly, creating a front-end table configuration interface based on VUE technology, selecting corresponding table elements through the front-end interface, generating a custom dynamic table, and saving the dynamic table structure of the completed page. Then, configuring the first data and configuration operations for the dynamic table to complete the creation of the dynamic table, wherein the configuration operations are used to perform corresponding operations on the first data in the dynamic table.

[0051] In other words, the method for creating a dynamic table can be to configure the table elements using VUE technology, generate a customized dynamic table, and then save the dynamic table. Through the configuration of the elements, the table header, display fields, configuration operations and other elements that constitute the table can be selected. The dynamic table includes first data and configuration operations, wherein the first data can be input by the user or configured by the system. The configuration operation can include but is not limited to adding, deleting, modifying, querying, etc.

[0052] At the same time, the dynamic table located at the front end can interact with the back end to save the page table structure and element creation; by splitting the table into element granularity, not only can the table columns be customized but also the table query can be customized, making the table more customizable and extensible, expanding the use scenarios of custom forms.

[0053] By creating a dynamic table based on VUE technology, users can perform data operations on the dynamic table and realize real-time data updates. By setting data and configuration operations on the dynamic table, users can add, delete, modify, delete and other operations on this page of the dynamic table, avoiding code redundancy caused by multi-page processing due to different types of operations, making it easier for users to use.

[0054] S12: Based on the configuration operation, the first data is operated to obtain second data.

[0055] Specifically, the second data may be obtained by adding, modifying or deleting the first data based on the configuration operation, but is not limited to the configuration operation. The specific type of configuration operation may be set by those skilled in the art according to actual conditions and application scenarios, and is not limited here.

[0056] S13: performing interface conversion on the second data, and storing the converted second data in a storage location of the database based on the identifier, thereby completing the processing of the dynamic table.

[0057] Step S13 mentions: "performing interface conversion on the second data, and storing the converted second data in the database based on the identifier", Figure 2 A flowchart of a method for data conversion and storage provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the method specifically includes:

[0058] S131: Perform interface conversion on the second data to convert the second data into third data with a unified interface.

[0059] The purpose of performing interface conversion for the second data is to facilitate the unified storage of the table data. The specific interface type may include: json string data, or other data interface types. The specific interface type can be selected by technicians in this field according to actual conditions and application scenarios, and is not set here.

[0060] S132: Classify the third data based on the type of configuration operation.

[0061] The types of configuration operations may include but are not limited to adding, modifying, deleting and querying. For example, assuming that different data in a dynamic table are added, modified or deleted, the data can be classified according to the different operations performed on the data, and divided into data that has been added, data that has been modified and data that has been deleted, and they can be stored in different locations according to the different types of operations.

[0062] S133: storing the classified third data in a corresponding position of the database based on the identifier.

[0063] The identifier mentioned in step S133 refers to the identifier of the dynamic table. The dynamic table is located at the front end. Different types of operations can be performed on the data of the dynamic table at the front end, and the dynamic table will be stored in the database of the back end. It can be understood that each dynamic table has a unique identifier corresponding to it. The storage location of the dynamic table in the back end database can be determined by the identifier, which can be called the first storage location. In step S132, it is mentioned that the data in the table is stored in different locations according to the different operation types. The storage location of the data can be called the second storage location here. The second storage location mentioned here and the first storage location of the aforementioned dynamic table in the back end database are both inclusive. That is to say, the first storage location includes the second storage location. It is assumed that there are two types of data operations in the dynamic table: add and delete. Then at this time, the two types of data need to be stored in the second storage location, and at the same time, the first sub-location and the second sub-location in the second storage location are respectively stored according to the different operation types.

[0064] By performing interface conversion on the second data and converting it into third data with a unified interface, it is possible to facilitate unified processing of any table data, reduce code redundancy, and reduce labor costs. By classifying the third data based on the type of configuration operation, the operation types of different data can be distinguished, which is convenient for subsequent classification processing. Based on the identification, the classified third data is stored in the corresponding position of the database, so that classified storage can be achieved. If it is necessary to centrally process data of different operation types in the future, the processing efficiency can be improved.

[0065] The above S133 mentions: "Storing the classified third data in a corresponding position of the database based on the identifier", Figure 3 A flowchart of a data storage method provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the method includes:

[0066] S1331: Setting a data table in the database, wherein the data table has an identifier corresponding to the dynamic table.

[0067] A data table is created using a database, wherein the data table includes table element attributes and a form element value table for storing table related information, and the data table has an identifier corresponding to the dynamic table.

[0068] Specifically, you can use back-end technology to write table element custom element value interface logic, and then when the front-end adds, deletes, modifies, and queries table data in a custom table, that is, a dynamic table, the corresponding form identifier, such as the table ID and table element value, is passed to the back-end in json format.

[0069] S1332: Establishing an association relationship between the data table and the dynamic table based on the identifier.

[0070] The above-mentioned identifier can be understood as the association identifier between the dynamic table on the front end and the data storage table established in the back-end database. Through this identifier, it can be ensured that after the above-mentioned dynamic table performs data operation, the data can be saved to the corresponding data storage table in the database based on the identifier.

[0071] S1333: Storing the classified third data into the data table based on the association relationship.

[0072] Through the data storage method mentioned above, the use of identifiers can ensure that the data can be saved to the corresponding data storage table in the database based on the identifier after the data operation of the dynamic table. At the same time, based on the identifier, the association relationship between the dynamic table at the front end and the data storage table at the back end can be established, which is convenient for subsequent operations such as data query.

[0073] In this embodiment, a table processing method is proposed. The method first creates a dynamic table based on VUE technology. The dynamic table includes first data and configuration operations. The dynamic table has a corresponding identifier, which is used to indicate the storage location of the dynamic table in the database. Then, based on the configuration operation, the data is operated to obtain second data. Finally, the second data is interface converted, and the converted second data is stored in the storage location of the database based on the identifier to complete the processing of the dynamic table. In this way, the dynamic table created by VUE technology allows users to perform data operations on the dynamic table and realize real-time data updates. By setting data and configuration operations on the dynamic table, users can implement operations such as adding, deleting, modifying, and deleting on this page of the dynamic table, avoiding code redundancy caused by multi-page processing due to different types of operations, and facilitating user use. At the same time, by performing interface conversion on the second data and converting it into data with a unified interface, it is convenient to uniformly process any table data, reduce code redundancy, and reduce labor costs.

[0074] Figure 4 A schematic diagram of a table processing device provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, a table processing device specifically includes: a creation module 100, an operation module 200 and a storage module 300;

[0075] The creation module 100 is used to create a dynamic table based on VUE technology, the dynamic table includes first data and configuration operations, and the dynamic table has a corresponding identifier, and the identifier is used to indicate the storage location of the dynamic table in the database;

[0076] The operation module 200 is used to operate the first data based on the configuration operation to obtain second data;

[0077] The storage module 300 is used to perform interface conversion on the second data, and store the converted second data in a storage location of the database based on the identifier, thereby completing the processing of the dynamic table.

[0078] In a possible implementation, the storage module 300 is specifically used for:

[0079] Performing interface conversion on the second data to convert the second data into third data with a unified interface;

[0080] classifying the third data based on the type of configuration operation;

[0081] The classified third data is stored in a corresponding position of the database based on the identifier.

[0082] In a possible implementation, the storage module 300 is specifically used for:

[0083] Setting a data table in the database, wherein the data table has an identifier corresponding to the dynamic table;

[0084] Establishing an association relationship between the data table and the dynamic table based on the identifier;

[0085] The classified third data is stored in the data table based on the association relationship.

[0086] In a possible implementation, the creation module 100 is specifically used for:

[0087] Create a front-end table configuration interface based on VUE technology, select the corresponding table elements through the front-end interface, generate a custom dynamic table, and save the dynamic table structure of the completed page;

[0088] The first data and configuration operations are configured for the dynamic table to complete the creation of the dynamic table, wherein the configuration operations are used to perform corresponding operations on the first data in the dynamic table.

[0089] In a possible implementation, the device further includes a data table creation module 400, and the data table creation module 400 is specifically used to:

[0090] A data table is created using a database, wherein the data table includes table element attributes and a form element value table for storing table related information, and the data table has an identifier corresponding to the dynamic table.

[0091] In a possible implementation, the storage module 300 is specifically used for:

[0092] Determining an operation type of the third data based on the type of configuration operation;

[0093] The third data is classified based on the operation type.

[0094] In an achievable manner, the operation module 200 is specifically used to:

[0095] Based on the configuration operation, a new addition, modification or deletion operation is performed on the first data to obtain the second data.

[0096] In this embodiment, a table processing device is proposed, which includes: a creation module, an operation module and a storage module. The creation module is used to create a dynamic table based on VUE technology, and the dynamic table includes first data and configuration operations. The dynamic table has a corresponding identifier, and the identifier is used to indicate the storage location of the dynamic table in the database; the operation module is used to operate the data based on the configuration operation to obtain the second data; the storage module is used to perform interface conversion on the second data, and store the converted second data to the database based on the identifier to complete the processing of the dynamic table. In this way, the device can realize the addition, deletion, modification and query operations on the table data on the same page. The back-end adopts a public interface, and any table data can be processed uniformly, reducing code redundancy and labor costs.

[0097] The embodiment of the present application also proposes a table processing system in an application scenario, specifically including: a front-end dynamic table module, a back-end interface module and a database module.

[0098] 1. The front-end dynamic table module supports table header field query and direct modification of table data. The following table is a schematic diagram of the front-end dynamic table.

[0099] Table 1

[0100]

[0101] As shown in the figure, the front-end dynamic table module may include buttons for operating data, that is, multiple operations such as deletion, saving, adding, and modifying can be realized on one page on the dynamic table. The dynamic table includes a table header and specific data.

[0102] 2. The back-end interface module provides front-end table header field query and table data query, and at the same time, it modifies the data submitted by the front-end, determines whether the data is added, modified or deleted, and calls the data storage module for SQL processing for different types of data. The data needs to be converted through the interface before being sent to the back-end for storage. The corresponding storage location has a corresponding identifier, which facilitates the subsequent search for the storage location corresponding to the front-end dynamic table data based on the identifier.

[0103] The specific interface object data is as follows:

[0104] / **

[0105] *Form ID

[0106] * /

[0107] private Integer ExcelId;

[0108] / **

[0109] *Unnamed record

[0110] * /

[0111] private List pendingRecords;

[0112] / **

[0113] *Insert record

[0114] * /

[0115] private List insertRecords;

[0116] / **

[0117] *Delete records

[0118] * /

[0119] private List removeRecords;

[0120] / **

[0121] *Update Record

[0122] * /

[0123] private List updateRecords;

[0124] 3. Database module, providing query and storage of table header data and table data.

[0125] The above system can solve the problems of complex codes and waste of human resources caused by table operations on multiple pages and complex data interfaces.

[0126] The flow chart and block diagram in the accompanying drawings illustrate the possible implementation architecture, function and operation of the device and method according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the module, the program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0127] The embodiments of the present application also provide corresponding devices and computer-readable storage media for implementing the solutions provided by the embodiments of the present application.

[0128] The device includes a memory and a processor, the memory is used to store instructions or codes, and the processor is used to execute the instructions or codes so that the device executes a table processing method described in any embodiment of the present application.

[0129] In practical applications, the computer-readable storage medium can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0130] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0131] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0132] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0133] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0134] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for table processing, It is characterized in that The method comprises: Creating a dynamic table based on VUE technology, the dynamic table including first data and configuration operations, the dynamic table having a corresponding identifier, the identifier being used to indicate a storage location of the dynamic table in a database; Based on the configuration operation, the first data is operated to obtain second data; The second data is interface converted, and based on the identifier, the converted second data is stored in a storage location of the database, thereby completing the processing of the dynamic table.

2. The method according to claim 1, It is characterized in that The performing interface conversion on the second data, and storing the converted second data in a storage location of the database based on the identifier, includes: Performing interface conversion on the second data to convert the second data into third data with a unified interface; classifying the third data based on the type of configuration operation; The classified third data is stored in a corresponding position of the database based on the identifier.

3. The method according to claim 2, It is characterized in that The storing the classified third data into a corresponding position of the database based on the identifier includes: Setting a data table in the database, wherein the data table has an identifier corresponding to the dynamic table; Establishing an association relationship between the data table and the dynamic table based on the identifier; The classified third data is stored in the data table based on the association relationship.

4. The method according to claim 1, It is characterized in that The method of creating a dynamic table based on VUE technology includes: Create a front-end table configuration interface based on VUE technology, select the corresponding table elements through the front-end interface, generate a custom dynamic table, and save the dynamic table structure of the completed page; The first data and configuration operations are configured for the dynamic table to complete the creation of the dynamic table, wherein the configuration operations are used to perform corresponding operations on the first data in the dynamic table.

5. The method according to claim 1, It is characterized in that The method further comprises: A data table is created using a database, wherein the data table includes table element attributes and a form element value table for storing table related information, and the data table has an identifier corresponding to the dynamic table.

6. The method according to claim 2, It is characterized in that The classifying the third data based on the type of configuration operation includes: Determining an operation type of the third data based on the type of configuration operation; The third data is classified based on the operation type.

7. The method according to claim 1, It is characterized in that The configuration operation includes adding, modifying and deleting, and the operating the first data based on the configuration operation to obtain the second data includes: Based on the configuration operation, a new addition, modification or deletion operation is performed on the first data to obtain the second data.

8. A form processing device, It is characterized in that The device comprises: a creation module, an operation module and a storage module; The creation module is used to create a dynamic table based on VUE technology, the dynamic table includes first data and configuration operations, and the dynamic table has a corresponding identifier, and the identifier is used to indicate a storage location of the dynamic table in a database; The operation module is used to operate the first data based on the configuration operation to obtain second data; The storage module is used to perform interface conversion on the second data, and store the converted second data in a storage location of the database based on the identifier, thereby completing the processing of the dynamic table.

9. An electronic device, It is characterized in that The device includes: a processor, a memory, and a system bus; The processor and the memory are connected via the system bus; The memory is used to store one or more programs, wherein the one or more programs include instructions, and when the instructions are executed by the processor, the processor executes the table processing method according to any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores an implementation program for implementing the table processing method, and when the implementation program for implementing the table processing method is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method and device for operating object persistently stored

    CN103942281A

  • Dynamic CMDB database model storage method and system

    CN110955655A

  • Database partitioning method and device, storage medium and electronic equipment

    CN115391337A

  • Table implementation method and system capable of dynamically configuring, displaying and searching

    CN116627986A

  • Front and back end development management method and device, computer equipment and storage medium

    CN116661763A