Form extension method, device, computer equipment and storage medium

By responding to dynamic column addition requests on the form page, the document information is obtained and adapted to be displayed on the form page, solving the problem of traditional static forms requiring secondary development and achieving flexible expansion and efficient adaptation of the form.

CN114297552BActive Publication Date: 2025-10-03KINGDEE SOFTWARE(CHINA) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111593578.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-23
Publication Date
2025-10-03
Estimated Expiration
2041-12-23

AI Technical Summary

Technical Problem

Traditional forms are static and require users to perform secondary development to expand them, and their adaptability is low.

Method used

By responding to the dynamic column addition request, the document information is obtained and assigned to the dynamic column after adaptation based on the control properties, and displayed on the management system form page.

Benefits of technology

Users can easily and quickly expand forms, avoid secondary development, and improve adaptability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114297552B_ABST
    Figure CN114297552B_ABST
Patent Text Reader

Abstract

The present application relates to a form expansion method, apparatus, computer device, and storage medium. The method comprises: in response to a request to add a dynamic column to a form page, obtaining first document information corresponding to a target field in the dynamic column to be added; the form page is pre-set with a hidden dynamic column to be added; after adapting the first document information based on control properties, assigning the first document information to the dynamic column to be added to obtain a target dynamic column; and displaying the target dynamic column on the form page of the management system. This method can improve the adaptability of a form.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a form expansion method, apparatus, computer device, and storage medium. Background Art

[0002] With the development of computer technology, forms are a common data collection tool on the World Wide Web (WWW). Users can view and fill out forms through a browser, or export and save them locally. Traditionally, forms have been static, requiring secondary development to expand their functionality. This has resulted in limited adaptability. Summary of the Invention

[0003] Based on this, it is necessary to provide a form expansion method, device, computer equipment and storage medium to address the above technical problems.

[0004] A form expansion method, comprising:

[0005] In response to a dynamic column adding request for a form page; obtaining first document information corresponding to a target field in the dynamic column to be added, the form page being preset with a hidden dynamic column to be added;

[0006] After adapting the first document information based on the control attributes, assigning the first document information to the dynamic column to be added to obtain a target dynamic column;

[0007] The goals are dynamically listed on the form page of the management system for display.

[0008] In one embodiment, the method further comprises:

[0009] Determining the business category to which the target dynamic column belongs according to the first document information;

[0010] Adding the target dynamic column to the form page of the management system for display includes:

[0011] Determine a display mode; the display mode is used to indicate displaying a form column of a specified category, and the business category belongs to the specified category;

[0012] According to the display method, the form columns belonging to the specified category and the target dynamic columns are displayed on the form page of the management system.

[0013] In one embodiment, the method further comprises:

[0014] Determine the business field of the blank fixed column to be assigned a value in the form page;

[0015] Obtaining second document information corresponding to the business field;

[0016] Assign the second document information to the blank fixed column.

[0017] In one embodiment, in response to a dynamic column adding request for a form page, obtaining first document information corresponding to a target field in the dynamic column to be added includes:

[0018] In response to a dynamic column adding request on a form page, enter the document information acquisition page;

[0019] In response to a document information selection operation triggered on the document information acquisition page, determining whether the number of document information corresponding to the document information selection operation is greater than the number of dynamic columns to be added;

[0020] If it is less than or equal to the number of the dynamic columns to be added, determining the type of the form in the form page to which the dynamic columns to be added need to be added;

[0021] When the type of the form is a master document, obtaining first document information corresponding to the target field in the dynamic column to be added from the information library corresponding to the master document;

[0022] When the type of the form is a supplementary document, first document information corresponding to the target field in the dynamic column to be added is obtained from an information library corresponding to the supplementary document.

[0023] In one embodiment, the method further comprises:

[0024] If the number is greater than the number of dynamic columns to be added, a reminder message is sent to the user to prompt that the number of document information added exceeds the upper limit.

[0025] In one embodiment, before assigning the first document information to the dynamic column to be added, the method further includes:

[0026] Get the control properties corresponding to the dynamic column to be added;

[0027] Determining the text type and text format of the first document information based on the control attribute;

[0028] Adjusting the first document information according to the text type and the text format;

