A method and device for displaying approval opinions of a service form, and a medium

By updating component configuration attributes based on relationships in the approval workflow, approval opinions can be displayed in different areas, solving the problem of low efficiency for approvers to find specific opinions in batch displays, and improving approval efficiency and user experience.

CN117196509BActive Publication Date: 2026-07-24INSPUR GENERSOFT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR GENERSOFT CO LTD
Filing Date
2023-09-01
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

In the approval workflow, the batch display of approval opinions causes approvers to spend a lot of time searching for the opinions of specific approvers, which affects efficiency and user experience.

Method used

By determining whether the current form has a preset approval opinion component, obtaining information on each approval node, and updating the component configuration attributes based on the relationship, the approval opinions can be displayed in different areas.

Benefits of technology

It improved the efficiency and quality of the approval process, enhanced the user experience of the forms, and simplified the process of finding specific approval comments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117196509B_ABST
    Figure CN117196509B_ABST
Patent Text Reader

Abstract

The application provides a business form approval opinion display method, device and medium, belonging to the technical field of computers. The method first determines whether the current form exists a preset approval opinion component. In the case that the current form exists the preset approval opinion component, each approval node information corresponding to the current form is obtained. Based on each approval node information and a preset binding attribute list, the component configuration attribute corresponding to the approval opinion component is updated. The binding attribute list includes the association relationship of each approval node information. The association relationship is obtained based on the form type of the current form. According to the updated approval opinion component and each approval node information, the current form and each approval opinion are sent to the corresponding approval node terminal, so as to display the approval opinions associated with the approval node terminal. Through the above scheme, the approval opinions can be better displayed, and the approval efficiency of the approver can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method, device and medium for displaying approval comments on a business form. Background Technology

[0002] Approval refers to the review and approval of official documents submitted by subordinates to superiors, and the submission of these documents for final approval. The development of internet technology has enabled online approval processes based on forms. Currently, approvals generally utilize mainstream approval engines, such as Activities (a type of project name that enables business management processes), jBPM (a flexible and scalable workflow management system), and Flowable (a lightweight business process engine written in Java).

[0003] In actual approval workflows, there are usually several business approval nodes. The approval content for each business approval node may be the same or different. During the workflow approval process, the approver adds their approval comments on the approval content.

[0004] As for the display of approval comments, they are often shown in batches to the relevant personnel of the form. If the approver needs the approval comments of a specific approver, they need to spend a lot of time searching for them, which is inefficient and affects the efficiency and quality of workflow approval. It also affects the viewing experience of the approver and other relevant personnel of the form. Summary of the Invention

[0005] To address the aforementioned issues, this application provides a method, device, and medium for displaying approval comments on business forms.

[0006] On the one hand, embodiments of this application provide a method for displaying approval comments on a business form, the method including:

[0007] Determine if the current form contains a preset approval comments component;

[0008] If so, obtain the approval node information corresponding to the current form;

[0009] Based on the approval node information and the preset binding attribute list, update the component configuration attributes corresponding to the approval opinion component; wherein, the binding attribute list includes the association relationship of each approval node information; the association relationship is obtained based on the form type of the current form; the component configuration attributes include at least: a data field for displaying at least one approval opinion corresponding to the approval node information;

[0010] Based on the updated approval opinion component and the information of each approval node, the current form and each approval opinion are sent to the corresponding approval node terminal to display the approval opinions associated with the approval node terminal.

[0011] In one implementation of this application, obtaining the approval node information corresponding to the current form specifically includes:

[0012] Based on the initialization operation of the approval opinion component, the set of form parameters corresponding to the current form is determined; the set of form parameters includes at least the approval node identifier;

[0013] Based on the set of form parameters, and according to the approval process corresponding to the current form and the identifiers of each approval node, a corresponding approval node sequence is generated, so as to determine the approval node information based on the approval node sequence.

[0014] In one implementation of this application, before updating the component configuration attributes corresponding to the approval opinion component based on the approval node information and the preset binding attribute list, the method further includes:

[0015] Obtain form samples corresponding to several form types from a preset database; the form types include at least: sales forms, financial forms, and workload forms;

[0016] Based on the approval node information corresponding to each of the form samples, a preset clustering algorithm is used to randomly select any corresponding approval node identifier as the initial cluster center in the approval node information;

[0017] Based on the pre-marked reference number of approval opinions in the form sample and the initial cluster center, the information of each approval node is clustered until a preset number of cluster groups are obtained; the pre-marked reference number of approval opinions refers to the number of times each approval node identifier in the information of several approval nodes refers to the approval opinions of other approval node identifiers.

