CN116089439A - Dynamic form modification method and device - Google Patents

Dynamic form modification method and device Download PDF

Info

Publication number
CN116089439A
CN116089439A CN202211600847.4A CN202211600847A CN116089439A CN 116089439 A CN116089439 A CN 116089439A CN 202211600847 A CN202211600847 A CN 202211600847A CN 116089439 A CN116089439 A CN 116089439A
Authority
CN
China
Prior art keywords
modification
data point
component
reason
monitoring event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211600847.4A
Other languages
Chinese (zh)
Inventor
赵严
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Yanma Technology Co ltd
Original Assignee
Jiangsu Yanma Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Yanma Technology Co ltd filed Critical Jiangsu Yanma Technology Co ltd
Priority to CN202211600847.4A priority Critical patent/CN116089439A/en
Publication of CN116089439A publication Critical patent/CN116089439A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2358Change logging, detection, and notification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data

Abstract

The invention provides a method and a device for modifying a dynamic form, comprising the following steps: acquiring modification information of a dynamic form, and triggering a data point monitoring event; writing the modification information into a reason list according to the triggered data point monitoring event; based on the reason list, displaying a plurality of corresponding modification reasons for the modification information through a modification reason component; displaying the determined modification reason and the modification information; wherein the modification information includes pre-modification data and post-modification data. The invention can carry out visual display on the data before modification and the data after modification, and the modification is more efficient.

Description

Dynamic form modification method and device
Technical Field
The present invention relates to the field of computer software development, and in particular, to a method and an apparatus for modifying a dynamic form.
Background
The dynamic form is a form which enables the business to be flexibly configured and expanded, avoids hard-coded data acquisition and processing in the system, can improve the maintainability of the system, enables developers to concentrate on business processes, and simultaneously enables system operators to participate in the management of the forms.
At present, the clinical research project management and the task management all adopt the traditional task management mode, however, the clinical research has the characteristics of wide test site range, scattered personnel and multiple types of mutually cooperative members, and based on the characteristics, the traditional task management mode has the following defects: a. the user cannot visualize the history of the entry of the monitored data points; b. the form modification reasons have no way to count; c. to view the form modification record, it can only be viewed through the database or log; d. multiple people maintain the same subject data and are not well managed; e. the user can find the modified record only by understanding the database technology, and the learning cost is high; f. it is time consuming and laborious to view the modified trace of the data point.
In view of the foregoing, there is a need for an efficient and highly visualized method for modifying dynamic forms.
Disclosure of Invention
The invention provides a method and a device for modifying a dynamic form, which are used for solving the problems.
The invention provides a modification method of a dynamic form, which comprises the following steps:
acquiring modification information of a dynamic form, and triggering a data point monitoring event;
writing the modification information into a reason list according to the triggered data point monitoring event;
based on the reason list, displaying a plurality of corresponding modification reasons for the modification information through a modification reason component;
displaying the determined modification reason and the modification information;
wherein the modification information includes pre-modification data and post-modification data.
According to the modification method of the dynamic form provided by the invention, the dynamic form is a common form;
accordingly, the acquiring the modification information of the dynamic form and triggering the data point monitoring event includes:
acquiring modification information of a common form, and triggering a common form data point monitoring event;
the writing of the modification information into the reason list according to the triggered data point monitoring event comprises the following steps:
and writing the modification information into the reason list according to the triggered common form data point monitoring event.
According to the modification method of the dynamic form provided by the invention, the dynamic form is a sub-form;
accordingly, the acquiring the modification information of the dynamic form and triggering the data point monitoring event includes:
acquiring modification information of a sub-table, and triggering a sub-table data point monitoring event;
the writing of the modification information into the reason list according to the triggered data point monitoring event comprises the following steps:
and writing the modification information into the reason list according to the triggered sub-table data point monitoring event.
According to the modification method of the dynamic form provided by the invention, before the common form data point monitoring event is triggered, the method further comprises the following steps:
inserting named slots into a generateFormItem component, a generateModule component and a generateForm component respectively, wherein the generateForm component is a page call top-level component;
correspondingly, the triggering of the common form data point monitoring event comprises the following steps:
when the data of the common form data point is changed, the attribute of the common form data point bound with the named slot is transmitted step by step through the generating eFormItem component, the generating Module component and the generating eFormom component;
and binding the common form data point monitoring event in the generating eForm component according to the transmitted attribute of the common form data point.
According to the modification method of the dynamic form provided by the invention, before the event is monitored by the data point of the trigger sub-table, the method further comprises the following steps:
inserting named slots into a Formable component, a Generator element component, a Generator eFormItem component, a generator Module component and a generator eForm component respectively, wherein the generator eForm component is a page call top-level component;
correspondingly, the triggering sub-table data point monitoring event comprises:
when the data of sub-data points are changed, the attribute of the sub-data points bound with the named slot is transmitted step by step through the Formable component, the Generator element component, the generator eFormItem component, the generator Module component and the generator eForm component;
binding the sub-form data point monitoring event in the generating eForm component according to the transferred attribute of the sub-form data point.
According to the method for modifying the dynamic form provided by the invention, before the modification information is written into the reason list according to the triggered data point monitoring event, the method further comprises the following steps:
matching the transmitted attributes of the common form data points and/or the transmitted attributes of the form data points with the pre-stored attributes corresponding to the pre-modified data; judging whether the transmitted value of the common form data point and/or the transmitted value of the form data point is equal to the value corresponding to the pre-stored data before modification;
accordingly, the writing the modification information into the reason list according to the triggered data point monitoring event comprises:
in case the attributes match and the values are not equal, the modification information is written to the reason list.
According to the modification method of the dynamic form provided by the invention, the display of the determined modification reason and the modification information comprises the following steps:
and displaying the determined modification reason set and the modification information set.
The invention also provides a device for modifying the dynamic form, which comprises:
the acquisition and triggering module is used for acquiring modification information of the dynamic form and triggering a data point monitoring event;
the reason writing module is used for writing the modification information into the reason list according to the triggered data point monitoring event;
the reason display module is used for displaying a plurality of corresponding modification reasons for the modification information through the modification reason component based on the reason list;
the modification content display module is used for displaying the determined modification reasons and the modification information;
wherein the modification information includes pre-modification data and post-modification data.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor executes the program to realize the modification method of any dynamic form.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of modifying a dynamic form as any one of the above.
According to the method and the device for modifying the dynamic form, the data point monitoring event is triggered when the user modifies the dynamic form, modification information is written into the reason list according to the triggered data point monitoring event, and the reason for modification is displayed through the reason modifying component for selection by the user. After the user determines the reason of modification, the data before modification and the data after modification are visually displayed, the modification process is simple, the user is not limited, a plurality of users can modify the same dynamic form, the modification records before and after display are not needed to be checked from a database or a log by the user, time and labor are saved, and the modification process is more efficient.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for modifying a dynamic form according to an embodiment of the present invention;
FIG. 2 is a schematic flow diagram of a generic form modification provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of a modification cause determination interface of a general form according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a modified record of a generic form provided by an embodiment of the present invention;
FIG. 5 is a schematic flow diagram of sub-sheet modification provided by an embodiment of the present invention;
FIG. 6 is a schematic diagram of a modification cause determination interface for a sub-form provided by an embodiment of the present invention;
FIG. 7 is a schematic diagram of a modified record of a sub-form provided by an embodiment of the present invention;
FIG. 8 is a schematic diagram of components provided by an embodiment of the present invention;
FIG. 9 is a schematic diagram of a dynamic form modification device according to an embodiment of the present invention;
fig. 10 is a schematic diagram of an entity structure of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
FIG. 1 is a flow chart of a method for modifying a dynamic form according to an embodiment of the present invention; as shown in fig. 1, the modification method of the dynamic form includes:
s101, acquiring modification information of the dynamic form, and triggering a data point monitoring event.
In this step, any field in the dynamic form, once modified, triggers a data point monitoring event.
S102, writing the modification information into a reason list according to the triggered data point monitoring event.
In this step, the triggered data point monitoring event will acquire the returned data point related parameters including the ID and value of the data point according to the named slot of each data point pre-buried in the dynamic form. If the returned data point ID and the original data returned by the page interface can be matched, the field information of the modified data point is stored in a reason list, and the method specifically comprises a value before modification, a value after modification and a value of a specific reason (the default reason is transcription error).
S103, based on the reason list, displaying a plurality of corresponding modification reasons for the modification information through a modification reason component.
In this step, the modification reason component is triggered according to the change of the numerical value in the reason list to display a plurality of modification reasons corresponding to the modification information.
And S104, displaying the determined modification reason and the modification information. Wherein the modification information includes pre-modification data and post-modification data.
In this step, the user selects the correct reason from the plurality of displayed modification reasons according to the actual situation, and after the user determines, the determined modification reason and the modification information are displayed in the dynamic form.
From the design level, after the user determines the reason for the modification, the dynamic form component and the modification reason component input into the slot are rendered, specifically, the rendering of the modification reason component in the slot includes modifying XX to XXX and popup the modification reason.
According to the modification method of the dynamic form, when a user modifies the dynamic form, the data point monitoring event is triggered, modification information is written into the reason list according to the triggered data point monitoring event, and the reason of modification is displayed through the reason modification component for selection by the user. After the user determines the reason of modification, the data before modification and the data after modification are visually displayed, the modification process is simple, the user is not limited, a plurality of users can modify the same dynamic form, the modification records before and after display are not needed to be checked from a database or a log by the user, time and labor are saved, and the modification process is more efficient.
FIG. 2 is a schematic flow diagram of a generic form modification provided by an embodiment of the present invention; as shown in fig. 2, in the case that the dynamic form is a normal form, the acquiring modification information of the dynamic form and triggering the data point monitoring event includes:
and acquiring modification information of the common form and triggering a common form data point monitoring event.
The writing of the modification information into the reason list according to the triggered data point monitoring event comprises the following steps:
and writing the modification information into the reason list according to the triggered common form data point monitoring event.
In this embodiment, the common forms are various forms displayed in the page by laying out the form packages seen daily, and the common form data point monitoring event on-change is a customizable event name supported by the vue framework.
When the data point data of the common form is changed, the component generator module item transmits the ID and the value of the data point to the final top-level component generator module of the page upwards through EventBus ($on-change, param), and the component generator module receives the parameters of the ID and the value of the data point through EventBus ($on-change, param) prepared in advance and transmits the parameters to the parent component through this ($emit (", param).
When it is determined that the dynamic form has been submitted and that there is an entry value before the corresponding data point, the time binding @ on-change event of the modify reason component is invoked.
In addition, if the prepared data needledshawhasondat [ ID ] has a value, the description needs to use a modification reason component, by writing a value into a reason list, the original value and the modification value of the data point where modification occurs are written into the hasondist [ ID ] together, and the widget attribute returned by the data point slot is matched with the value, if the hassle [ widget.id ] has a value and isshowis true, the modification reason component is loaded in the slot of the data point, and the display of the response trigger component of vue is utilized to hide, the modification reason determination interface of the common form is shown in fig. 3, and all the modification histories of the corresponding data point are shown in fig. 4.
The widget attribute is an attribute that each data point returns upward step by step through the slot. The widget attribute includes the ID of the data point, and the reason list reaslist is a modified reason object set taking the ID of the data point as a key. If the value of the modification reason component is available, the modification reason component placed in the slot is loaded, if the modification reason component is displayed when the modification reason component is true, the modification reason component comprises XX modification as XXX, a modification reason button and a modification reason box, and clicking the modification reason button ejects the modification reason box, so that the modification reason box is selected, and a default choice of transcription errors is given by default.
It should be noted that, the data before modification is determined according to the hasWirteList array returned by the page interface, where the array specifically includes the ID of the data point and the original value, and if the dynamic form is a sub-form, the cell number and the line number are returned.
The modification method of the dynamic form provided by the embodiment of the invention is used for writing modification information into the reason list according to the triggered common form data point monitoring event aiming at the common form, so as to modify the common form.
FIG. 5 is a schematic flow diagram of sub-sheet modification provided by an embodiment of the present invention; as shown in fig. 5, in the case that the dynamic form is a sub-form, the acquiring modification information of the dynamic form and triggering the data point monitoring event includes:
and acquiring modification information of the sub-table, and triggering a sub-table data point monitoring event.
The writing of the modification information into the reason list according to the triggered data point monitoring event comprises the following steps:
and writing the modification information into the reason list according to the triggered sub-table data point monitoring event.
The sub-table refers to a table type of table, and each cell of the table has a table component, which may be an input component, a date component, and the like.
In this embodiment, when a submitted sub-table is opened and modified again, the sub-table data point monitoring event cell-change is triggered, and the cell-change returns the ID of the data point. If the prepared data needledshawReasonDat [ ID ] has a value indicating that a modified cause component is required, the original value of the data point is written into the reasonList [ ID ] along with the modified value by writing the value to the cause list reasonList. And if the value of the real [ widget.Id ] is equal to true, a modification reason component is loaded in the slot of the data point, the display hiding of the responsive triggering component of vue is utilized, the modification reason determining interface of the sub-table is shown in figure 6, specific reasons can be checked at the interface, all modification records of the changed data point can be checked, and all modification histories are shown in figure 7.
The modification method of the dynamic form provided by the embodiment of the invention is used for writing modification information into the reason list according to the triggered sub-form data point monitoring event aiming at the sub-form, thereby realizing the modification of the sub-form.
Further, before the triggering of the normal form data point monitoring event, the method further comprises:
named slots are inserted into the GenerateFormItem component, the GenerateModule component, and the GenerateForm component, respectively, which is the page call top-level component.
Correspondingly, the triggering of the common form data point monitoring event comprises the following steps:
when the data of the common form data point is changed, the attribute of the common form data point bound with the named slot is transferred step by step through the generating eFormItem component, the generating Modulator component and the generating eFormom component.
And binding the common form data point monitoring event in the generating eForm component according to the transmitted attribute of the common form data point.
The named slots comprise 'reflection' and 'delRow', wherein 'reflection' is a modification reason slot for data points, and comprises common form data points and sub-form data points. "delRow" is a delete reason slot for deleting a row for a child form.
In addition, the relationships among the GenerateFormItem component, the GenerateModule component, and the GenerateForm component are shown in fig. 8, from left to right as parent relationships, and the right component is the parent component of the left component. The dynamic form with the sub-form is transferred step by the complete five components in the picture, the common form only needs the last three, and the generateForm is the top-level component finally called by the page.
In this embodiment, the common form only needs to put the slot into the GenerateFormItem component, i.e. < slot name = "reflection" v-bind: widget = "optionwidget" >/slot >. The attributes of the data points are passed to the business component level by the genetrofmitem component, the geneamodule component, and the genetrofmom component.
More specifically, the common form data points are directly EventBus. $ emit ("on-change", param) in the GenerateFormItem component by way of the watch variable dataModel. The data point attributes are passed to the form generator component fm-generate-form and ordinary forms are bound within the genericorm component, specifically by EventBus.$on ("on-change", param).
According to the modification method of the dynamic form, aiming at a common form, the layer-by-layer named slot setting is carried out on the generating eFormItem component, the generating Module component and the generating eForm component, so that the purpose that a service component can be placed and modified to the position of a data point form can be achieved, each data point can be covered with the modified reason, and the slot problem of the placement of the modified reason component is solved. In addition, the change of each data point is monitored according to the placed slot, and the attributes such as the ID, value and the like of the data point are transmitted to the modification reason component for use through the slot, so that interaction is realized.
Further, before the trigger sub-table data point monitoring event, the method further comprises:
the named slots are respectively inserted into a Formable component, a Generator element component, a generator eFormItem component, a generator Module component and a generator eForm component, wherein the generator eForm component is a page call top-level component.
Correspondingly, the triggering sub-table data point monitoring event comprises:
when the data of sub-data points are changed, the attribute of the sub-data points bound with the named slot is transferred step by step through the Formable component, the Generator element component, the generator eFormItem component, the generator Modulator component and the generator eForm component.
Binding the sub-form data point monitoring event in the generating eForm component according to the transferred attribute of the sub-form data point.
In this embodiment, the sub-table needs to place slots that are transferred down to the genealementitem, then transfer slots inside fm-form-tables inside the genealementitem, and finally place the floor slots, that is, where the modification reasons are to be displayed. Wherein the row-mode component continues to pass down and the named slot with name of reasson is eventually accepted inside the row-mode component.
In addition, the sub-form monitors the dataModel in the geneelementitem component where the underlying data points bear, and once there is a change in value, throws out the use of this $ emit ("input", dataModel) to the sub-form, the FormTable receives through onDataChange, throws out an event similar to a normal form, specifically implemented by EventBus $ on ("cell-change", param). It should be noted that a page can bind two events @ on-change and @ cell-change.
According to the modification method of the dynamic form, aiming at the sub-form, the slot setting of the layer-by-layer named slots is carried out on the Formable component, the Generation element item component, the Generator module component and the generator eFom component, so that the problem that the slot for placing the modification reason component is positioned by the service component and can penetrate to the position of the data point form is solved, the modification reason is covered by each data point, and the problem of the slot for placing the modification reason component is solved. In addition, the change of each data point is monitored according to the placed slot, and the attributes such as the ID, value and the like of the data point are transmitted to the modification reason component for use through the slot, so that interaction is realized.
Further, before the writing of the modification information to the reason list according to the triggered data point monitoring event, the method further comprises:
matching the transmitted attributes of the common form data points and/or the transmitted attributes of the form data points with the pre-stored attributes corresponding to the pre-modified data; and judging whether the transmitted value of the common form data point and/or the transmitted value of the form data point is equal to the value corresponding to the pre-stored data before modification.
Accordingly, the writing the modification information into the reason list according to the triggered data point monitoring event comprises:
in case the attributes match and the values are not equal, the modification information is written to the reason list.
The pre-modification data stored in advance is acquired from the page acquisition interface data haswirteList, and the acquired pre-modification data is assembled into the needledShowReasonData. When the page triggers a data point monitoring event change, it can be matched to the needledweasiondata based on the returned value. If a corresponding key exists in the needledsshowmeasondata object, and the value of the key is not equal to the value returned by the data point monitoring event change, writing the modified data and the data before modification into a reason list, and judging whether the data point displays and displays content or not for use by a modification reason component modification-request.
Further, the displaying the determined modification reason and the modification information includes:
and displaying the determined modification reason set and the modification information set. That is, all of the modification records are presented for ease of user review and management.
It should be noted that not all data points need to have a need to display the reason for modification, and only data points that have been submitted and have an entry value will be marked by the background storage as such data points need to display the reason for modification. The data points of the whole form, which need to display the reason for modification, are returned from the back-end interface, and the returned array is assembled into an object needledwarsondata, and the original values and other attributes before the reason for modification are stored in the object needledwarsondata.
In addition, if a certain data point in the form is modified and then restored to the original value, the modification reason component is not displayed any more. The modification reason specifically selected by the user is stored as a history to the background.
The modification device of the dynamic form provided by the invention is described below, and the modification device of the dynamic form described below and the modification method of the dynamic form described above can be referred to correspondingly.
Fig. 9 is a schematic structural diagram of a dynamic form modification device according to an embodiment of the present invention, where, as shown in fig. 9, a dynamic form modification device includes:
the acquiring and triggering module 901 is configured to acquire modification information of a dynamic form, and trigger a data point monitoring event.
In this module, any field in the dynamic form, once modified, triggers a data point monitoring event.
The reason writing module 902 is configured to write the modification information into the reason list according to the triggered data point monitoring event.
In the module, the triggered data point monitoring event can acquire the returned data point related parameters including the ID and the value of the data point according to the named slot of each data point pre-buried in the dynamic form. If the returned data point ID and the original data returned by the page interface can be matched, the field information of the modified data point is stored in a reason list, and the method specifically comprises a value before modification, a value after modification and a value of a specific reason (the default reason is transcription error).
The reason display module 903 is configured to display, based on the reason list, a plurality of modification reasons corresponding to the modification information through a modification reason component.
In the module, a modification reason component is triggered to display a plurality of modification reasons corresponding to the modification information according to the change of the numerical values in the reason list.
And the modification content display module 904 is configured to display the determined modification reason and the modification information.
Wherein the modification information includes pre-modification data and post-modification data.
In the module, a user selects a correct reason from a plurality of displayed modification reasons according to actual conditions, and after the user determines, the determined modification reasons and the modification information are displayed in a dynamic form.
From the design level, after the user determines the reason for the modification, the dynamic form component and the modification reason component input into the slot are rendered, specifically, the rendering of the modification reason component in the slot includes modifying XX to XXX and popup the modification reason.
According to the modification device for the dynamic form, which is provided by the embodiment of the invention, when a user modifies the dynamic form, the data point monitoring event is triggered, modification information is written into the reason list according to the triggered data point monitoring event, and the reason of modification is displayed through the reason modification component for the user to select. After the user determines the reason of modification, the data before modification and the data after modification are visually displayed, the modification process is simple, the user is not limited, a plurality of users can modify the same dynamic form, the modification records before and after display are not needed to be checked from a database or a log by the user, time and labor are saved, and the modification process is more efficient.
Fig. 10 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention, where, as shown in fig. 10, the electronic device may include: processor 1010, communication interface 1020, memory 1030, and communication bus 1040, wherein processor 1010, communication interface 1020, and memory 1030 communicate with each other via communication bus 1040. Processor 1010 may invoke logic instructions in memory 1030 to perform a method of modifying a dynamic form, comprising: acquiring modification information of a dynamic form, and triggering a data point monitoring event; writing the modification information into a reason list according to the triggered data point monitoring event; based on the reason list, displaying a plurality of corresponding modification reasons for the modification information through a modification reason component; displaying the determined modification reason and the modification information; wherein the modification information includes pre-modification data and post-modification data.
Further, the logic instructions in the memory 1030 described above may be implemented in the form of software functional units and stored in a computer readable storage medium when sold or used as a stand alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method of the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only memory (ROM), a random access memory (RAM, random AccessMemory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform a method of modifying a dynamic form provided by the above method, the method of modifying a dynamic form comprising: acquiring modification information of a dynamic form, and triggering a data point monitoring event; writing the modification information into a reason list according to the triggered data point monitoring event; based on the reason list, displaying a plurality of corresponding modification reasons for the modification information through a modification reason component; displaying the determined modification reason and the modification information; wherein the modification information includes pre-modification data and post-modification data.
The apparatus embodiments described above are merely illustrative, wherein elements illustrated as separate elements may or may not be physically separate, and elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on such understanding, the foregoing technical solutions may be embodied essentially or in part in the form of a software product, which may be stored in a computer-readable storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the various embodiments or methods of some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for modifying a dynamic form, comprising:
acquiring modification information of a dynamic form, and triggering a data point monitoring event;
writing the modification information into a reason list according to the triggered data point monitoring event;
based on the reason list, displaying a plurality of corresponding modification reasons for the modification information through a modification reason component;
displaying the determined modification reason and the modification information;
wherein the modification information includes pre-modification data and post-modification data.
2. The method for modifying a dynamic form according to claim 1, wherein the dynamic form is a normal form;
accordingly, the acquiring the modification information of the dynamic form and triggering the data point monitoring event includes:
acquiring modification information of a common form, and triggering a common form data point monitoring event;
the writing of the modification information into the reason list according to the triggered data point monitoring event comprises the following steps:
and writing the modification information into the reason list according to the triggered common form data point monitoring event.
3. The method for modifying a dynamic form according to claim 1, wherein the dynamic form is a sub-form;
accordingly, the acquiring the modification information of the dynamic form and triggering the data point monitoring event includes:
acquiring modification information of a sub-table, and triggering a sub-table data point monitoring event;
the writing of the modification information into the reason list according to the triggered data point monitoring event comprises the following steps:
and writing the modification information into the reason list according to the triggered sub-table data point monitoring event.
4. The method for modifying a dynamic form according to claim 2, wherein before said triggering a normal form data point monitoring event, the method further comprises:
inserting named slots into a generateFormItem component, a generateModule component and a generateForm component respectively, wherein the generateForm component is a page call top-level component;
correspondingly, the triggering of the common form data point monitoring event comprises the following steps:
when the data of the common form data point is changed, the attribute of the common form data point bound with the named slot is transmitted step by step through the generating eFormItem component, the generating Module component and the generating eFormom component;
and binding the common form data point monitoring event in the generating eForm component according to the transmitted attribute of the common form data point.
5. A method of modifying a dynamic form as in claim 3, wherein prior to the triggering a sub-table data point monitoring event, the method further comprises:
inserting named slots into a Formable component, a Generator element component, a Generator eFormItem component, a generator Module component and a generator eForm component respectively, wherein the generator eForm component is a page call top-level component;
correspondingly, the triggering sub-table data point monitoring event comprises:
when the data of sub-data points are changed, the attribute of the sub-data points bound with the named slot is transmitted step by step through the Formable component, the Generator element component, the generator eFormItem component, the generator Module component and the generator eForm component;
binding the sub-form data point monitoring event in the generating eForm component according to the transferred attribute of the sub-form data point.
6. The method of claim 4 or 5, further comprising, prior to said writing modification information to the cause list based on the triggered data point monitoring event:
matching the transmitted attributes of the common form data points and/or the transmitted attributes of the form data points with the pre-stored attributes corresponding to the pre-modified data; judging whether the transmitted value of the common form data point and/or the transmitted value of the form data point is equal to the value corresponding to the pre-stored data before modification;
accordingly, the writing the modification information into the reason list according to the triggered data point monitoring event comprises:
in case the attributes match and the values are not equal, the modification information is written to the reason list.
7. The method for modifying a dynamic form according to claim 1, wherein the presenting the determined modification cause and the modification information includes:
and displaying the determined modification reason set and the modification information set.
8. A dynamic form modification apparatus, comprising:
the acquisition and triggering module is used for acquiring modification information of the dynamic form and triggering a data point monitoring event;
the reason writing module is used for writing the modification information into the reason list according to the triggered data point monitoring event;
the reason display module is used for displaying a plurality of corresponding modification reasons for the modification information through the modification reason component based on the reason list;
the modification content display module is used for displaying the determined modification reasons and the modification information;
wherein the modification information includes pre-modification data and post-modification data.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements a method of modifying a dynamic form according to any one of claims 1 to 7 when executing the program.
10. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements a method of modifying a dynamic form according to any one of claims 1 to 7.
CN202211600847.4A 2022-12-12 2022-12-12 Dynamic form modification method and device Pending CN116089439A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211600847.4A CN116089439A (en) 2022-12-12 2022-12-12 Dynamic form modification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211600847.4A CN116089439A (en) 2022-12-12 2022-12-12 Dynamic form modification method and device

Publications (1)

Publication Number Publication Date
CN116089439A true CN116089439A (en) 2023-05-09

Family

ID=86185919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211600847.4A Pending CN116089439A (en) 2022-12-12 2022-12-12 Dynamic form modification method and device

Country Status (1)

Country Link
CN (1) CN116089439A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116911743A (en) * 2023-08-11 2023-10-20 厦门芯泰达集成电路有限公司 Form flow and audit data display method in warehouse management system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116911743A (en) * 2023-08-11 2023-10-20 厦门芯泰达集成电路有限公司 Form flow and audit data display method in warehouse management system

Similar Documents

Publication Publication Date Title
US9459846B2 (en) User interface style guide compliance
EP2778929B1 (en) Test script generation system
US7899694B1 (en) Generating solutions to problems via interactions with human responders
CN110603525A (en) Web application program testing method and system
US8832658B2 (en) Verification framework for business objects
CN108647141A (en) Automatic test approach, device, computer-readable medium and electronic equipment
CN102004752B (en) Cube data warehousing flexibly
US8522202B2 (en) System and method for managing computer environment setup requests
CN102571403A (en) Realization method and device for general data quality control adapter
WO2009024765A1 (en) Agent communications tool for coordinated distribution, review, and validation of call center data
US20120198365A1 (en) User interface style guide compliance
US20120198367A1 (en) User interface style guide compliance forecasting
CN110833693B (en) Game running method and device, storage medium and electronic device
CN110990126A (en) Method and device for realizing shortcut front-end service page based on js
US8606762B2 (en) Data quality administration framework
CN116089439A (en) Dynamic form modification method and device
Ali et al. A hybrid DevOps process supporting software reuse: A pilot project
JP5989194B1 (en) Test management system and program
US9104573B1 (en) Providing relevant diagnostic information using ontology rules
Ahmed et al. Improvement of Vehicle Management System (IVMS)
Hussain et al. Is Customer Satisfaction Enough for Software Quality?
US10162849B1 (en) System, method, and computer program for automatic database validation associated with a software test
CN114911712A (en) Visual test execution method and device, electronic equipment and readable storage medium
US20080195453A1 (en) Organisational Representational System
CN113724808A (en) Medical survey questionnaire generation method and device, electronic equipment and storage medium

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