[0029] The assigning the first document information to the dynamic column to be added includes:

[0030] Assign the adjusted first document information to the dynamic column to be added.

[0031] In one embodiment, the method further comprises:

[0032] Displaying a form page with the dynamic column to be added hidden in the management system; the form page is used to display the business form of the business interaction party;

[0033] Detects dynamic column addition requests triggered on the form page.

[0034] A form expansion device, comprising:

[0035] an acquisition module, configured to, in response to a dynamic column adding request for a form page, acquire first document information corresponding to a target field in the dynamic column to be added; the form page is preset with a hidden dynamic column to be added;

[0036] an assignment module, configured to assign the first document information to the dynamic column to be added after adapting the first document information based on control properties, to obtain a target dynamic column;

[0037] The display module is used to dynamically list the target on the form page of the management system for display.

[0038] In one embodiment, the device further comprises:

[0039] A determination module, configured to determine the business category to which the target dynamic column belongs based on the first document information;

[0040] The display module is also used to determine a display mode; the display mode is used to indicate the display of form columns of a specified category, and the business category belongs to the specified category; according to the display mode, the form columns belonging to the specified category and the target dynamic column are displayed on the form page of the management system.

[0041] In one embodiment, the assignment module is further configured to determine a business field in a blank fixed column to be assigned a value in the form page; obtain second document information corresponding to the business field; and assign the second document information to the blank fixed column.

[0042] In one embodiment, the acquisition module is also used to enter a document information acquisition page in response to a dynamic column addition request for a form page; in response to a document information selection operation triggered on the document information acquisition page, determine whether the number of document information corresponding to the document information selection operation is greater than the number of dynamic columns to be added; if it is less than or equal to the number of dynamic columns to be added, determine the type of form in the form page to which the dynamic column to be added needs to be added; when the type of the form is a master document, obtain the first document information corresponding to the target field in the dynamic column to be added in the information library corresponding to the master document; when the type of the form is a slave document, obtain the first document information corresponding to the target field in the dynamic column to be added in the information library corresponding to the slave document.

[0043] In one embodiment, the acquisition module is further configured to send a reminder message to the user if the number of the document information to be added exceeds the upper limit, to prompt the user that the number of the document information to be added exceeds the upper limit.

[0044] In one embodiment, the device further comprises:

[0045] An adjustment module, configured to obtain a control attribute corresponding to the dynamic column to be added; determine a text type and a text format of the first document information based on the control attribute; and adjust the first document information according to the text type and the text format;

[0046] The assignment module is further configured to assign the adjusted first document information to the dynamic column to be added.

[0047] In one embodiment, the device further comprises:

[0048] The detection module is used to display a form page with the dynamic column to be added hidden in the management system; the form page is used to display the business form of the business interaction party; and detect the dynamic column adding request triggered by the form page.

[0049] A computer device includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above-mentioned form expansion method.

[0050] A computer-readable storage medium stores a computer program, which, when executed by a processor, causes the processor to perform the steps of the above-mentioned form expansion method.

[0051] A computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the above-described form expansion method. The above-described form expansion method, apparatus, computer device, and storage medium obtain first document information corresponding to a target field in a dynamic column to be added by responding to a dynamic column addition request for a form page; after adapting the first document information based on control properties, assigning the first document information to the dynamic column to be added to obtain a target dynamic column; and displaying the target dynamic column on a form page of a management system. Users can quickly and easily assign the required information and display it on the form according to their needs, avoiding secondary development of the form and improving the form's adaptability. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 A diagram of an application environment of a form extension method in one embodiment;

[0053] Figure 2 1 is a flow chart of a form expansion method according to an embodiment;

[0054] Figure 3 A flowchart of a form expansion step in another embodiment;

[0055] Figure 4 A form display page for a form extension in another embodiment;

[0056] Figure 5 A configuration mapping interface for a form extension in one embodiment;

[0057] Figure 6 A flowchart of the assignment step of form extension in one embodiment;

[0058] Figure 7 is a structural block diagram of a form expansion device in one embodiment;

[0059] Figure 8 is a structural block diagram of a form expansion device in another embodiment;

[0060] Figure 9 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0062] The form extension method provided in this application can be applied to Figure 1In the application environment shown in FIG. , the application environment includes a terminal 102 and a server 104. The terminal 102 is used for illustration.

