CN114297552A - Form expansion method and device, computer equipment and storage medium - Google Patents
Form expansion method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN114297552A CN114297552A CN202111593578.9A CN202111593578A CN114297552A CN 114297552 A CN114297552 A CN 114297552A CN 202111593578 A CN202111593578 A CN 202111593578A CN 114297552 A CN114297552 A CN 114297552A
- Authority
- CN
- China
- Prior art keywords
- added
- dynamic
- column
- dynamic column
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The application relates to a form expansion method, a form expansion device, computer equipment and a storage medium. The method comprises the following steps: responding to a dynamic column adding request aiming at a form page, and acquiring first bill information corresponding to a target field in a dynamic column to be added; the form page is preset with hidden dynamic columns to be added; after the first bill information is subjected to adaptation processing based on control attributes, assigning the first bill information to the dynamic column to be added to obtain a target dynamic column; and displaying the target dynamic list on a form page of a management system. By adopting the method, the adaptation capability of the form can be improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a form extension method and apparatus, a computer device, and a storage medium.
Background
With the development of computer technology, a form is a data collection tool commonly used on a World Wide Web (World Wide Web) page, and a user can view the form, fill in the form, or export the form to be stored locally through a browser page. In the traditional technology, most forms are static forms, and users often need to develop the forms for the second time if needing to extend the forms, so that the existing forms have the problem of low adaptation capability.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a form expanding method, apparatus, computer device and storage medium for solving the above technical problems.
A form expansion method, the method comprising:
responding to a dynamic column addition request for a form page; acquiring first document information corresponding to a target field in the dynamic column to be added, wherein the form page is preset with a hidden dynamic column to be added;
after the first bill information is subjected to adaptation processing based on control attributes, assigning the first bill information to the dynamic column to be added to obtain a target dynamic column;
and displaying the target dynamic list on a form page of a management system.
In one embodiment thereof, the method further comprises:
determining the business category of the target dynamic column according to the first bill information;
the adding the target dynamic column to a form page of a management system for displaying comprises:
determining a display mode; the display mode is used for displaying a form column of a specified category, and the service category belongs to the specified category;
and according to the display mode, the form columns belonging to the specified categories and the target dynamic columns are displayed on a form page of a management system.
In one embodiment thereof, the method further comprises:
determining a service field of a blank fixed column to be assigned in the form page;
acquiring second bill information corresponding to the service field;
and assigning the second bill information to the blank fixed column.
In one embodiment, the obtaining, in response to a dynamic column addition request for a form page, first document information corresponding to a target field in the dynamic column to be added includes:
responding to a dynamic column adding request aiming at a form page, and entering a document information acquisition page;
responding to a receipt information selection operation triggered by the receipt information acquisition page, and judging whether the quantity of the receipt information corresponding to the receipt information selection operation is larger than the quantity of the dynamic columns to be added or not;
if the number of the dynamic columns to be added is less than or equal to the number of the dynamic columns to be added, judging 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 main side form, acquiring first form information corresponding to a target field in the dynamic column to be added from an information base corresponding to the main side form;
and when the type of the form is an auxiliary form, acquiring first form information corresponding to the target field in the dynamic column to be added from an information base corresponding to the auxiliary form.
In one embodiment thereof, the method further comprises:
and if the number of the dynamic columns to be added is larger than the number of the dynamic columns to be added, sending a reminding message to a user to prompt that the number of the added document information exceeds an upper limit value.
In one embodiment, before assigning the first document information to the dynamic column to be added, the method further includes:
acquiring control attributes corresponding to the dynamic columns to be added;
determining the text type and the text format of the first bill information based on the control attribute;
adjusting the first bill information according to the text type and the text format;
the assigning the first document information to the dynamic column to be added comprises:
and assigning the adjusted first bill information to the dynamic column to be added.
In one embodiment thereof, the method further comprises:
displaying a form page hiding the dynamic column to be added in a management system; the form page is used for displaying a service form of a service interaction party;
and detecting a dynamic column adding request generated by triggering on the form page.
A form expansion apparatus, the apparatus comprising:
the acquisition module is used for responding to a dynamic column adding request aiming at a form page and acquiring first document information corresponding to a target field in a dynamic column to be added; the form page is preset with hidden dynamic columns to be added;
the assignment module is used for assigning the first bill information to the dynamic column to be added to obtain a target dynamic column after the first bill information is subjected to adaptation processing based on control attributes;
and the display module is used for displaying the target dynamic list on a form page of the management system.
In one embodiment thereof, the apparatus further comprises:
the determining module is used for determining the business category of the target dynamic column according to the first bill information;
the display module is also used for determining a display mode; the display mode is used for displaying a form column of a specified category, and the service category belongs to the specified category; and according to the display mode, the form columns belonging to the specified categories and the target dynamic columns are displayed on a form page of a management system.
In one embodiment, the assignment module is further configured to determine a service field of a blank fixed column to be assigned in the form page; acquiring second bill information corresponding to the service field; and assigning the second bill information to the blank fixed column.
In one embodiment, the obtaining module is further configured to enter a document information obtaining page in response to a dynamic column addition request for a form page; responding to a receipt information selection operation triggered by the receipt information acquisition page, and judging whether the quantity of the receipt information corresponding to the receipt information selection operation is larger than the quantity of the dynamic columns to be added or not; if the number of the dynamic columns to be added is less than or equal to the number of the dynamic columns to be added, judging 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 main side form, acquiring first form information corresponding to a target field in the dynamic column to be added from an information base corresponding to the main side form; and when the type of the form is an auxiliary form, acquiring first form information corresponding to the target field in the dynamic column to be added from an information base corresponding to the auxiliary form.
In one embodiment, the obtaining module is further configured to send a prompt message to a user if the number of the dynamic columns to be added is greater than the number of the dynamic columns to be added, so as to prompt that the number of the added document information exceeds an upper limit value.
In one embodiment thereof, the apparatus further comprises:
the adjusting module is used for acquiring the control attribute corresponding to the dynamic column to be added; determining the text type and the text format of the first bill information based on the control attribute; adjusting the first bill information according to the text type and the text format;
and the assignment module is also used for assigning the adjusted first bill information to the dynamic column to be added.
In one embodiment thereof, the apparatus further comprises:
the detection module is used for displaying the form page in which the dynamic column to be added is hidden in the management system; the form page is used for displaying a service form of a service interaction party; and detecting a dynamic column adding request generated by triggering on the form page.
A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the above form expansion method.
A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to perform the steps of the above-described form extension method.
A computer program product, comprising a computer program which, when being executed by a processor, carries out the steps of the above-mentioned form extension method. According to the form expansion method, the form expansion device, the computer equipment and the storage medium, the first bill information corresponding to the target field in the dynamic column to be added is obtained by responding to the dynamic column adding request aiming at the form page; after the first bill information is subjected to adaptation processing based on the control attribute, assigning the first bill information to a dynamic column to be added to obtain a target dynamic column; and displaying the target dynamic list on a form page of the management system. The user can conveniently and quickly assign the required information and display the information on the form according to the self requirement, thereby avoiding secondary development of the form and improving the adaptation capability of the form.
Drawings
FIG. 1 is a diagram of an application environment of the form expansion method in one embodiment;
FIG. 2 is a flow diagram that illustrates a method for form expansion in one embodiment;
FIG. 3 is a flowchart showing the form expansion step in another embodiment;
FIG. 4 is a form display page of the form extension in another embodiment;
FIG. 5 is a configuration mapping interface for form expansion in one embodiment;
FIG. 6 is a flowchart illustrating the assignment step of the form extension in one embodiment;
FIG. 7 is a block diagram showing the construction of a form expanding apparatus according to one embodiment;
FIG. 8 is a block diagram showing the construction of a form expanding apparatus in another embodiment;
FIG. 9 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The form expansion method provided by the application can be applied to the application environment shown in fig. 1. In the application environment, a terminal 102 and a server 104 are included. The terminal 102 will be described.
The terminal 102 displays a form page of the management system; the form page is used for displaying a service form of a service interaction party; the terminal 102 responds to a dynamic column adding operation triggered on a form page, and obtains first receipt information corresponding to a target field in a dynamic column to be added; after the terminal 102 performs adaptation processing on the first bill information based on the control attribute, assigning the first bill information to the dynamic column to be added to obtain a target dynamic column; the terminal 102 adds the target dynamic column to a form page of the management system for displaying.
The terminal 102 may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, and the like.
The server 104 may be an independent physical server or a service node in a blockchain system, a point-To-point (P2P, Peer To Peer) network is formed among the service nodes in the blockchain system, and the P2P Protocol is an application layer Protocol operating on a Transmission Control Protocol (TCP).
In addition, the server 104 may also be a server cluster composed of a plurality of physical servers, and may be a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a web service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like.
The terminal 102 and the server 104 may be connected through communication connection manners such as bluetooth, USB (Universal Serial Bus), or network, which is not limited herein.
In one embodiment, as shown in fig. 2, a form extension method is provided, which can be applied to a terminal or a server, and is described by taking the application of the method to the terminal in fig. 1 as an example, including the following steps:
s202, responding to a dynamic column adding request aiming at a form page, and acquiring first document information corresponding to a target field in a dynamic column to be added; and a hidden dynamic column to be added is preset in the form page.
The dynamic column to be added refers to a dynamic column to be added in a business form. A dynamic column may be referred to as a data column, which refers to an assignable column in a business form. The target field refers to a 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 may be: audit date, document number, auditor, etc. The first document information refers to specific document content corresponding to the target field, for example, the first document information, and if the corresponding target field is "audit time", the first document information is "20 xx.11.25", "20 xx.8.9" or "20 xx.10.13".
In one embodiment, prior to S202, a dynamic column addition request generated upon a form page trigger is detected.
The management system refers to a system for managing forms. The business form can refer to financial payable, payment receipt, financial receivable, receipt and other business documents. Business forms can be classified into two types, a primary form and a secondary form, for example, if the primary form is a financial payable form, then the corresponding secondary form is a payment form.
Specifically, in response to a dynamic column addition request for a form page, the terminal enters a document information acquisition page; responding to a receipt information selection operation triggered by a receipt information acquisition page, and judging whether the quantity of receipt information corresponding to the receipt information selection operation is larger than the quantity of dynamic columns to be added or not; if the number of the dynamic columns to be added is less than or equal to the number of the dynamic columns to be added, judging the types of the forms in the form pages to be added with the dynamic columns to be added; when the type of the form is a main party form, acquiring first form information corresponding to a target field in a dynamic column to be added from an information base corresponding to the main party form; and when the type of the form is the auxiliary form, acquiring first form information corresponding to the target field in the dynamic column to be added from an information base corresponding to the auxiliary form. And if the number of the dynamic columns to be added is larger than the number of the dynamic columns to be added, sending a reminding message to a user to prompt that the number of the added document information exceeds the upper limit value.
For example, the number of dynamic columns to be added is 5 columns. And (3) adding operation of the dynamic column triggered by the user on the form page, and enabling the terminal to enter a document information acquisition page: the settlement extension setting page is used for selecting four target fields of 'document date', 'exchange rate', 'payment mode' and 'unit of communication', namely selecting four kinds of document information. Judging that 4 is less than 5, wherein the number of the document information is less than the number of the dynamic columns to be added; judging the type of the 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 main party form, acquiring first form information corresponding to a target field in a dynamic column to be added from an information base corresponding to the main party form; and when the type of the form is the auxiliary form, acquiring first form information corresponding to the target field in the dynamic column to be added from an information base corresponding to the auxiliary form.
For example, the number of dynamic columns to be added is 5 columns. And (3) adding operation of the dynamic column triggered by the user on the form page, and enabling the terminal to enter a document information acquisition page: the 'settlement extension setting page' is characterized in that a user selects 6 target fields of 'document date', 'exchange rate', 'payment mode', 'current unit', 'document number', 'audit date', namely 6 kinds of document information in document information selection operation triggered by the settlement extension setting page. And if the judgment result is that the number of the lines of the manual settlement list display configuration entry is greater than 5, sending a reminding message to the user, wherein the number of the lines of the manual settlement list display configuration entry cannot exceed the number of the manual settlement list display extension fields: and 5' to prompt that the added bill information quantity exceeds the upper limit value.
S204, after the first bill information is subjected to adaptation processing based on the control attribute, the first bill information is assigned to the dynamic column to be added, and a target dynamic column is obtained.
The control attribute refers to a feature corresponding to the text that can be filled in by the control in the dynamic column to be added, such as a text type, a text format, and the like. The target dynamic column refers to a final assigned dynamic column to be added, which is formed by assigning the first bill information to the dynamic column to be added.
Specifically, the terminal determines the service field of a blank fixed column to be assigned in a form page; acquiring second bill information corresponding to the service field; and assigning the second bill information to the blank fixed column to obtain a target dynamic column.
The blank fixed column may refer to a dynamic column to be added, and the service field may refer to a target field, for example, the service field may be: audit date, document number, auditor, etc.
And S206, dynamically listing the target on a form page of the management system for displaying.
Specifically, the terminal determines the business category of the target dynamic column according to the first bill information; determining a display mode; the display mode is used for displaying a form list of the specified category, and the service category belongs to the specified category; in the display mode, the form columns belonging to the specified category and the target dynamic column are shown on the form page of the management system.
The business category refers to a category to which corresponding first document information in a list of the form belongs, wherein the list of the form refers to a form list and a target dynamic list, the business category can be a document header and an entry, the list of each list of the form has only one business category, for example, the business category of the form list can be the document header or the entry, and the business category of the target dynamic list can be the document header or the entry. The display mode refers to a display mode of a list (a list column and a target dynamic column) of a list in a list page, for example, the display mode may be to display only a header of the list (a whole list), to display all the lists (entries), or the like.
For example, when the target field corresponding to the first document information is "company name", "document state", "settlement state", "verification state", and the like, the category to which the first document information belongs is a document header, and the business category to which the target dynamic column corresponding to the first document information belongs is a "document header"; when the target fields of currency, exchange rate date, exchange rate and detail corresponding to the first document information are equal, the category of the first document information is an entry. The business category to which the target dynamic column corresponding to the first document information belongs is 'entry'.
For example, if the first document information is a document header field, the terminal determines that the business type of the target dynamic column is the document header according to the first document information, the user selects a display mode, and if the user selects 'complete document', the display mode is to display only the document header, and the form column of which the business type is the document header and the target dynamic column are displayed on a form page of the management system. When the user selects the 'entry', the display mode is full display. All form columns and target dynamic columns are shown on the forms page of the management system.
In one embodiment, as shown in FIG. 3, the step of form expansion may include: the terminal configures dynamic columns from the extended configuration tool, then prepares document information assigned to the dynamic columns based on the configuration mapping tool configuration mapping, and performs a form rendering step: firstly, identifying whether the bill information is header information or entry information, then identifying the type of the bill information field based on the control attribute, and after the adaptation is completed, assigning the first bill information to the target dynamic column.
For example, as shown in fig. 4, a form display page is extended for a form, where there are two types of forms in the form, a primary form and a secondary form. The form display interface can display and hide or hide corresponding fields according to the configured (assigned) document information content.
For example, as shown in fig. 5, the configuration mapping interface expanded for the form is a document information obtaining page. The manual settlement list display in the financial payable unilaterally expanded form is configured, after a user clicks 'line increase', a 'document head, department and name' is selected, the terminal identifies the position of a document identifier of the terminal as the 'document head' and the document attribute identifier as 'department and name', the user can independently fill the name of an attribute column corresponding to manual settlement, the 'department' clicks and stores, the configuration mapping of the form expansion is completed, and document information corresponding to a dynamic column is obtained.
In the form expansion method, first document information corresponding to a target field in a dynamic column to be added is acquired by responding to a dynamic column adding request aiming at a form page; after the first bill information is subjected to adaptation processing based on the control attribute, assigning the first bill information to a dynamic column to be added to obtain a target dynamic column; and displaying the target dynamic list on a form page of the management system. The user can conveniently and quickly assign the required information and display the information on the form according to the self requirement, thereby avoiding secondary development of the form and improving the adaptation capability of the form.
In one embodiment, as shown in FIG. 6, the assignment step of the form extension includes:
and S602, acquiring the control attribute corresponding to the dynamic column to be added.
The control attribute refers to a control type corresponding to a field in the form, and the control attribute mainly influences the presentation form of the document information field in the form. For example, the control type may be a date, a person name, a communication account number, and the like.
Specifically, the terminal may obtain the control attribute corresponding to the dynamic column to be added uploaded by the user. The terminal can also receive the form expansion instruction and process the control attribute corresponding to the dynamic column to be added stored in the terminal. For example, a user may trigger a form expansion instruction, and when the terminal receives the form expansion instruction, the terminal may use a control attribute stored in the terminal and corresponding to the user identifier as the control attribute.
S604, determining the text type and the text format of the first bill information based on the control attribute.
Wherein the text type is a field type, such as arabic numeral, chinese, english, etc. Text format refers to the form of text presentation.
Specifically, the terminal determines a text type, a text format and the like corresponding to the control attribute, and the field type is the text type and the text format of the first document information. For example, the first document information is date, the text type of the control attribute is arabic number, and the text format is "xxxx. The text type of the first document information is arabic numerals and the text format is "xxxx.
S606, adjusting the first bill information according to the text type and the text format.
For example, the first document information is "12082021", the text type of the control attribute is arabic numerals, and the text format is "xxxx. The text type of the first document information is arabic numerals and the text format is "xxxx.xx.xx", and the first document information is "20 xx.12.08".
And S608, assigning the adjusted first bill information to the dynamic column to be added.
The application also provides an application scene, and the form extension method is applied to the application scene. Specifically, the form extension is applied to the application scenario as follows:
scene 1, when a user collects bill information in a financial payable bill, if the number of columns of a form column of an original form is found to be insufficient and the form needs to be expanded, a terminal enters a bill information acquisition page in response to a dynamic column adding request aiming at a form page; responding to a receipt information selection operation triggered by a receipt information acquisition page, and judging whether the quantity of receipt information corresponding to the receipt information selection operation is larger than the quantity of dynamic columns to be added or not; if the number of the dynamic columns to be added is less than or equal to the number of the dynamic columns to be added, judging the types of the forms in the form pages to be added with the dynamic columns to be added; when the type of the form is a main party form, acquiring first form information corresponding to a target field in a dynamic column to be added from an information base corresponding to the main party form; and when the type of the form is the auxiliary form, acquiring first form information corresponding to the target field in the dynamic column to be added from an information base corresponding to the auxiliary form. And if the number of the dynamic columns to be added is larger than the number of the dynamic columns to be added, sending a reminding message to a user to prompt that the number of the added document information exceeds the upper limit value. The terminal determines the service fields of the dynamic columns to be added in the form page; acquiring first bill information corresponding to the service field; and assigning the first bill information to the dynamic column to be added to obtain a target dynamic column. The terminal determines the business category of the target dynamic column according to the first bill information; determining a display mode; the display mode is used for displaying a form list of the specified category, and the service category belongs to the specified category; in the display mode, the form columns belonging to the specified category and the target dynamic column are shown on the form page of the management system.
Scene 2, when a user collects bill information in a payment bill, if the number of columns of a form column of an original form is found to be insufficient and the form needs to be expanded, responding to a dynamic column adding request aiming at a form page and enabling a terminal to enter a bill information acquisition page; responding to a receipt information selection operation triggered by a receipt information acquisition page, and judging whether the quantity of receipt information corresponding to the receipt information selection operation is larger than the quantity of dynamic columns to be added or not; if the number of the dynamic columns to be added is less than or equal to the number of the dynamic columns to be added, judging the types of the forms in the form pages to be added with the dynamic columns to be added; when the type of the form is a main party form, acquiring first form information corresponding to a target field in a dynamic column to be added from an information base corresponding to the main party form; and when the type of the form is the auxiliary form, acquiring first form information corresponding to the target field in the dynamic column to be added from an information base corresponding to the auxiliary form. And if the number of the dynamic columns to be added is larger than the number of the dynamic columns to be added, sending a reminding message to a user to prompt that the number of the added document information exceeds the upper limit value. The terminal determines the service fields of the dynamic columns to be added in the form page; acquiring first bill information corresponding to the service field; and assigning the first bill information to the dynamic column to be added to obtain a target dynamic column. The terminal determines the business category of the target dynamic column according to the first bill information; determining a display mode; the display mode is used for displaying a form list of the specified category, and the service category belongs to the specified category; in the display mode, the form columns belonging to the specified category and the target dynamic column are shown on the form page of the management system.
In the embodiment, the control attribute corresponding to the dynamic column to be added is obtained; determining the text type and the text format of the first bill information based on the control attribute; adjusting the first bill information according to the text type and the text format; assigning the first document information to the dynamic column to be added comprises: and assigning the adjusted first bill information to the dynamic column to be added. The user can conveniently and quickly assign the required information and display the information on the form according to the self requirement, thereby avoiding secondary development of the form and improving the adaptation capability of the form.
It should be understood that although the various steps in the flowcharts of fig. 2-3, 6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3, 6 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps or stages.
In one embodiment, as shown in fig. 7, a form extension apparatus is provided, which may be a part of a computer device using a software module or a hardware module, or a combination of the two, and specifically includes: an obtaining module 702, an assigning module 704, and a presenting module 706, wherein:
an obtaining module 702, configured to, in response to a dynamic column addition request for a form page, obtain first document information corresponding to a target field in a dynamic column to be added; and a hidden dynamic column to be added is preset in the form page.
And the assigning module 704 is configured to assign the first document information to the dynamic column to be added after the first document information is adapted based on the control attribute, so as to obtain a target dynamic column.
And a display module 706, configured to display the form page in which the target is dynamically listed in the management system.
In one embodiment, the presentation module 706 is further configured to determine a display mode; the display mode is used for displaying a form list of the specified category, and the service category belongs to the specified category; in the display mode, the form columns belonging to the specified category and the target dynamic column are shown on the form page of the management system.
In one embodiment, the assignment module 704 is further configured to determine a service field of a blank fixed column to be assigned in the form page; acquiring second bill information corresponding to the service field; and assigning the second bill information to the blank fixed column.
In one embodiment, the obtaining module 702 is further configured to enter a document information obtaining page in response to a dynamic column addition request for a form page; responding to a receipt information selection operation triggered by a receipt information acquisition page, and judging whether the quantity of receipt information corresponding to the receipt information selection operation is larger than the quantity of dynamic columns to be added or not; if the number of the dynamic columns to be added is less than or equal to the number of the dynamic columns to be added, judging the types of the forms in the form pages to be added with the dynamic columns to be added; when the type of the form is a main party form, acquiring first form information corresponding to a target field in a dynamic column to be added from an information base corresponding to the main party form; and when the type of the form is the auxiliary form, acquiring first form information corresponding to the target field in the dynamic column to be added from an information base corresponding to the auxiliary form.
In an embodiment, the obtaining module 702 is further configured to send a prompting message to the user if the number of the dynamic columns to be added is greater than the number of the dynamic columns to be added, so as to prompt that the number of the added document information exceeds the upper limit value.
In one embodiment, the assigning module 704 is further configured to assign the adjusted first document information to the dynamic column to be added.
In one embodiment, as shown in fig. 8, the apparatus further comprises: a detection module 708, an adjustment module 710, and a determination module 712, wherein,
the detection module 708 is used for displaying a form page in which a dynamic column to be added is hidden in the management system; the form page is used for displaying a service form of a service interaction party; a dynamic column addition request generated upon a form page trigger is detected.
The adjusting module 710 is configured to obtain a control attribute corresponding to the dynamic column to be added; determining the text type and the text format of the first bill information based on the control attribute; and adjusting the first bill information according to the text type and the text format.
And the determining module 712 is configured to determine the service category to which the target dynamic column belongs according to the first document information.
In the embodiment, the first receipt information corresponding to the target field in the dynamic column to be added is acquired by responding to the dynamic column adding request aiming at the form page; after the first bill information is subjected to adaptation processing based on the control attribute, assigning the first bill information to a dynamic column to be added to obtain a target dynamic column; and displaying the target dynamic list on a form page of the management system. The user can conveniently and quickly assign the required information and display the information on the form according to the self requirement, thereby avoiding secondary development of the form and improving the adaptation capability of the form.
For specific limitations of the form expanding apparatus, reference may be made to the above limitations of the form expanding method, and details are not described here. The various modules in the form expanding apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, and the computer device may be a terminal or a server, and in this embodiment, the computer device is taken as an example of a terminal, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile 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 an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a form extension method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, in which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In one embodiment, a computer program product or computer program is provided that includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the computer program to realize the steps in the method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can 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, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A form expansion method, the method comprising:
responding to a dynamic column adding request aiming at a form page, and acquiring first bill information corresponding to a target field in a dynamic column to be added; the form page is preset with hidden dynamic columns to be added;
after the first bill information is subjected to adaptation processing based on control attributes, assigning the first bill information to the dynamic column to be added to obtain a target dynamic column;
and displaying the target dynamic list on a form page of a management system.
2. The method of claim 1, further comprising:
determining the business category of the target dynamic column according to the first bill information;
the adding the target dynamic column to a form page of a management system for displaying comprises:
determining a display mode; the display mode is used for displaying a form column of a specified category, and the service category belongs to the specified category;
and according to the display mode, the form columns belonging to the specified categories and the target dynamic columns are displayed on a form page of a management system.
3. The method of claim 1, further comprising:
determining a service field of a blank fixed column to be assigned in the form page;
acquiring second bill information corresponding to the service field;
and assigning the second bill information to the blank fixed column.
4. The method of claim 1, wherein the obtaining first document information corresponding to a target field in the dynamic column to be added in response to a dynamic column addition request for a form page comprises:
responding to a dynamic column adding request aiming at a form page, and entering a document information acquisition page;
responding to a receipt information selection operation triggered by the receipt information acquisition page, and judging whether the quantity of the receipt information corresponding to the receipt information selection operation is larger than the quantity of the dynamic columns to be added or not;
if the number of the dynamic columns to be added is less than or equal to the number of the dynamic columns to be added, judging 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 main side form, acquiring first form information corresponding to a target field in the dynamic column to be added from an information base corresponding to the main side form;
and when the type of the form is an auxiliary form, acquiring first form information corresponding to the target field in the dynamic column to be added from an information base corresponding to the auxiliary form.
5. The method of claim 4, further comprising:
and if the number of the dynamic columns to be added is larger than the number of the dynamic columns to be added, sending a reminding message to a user to prompt that the number of the added document information exceeds an upper limit value.
6. The method of claim 1, wherein prior to assigning the first document information to the dynamic column to be added, the method further comprises:
acquiring control attributes corresponding to the dynamic columns to be added;
determining the text type and the text format of the first bill information based on the control attribute;
adjusting the first bill information according to the text type and the text format;
the assigning the first document information to the dynamic column to be added comprises:
and assigning the adjusted first bill information to the dynamic column to be added.
7. The method according to any one of claims 1 to 6, further comprising:
displaying a form page hiding the dynamic column to be added in a management system; the form page is used for displaying a service form of a service interaction party;
and detecting a dynamic column adding request generated by triggering on the form page.
8. An apparatus for expanding forms, the apparatus comprising:
the acquisition module is used for responding to a dynamic column adding request aiming at a form page and acquiring first document information corresponding to a target field in a dynamic column to be added; the form page is preset with hidden dynamic columns to be added;
the assignment module is used for assigning the first bill information to the dynamic column to be added to obtain a target dynamic column after the first bill information is subjected to adaptation processing based on control attributes;
and the display module is used for displaying the target dynamic list on a form page of the management system.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111593578.9A CN114297552A (en) | 2021-12-23 | 2021-12-23 | Form expansion method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111593578.9A CN114297552A (en) | 2021-12-23 | 2021-12-23 | Form expansion method and device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114297552A true CN114297552A (en) | 2022-04-08 |
Family
ID=80969528
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111593578.9A Pending CN114297552A (en) | 2021-12-23 | 2021-12-23 | Form expansion method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114297552A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115509630A (en) * | 2022-09-07 | 2022-12-23 | 中电金信软件有限公司 | Control processing method and device, electronic equipment and medium |
-
2021
- 2021-12-23 CN CN202111593578.9A patent/CN114297552A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115509630A (en) * | 2022-09-07 | 2022-12-23 | 中电金信软件有限公司 | Control processing method and device, electronic equipment and medium |
CN115509630B (en) * | 2022-09-07 | 2023-10-13 | 中电金信软件有限公司 | Control processing method and device, electronic equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105786807B (en) | Exhibition information pushing method, equipment and system | |
CN110750222A (en) | Printing method, printing device, computer equipment and storage medium | |
CN109669718A (en) | System permission configuration method, device, equipment and storage medium | |
CN111222153B (en) | Application program authority management method and device and storage medium | |
CN108038779A (en) | Video face label identity checking method, device, equipment and readable storage medium storing program for executing | |
US9706006B2 (en) | System and method of context aware adaption of content for a mobile device | |
CN114611481A (en) | Template configuration method and device, computer equipment and storage medium | |
CN110134656A (en) | Page control method, device, computer readable storage medium and computer equipment | |
CN111770086A (en) | Fishing user simulation collection method, device, system and computer readable storage medium | |
CN104679824A (en) | Webpage generating method and webpage generating system of network platform | |
CN113742601A (en) | Content sharing method and device, computer equipment and storage medium | |
CN114297552A (en) | Form expansion method and device, computer equipment and storage medium | |
CN109040284B (en) | Information display and information push method, device, equipment and storage medium | |
US10565210B2 (en) | Generating and verifying a reputational profile | |
US8799763B1 (en) | Methods and apparatus for assisting in completion of a form | |
CN107329945B (en) | Short message display processing method and device and mobile terminal | |
CN105933417B (en) | Consultation method and device | |
CN105743890B (en) | Authority information generation method and device | |
CN114676359A (en) | Form display method and device, computer equipment and storage medium | |
CN112688850B (en) | Method and device for screening action objects in instant messaging | |
CN113836428A (en) | Business pushing method and device, computer equipment and storage medium | |
CN114238806A (en) | Page display method, page display device, computer equipment, storage medium and program product | |
US20110161320A1 (en) | Methods, apparatuses, and computer program products for geocoding data | |
CN113434069A (en) | Menu configuration method, device, equipment and storage medium | |
CN109523377B (en) | Transaction method, device, equipment and storage medium of digital currency |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |