Form online modification method and device, electronic equipment and storage medium
By selecting and displaying the original content of a file on the form management page and using a differential algorithm to compare version snapshots, the problem of opaque file modifications in traditional workflows is solved, enabling traceability of modified content and convenience of document management, thereby improving work efficiency and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-28
- Publication Date
- 2026-04-14
AI Technical Summary
In traditional workflows, work documents are not closely linked to the workflow itself, the selection process for forms and documents is not intuitive, document content modifications are not transparent, modification records are lacking, and modifications are difficult to track and compare, which affects work efficiency and may lead to errors and misunderstandings.
This paper provides an online form editing method. By selecting a form with management permissions on the form management page, the original content of the file is displayed, and the modified content, operation time, and identity identifier are recorded. A differential algorithm is used to compare the version snapshot with the original content, and the revision traces are displayed so that users can understand the modified content.
It improves the traceability of modified content, reduces the risk of erroneous operations, makes document management more transparent and convenient, and enhances work efficiency and user experience.
Smart Images

Figure CN121858155A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method and apparatus for online form modification, an electronic device, and a storage medium. Background Technology
[0002] In related technologies, the working documents in traditional workflows are not closely related to the workflow itself. Furthermore, the selection process for forms and documents may not be intuitive or complex enough. Document content modifications are not transparent, modification records are lacking, and modifications are difficult to track and compare, which affects work efficiency and may even lead to errors and misunderstandings in the workflow.
[0003] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the Invention
[0004] The main objective of this application is to provide a method, apparatus, electronic device, and storage medium for online form modification, thereby enabling online form modification and improving work efficiency and user experience.
[0005] To achieve the above objectives, one aspect of this application proposes an online form modification method, the method comprising the following steps: In response to the first instruction, the current form is selected from the candidate forms on the form management page. The candidate forms are forms with management permissions, and the current form includes a form file and form fields. In response to the second instruction, select the current file from the form file; In response to the third instruction, the original content of the current file is displayed on the file editing page; In response to the fourth instruction, the original content is modified, the modified content, operation time and operation identity are recorded, and a version snapshot is generated; Based on the differential algorithm, the version snapshot is compared with the original content to obtain the modified content and the content with no difference. The document editing page displays revision traces and unchanged content. The revision traces include the operation time, the operation identity identifier, the modified content, and the modified content.
[0006] In some embodiments, the method further includes: In response to the fifth instruction, the form fields are modified and displayed on the modified form page; In response to the sixth instruction, the current file is uploaded and displayed to the form file via the modified form page; In response to the seventh instruction, the current file is deleted via the modified form page.
[0007] In some embodiments, the method further includes: In response to the eighth instruction, the revision trace and the identical content are saved to the current file, and the current form is saved.
[0008] In some embodiments, the method further includes: Retrieve the personnel who processed the current form; In response to the ninth instruction, the current form is pushed to the processing personnel.
[0009] In some embodiments, the method further includes: Retrieve the personnel who processed the current form; In response to the tenth instruction, the person handling the matter is changed to an agent on the process approval page, and the agent has management permissions for the current form; The current form is pushed to the agent.
[0010] In some embodiments, the method further includes: Log content is generated based on the revision traces; An operation log is generated based on the log content, the operation time, the operation identity identifier, the operation type, and the business type, wherein the operation type and business type are determined according to the fourth instruction; In response to the eleventh instruction, the operation log is displayed on the operation log page.
[0011] In some embodiments, the fourth instruction includes at least one of a add operation, a delete operation, and a replace operation. The step of modifying the original content in response to the fourth instruction, recording the modified content, the operation time, and the operation identity identifier, and generating a version snapshot includes: In response to the new operation, the original content is added, the modified content, operation time and operation identity are recorded, and a version snapshot is generated. The original content is empty. In response to the deletion operation, the original content is deleted, the modified content, operation time and operation identity are recorded, and a version snapshot is generated; In response to the replacement operation, the original content is replaced, the modified content, operation time and operation identity are recorded, and a version snapshot is generated.
[0012] To achieve the above objectives, another aspect of this application provides an online form editing device, the device comprising: The form selection module is used to select the current form from the candidate forms on the form management page in response to the first instruction. The candidate forms are forms with management permissions, and the current form includes a form file and form fields. The file selection module is used to select the current file from the form file in response to the second instruction; The file display module is used to display the original content of the current file on the file editing page in response to a third instruction; The content modification module is used to modify the original content in response to the fourth instruction, record the modified content, operation time and operation identity, and generate a version snapshot; The comparison module is used to compare the version snapshot with the original content based on a differential algorithm to obtain the modified content and the content with no difference. The revision display module is used to display revision traces and unchanged content on the file editing page. The revision traces include the operation time, the operation identity identifier, the modified content, and the modified content.
[0013] To achieve the above objectives, another aspect of this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the method described above.
[0014] To achieve the above objectives, another aspect of the embodiments of this application proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the methods described above.
[0015] The embodiments of this application include at least the following beneficial effects: This application provides an online form modification method and apparatus, electronic device, and storage medium. This solution, in response to a first instruction, selects the current form from candidate forms on the form management page. The candidate forms are forms with management permissions, and the current form includes a form file and form fields. In response to a second instruction, it selects the current file from the form files. In response to a third instruction, it displays the original content of the current file on the file editing page. In response to a fourth instruction, it modifies the original content, records the modified content, operation time, and operation identity identifier, and generates a version snapshot. This helps to quickly locate the modified content, improves the traceability of the modified content, and allows users to review the file history at any time, reducing the risk of erroneous operations. Based on a differential algorithm, it compares the version snapshot with the original content to obtain the modified content and the undifferentiated content. The revision traces and the undifferentiated content are displayed on the file editing page. The revision traces include the operation time, operation identity identifier, modified content, and modified content, allowing users to intuitively understand the file modification content. This makes document management more transparent, convenient, and easy to track, improving work efficiency and user experience. Attached Figure Description
[0016] Figure 1 This is a flowchart of the online form modification method provided in the embodiments of this application; Figure 2 This is a flowchart of the form modification steps provided in the embodiments of this application; Figure 3 This is a flowchart of the form-handling steps provided in the embodiments of this application; Figure 4 This is a flowchart of the log generation steps provided in the embodiments of this application; Figure 5 yes Figure 1 The flowchart of step S104 in the process; Figure 6 This is a flowchart illustrating a specific implementation of the online form modification method provided in this application when applied to a process center system; Figure 7 This is a schematic diagram of the submission form provided in an embodiment of this application; Figure 8 This is a schematic diagram of a form editing page provided in an embodiment of this application; Figure 9 This is a schematic diagram of the modifications to the appendix provided in the embodiments of this application; Figure 10 This is a schematic diagram of the operation log page provided in an embodiment of this application; Figure 11 This is a schematic diagram of the form update record provided in an embodiment of this application; Figure 12 This is a schematic diagram of online document editing provided in an embodiment of this application; Figure 13 This is a schematic diagram of the application processing provided in the embodiments of this application; Figure 14 This is a schematic diagram of the errand form provided in the embodiments of this application; Figure 15 This is a schematic diagram of the approval notice provided in an embodiment of this application; Figure 16 This is a schematic diagram of administrator approval provided in an embodiment of this application; Figure 17 This is a schematic diagram of the structure of the online form editing device provided in the embodiments of this application; Figure 18 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0017] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit it. In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of this application; they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.
[0018] It is understood that the terms “first,” “second,” etc., used in this application may be used herein to describe various concepts, but unless otherwise stated, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the words “if,” “when,” or “in response to a determination” as used herein may be interpreted as “when…” or “when…” or “in response to a determination.”
[0019] As used in this application, the terms "at least one", "multiple", "each", "any", etc., "at least one" includes one, two or more, "multiple" includes two or more, "each" refers to each of the corresponding multiples, and "any" refers to any one of the multiples.
[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0021] Before providing a detailed description of the embodiments of this application, some of the nouns and terms involved in the embodiments of this application will be explained first. The nouns and terms involved in the embodiments of this application are subject to the following interpretations.
[0022] 1) An administrator is someone within a system, organization, or platform who is responsible for managing, maintaining, configuring, and supervising other users and resources. Administrators typically have higher privileges than ordinary users and can perform operations that ordinary users cannot.
[0023] In related technologies, the working documents in traditional workflows are not closely related to the workflow itself. Furthermore, the selection process for forms and documents may not be intuitive or complex enough. Document content modifications are not transparent, modification records are lacking, and modifications are difficult to track and compare, which affects work efficiency and may even lead to errors and misunderstandings in the workflow.
[0024] In summary, the technical problems existing in the relevant technologies need to be improved.
[0025] In view of this, this application provides an online form modification method, apparatus, device, and medium. This solution, in response to a first instruction, selects the current form from candidate forms on the form management page. The candidate forms are forms with management permissions, and the current form includes a form file and form fields. In response to a second instruction, it selects the current file from the form files. In response to a third instruction, it displays the original content of the current file on the file editing page. In response to a fourth instruction, it modifies the original content, records the modified content, operation time, and operator identity, and generates a version snapshot. This helps to quickly locate the modified content, improves the traceability of the modified content, and allows users to easily review the file history, reducing the risk of erroneous operations. Based on a differential algorithm, it compares the version snapshot with the original content to obtain the modified content and the undifferentiated content. The revision traces and the undifferentiated content are displayed on the file editing page. The revision traces include the operation time, operator identity, modified content, and modified content, allowing users to intuitively understand the file modification content. This makes document management more transparent, convenient, and easy to track, improving work efficiency and user experience.
[0026] The online form modification method provided in this application relates to the field of computer technology. This online form modification method can be applied to a terminal, a server, or software running on a terminal or server. In some embodiments, the terminal can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, or in-vehicle terminal, but is not limited to these. The server can be configured as an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network. The software can be an application implementing the online form modification method, but is not limited to the above forms.
[0027] This application can be used in a wide variety of general-purpose or special-purpose computer system environments or configurations. Examples include: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices. This application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific tasks or implement specific abstract data types. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0028] It should be noted that in all specific embodiments of this application, when processing data related to user identity or characteristics, such as user information, user behavior data, user historical data, and user location information, user permission or consent is obtained first. Furthermore, the collection, use, and processing of this data comply with relevant laws, regulations, and standards. In addition, when embodiments of this application require access to sensitive personal information of users, separate permission or consent from the user is obtained through pop-ups or redirection to confirmation pages. Only after obtaining the user's separate permission or consent is the necessary user-related data required for the proper functioning of these embodiments acquired.
[0029] Figure 1 This is an optional flowchart of the online form modification method provided in the embodiments of this application. Figure 1 The method may include, but is not limited to, steps S101 to S106.
[0030] Step S101: In response to the first instruction, select the current form from the candidate forms on the form management page.
[0031] Specifically, the candidate form is a form with administrative permissions, the current form includes a form file and form fields, and the first instruction is triggered when the current form is selected.
[0032] Optionally, the form management page displays frequently used forms and favorite forms that the user has administrative privileges. The candidate forms include frequently used forms and favorite forms that the user has administrative privileges.
[0033] In some embodiments, the current form is selected by the administrator from the candidate forms with administrative permissions on the form management page.
[0034] It should be noted that each form contains a form file and form fields. Users can select a form by clicking, checking boxes, or scrolling to open the current form for further operations.
[0035] In this embodiment, in response to the first instruction, the current form is selected from the candidate forms on the form management page, so that only authorized users can access the form, while also allowing users to quickly select the target form from the candidate form list, reducing search time.
[0036] Step S102: In response to the second instruction, select the current file from the form file.
[0037] Specifically, the second instruction is triggered when the current file is selected.
[0038] It should be noted that users can click on a form file to select the current file and then open the current file for further operations.
[0039] This application does not impose specific limitations on the form file; it can be flexibly selected according to actual needs. For example, the form file may include multiple files or only a single file.
[0040] In some embodiments, when a user selects a form, the system displays a list of form files, and the user can select the current file to edit as needed.
[0041] Understandably, it supports a variety of file formats (such as text, images, PDF, etc.).
[0042] Step S103: In response to the third instruction, display the original content of the current file on the file editing page.
[0043] Specifically, the third instruction is triggered when the current file is opened.
[0044] In some embodiments, the original, unmodified content of the current file is displayed on the file editing page.
[0045] Optionally, if the current file is a text file, the original content is loaded directly.
[0046] Furthermore, if the current file is of another file type, its content can be converted into an editable format using the corresponding file parsing plugin or tool, and then the original content can be displayed.
[0047] It should be noted that the current file can be viewed and modified online through the file editing page.
[0048] In this embodiment, in response to the third instruction, the original content of the current file is displayed on the file editing page. Users can view the original content of the file online, which is beneficial for users to compare the file before and after modification and provides a clear basis for modification.
[0049] Step S104: In response to the fourth instruction, modify the original content, record the modified content, operation time and operation identity, and generate a version snapshot.
[0050] Specifically, the fourth instruction is a file content modification operation, which is triggered when the content of the current file is modified. The fourth instruction includes at least one of the following: add, delete, and replace operations.
[0051] In some embodiments, when the original content is modified, the modified content, operation time, and operation identity are automatically recorded.
[0052] Optionally, a version snapshot can be generated after modification to retain the modified file version and distinguish it from the original content.
[0053] It should be noted that a version snapshot can be a full snapshot, an incremental difference snapshot, or an operation log snapshot.
[0054] Among them, the full snapshot is used to save a new version of the entire document each time it is modified, the incremental difference snapshot only records the new version of the difference part, and the operation log snapshot records the modification operation and user identity.
[0055] Understandably, when the version snapshot is an operation log snapshot, the current file supports real-time collaborative editing.
[0056] In this embodiment, in response to the fourth instruction, the original content is modified, the modified content, operation time and operation identity are recorded, and a version snapshot is generated. This can improve the traceability of the modified content, which is beneficial for users to review the file history at any time and reduce the risk of erroneous operations.
[0057] Step S105: Based on the differential algorithm, compare the version snapshot with the original content to obtain the modified content and the content with no difference.
[0058] In some embodiments, a differential algorithm is used to compare the original content with the version snapshot to automatically identify the modified parts.
[0059] Furthermore, the differences between the modified content and the original content are marked to obtain the modified content and the unchanged content, and the modified parts are marked so that users can easily see the modification traces.
[0060] Optionally, the difference algorithm includes line difference, word difference, and image difference, etc., but is not limited to these. The difference algorithm can be determined according to the file type.
[0061] In this embodiment, the modified content and the original content are compared based on the differential algorithm to obtain the modified content and the content with no difference, which helps to quickly locate the modified content.
[0062] Step S106: Display revision traces and unchanging content on the document editing page.
[0063] Specifically, the revision traces include the operation time, the operator's identity, the modified content, and the modified content.
[0064] In some embodiments, the file editing page displays traces of how the current file has been modified.
[0065] Optionally, the modified content can be highlighted, and the differences between the modified content and the unchanged content can be marked to help users understand the specific details of the modification.
[0066] For example, the content to be modified is the content that the user has modified (deleted) from the original content, and the content to be modified is the content that the user has modified (added). Specifically, if the content to be modified is empty, the user performs an add operation; if the content to be modified is empty, the user performs a delete operation; if neither is empty, the user performs a replace operation.
[0067] In this embodiment, displaying revision traces and unchanged content on the file editing page helps users intuitively understand the file modifications, making document management more transparent, convenient, and easy to track.
[0068] Steps S101 to S106 as illustrated in this embodiment involve: responding to a first instruction, selecting the current form from the candidate forms on the form management page (the candidate forms are those with management permissions); responding to a second instruction, selecting the current file from the form files; responding to a third instruction, displaying the original content of the current file on the file editing page; responding to a fourth instruction, modifying the original content, recording the modified content, operation time, and operation identity, and generating a version snapshot. This helps to quickly locate the modified content, improves the traceability of the modified content, and allows users to review the file history at any time, reducing the risk of erroneous operations. A differential algorithm is used to compare the version snapshot with the original content to obtain the modified content and the undifferentiated content. The revision traces and the undifferentiated content are displayed on the file editing page. The revision traces include the operation time, operation identity, modified content, and modified content, allowing users to intuitively understand the file modifications. This makes document management more transparent, convenient, and easy to track, improving work efficiency and user experience.
[0069] Please see Figure 2In some embodiments, the online form modification method provided in this application further includes a form modification step, which may include, but is not limited to, steps S201 to S204: Step S201: In response to the fifth instruction, modify and display the form fields on the modified form page.
[0070] Specifically, the fifth instruction is a form field modification operation, which is triggered when a form field is modified and is used to display the modified form field.
[0071] Understandably, the form fields of the current form can be modified.
[0072] Step S202, in response to the sixth instruction, upload and display the current file to the form file by modifying the form page.
[0073] Specifically, the sixth instruction is a file upload operation, which is triggered when the current file is uploaded and is used to display the currently uploaded file.
[0074] Understandably, the form file for the current form can be added.
[0075] Step S203, in response to the seventh instruction, delete the current file by modifying the form page.
[0076] Specifically, the seventh instruction is a file deletion operation, which is triggered when the current file is deleted, and is used to display the form file after deletion.
[0077] Understandably, the current form file can be deleted. If there are multiple form files, they can all be deleted, or only the selected current file can be deleted.
[0078] Step S204: In response to the eighth instruction, save the revision traces and unchanging content to the current file and save the current form.
[0079] Specifically, the eighth instruction is a save operation, which is triggered when saving the current file and the current form.
[0080] In step S204 of some embodiments, the revised content and revision history are saved to the current file, and the current form is further saved.
[0081] Please see Figure 3 In some embodiments, the online form modification method provided in this application also includes a form proxy step, which may include, but is not limited to, steps S301 to S303: Step S301: Obtain the personnel who processed the current form.
[0082] It is understandable that the current form corresponds to a process, and the current form is located at a certain process node in the process.
[0083] In step S301 of some embodiments, the personnel handling the process node where the form is located are obtained.
[0084] In step S302, in response to the tenth instruction, the person in charge is changed to an agent on the process approval page.
[0085] Specifically, the tenth instruction is used to change the person handling the transaction to an agent, who has management authority over the current form.
[0086] It should be noted that the application for the proxy process needs to be submitted by the person handling the current process node, and the proxy person must have management authority over the current form.
[0087] In step S302 of some embodiments, the person handling the process changes the person handling the process approval page to an agent.
[0088] Step S303: Push the current form to the agent.
[0089] In step S303 of some embodiments, the current form is pushed to the agent.
[0090] Please see Figure 4 In some embodiments, the online form modification method provided in this application further includes a log generation step, which may include, but is not limited to, steps S401 to S403: Step S401: Generate log content based on revision traces.
[0091] Specifically, the log content includes the operation type and the operation identity identifier.
[0092] In step S401 of some embodiments, log content is generated based on the modification of form file content, operation identity, and modification content.
[0093] It is understood that the operation types include, but are not limited to, modifying form fields, adding form files, deleting form files, replacing form files, and modifying form file content.
[0094] Step S402: Generate an operation log based on the log content, operation time, operation identity, operation type, and business type.
[0095] Specifically, the business type and operation type are determined based on the user's actions.
[0096] For example, if the user operation type is uploading an attachment, then the business type is uploading an attachment, and the operation type is uploading. If the user operation is adding new file content as in the fourth instruction, then the business type is adding new file content, and the operation type is adding.
[0097] In step S402 of some embodiments, an operation log is generated based on the log content, operation time, operation identity identifier, operation type and service type.
[0098] In step S403, in response to the eleventh instruction, the operation log is displayed on the operation log page.
[0099] Specifically, the eleventh command is triggered when the operation log page is opened or a certain operation log is selected, and is used to display the operation log on the operation log page.
[0100] Please see Figure 5 In some embodiments, step S104 may also include, but is not limited to, steps S501 to S503: Step S501: In response to the add operation, add new content to the original content, record the modified content, operation time and operation identity, and generate a version snapshot.
[0101] Specifically, the original content was empty.
[0102] Understandably, for new operations, there is no original content that needs to be modified, so the original content is empty.
[0103] In step S501 of some embodiments, when the system receives a request to add new content, it marks the original content as empty, records the added content, operation time and operation identity, and generates a version snapshot.
[0104] Step S502: In response to the deletion operation, delete the original content, record the modified content, operation time and operation identity, and generate a version snapshot.
[0105] Specifically, the content to be modified is empty.
[0106] Understandably, for a deletion operation, there is no need to add any new modifications, so the modified content is empty.
[0107] In step S502 of some embodiments, when the system receives a request to delete content, it deletes the original content, records the modified content, operation time and operation identity, and generates a version snapshot.
[0108] It is understandable that the deletion operation itself does not involve any modifications, so the recorded modifications are empty.
[0109] Step S503: In response to the replacement operation, replace the original content, record the modified content, operation time and operation identity, and generate a version snapshot.
[0110] Specifically, neither the original content nor the modified content is empty.
[0111] In step S503 of some embodiments, when the system receives a replacement operation request, it replaces the original content with the modified content, records the modified content, operation time and operation identity, and generates a version snapshot.
[0112] Taking the process center system as an example, Figure 6 This is a flowchart illustrating a specific implementation of the online form modification method provided in this application when applied to a process center system. Figure 6 The methods may include, but are not limited to, the following steps: Step 1: The administrator edits the fields of the authorized form.
[0113] In some embodiments, administrators edit forms with permissions via a form editing page.
[0114] Administrators can modify or update specific fields in the form. These fields may include text boxes, dropdown lists, date pickers, etc.
[0115] For example, a form submission diagram is shown as follows Figure 7 As shown in the diagram, the form editing page is illustrated below. Figure 8 As shown.
[0116] Step 2: The administrator adds or deletes attachments in the form.
[0117] In some embodiments, administrators can add attachments (such as files, images, etc.) to forms or delete unwanted attachments through the form editing page.
[0118] Optionally, the administrator can select a local file to upload via the file upload box, and the system will automatically associate the attachment with the form.
[0119] When an administrator deletes an attachment, the system requires confirmation of the deletion to prevent accidental deletion.
[0120] For example, the attached diagram shows the modification. Figure 9 As shown.
[0121] Step 3: The administrator can use the visual page to edit the document content online and display the editing history in a visual way.
[0122] In some embodiments, the administrator can directly edit the document content through a graphical interface (such as a rich text editor or a WYSIWYG editor).
[0123] Optionally, the editor supports modifying text, inserting images, tables, and other commonly used functions.
[0124] When an administrator modifies document content, the system saves the changes in real time and displays the content before and after the update on the editing page, allowing the administrator to see the latest version and revision history.
[0125] It should be noted that the system automatically records the history of each edit, including the modified content, timestamp, and operation identity, and displays the editing history in a visual way.
[0126] Optionally, the document can be modified by multiple people simultaneously, and the system synchronizes each person's changes in real time.
[0127] Furthermore, when an administrator modifies document content, an operation log is generated, and the operation log for each administrator can be displayed.
[0128] It is understandable that a form update record is generated when the form is updated.
[0129] For example, the operation log page diagram is as follows: Figure 10 As shown in the diagram, the form update record is illustrated below. Figure 11 As shown in the diagram, the online file editing interface is illustrated below. Figure 12 As shown in the image. When editing a file online, the current user's name is displayed as a watermark.
[0130] In this embodiment, the administrator can edit the document content online through a visual page. The editing history is displayed visually, allowing the administrator to directly modify the content on the page without switching tools or writing code. The operation is simple and transparent, and it supports team collaboration, which helps improve work efficiency.
[0131] Step 4: The approver requests the administrator to process the form on their behalf, transferring the form to the administrator for approval.
[0132] In some embodiments, the approver transfers the form to the administrator for approval.
[0133] Furthermore, the system automatically records the errand requests and notifies the administrator.
[0134] Each application and approval process is recorded, including the time of the application, the applicant's identity, and the approver's identity, ensuring the traceability of the approval process.
[0135] It should be noted that only authorized personnel can apply for and approve applications on behalf of others.
[0136] For example, the application process diagram is as follows: Figure 13 As shown in the diagram, the proxy form is as follows: Figure 14As shown in the diagram, the approval notice is illustrated below. Figure 15 As shown in the diagram, the administrator approval process is as follows: Figure 16 As shown.
[0137] This application's embodiments enable online modification of forms during the approval process, and can handle editing, adding, and deleting form fields and document content. Through visual document content modification, automatic saving of revision history, and a design that eliminates the need to resubmit forms, it optimizes work efficiency, enhances user experience, and improves the transparency and traceability of the entire process.
[0138] Please see Figure 17 This application also provides an online form modification device that can implement the above-described online form modification method. The device includes: The form selection module 1701 is used to respond to the first instruction and select the current form from the candidate forms on the form management page. The candidate forms are forms with management permissions, and the current form includes the form file and form fields. File selection module 1702 is used to select the current file from the form file in response to the second instruction; The file display module 1703 is used to display the original content of the current file on the file editing page in response to a third instruction; The content modification module 1704 is used to respond to the fourth instruction, modify the original content, record the modified content, operation time and operation identity, and generate a version snapshot; Comparison module 1705 is used to compare the version snapshot with the original content based on the differential algorithm to obtain the modified content and the content with no difference. The revision display module 1706 is used to display revision traces and unchanged content on the file editing page. The revision traces include the operation time, the operation identity, the modified content, and the modified content.
[0139] It is understood that the content of the above method embodiments is applicable to the present device embodiments. The specific functions implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0140] This application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described online form modification method. This electronic device can be any smart terminal, including tablet computers, in-vehicle computers, etc.
[0141] It is understood that the content of the above method embodiments is applicable to this device embodiment. The specific functions implemented by this device embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0142] Please see Figure 18 , Figure 18 The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes: The processor 1801 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application. The memory 1802 can be implemented as a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1802 can store the operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 1802 and is called and executed by the processor 1801 using the online form modification method of the embodiments of this application. The input / output interface 1803 is used to implement information input and output; The communication interface 1804 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.). Bus 1805 transmits information between various components of the device (e.g., processor 1801, memory 1802, input / output interface 1803, and communication interface 1804); The processor 1801, memory 1802, input / output interface 1803 and communication interface 1804 are connected to each other within the device via bus 1805.
[0143] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described online form modification method.
[0144] It is understood that the content of the above method embodiments is applicable to this storage medium embodiment. The specific functions implemented in this storage medium embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.
[0145] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0146] The online form modification method, device, electronic device, and storage medium provided in this application embodiment, in response to a first instruction, select the current form from the candidate forms on the form management page. The candidate forms are forms with management permissions, and the current form includes a form file and form fields. In response to a second instruction, select the current file from the form files. In response to a third instruction, display the original content of the current file on the file editing page. In response to a fourth instruction, modify the original content, record the modified content, operation time, and operation identity identifier, and generate a version snapshot. This helps to quickly locate the modified content, improves the traceability of the modified content, and allows users to review the file history at any time, reducing the risk of erroneous operations. Based on a differential algorithm, the version snapshot is compared with the original content to obtain the modified content and the undifferentiated content. The revision traces and the undifferentiated content are displayed on the file editing page. The revision traces include the operation time, operation identity identifier, modified content, and modified content. This allows users to intuitively understand the file modification content, making document management more transparent, convenient, and easy to track, thereby improving work efficiency and user experience.
[0147] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0148] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.
[0149] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0150] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.
[0151] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0152] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0153] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0154] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0155] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0156] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0157] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.
Claims
1. A method for online form modification, characterized in that, The method includes the following steps: In response to the first instruction, the current form is selected from the candidate forms on the form management page. The candidate forms are forms with management permissions, and the current form includes a form file and form fields. In response to the second instruction, select the current file from the form file; In response to the third instruction, the original content of the current file is displayed on the file editing page; In response to the fourth instruction, the original content is modified, the modified content, operation time and operation identity are recorded, and a version snapshot is generated; Based on the differential algorithm, the version snapshot is compared with the original content to obtain the modified content and the content with no difference. The document editing page displays revision traces and unchanged content. The revision traces include the operation time, the operation identity identifier, the modified content, and the modified content.
2. The method according to claim 1, characterized in that, The method further includes: In response to the fifth instruction, the form fields are modified and displayed on the modified form page; In response to the sixth instruction, the current file is uploaded and displayed to the form file via the modified form page; In response to the seventh instruction, the current file is deleted via the modified form page.
3. The method according to claim 1, characterized in that, The method further includes: In response to the eighth instruction, the revision trace and the identical content are saved to the current file, and the current form is saved.
4. The method according to claim 1, characterized in that, The method further includes: Retrieve the personnel who processed the current form; In response to the ninth instruction, the current form is pushed to the processing personnel.
5. The method according to claim 1, characterized in that, The method further includes: Retrieve the personnel who processed the current form; In response to the tenth instruction, the person handling the matter is changed to an agent on the process approval page, and the agent has management permissions for the current form; The current form is pushed to the agent.
6. The method according to claim 1, characterized in that, The method further includes: Log content is generated based on the revision traces; An operation log is generated based on the log content, the operation time, the operation identity identifier, the operation type, and the business type, wherein the operation type and business type are determined according to the fourth instruction; In response to the eleventh instruction, the operation log is displayed on the operation log page.
7. The method according to claim 1, characterized in that, The fourth instruction includes at least one of a add operation, a delete operation, and a replace operation. In response to the fourth instruction, the original content is modified, the modified content, the operation time, and the operation identity identifier are recorded, and a version snapshot is generated, including: In response to the new operation, the original content is added, the modified content, operation time and operation identity are recorded, and a version snapshot is generated. The original content is empty. In response to the deletion operation, the original content is deleted, the modified content, operation time and operation identity are recorded, and a version snapshot is generated; In response to the replacement operation, the original content is replaced, the modified content, operation time and operation identity are recorded, and a version snapshot is generated.
8. An online form editing device, characterized in that, The device includes: The form selection module is used to select the current form from the candidate forms on the form management page in response to the first instruction. The candidate forms are forms with management permissions, and the current form includes a form file and form fields. The file selection module is used to select the current file from the form file in response to the second instruction; The file display module is used to display the original content of the current file on the file editing page in response to a third instruction; The content modification module is used to modify the original content in response to the fourth instruction, record the modified content, operation time and operation identity, and generate a version snapshot; The comparison module is used to compare the version snapshot with the original content based on a differential algorithm to obtain the modified content and the content with no difference. The revision display module is used to display revision traces and unchanged content on the file editing page. The revision traces include the operation time, the operation identity identifier, the modified content, and the modified content.
9. An electronic device, characterized in that, The electronic device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the method of any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 7.