[0018] Based on the clustering grouping, a list of binding attributes for each approval node information is generated.

[0019] In one implementation of this application, the method further includes:

[0020] Obtain the number of real-time approval comments referenced for the form type of the current form;

[0021] Based on the number of real-time approval comments references, the clustering group is updated and the binding attribute list is updated based on the updated clustering group.

[0022] In one implementation of this application, the method further includes:

[0023] When the data field in the component configuration attribute corresponds to the approval node identifier in multiple approval node information, determine the node level corresponding to each approval node identifier;

[0024] According to the order corresponding to the node level, the approval opinions of each approval node are arranged in the interface display area corresponding to the data domain.

[0025] In one implementation of this application, the method further includes:

[0026] If the current form contains multiple data fields, determine the approval process order of the current form;

[0027] Based on the approval node information corresponding to the approval process sequence, determine the approval start node for each data field;

[0028] According to the time nodes corresponding to the approval start nodes, the data fields are arranged sequentially to the corresponding interface display areas.

[0029] In one implementation of this application, the method further includes:

[0030] Obtain the data field corresponding to the current approval node terminal;

[0031] If the data field corresponding to the current approval node terminal is not at the top of the interface display area, move the data field to the top of the interface display area.

[0032] In one implementation of this application, the method further includes:

[0033] Store the updated approval opinion component in a view object (viewObject).

[0034] On the other hand, this application embodiment also provides a device for displaying approval comments on a business form, the device comprising:

[0035] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:

[0036] Determine if the current form contains a preset approval comments component;

[0037] If so, obtain the approval node information corresponding to the current form;

[0038] Based on the approval node information and the preset binding attribute list, update the component configuration attributes corresponding to the approval opinion component; wherein, the binding attribute list includes the association relationship of each approval node information; the association relationship is obtained based on the form type of the current form; the component configuration attributes include at least: a data field for displaying at least one approval opinion corresponding to the approval node information;

[0039] Based on the updated approval opinion component and the information of each approval node, the current form and each approval opinion are sent to the corresponding approval node terminal to display the approval opinions associated with the approval node terminal.

[0040] Furthermore, embodiments of this application also provide a non-volatile computer storage medium for displaying approval comments on business forms, storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:

[0041] Determine if the current form contains a preset approval comments component;

[0042] If so, obtain the approval node information corresponding to the current form;

[0043] Based on the approval node information and the preset binding attribute list, update the component configuration attributes corresponding to the approval opinion component; wherein, the binding attribute list includes the association relationship of each approval node information; the association relationship is obtained based on the form type of the current form; the component configuration attributes include at least: a data field for displaying at least one approval opinion corresponding to the approval node information;

[0044] Based on the updated approval opinion component and the information of each approval node, the current form and each approval opinion are sent to the corresponding approval node terminal to display the approval opinions associated with the approval node terminal.

[0045] Through the above technical solution, this application can easily and quickly display approval opinions in batches by region based on relationships, eliminating the need for approvers to spend a lot of time searching for specific approval opinions among batches. This speeds up the approval process, improves the quality of approvals, and enhances the approver's user experience of the approval opinions displayed on the form. Attached Figure Description

[0046] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0047] Figure 1This is a flowchart illustrating a method for displaying approval comments on a business form, as described in an embodiment of this application.

[0048] Figure 2 This is a schematic diagram of the structure of a device for displaying approval comments on a business form, as described in an embodiment of this application. Detailed Implementation

[0049] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0050] In web form development, you might encounter a scenario where a business form is being developed, and different approval nodes are set up in the submission workflow. Approver at each node needs to provide their approval comments, and the current approver can see the comments from previous approvers. The goal is to implement this scenario by having the approval comments component dragged and dropped into the form and configured with its properties, achieving ease of use and maintenance.

[0051] However, if approval comments are displayed in batches, approvers need to spend a lot of time searching, resulting in low approval efficiency, which affects the efficiency and quality of workflow approval, and also affects the viewing experience of approvers and other form-related personnel.

[0052] Based on this, embodiments of this application provide a method, device, and medium for displaying approval opinions on business forms, in order to solve the problem that the current approval process is time-consuming and cannot allow approvers to view the required approval opinions in a timely manner, thus affecting the viewing experience of the form display content.

[0053] The various embodiments of this application are described in detail below with reference to the accompanying drawings.

[0054] This application provides a method for displaying approval comments on a business form, such as... Figure 1 As shown, the method may include steps S101-S104:

[0055] S101, The server determines whether the current form has a preset approval opinion component.

[0056] It should be noted that the server, as the executing entity of the method for displaying approval opinions on business forms, exists only as an example, and the executing entity is not limited to the server. This application does not make any specific limitations on this.

[0057] In practical use cases, the server can be the executor for form submissions and processing by the form user. The current form can be understood as the form that the form user is currently operating on, such as a sales approval form or a contract signing form. The approval comments component is used to add approval comments to the form's approval comment area or path. Through the approval comment area or path added by the approval comments component, the approval node in the form user can add approval comments to the form to complete the approval workflow. Form users can be form designers or form users.

[0058] S102, if the server determines that the current form has a preset approval opinion component, it obtains the approval node information corresponding to the current form.

[0059] In this embodiment of the application, when designing a form, the user can add an approval opinion component by dragging and dropping. Then the server can query whether the approval opinion component exists in the form and then execute the approval opinion display method.

[0060] This includes retrieving information about each approval node corresponding to the current form, specifically:

[0061] Based on the initialization operation of the approval comments component, the server determines the set of form parameters corresponding to the current form. The set of form parameters includes at least the approval node identifier. According to the set of form parameters, and following the approval process corresponding to the current form and the identifiers of each approval node, the server generates a corresponding sequence of approval nodes to determine the approval node information.

[0062] In actual form operation, when a user wants to add approval comments, they can click on the approval comments component to initialize the component's fields. The initialization operation will obtain the form parameter set of the form, such as process node information, through getAuditorsByMicroAppId().

[0063] In addition, multiple different domains can be added in the properties panel. Domains are created by calling addDomain() and deleted by calling deleteDomain(). After binding different approval nodes to different domains, the configured domain data is stored in approvalDomains and temporarily stored in viewObject. See the following example for details.

[0064] S103, the server updates the component configuration attributes corresponding to the approval opinion component based on the information of each approval node and the preset binding attribute list.

[0065] The binding attribute list includes the relationships between the information of each approval node. These relationships are derived based on the form type of the current form. The component configuration attributes must include at least one data field to display the approval comments corresponding to at least one approval node.

[0066] In this embodiment of the application, before updating the component configuration attributes corresponding to the approval opinion component based on the information of each approval node and the preset binding attribute list, the method further includes:

[0067] First, the server can retrieve form samples corresponding to several form types from a pre-defined database. These form types include at least: sales forms, financial forms, and workload forms. The form samples can be stored in the pre-defined database, which can be a database connected to the server or a database accessible via the internet.

[0068] Next, based on the approval node information corresponding to each form sample, the server randomly selects any corresponding approval node identifier as the initial cluster center in the approval node information using a preset clustering algorithm.

[0069] In other words, the server can first determine the approval node information of multiple form samples corresponding to the same form type, and then, through a preset clustering algorithm, such as the K-means algorithm, arbitrarily select an approval node identifier from the approval node information corresponding to a form sample as the initial cluster center, and then perform the clustering operation.

[0070] Subsequently, the server clusters the approval node information based on the pre-marked reference frequency of approval comments in the form sample and the initial cluster centers, until a preset number of cluster groups are obtained. The pre-marked reference frequency of approval comments refers to the number of times each approval node identifier references the approval comments of other approval node identifiers in a number of approval node information.

[0071] The preset number can be set by the user to specify the maximum number of cluster groups. The pre-marked number of times approval comments are referenced can be user-defined for the form samples. For example, in 10 form samples, if approval node 'a' references the approval comments of approval node 'b' and then fills in its approval comments 10 times, and references the approval comments of approval node 'c' and then fills in its approval comments 0 times, then cluster associations are established based on the number of times approval comments are referenced, such as A = m * B, where A is the cluster association degree (which can be understood as Euclidean distance), m is the preset weight, and B is the number of times approval comments are referenced. The server performs cluster grouping according to the magnitude of the cluster association degree and the preset association degree threshold. For example, if the association degree threshold is A1, approval nodes whose cluster association degree value with approval node 'a' is greater than this association degree threshold belong to the same cluster group as approval node 'a'.

[0072] Subsequently, the server will generate a list of binding attributes for each approval node based on the clustering group.

[0073] In other words, based on clustering, the approval nodes in the same cluster are associated and added to the binding attribute list.