[0063] Terminal 102 displays a form page of the management system; the form page is used to display the business form of the business interaction party; in response to the dynamic column adding operation triggered on the form page, terminal 102 obtains first document information corresponding to the target field in the dynamic column to be added; after adapting the first document information based on the control properties, terminal 102 assigns the first document information to the dynamic column to be added to obtain the target dynamic column; terminal 102 adds the target dynamic column to the form page of the management system for display.

[0064] The terminal 102 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto.

[0065] The server 104 may be an independent physical server or a service node in a blockchain system. The service nodes in the blockchain system form a peer-to-peer (P2P) network. The P2P protocol is an application layer protocol running on top of the Transmission Control Protocol (TCP).

[0066] In addition, server 104 can also be a server cluster composed of multiple physical servers, and can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.

[0067] The terminal 102 and the server 104 may be connected via Bluetooth, USB (Universal Serial Bus), or a network, and this application does not impose any limitation thereto.

[0068] In one embodiment, Figure 2 As shown, a form expansion method is provided, which can be applied to a terminal or a server. Figure 1 The following steps are used as an example to illustrate the terminal in the figure:

[0069] S202 , in response to a dynamic column adding request for a form page, obtaining first document information corresponding to a target field in a dynamic column to be added; the form page is preset with a hidden dynamic column to be added.

[0070] The "dynamic column to be added" refers to the dynamic column to be added to the business form. A dynamic column, also known as a data column, refers to a column in a business form that can be assigned values. The "target field" refers to the document field or document name corresponding to the first document information to be added to the dynamic column to be added. For example, the target field can be: review date, document number, reviewer, etc. The first document information refers to the specific document content corresponding to the target field. For example, if the first document information corresponds to the "review time" target field, the first document information would be "20xx.11.25", "20xx.8.9", or "20xx.10.13".

[0071] In one embodiment, before S202 , a dynamic column adding request generated by triggering on a form page is detected.

[0072] The management system refers to a system used to manage forms. Business forms can include business documents such as accounts payable, payment orders, accounts receivable, and receipts. Business forms can be divided into two categories: primary documents and secondary documents. For example, if the primary document is a accounts payable, the corresponding secondary document is a payment order.

[0073] Specifically, in response to a request to add a dynamic column to a form page, the terminal enters a document information acquisition page; in response to a document information selection operation triggered on the document information acquisition page, it is determined whether the amount of document information corresponding to the document information selection operation is greater than the number of dynamic columns to be added; if it is less than or equal to the number of dynamic columns to be added, the type of form on the form page to which the dynamic columns to be added are to be added is determined; if the form type is a primary document, the first document information corresponding to the target field in the dynamic column to be added is obtained from the information library corresponding to the primary document; if the form type is a secondary document, the first document information corresponding to the target field in the dynamic column to be added is obtained from the information library corresponding to the secondary document. If the amount of document information is greater than the number of dynamic columns to be added, a reminder message is sent to the user to indicate that the amount of document information to be added exceeds the upper limit.

[0074] For example, the number of dynamic columns to be added is 5. The user triggers the dynamic column adding operation on the form page, and the terminal enters the document information acquisition page: "Settlement Extension Settings Page". The user triggers the document information selection operation on the settlement extension settings page, and selects the four target fields of "Document Date", "Exchange Rate", "Payment Method", and "Trading Unit", that is, four types of document information are selected. It is judged that 4 is less than 5, and the number of document information is less than the number of dynamic columns to be added; then the type of form in the form page to which the dynamic columns to be added need to be added is judged; when the type of the form is the main party document, the first document information corresponding to the target field in the dynamic column to be added is obtained from the information library corresponding to the main party document; when the type of the form is the auxiliary party document, the first document information corresponding to the target field in the dynamic column to be added is obtained from the information library corresponding to the auxiliary party document.

[0075] For example, there are five dynamic columns to be added. The user triggers the dynamic column addition operation on the form page, and the terminal enters the document information acquisition page: the "Settlement Extension Settings Page." On this page, the user triggers the document information selection operation and selects six target fields: "Document Date," "Exchange Rate," "Payment Method," "Trader," "Document Number," and "Review Date." In other words, six types of document information are selected. If the value 6 is greater than 5, a reminder message is sent to the user: "The number of rows in the manual settlement list display configuration entry cannot exceed the number of extended fields displayed in the manual settlement list: 5," indicating that the amount of added document information exceeds the upper limit.

[0076] S204: After adapting the first document information based on the control attributes, the first document information is assigned to the dynamic column to be added to obtain a target dynamic column.

[0077] The control attributes refer to the characteristics of the text that can be filled in the control of the dynamic column to be added, such as text type, text format, etc. The target dynamic column refers to the final assigned dynamic column to be added after the first document information is assigned to the dynamic column to be added.

[0078] Specifically, the terminal determines a business field in a blank fixed column to be assigned a value on the form page; obtains second document information corresponding to the business field; and assigns the second document information to the blank fixed column to obtain a target dynamic column.

[0079] The blank fixed column can refer to the dynamic column to be added, and the business field can refer to the target field. For example, the business field can be: review date, document number, reviewer, etc.

[0080] S206: Dynamically list the target on a form page of the management system for display.

[0081] Specifically, the terminal determines the business category to which the target dynamic column belongs based on the first document information; determines the display mode; the display mode is used to indicate that the form column of the specified category is displayed, and the business category belongs to the specified category; according to the display mode, the form column belonging to the specified category and the target dynamic column are displayed on the form page of the management system.

[0082] The business category refers to the category of the first document information corresponding to a form column. Form columns refer to form columns and target dynamic columns. Business categories can be document headers or entries. Each form column has only one business category. For example, the business category of a form column can be document headers or entries, and the business category of a target dynamic column can be document headers or entries. The display mode refers to the display method of form columns (form columns and target dynamic columns) on the form page. For example, the display mode can be displaying only the document header (entry only) or displaying all (entries).

[0083] For example, if the target fields corresponding to the first document information are "Company Name," "Document Status," "Settlement Status," or "Write-off Status," and the category of the first document information is "Document Header," the business category of the target dynamic column corresponding to the first document information is "Document Header." If the target fields corresponding to the first document information are "Currency," "Exchange Rate Date," "Exchange Rate," or "Details," and the category of the first document information is "Entry," the business category of the target dynamic column corresponding to the first document information is "Entry."

[0084] For example, if the first document information is a document header field, the terminal determines that the business category of the target dynamic column is the document header based on the first document information. The user selects a display mode. If the user selects "Entry," only the document header is displayed, and the form columns with the document header business category and the target dynamic column are displayed on the management system's form page. If the user selects "Entry," the display mode is changed to "Full Display." All form columns and the target dynamic column are displayed on the management system's form page.

[0085] In one embodiment, Figure 3 As shown, the steps of form extension may include: the terminal configures the dynamic column from the extension configuration tool, and then configures the mapping based on the configuration mapping tool to prepare the document information assigned to the dynamic column, through the form rendering step: first identify whether the document information is header information or entry information, and then identify the document information field type based on the control properties. After the adaptation is completed, the first document information is assigned to the target dynamic column.

[0086] For example, Figure 4 The following figure shows the form display page for the form extension. The form contains two types of documents: the primary document and the secondary document. The form display interface can display or hide corresponding fields based on the configured (assigned) document information content.

[0087] For example, Figure 5 The figure shows the form extension configuration mapping interface, which is the document information acquisition page. This figure configures the manual settlement list display in the financial payable document settlement extension. When the user clicks "Add Row" and selects "Document Header. Department. Name," the terminal identifies the document identifier as "Document Header" and the document attribute identifier as "department.name." The user can then enter the attribute column name corresponding to manual settlement, "Department." Clicking Save completes the form extension configuration mapping, retrieving the document information corresponding to a dynamic column.

[0088] In the above form extension method, in response to a request to add a dynamic column to a form page, the first document information corresponding to the target field in the dynamic column to be added is obtained; after adapting the first document information based on the control properties, the first document information is assigned to the dynamic column to be added, resulting in the target dynamic column; and the target dynamic column is displayed on the form page of the management system. Users can quickly and easily assign the required information and display it on the form according to their needs, avoiding secondary development of the form and improving the form's adaptability.