[0074] In this embodiment of the application, the method further includes:

[0075] The server retrieves the number of real-time approval comments corresponding to the form type of the current form. Based on the number of real-time approval comments, the clustering is updated, and the bound attribute list is updated based on the updated clustering.

[0076] In other words, when actually using the above clustering operation, the server can update the clustering groups based on the real-time changes in the number of times the approval opinions are referenced, so as to keep the method of displaying approval opinions fresh and able to change according to the actual situation, making it more suitable for users.

[0077] In another embodiment of this application, the method further includes:

[0078] When the server determines the node level corresponding to each approval node identifier in the data field of the component configuration properties, based on the order of the node levels, it arranges the approval opinions of each approval node identifier in the interface display area corresponding to the data field.

[0079] In other words, when a data field is used to display approval opinions from multiple approval nodes, the server can arrange the approval opinions within the data field according to the job level of the approval node, or for a specified node level, so that the approval opinions can be displayed in the interface display area. The interface display area can be located in the area specified by the user in the form. The content displayed for the approval opinions should at least include the specific content of the approval opinion, the approver's information, and the approval time.

[0080] In yet another embodiment of this application, the method further includes:

[0081] When a form contains multiple data fields, the server determines the approval process order. Based on the approval node information corresponding to the approval process order, it determines the approval start node for each data field. Then, according to the time nodes corresponding to the approval start nodes, the data fields are arranged sequentially in their respective display areas.

[0082] In other words, a single form can contain multiple approval node information, and one approval node information can correspond to multiple data fields. Each data field must display approval comments from at least one different approval node. To better display the approval comments from multiple data fields in the interface display area, the server can determine the approval nodes contained in each data field and, based on the approval process sequence, obtain the earliest approval node in each data field, using it as the approval start node for that data field. According to the approval start node's approval time, the data fields are arranged sequentially in the interface display area from top to bottom or from left to right.

[0083] In another embodiment of this application, the method further includes:

[0084] The server retrieves the data field corresponding to the current approval node terminal. If the data field corresponding to the current approval node terminal is not at the top of the interface display area, the server moves the data field to the top of the interface display area.

[0085] In other words, the server can determine the data field containing the approval node terminal based on the different approval node terminals displayed, and place the data field at the top of the interface display area so that the approval node terminals can more easily view the relevant approval opinions.

[0086] In this embodiment of the application, the updated approval opinion component can be stored in a view object (viewObject).

[0087] S104, the server sends the current form and each approval opinion to the corresponding approval node terminal based on the updated approval opinion component and the information of each approval node, so as to display the approval opinions associated with the approval node terminal.

[0088] Approval node terminals are used to approve workflows or view workflow approval comments, including but not limited to mobile phones, computers and other devices. This application does not make specific limitations on this.

[0089] Through the above technical solution, this application can easily and quickly display approval opinions in batches by region based on relationships, eliminating the need for approvers to spend a lot of time searching for specific approval opinions among batches. This speeds up the approval process, improves the quality of approvals, and enhances the approver's user experience of the approval opinions displayed on the form.

[0090] Figure 2 A schematic diagram of the structure of a device for displaying approval comments on a business form, as provided in this application embodiment, is shown below. Figure 2 As shown, the device includes:

[0091] At least one processor; and a memory communicatively connected to the at least one processor. The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to:

[0092] Determine if the current form contains a preset approval comment component. If so, retrieve the approval node information corresponding to the current form. Based on the approval node information and the preset binding attribute list, update the component configuration attributes corresponding to the approval comment component. The binding attribute list includes the relationships between the approval node information. These relationships are derived from the form type of the current form. The component configuration attributes must include at least one data field for displaying the approval comment corresponding to at least one approval node. Based on the updated approval comment component and the approval node information, send the current form and all approval comments to the corresponding approval node terminals to display the approval comments associated with those terminals.

[0093] This application embodiment also provides a non-volatile computer storage medium for displaying approval comments on a business form, storing computer-executable instructions, which are configured as follows:

[0094] Determine if the current form contains a preset approval comment component. If so, retrieve the approval node information corresponding to the current form. Based on the approval node information and the preset binding attribute list, update the component configuration attributes corresponding to the approval comment component. The binding attribute list includes the relationships between the approval node information. These relationships are derived from the form type of the current form. The component configuration attributes must include at least one data field for displaying the approval comment corresponding to at least one approval node. Based on the updated approval comment component and the approval node information, send the current form and all approval comments to the corresponding approval node terminals to display the approval comments associated with those terminals.