[0089] In one embodiment, Figure 6 As shown, the form extension assignment steps include:

[0090] S602: Obtain the control properties corresponding to the dynamic column to be added.

[0091] Control attributes refer to the control type corresponding to a field in a form. Control attributes primarily affect the presentation of document information fields in the form. For example, the control type can be a date, a name, a communication account, etc.

[0092] Specifically, the terminal can obtain the control attributes corresponding to the dynamic column to be added uploaded by the user. The terminal can also receive a form extension instruction and process the control attributes corresponding to the dynamic column to be added stored in the terminal. For example, the user can trigger the form extension instruction. When the terminal receives the form extension instruction, the terminal uses the control attributes corresponding to the user identifier stored in the terminal as the control attributes.

[0093] S604: Determine the text type and text format of the first document information based on the control attributes.

[0094] The text type is the field type, such as Arabic numerals, Chinese, English, etc. The text format refers to the form in which the text is presented.

[0095] Specifically, the terminal determines the text type, text format, etc. corresponding to the control attribute. The field type is the text type and text format of the first document information. For example, the first document information is a date, the text type of the control attribute is Arabic numerals, and the text format is "xxxx.xx.xx". Then the text type of the first document information is Arabic numerals, and the text format is "xxxx.xx.xx".

[0096] S606: Adjust the first document information according to the text type and text format.

[0097] For example, if the first document information is "12082021", the text type of the control property is Arabic numerals, and the text format is "xxxx.xx.xx". Then the first document information is "20xx.12.08".

[0098] S608: Assign the adjusted first document information to the dynamic column to be added.

[0099] This application also provides an application scenario, which applies the above-mentioned form extension method. Specifically, the application of the form extension in this application scenario is as follows:

[0100] Scenario 1: When a user collects document information from a financial payable document, they discover that the original form has insufficient columns and needs to expand the form. In response to a request to add dynamic columns to the form page, the terminal enters the document information acquisition page. In response to a document information selection operation triggered on the document information acquisition page, the terminal determines whether the number of document information corresponding to the document information selection operation exceeds the number of dynamic columns to be added. If it is less than or equal to the number of dynamic columns to be added, the terminal determines the type of form on the form page to which the dynamic columns to be added are to be added. If the form type is a primary document, the terminal retrieves the first document information corresponding to the target field in the dynamic column to be added from the information library corresponding to the primary document. If the form type is a secondary document, the terminal retrieves the first document information corresponding to the target field in the dynamic column to be added from the information library corresponding to the secondary document. If the number of document information exceeds the number of dynamic columns to be added, the terminal sends a reminder message to the user, noting that the amount of document information to be added exceeds the upper limit. The terminal determines the business field of the dynamic column to be added on the form page; obtains first document information corresponding to the business field; and assigns the first document information to the dynamic column to be added to obtain a target dynamic column. Based on the first document information, the terminal determines the business category to which the target dynamic column belongs; and determines a display mode, which indicates displaying form columns of a specified category, where the business category belongs to the specified category. According to the display mode, the form columns belonging to the specified category and the target dynamic column are displayed on the form page of the management system.

[0101] Scenario 2: When a user collects document information from a payment slip and discovers that the original form has insufficient columns, expanding the form is necessary. In response to a request to add dynamic columns to the form page, the terminal enters the document information acquisition page. In response to a document information selection operation triggered on the document information acquisition page, the terminal determines whether the number of document information corresponding to the document information selection operation exceeds the number of dynamic columns to be added. If so, the terminal determines the type of form on the form page to which the dynamic columns to be added are to be added. If the form type is a primary document, the terminal retrieves the first document information corresponding to the target field in the dynamic column to be added from the information library corresponding to the primary document. If the form type is a secondary document, the terminal retrieves the first document information corresponding to the target field in the dynamic column to be added from the information library corresponding to the secondary document. If the number exceeds the number of dynamic columns to be added, the terminal sends a reminder message to the user, noting that the amount of document information to be added exceeds the upper limit. The terminal determines the business field of the dynamic column to be added on the form page; obtains first document information corresponding to the business field; and assigns the first document information to the dynamic column to be added to obtain a target dynamic column. Based on the first document information, the terminal determines the business category to which the target dynamic column belongs; and determines a display mode, which indicates displaying form columns of a specified category, where the business category belongs to the specified category. According to the display mode, the form columns belonging to the specified category and the target dynamic column are displayed on the form page of the management system.

[0102] In this embodiment, the process involves obtaining control properties corresponding to the dynamic column to be added; determining the text type and format of the first document information based on the control properties; adjusting the first document information based on the text type and format; and assigning the first document information to the dynamic column to be added, including assigning the adjusted first document information to the dynamic column to be added. Users can quickly and easily assign required information and display it on the form based on their needs, avoiding secondary development of the form and improving the form's adaptability.

[0103] It should be understood that although Figure 2-3 The steps in the flowcharts of FIG6 are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Figure 2-3 At least part of the steps in 6 may include multiple steps or multiple stages. These steps or stages do not necessarily have to be performed at the same time, but can be performed at different times. The order of execution of these steps or stages is not necessarily one by one, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0104] In one embodiment, Figure 7As shown, a form expansion device is provided. The device can be a software module or a hardware module, or a combination of the two to form a part of a computer device. The device specifically includes: an acquisition module 702, an assignment module 704 and a display module 706, wherein:

[0105] The acquisition module 702 is configured to respond to a dynamic column adding request for a form page and acquire first document information corresponding to a target field in a dynamic column to be added; the form page is preset with a hidden dynamic column to be added.

[0106] The assignment module 704 is configured to assign the first document information to the dynamic column to be added after performing adaptation processing on the first document information based on the control attributes, so as to obtain a target dynamic column.

[0107] The display module 706 is used to dynamically list the goals on the form page of the management system for display.

[0108] In one embodiment, the display module 706 is also used to determine the display mode; the display mode is used to indicate the display of form columns of a specified category, and the business category belongs to the specified category; according to the display mode, the form columns belonging to the specified category and the target dynamic columns are displayed on the form page of the management system.

[0109] In one embodiment, the assignment module 704 is further configured to determine a business field in a blank fixed column to be assigned a value in the form page; obtain second document information corresponding to the business field; and assign the second document information to the blank fixed column.

[0110] In one embodiment, the acquisition module 702 is also used to enter the document information acquisition page in response to a dynamic column addition request for the form page; in response to the document information selection operation triggered on the document information acquisition page, determine whether the number of document information corresponding to the document information selection operation is greater than the number of dynamic columns to be added; if it is less than or equal to the number of dynamic columns to be added, determine the type of form in the form page to which the dynamic columns to be added need to be added; when the type of the form is a master document, obtain the first document information corresponding to the target field in the dynamic column to be added in the information library corresponding to the master document; when the type of the form is a slave document, obtain the first document information corresponding to the target field in the dynamic column to be added in the information library corresponding to the slave document.

[0111] In one embodiment, the acquisition module 702 is further configured to send a reminder message to the user if the number of the added document information exceeds the upper limit, to prompt the user that the number of the added document information exceeds the upper limit.

[0112] In one embodiment, the assignment module 704 is further configured to assign the adjusted first document information to the dynamic column to be added.

[0113] In one embodiment, Figure 8 As shown, the device further includes: a detection module 708, an adjustment module 710 and a determination module 712, wherein:

[0114] The detection module 708 is used to display a form page with the dynamic column to be added hidden in the management system; the form page is used to display the business form of the business interaction party; and detect a dynamic column adding request triggered by the form page.

[0115] The adjustment module 710 is configured to obtain control properties corresponding to the dynamic column to be added; determine the text type and text format of the first document information based on the control properties; and adjust the first document information according to the text type and text format.

[0116] The determination module 712 is configured to determine the business category to which the target dynamic column belongs based on the first document information.

[0117] In the above embodiment, in response to a request to add a dynamic column to a form page, first document information corresponding to the target field in the dynamic column to be added is obtained; after adapting the first document information based on control properties, the first document information is assigned to the dynamic column to be added, thereby obtaining the target dynamic column; and the target dynamic column is displayed on the form page of the management system. Users can quickly and easily assign the required information and display it on the form according to their needs, avoiding secondary development of the form and improving the form's adaptability.