[0095] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program and "integrate" a digital system onto a PLD themselves, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should understand that by simply performing some logic programming on the method flow using one of these hardware description languages ​​and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.

[0096] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.

[0097] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.

[0098] For ease of description, the above devices are described in terms of function, divided into various units. Of course, in implementing this specification, the functions of each unit can be implemented in one or more software and / or hardware components.

[0099] Those skilled in the art will understand that the embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the embodiments of this specification can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0100] This specification is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this specification. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0101] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0102] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0103] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0104] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0105] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0106] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0107] This specification can be described in the general context of computer-executable instructions that are executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This specification 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.

[0108] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of apparatus, devices, and non-volatile computer storage media are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0109] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0110] The above description is merely one or more embodiments of this specification and is not intended to limit this specification. Various modifications and variations can be made to the one or more embodiments of this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of one or more embodiments of this specification should be included within the scope of the claims of this specification.

Claims

1. A method for displaying approval comments on a business form, characterized in that, The method includes: Determine if the current form contains a preset approval comments component; If so, obtain the approval node information corresponding to the current form; Based on the approval node information and a preset binding attribute list, the component configuration attributes corresponding to the approval opinion component are updated; wherein, the binding attribute list includes the association relationship of each approval node information; the association relationship is obtained based on the form type of the current form; the component configuration attributes include at least: a data field for displaying at least one approval opinion corresponding to each approval node information; before updating the component configuration attributes corresponding to the approval opinion component based on the approval node information and the preset binding attribute list, the method further includes: obtaining form samples corresponding to several form types in a preset database; the form types include at least: sales form, financial form, and workload form; and randomly selecting any one of the approval node information corresponding to each form sample using a preset clustering algorithm. The corresponding approval node identifier serves as the initial cluster center in the approval node information; based on the pre-marked approval opinion reference count in the form sample and the initial cluster center, each approval node information is clustered until a preset number of cluster groups are obtained; the pre-marked approval opinion reference count is the reference count of each approval node identifier in several approval node information to the approval opinions of other approval node identifiers; based on the cluster groups, the binding attribute list of each approval node information is generated; the method further includes: obtaining the real-time approval opinion reference count corresponding to the form type of the current form; updating the cluster groups based on the real-time approval opinion reference count, so as to update the binding attribute list based on the updated cluster groups; Based on the updated approval opinion component and the information of each approval node, the current form and each approval opinion are sent to the corresponding approval node terminal to display the approval opinions associated with the approval node terminal.

2. The method for displaying approval comments on a business form according to claim 1, characterized in that, Obtaining the approval node information corresponding to the current form specifically includes: Based on the initialization operation of the approval opinion component, the set of form parameters corresponding to the current form is determined; the set of form parameters includes at least the approval node identifier; Based on the set of form parameters, and according to the approval process corresponding to the current form and the identifiers of each approval node, a corresponding approval node sequence is generated, so as to determine the approval node information based on the approval node sequence.

3. The method for displaying approval comments on a business form according to claim 1, characterized in that, The method further includes: When the data field in the component configuration attribute corresponds to the approval node identifier in multiple approval node information, determine the node level corresponding to each approval node identifier; According to the order corresponding to the node level, the approval opinions of each approval node are arranged in the interface display area corresponding to the data domain.

4. The method for displaying approval comments on a business form according to claim 1, characterized in that, The method further includes: If the current form contains multiple data fields, determine the approval process order of the current form; Based on the approval node information corresponding to the approval process sequence, determine the approval start node for each data field; According to the time nodes corresponding to the approval start nodes, the data fields are arranged sequentially to the corresponding interface display areas.

5. The method for displaying approval comments on a business form according to claim 4, characterized in that, The method further includes: Obtain the data field corresponding to the current approval node terminal; If the data field corresponding to the current approval node terminal is not at the top of the interface display area, move the data field to the top of the interface display area.

6. The method for displaying approval comments on a business form according to claim 1, characterized in that, The method further includes: Store the updated approval opinion component in a view object (viewObject).

7. A device for displaying approval comments on business forms, characterized in that, The device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform a method for displaying approval opinions on a business form as described in any one of claims 1-6.

8. A non-volatile computer storage medium for displaying approval comments on a business form, storing computer-executable instructions, characterized in that, The computer-executable instructions are capable of executing a method for displaying approval opinions on a business form as described in any one of claims 1-6.