[0118] The specific definition of the form expansion device can be found in the definition of the form expansion method above and will not be repeated here. Each module in the above-mentioned form expansion device can be implemented in whole or in part through software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor of the computer device in hardware form, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of each of the above modules.

[0119] In one embodiment, a computer device is provided. The computer device may be a terminal or a server. In this embodiment, the computer device is described as a terminal. The internal structure diagram thereof may be as follows: Figure 8As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a form expansion method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad provided on the computer device housing, or an external keyboard, touchpad or mouse.

[0120] Those skilled in the art will understand that Figure 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0121] In one embodiment, a computer device is further provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.

[0122] In one embodiment, a computer-readable storage medium is provided, storing a computer program. When a processor executes the computer program, the steps in the above-mentioned method embodiments are implemented.

[0123] In one embodiment, a computer program product or computer program is provided. The computer program product or computer program includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, so that when the computer device executes the computer program, the steps of the above-described method embodiments are implemented.

[0124] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0125] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0126] The above embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.

Claims

1. A form expansion method, characterized in that: The method comprises: In response to a dynamic column adding request for a form page, obtaining first document information corresponding to a target field in a dynamic column to be added; the form page is preset with a hidden dynamic column to be added; Obtaining a control attribute corresponding to the dynamic column to be added, determining a text type and text format of the first document information based on the control attribute, adjusting the first document information according to the text type and text format, and assigning the adjusted first document information to the dynamic column to be added, thereby obtaining a target dynamic column; the control attribute is a characteristic corresponding to text that can be filled in the control in the dynamic column to be added; Determine the business category to which the target dynamic column belongs based on the first document information; the business category includes document header and entry; According to the display mode selected by the user, the form columns and target dynamic columns of the business category specified by the display mode are displayed on the form page of the management system.

2. The method according to claim 1, characterized in that The method further comprises: Determine the business field of the blank fixed column to be assigned a value in the form page; Obtaining second document information corresponding to the business field; Assign the second document information to the blank fixed column.

3. The method according to claim 1, characterized in that The step of obtaining, in response to a dynamic column adding request on a form page, first document information corresponding to a target field in a dynamic column to be added comprises: In response to a dynamic column adding request on a form page, enter the document information acquisition page; In response to a document information selection operation triggered on the document information acquisition page, determining whether the number of document information corresponding to the document information selection operation is greater than the number of dynamic columns to be added; If it is less than or equal to the number of the dynamic columns to be added, determining the type of the form in the form page to which the dynamic columns to be added need to be added; When the type of the form is a master document, obtaining first document information corresponding to the target field in the dynamic column to be added from the information library corresponding to the master document; When the type of the form is a supplementary document, first document information corresponding to the target field in the dynamic column to be added is obtained from an information library corresponding to the supplementary document.

4. The method according to claim 3, characterized in that The method further comprises: If the number is greater than the number of dynamic columns to be added, a reminder message is sent to the user to prompt that the number of document information added exceeds the upper limit.

5. The method according to claim 1, wherein The acquiring of the control property corresponding to the dynamic column to be added includes: Receive form extension instructions triggered by users; The control attribute corresponding to the user identifier stored in the terminal is acquired to obtain the control attribute corresponding to the dynamic column to be added.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: Displaying a form page with the dynamic column to be added hidden in the management system; the form page is used to display the business form of the business interaction party; Detects dynamic column addition requests triggered on the form page.

7. A form expansion device, characterized in that: The device comprises: an acquisition module, configured to, in response to a dynamic column adding request for a form page, acquire first document information corresponding to a target field in a dynamic column to be added; the form page is preset with a hidden dynamic column to be added; an assignment module, configured to obtain control attributes corresponding to the dynamic column to be added, determine the text type and text format of the first document information based on the control attributes, and assign the adjusted first document information to the dynamic column to be added to obtain a target dynamic column; the control attributes are characteristics corresponding to the text that can be filled in the control in the dynamic column to be added; a determination module, configured to determine the business category to which the target dynamic column belongs based on the first document information; the business category includes a document header and an entry; The display module is used to display the form columns and target dynamic columns of the business category specified by the display mode on the form page of the management system according to the display mode selected by the user.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Form extension method and device, storage medium and electronic device

    CN110110304A

  • Report generation method and device, computer equipment and storage medium

    CN111881660A