CN113126864A - Visual configuration method and device for approval process - Google Patents

Visual configuration method and device for approval process Download PDF

Info

Publication number
CN113126864A
CN113126864A CN202110432397.1A CN202110432397A CN113126864A CN 113126864 A CN113126864 A CN 113126864A CN 202110432397 A CN202110432397 A CN 202110432397A CN 113126864 A CN113126864 A CN 113126864A
Authority
CN
China
Prior art keywords
node
newly added
approval
condition
operation information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110432397.1A
Other languages
Chinese (zh)
Inventor
刘漫谷
王晓凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China World Digital Technology Shenzhen Co ltd
Original Assignee
China World Digital Technology Shenzhen Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China World Digital Technology Shenzhen Co ltd filed Critical China World Digital Technology Shenzhen Co ltd
Priority to CN202110432397.1A priority Critical patent/CN113126864A/en
Publication of CN113126864A publication Critical patent/CN113126864A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Computational Linguistics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a data processing technology, and provides an approval process visual configuration method, an approval process visual configuration device, computer equipment and a storage medium, wherein the method comprises the following steps: receiving operation information of a user on function keys in a visual task interface, wherein the function keys comprise newly added node keys; judging the type of the node to be newly added according to the operation information; when the type of the node to be newly added is judged to be an approval node, acquiring approval configuration data corresponding to the approval node from a preset configuration management database according to the function key, and generating a newly added approval node according to the approval configuration data and the operation information; when the node to be newly added is judged to be the condition node, the condition configuration data corresponding to the condition node is obtained from the configuration management database according to the function key, the newly added condition node is generated according to the condition configuration data and the operation information, the node is added by clicking the function key by a user, the establishment of the approval process is quickly realized, and the method is convenient and quick.

Description

Visual configuration method and device for approval process
Technical Field
The invention relates to the technical field of data processing, in particular to an approval process visual configuration method, an approval process visual configuration device, computer equipment and a storage medium.
Background
In enterprises, various forms such as projects, purchases and the like are often required to pass through after being checked and approved layer by layer, most of the enterprises have abandoned an off-line manual form submitting and then checking and approving mode, all the on-line checking and approving modes are basically adopted to check and approve various forms, the forms in the checking and approving process need to pass through various task stages in the circulation process, the task stages can be regarded as nodes, each node corresponds to a corresponding responsible person and authority, however, along with the continuous development of the enterprises, the organization structure and personnel also continuously change, the corresponding on-line checking and approving process needs to change, but at present, the adjustment and configuration of the approval process needs developers to spend a large amount of time to readjust the system, and the system is required to be implemented by professional personnel, time and labor are consumed, and the efficiency is low.
Disclosure of Invention
The invention mainly aims to provide an approval process visual configuration method, an approval process visual configuration device, computer equipment and a storage medium, and aims to solve the technical problem that in the prior art, the configuration adjustment efficiency of an approval process is too low.
Based on the above object, the present invention provides an approval process visual configuration method, which includes:
receiving operation information of a user on function keys in a visual task interface, wherein the function keys comprise newly added node keys which are controls for generating nodes;
judging the type of the node to be newly added according to the operation information, wherein the type is an approval node or a condition node;
when the type of the node to be newly added is judged to be an approval node, acquiring approval configuration data corresponding to the approval node from a preset configuration management database according to the function key, and generating the newly added approval node according to the approval configuration data and the operation information;
and when the node to be newly added is judged to be a condition node, acquiring condition configuration data corresponding to the condition node from the configuration management database according to the function key, and generating the newly added condition node according to the condition configuration data and the operation information.
Further, the step of generating a newly added approval node according to the configuration data and the operation information includes:
acquiring node information of a current node, wherein the node information comprises node position information of form circulation of the current node in an approval process chain;
acquiring data of an approver according to operation information, and judging whether the newly added approver belongs to a node of the same grade as the current node or not according to the data of the approver while generating the newly added approver;
if so, synchronizing the positions of the newly added examination and approval nodes and the current node so that the form can simultaneously reach the newly added examination and approval nodes and the current node when the form flows in an examination and approval process;
and if not, inserting the newly added examination and approval node between the current node and the next node.
Further, the step of generating a new condition node according to the condition configuration data and the operation information includes:
determining the number of conditions and corresponding condition information according to the operation information;
generating corresponding newly added condition nodes according to each condition information and the condition configuration data;
and according to the condition information of each newly added condition node, respectively butting each newly added condition node with a corresponding subsequent node to form a whole approval process chain, wherein the subsequent node is the next node entering after meeting the conditions in the newly added condition nodes.
Further, after the step of generating a new condition node according to the condition configuration data and the operation information, the method includes:
when the form flows to the previous node of the newly added condition node in the examination and approval process chain, acquiring a designated field in the form;
obtaining a corresponding field value according to the designated field, and determining a numerical range to which the field value belongs, wherein different numerical ranges correspond to different newly-added condition nodes;
and transferring the table stream to the newly added condition node corresponding to the numerical range to which the field value belongs.
Further, the type further includes a copy node, and after the step of determining the type of the node to be newly added according to the operation information, the method includes:
and when the type of the node to be newly added is judged to be a copying node, acquiring approval configuration data corresponding to the copying node from a preset configuration management database according to the function key, and generating the newly added copying node according to the approval configuration data and the operation information.
The invention also provides an approval process visual configuration device, which comprises the following steps:
the system comprises an information receiving unit, a task processing unit and a task processing unit, wherein the information receiving unit is used for receiving operation information of a user on function keys in a visual task interface, the function keys comprise newly added node keys, and the newly added node keys are controls used for generating nodes;
the judging type unit is used for judging the type of the node to be newly added according to the operation information, wherein the type is an approval node or a condition node;
the newly-added examination and approval unit is used for acquiring examination and approval configuration data corresponding to the examination and approval node from a preset configuration management database according to the functional key when the type of the node to be newly added is judged to be the examination and approval node, and generating the newly-added examination and approval node according to the examination and approval configuration data and the operation information;
and the newly added condition unit is used for acquiring condition configuration data corresponding to the condition node from the configuration management database according to the function key when the node to be newly added is judged to be the condition node, and generating the newly added condition node according to the condition configuration data and the operation information.
Further, the newly-added approval unit includes:
the node obtaining subunit is used for obtaining node information of the current node, wherein the node information comprises node position information of form circulation of the current node in an approval process chain;
the acquisition and approval subunit is used for acquiring data of an approver according to the operation information, and judging whether the newly added approver node and the current node belong to the same level node according to the data of the approver while generating the newly added approver node;
the synchronization node subunit is used for judging that the newly added examination and approval node and the current node belong to the same level node, and synchronizing the positions of the newly added examination and approval node and the current node so that the form can simultaneously reach the newly added examination and approval node and the current node when circulating in an examination and approval process;
and the inserting node subunit is used for judging that the newly added examination and approval node and the current node do not belong to the same level node, and inserting the newly added examination and approval node between the current node and the next node.
Further, the newly added condition unit includes:
the determining information subunit is used for determining the condition number and the corresponding condition information according to the operation information;
the node generating subunit is used for generating corresponding newly added condition nodes according to each condition information and the condition configuration data;
and the butt joint node subunit is configured to butt joint, according to the condition information of each newly added condition node, each newly added condition node with a corresponding subsequent node to form an entire approval process chain, where the subsequent node is a next node that enters after the condition in the newly added condition node is met.
The invention also provides computer equipment which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the visual configuration method of the approval process when executing the computer program.
The invention also provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the above-described approval process visual configuration method.
The invention has the beneficial effects that: a user only needs to click a function key in a visual task interface to add nodes, meanwhile, corresponding attribute configuration is carried out on each node, the establishment of a complex business approval process in an enterprise is rapidly achieved, the operation is convenient and rapid, non-developers can also establish an adjustment approval process, changes of the company can be responded rapidly, and corresponding business flows can be completed at low time cost.
Drawings
FIG. 1 is a schematic diagram illustrating steps of an approval process visual configuration method according to an embodiment of the present invention;
FIG. 2 is a block diagram illustrating the structure of an approval process visualization configuration apparatus according to an embodiment of the present invention;
FIG. 3 is a block diagram illustrating the structure of one embodiment of a storage medium of the present application;
FIG. 4 is a block diagram illustrating the structure of one embodiment of a computer device of the present application.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, the visual configuration method for the approval process in the embodiment includes:
step S1: receiving operation information of a user on function keys in a visual task interface, wherein the function keys comprise newly added node keys which are controls for generating nodes;
step S2: judging the type of the node to be newly added according to the operation information, wherein the type is an approval node or a condition node;
step S3: when the type of the node to be newly added is judged to be an approval node, acquiring approval configuration data corresponding to the approval node from a preset configuration management database according to the function key, and generating the newly added approval node according to the approval configuration data and the operation information;
step S4: and when the node to be newly added is judged to be a condition node, acquiring condition configuration data corresponding to the condition node from the configuration management database according to the function key, and generating the newly added condition node according to the condition configuration data and the operation information.
As shown in steps S1-S2, the visual configuration method for the approval process can be applied to an approval process system, such as an SAAS platform, which can support multiple companies to use simultaneously, and the data and operations are independent of each other, the approval process system provides multiple complete approval process chains, each approval process chain has multiple nodes, such as an application node, a condition node, an approval node, a review node, and the like, and the form can be transferred in the approval process chain from a previous node to a next node. The visual task interface is based on the terminal interface generated by the approval process system, a user can operate in the visual task interface, and the visual task interface comprises a plurality of functional keys, such as newly-added node keys, view form keys and the like. Each function key is a component control, the operation of connecting and acquiring related data is completed through an application programming interface based on the generation of a component system, and the newly added node key is a control for generating a node based on the generation of the component system when receiving the operation information of a user on the function key in a visual task interface; and then judging the type of the node to be newly added according to the operation information, wherein the type of the node is an approval node or a condition node, the operation information comprises clicking a function key and inputting related information, for example, clicking a key of the newly added node, when the information of the approval node, the condition node and the like is prompted to be added in the interface, the user can select one of the keys to click, so that the type of the node newly added by the user is determined, the operation method is convenient and quick, and the nodes in the approval process can be added even if the operation method is not a professional developer.
As described in the foregoing steps S3-S4, when it is determined that the type of the node to be newly added is an approval node, the approval configuration data corresponding to the approval node is obtained from a preset configuration management database according to the function key, the configuration management database stores configuration data of a plurality of different types of nodes, the newly added different nodes obtain corresponding node configuration data, then the newly added approval node is generated according to the approval configuration data and the operation information, and specifically, the newly added approval node can be obtained through an interface, then the configuration data is converted into json format data, and then a visual approval page is generated through a visual tool, that is, the newly added approval node is generated, for example, when a table or an image is needed, the newly added approval node is converted through an ECharts tool. Similarly, when the node to be newly added is judged to be the condition node, the condition configuration data corresponding to the condition node is acquired from the configuration management database according to the function key, and the newly added condition node is generated according to the condition configuration data and the operation information.
In an embodiment, the above types further include a copy node, and similarly, when it is determined that the type of the node to be newly added is the copy node, the approval configuration data corresponding to the copy node is acquired from the preset configuration management database according to the function key, and the newly added copy node is generated according to the approval configuration data and the operation information. The user operates through the prompt in the interface, and clicks or inputs information, and meanwhile, the interface can also prompt whether to open information allowing the initiator to select the copy-to-send person and the like, so when the operation information of the user is obtained, the operation information further comprises the attribute of the copy-to-send person, the copy-to-send type and the like, and for example, the copy-to-send type comprises the copy-to-send of a designated copy-to-send person or a certain functional role.
In an embodiment, the step of generating a new approval node according to the configuration data and the operation information in step S3 includes:
step S31: acquiring node information of a current node, wherein the node information comprises node position information of form circulation of the current node in an approval process chain;
step S32: acquiring data of an approver according to operation information, and judging whether the newly added approver belongs to a node of the same grade as the current node or not according to the data of the approver while generating the newly added approver;
step S33: if so, synchronizing the positions of the newly added examination and approval nodes and the current node so that the form can simultaneously reach the newly added examination and approval nodes and the current node when the form flows in an examination and approval process;
step S34: and if not, inserting the newly added examination and approval node between the current node and the next node.
In this embodiment, in one approval process chain, there may be multiple approval nodes, that is, multiple approvers, and some approvers may be approvers of the same class, and corresponding approval nodes are also nodes of the same class. The current node is a node where the current user enters the visual task interface, for example, the user is an examination and approval person A, and the current node is the node where the user enters the visual task interface through the examination and approval node A. The node information comprises the grade of the current node in an approval process chain, the node position of a form of the current node in the approval process chain and other information, when the node is newly added, a user operates in a visual task interface, the information such as the attribute of an approver, the type of the approver and the like is input in the operation process, for example, the approver is appointed, a self-selecting approver or an approver with a certain function role is obtained through the operation information, the data of the approver is obtained through the operation information, when the newly added approval node is generated, whether the newly added approval node and the node of the current node belong to the same grade can be judged according to the approver data and the node information, if yes, the newly added approval node and the node of the current node are synchronized, so that the form can simultaneously reach the newly added approval node and the current node when the form flows in the approval process chain, and the approver of the newly added approval node and the current node can simultaneously enable the form to simultaneously allow the approver of the newly added approval node and the approver of the And (4) a table. Otherwise, inserting the newly added examination and approval node between the current node and the next node, namely after the current node finishes examining and approving the form, the next node of the form circulation is the newly added examination and approval node.
In an embodiment, the step of generating a new condition node according to the condition configuration data and the operation information in step S4 includes:
step S41: determining the number of conditions and corresponding condition information according to the operation information;
step S42: generating corresponding newly added condition nodes according to each condition information and the condition configuration data;
step S43: and according to the node information of each newly added condition node, respectively butting each newly added condition node with a corresponding subsequent node to form a whole approval process chain, wherein the subsequent node is the next node entering after meeting the conditions in the newly added condition nodes.
In this embodiment, when the newly added node is a newly added condition node, since there may be a plurality of conditions, a plurality of different condition nodes may be generated at the same time, specifically, the number of conditions and corresponding condition information may be determined by the operation information first, where the number of condition nodes is not limited, and may be configured according to actual situations, for example, two conditions, one condition is that the amount of money in the form is satisfied for a value greater than a specified amount of money, and the other condition is that the address appearing in the form is satisfied for a specified range region; and generating corresponding newly-added condition nodes according to each condition information and the condition configuration data, then acquiring the information of the subsequent nodes according to the node information of each newly-added condition node, wherein the node information comprises the position information of the node in the examination and approval process chain and the information of the upper node and the lower node, and thus, each newly-added condition node is respectively connected with the corresponding subsequent node, for example, the corresponding examination and approval node, and the subsequent node is the next node entering after the condition is met.
In one embodiment, after the step S4, the method further includes:
step S5: when the form flows to the previous node of the newly added condition node in the examination and approval process chain, acquiring a designated field in the form;
step S6: obtaining a corresponding field value according to the designated field, and determining a numerical range to which the field value belongs, wherein different numerical ranges correspond to different newly-added condition nodes;
step S7: and transferring the table stream to the newly added condition node corresponding to the numerical range to which the field value belongs.
In the present embodiment, when there are a plurality of condition nodes, which condition node the form flow goes to is determined by the field value of the specified field in the form, and specifically, when the form flows to the previous node of the newly added condition node in the examination and approval process chain, the appointed field in the form is obtained, then, the field value of the appointed field is obtained, so as to determine the numerical range of the field value, different numerical ranges correspond to different newly added condition nodes, the table stream is transferred to the newly added condition nodes corresponding to the numerical range of the field value, for example, the newly added condition nodes with two condition 1 and condition 2, when the field value of the form is determined to be in the numerical range corresponding to the condition 1 according to the fields in the form, the form enters a condition 1 node, and when the field value corresponding to the field in the data form is determined to be in the numerical range corresponding to the condition 2, the form enters the condition 2 node.
According to the visual configuration method for the approval process, the user only needs to click the function key in the visual task interface to add the nodes, meanwhile, corresponding attribute configuration is carried out on each node, the construction of the complicated business approval process in an enterprise is rapidly realized, convenience and rapidness are realized, non-developers can also construct and adjust the approval process, the change of a company can be rapidly responded, and the corresponding business flow can be completed in a low-time cost manner.
Referring to fig. 2, in this embodiment, an approval process visual configuration apparatus is provided, where the apparatus corresponds to the approval process visual configuration method, and the apparatus includes:
the information receiving unit 1 is used for receiving operation information of a user on function keys in a visual task interface, wherein the function keys comprise newly added node keys, and the newly added node keys are controls used for generating nodes;
a type judging unit 2, configured to judge a type of a node to be newly added according to the operation information, where the type is an approval node or a condition node;
a newly-added approval unit 3, configured to, when determining that the type of the node to be newly added is an approval node, obtain approval configuration data corresponding to the approval node from a preset configuration management database according to the function key, and generate a newly-added approval node according to the approval configuration data and the operation information;
and the newly added condition unit 4 is configured to, when it is determined that the node to be newly added is a condition node, obtain condition configuration data corresponding to the condition node from the configuration management database according to the function key, and generate the newly added condition node according to the condition configuration data and the operation information.
For example, the information receiving unit 1 and the type determining unit 2 may be applied to an approval process system, for example, an SAAS platform, which may support a plurality of companies to use simultaneously, and data and operations are independent from each other, the approval process system provides a plurality of complete approval process chains, each approval process chain has a plurality of nodes, for example, an application node, a condition node, an approval node, a review node, and the like, and a form may be circulated in the approval process chain, and a flow from a previous node to a next node. The visual task interface is based on the terminal interface generated by the approval process system, a user can operate in the visual task interface, and the visual task interface comprises a plurality of functional keys, such as newly-added node keys, view form keys and the like. Each function key is a component control, the operation of connecting and acquiring related data is completed through an application programming interface based on the generation of a component system, and the newly added node key is a control for generating a node based on the generation of the component system when receiving the operation information of a user on the function key in a visual task interface; and then judging the type of the node to be newly added according to the operation information, wherein the type of the node is an approval node or a condition node, the operation information comprises clicking a function key and inputting related information, for example, clicking a key of the newly added node, when the information of the approval node, the condition node and the like is prompted to be added in the interface, the user can select one of the keys to click, so that the type of the node newly added by the user is determined, the operation method is convenient and quick, and the nodes in the approval process can be added even if the operation method is not a professional developer.
As described in the newly added approval unit 3 and the newly added condition unit 4, when it is determined that the type of the node to be newly added is an approval node, approval configuration data corresponding to the approval node is acquired from a preset configuration management database according to the function key, the configuration management database stores configuration data of a plurality of nodes of different types, the newly added different nodes acquire corresponding node configuration data, the newly added approval node is generated according to the approval configuration data and the operation information, and specifically, the newly added approval node is acquired through an interface, the configuration data is converted into json format data, and a visual approval page is generated through a visual tool, that is, the newly added approval node is generated, for example, when a table or an image is required, the newly added approval node is converted through an ECharts tool. Similarly, when the node to be newly added is judged to be the condition node, the condition configuration data corresponding to the condition node is acquired from the configuration management database according to the function key, and the newly added condition node is generated according to the condition configuration data and the operation information.
In an embodiment, the above types further include a copy node, and similarly, when it is determined that the type of the node to be newly added is the copy node, the approval configuration data corresponding to the copy node is acquired from the preset configuration management database according to the function key, and the newly added copy node is generated according to the approval configuration data and the operation information. The user operates through the prompt in the interface, and clicks or inputs information, and meanwhile, the interface can also prompt whether to open information allowing the initiator to select the copy-to-send person and the like, so when the operation information of the user is obtained, the operation information further comprises the attribute of the copy-to-send person, the copy-to-send type and the like, and for example, the copy-to-send type comprises the copy-to-send of a designated copy-to-send person or a certain functional role.
In one embodiment, the newly added approval unit includes:
the node obtaining subunit is used for obtaining node information of the current node, wherein the node information comprises node position information of form circulation of the current node in an approval process chain;
the acquisition and approval subunit is used for acquiring data of an approver according to the operation information, and judging whether the newly added approver node and the current node belong to the same level node according to the data of the approver while generating the newly added approver node;
the synchronization node subunit is used for judging that the newly added examination and approval node and the current node belong to the same level node, and synchronizing the positions of the newly added examination and approval node and the current node so that the form can simultaneously reach the newly added examination and approval node and the current node when circulating in an examination and approval process;
and the inserting node subunit is used for judging that the newly added examination and approval node and the current node do not belong to the same level node, and inserting the newly added examination and approval node between the current node and the next node.
In this embodiment, in one approval process chain, there may be multiple approval nodes, that is, multiple approvers, and some approvers may be approvers of the same class, and corresponding approval nodes are also nodes of the same class. The current node is a node where the current user enters the visual task interface, for example, the user is an examination and approval person A, and the current node is the node where the user enters the visual task interface through the examination and approval node A. The node information comprises the grade of the current node in an approval process chain, the node position of a form of the current node in the approval process chain and other information, when the node is newly added, a user operates in a visual task interface, the information such as the attribute of an approver, the type of the approver and the like is input in the operation process, for example, the approver is appointed, a self-selecting approver or an approver with a certain function role is obtained through the operation information, the data of the approver is obtained through the operation information, when the newly added approval node is generated, whether the newly added approval node and the node of the current node belong to the same grade can be judged according to the approver data and the node information, if yes, the newly added approval node and the node of the current node are synchronized, so that the form can simultaneously reach the newly added approval node and the current node when the form flows in the approval process chain, and the approver of the newly added approval node and the current node can simultaneously enable the form to simultaneously allow the approver of the newly added approval node and the approver of the And (4) a table. Otherwise, inserting the newly added examination and approval node between the current node and the next node, namely after the current node finishes examining and approving the form, the next node of the form circulation is the newly added examination and approval node.
In one embodiment, the newly added condition unit includes:
the determining information subunit is used for determining the condition number and the corresponding condition information according to the operation information;
the node generating subunit is used for generating corresponding newly added condition nodes according to each condition information and the condition configuration data;
and the butt joint node subunit is configured to butt joint, according to the node information of each newly added condition node, each newly added condition node with a corresponding subsequent node to form an entire approval process chain, where the subsequent node is a next node that enters after the condition in the newly added condition node is met.
In this embodiment, when the newly added node is a newly added condition node, since there may be a plurality of conditions, a plurality of different condition nodes may be generated at the same time, specifically, the number of conditions and corresponding condition information may be determined by the operation information first, where the number of condition nodes is not limited, and may be configured according to actual situations, for example, two conditions, one condition is that the amount of money in the form is satisfied for a value greater than a specified amount of money, and the other condition is that the address appearing in the form is satisfied for a specified range region; and generating corresponding newly-added condition nodes according to the condition configuration data according to each piece of condition information, acquiring information of subsequent nodes according to the condition node information of each newly-added condition node, wherein the node information comprises position information and information of upper and lower nodes in the examination and approval process chain, and butting each newly-added condition node with the corresponding subsequent node respectively to form the whole examination and approval process chain, wherein the subsequent node is the next node entering after the condition is met.
In one embodiment, the above apparatus includes:
the field acquisition unit is used for acquiring the specified field in the form when the form flows to the previous node of the newly added condition node in the approval process chain;
a word value obtaining unit, configured to obtain a corresponding field value according to the specified field, and determine a numerical range to which the field value belongs, where different numerical ranges correspond to different newly-added condition nodes;
and the transfer condition unit is used for transferring the table stream to the newly added condition node corresponding to the numerical range to which the field value belongs.
In the present embodiment, when there are a plurality of condition nodes, which condition node the form flow goes to is determined by the field value of the specified field in the form, and specifically, when the form flows to the previous node of the newly added condition node in the examination and approval process chain, the appointed field in the form is obtained, then, the field value of the appointed field is obtained, so as to determine the numerical range of the field value, different numerical ranges correspond to different newly added condition nodes, the table stream is transferred to the newly added condition nodes corresponding to the numerical range of the field value, for example, the newly added condition nodes with two condition 1 and condition 2, when the field value of the form is determined to be in the numerical range corresponding to the condition 1 according to the fields in the form, the form enters a condition 1 node, and when the field value corresponding to the field in the data form is determined to be in the numerical range corresponding to the condition 2, the form enters the condition 2 node.
With reference to fig. 3, the present application further provides a computer-readable storage medium 10, in which a computer program 20 is stored in the storage medium 10, and when the computer program runs on a computer, the computer is enabled to execute the approval process visualization configuration method described in the above embodiment.
Referring to fig. 4, the present application further provides a computer device 40 containing instructions, the computer device includes a memory 30 and a processor 50, the memory 30 stores a computer program 20, and the processor 30 executes the computer program 20 to implement the approval process visualization configuration method described in the above embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. An approval process visualization configuration method is characterized by comprising the following steps:
receiving operation information of a user on function keys in a visual task interface, wherein the function keys comprise newly added node keys which are controls for generating nodes;
judging the type of the node to be newly added according to the operation information, wherein the type is an approval node or a condition node;
when the type of the node to be newly added is judged to be an approval node, acquiring approval configuration data corresponding to the approval node from a preset configuration management database according to the function key, and generating the newly added approval node according to the approval configuration data and the operation information;
and when the node to be newly added is judged to be a condition node, acquiring condition configuration data corresponding to the condition node from the configuration management database according to the function key, and generating the newly added condition node according to the condition configuration data and the operation information.
2. The visual configuration method for the approval process according to claim 1, wherein the step of generating a new approval node according to the configuration data and the operation information comprises:
acquiring node information of a current node, wherein the node information comprises node position information of form circulation of the current node in an approval process chain;
acquiring data of an approver according to operation information, and judging whether the newly added approver belongs to a node of the same grade as the current node or not according to the data of the approver while generating the newly added approver;
if so, synchronizing the positions of the newly added examination and approval nodes and the current node so that the form can simultaneously reach the newly added examination and approval nodes and the current node when the form flows in an examination and approval process;
and if not, inserting the newly added examination and approval node between the current node and the next node.
3. The visual configuration method for the approval process according to claim 1, wherein the step of generating a new condition node according to the condition configuration data and the operation information comprises:
determining the number of conditions and corresponding condition information according to the operation information;
generating corresponding newly added condition nodes according to each condition information and the condition configuration data;
and according to the condition information of each newly added condition node, respectively butting each newly added condition node with a corresponding subsequent node to form a whole approval process chain, wherein the subsequent node is the next node entering after meeting the conditions in the newly added condition nodes.
4. The visual configuration method for the approval process according to claim 3, wherein the step of generating the newly added condition node according to the condition configuration data and the operation information comprises:
when the form flows to the previous node of the newly added condition node in the examination and approval process chain, acquiring a designated field in the form;
obtaining a corresponding field value according to the designated field, and determining a numerical range to which the field value belongs, wherein different numerical ranges correspond to different newly-added condition nodes;
and transferring the table stream to the newly added condition node corresponding to the numerical range to which the field value belongs.
5. The visual configuration method for the approval process according to claim 1, wherein the type further comprises a copying node, and after the step of determining the type of the node to be newly added according to the operation information, the method comprises:
and when the type of the node to be newly added is judged to be a copying node, acquiring approval configuration data corresponding to the copying node from a preset configuration management database according to the function key, and generating the newly added copying node according to the approval configuration data and the operation information.
6. An approval process visualization configuration device, comprising:
the system comprises an information receiving unit, a task processing unit and a task processing unit, wherein the information receiving unit is used for receiving operation information of a user on function keys in a visual task interface, the function keys comprise newly added node keys, and the newly added node keys are controls used for generating nodes;
the judging type unit is used for judging the type of the node to be newly added according to the operation information, wherein the type is an approval node or a condition node;
the newly-added examination and approval unit is used for acquiring examination and approval configuration data corresponding to the examination and approval node from a preset configuration management database according to the functional key when the type of the node to be newly added is judged to be the examination and approval node, and generating the newly-added examination and approval node according to the examination and approval configuration data and the operation information;
and the newly added condition unit is used for acquiring condition configuration data corresponding to the condition node from the configuration management database according to the function key when the node to be newly added is judged to be the condition node, and generating the newly added condition node according to the condition configuration data and the operation information.
7. The visual configuration device of approval process according to claim 6, wherein the newly added approval unit comprises:
the node obtaining subunit is used for obtaining node information of the current node, wherein the node information comprises node position information of form circulation of the current node in an approval process chain;
the acquisition and approval subunit is used for acquiring data of an approver according to the operation information, and judging whether the newly added approver node and the current node belong to the same level node according to the data of the approver while generating the newly added approver node;
the synchronization node subunit is used for judging that the newly added examination and approval node and the current node belong to the same level node, and synchronizing the positions of the newly added examination and approval node and the current node so that the form can simultaneously reach the newly added examination and approval node and the current node when circulating in an examination and approval process;
and the inserting node subunit is used for judging that the newly added examination and approval node and the current node do not belong to the same level node, and inserting the newly added examination and approval node between the current node and the next node.
8. The visual configuration device of approval process according to claim 7, wherein the newly added condition unit comprises:
the determining information subunit is used for determining the condition number and the corresponding condition information according to the operation information;
the node generating subunit is used for generating corresponding newly added condition nodes according to each condition information and the condition configuration data;
and the butt joint node subunit is configured to butt joint, according to the condition information of each newly added condition node, each newly added condition node with a corresponding subsequent node to form an entire approval process chain, where the subsequent node is a next node that enters after the condition in the newly added condition node is met.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program implements the steps of the approval process visual configuration method of any one of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the approval process visualization configuration method of any one of claims 1 to 6.
CN202110432397.1A 2021-04-21 2021-04-21 Visual configuration method and device for approval process Pending CN113126864A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110432397.1A CN113126864A (en) 2021-04-21 2021-04-21 Visual configuration method and device for approval process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110432397.1A CN113126864A (en) 2021-04-21 2021-04-21 Visual configuration method and device for approval process

Publications (1)

Publication Number Publication Date
CN113126864A true CN113126864A (en) 2021-07-16

Family

ID=76778782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110432397.1A Pending CN113126864A (en) 2021-04-21 2021-04-21 Visual configuration method and device for approval process

Country Status (1)

Country Link
CN (1) CN113126864A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115422414A (en) * 2022-10-11 2022-12-02 广州盛祺信息科技股份有限公司 Visual configuration method for approval process

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130332873A1 (en) * 2012-06-12 2013-12-12 Qvera, Llc Health Information Mapping System With Graphical Editor
US20160350683A1 (en) * 2015-06-01 2016-12-01 Cisco Technology, Inc. Business process modeling based on network traffic
CN109784829A (en) * 2018-12-11 2019-05-21 平安科技(深圳)有限公司 Approval process Dynamic Configuration, device, computer equipment and storage medium
CN110377269A (en) * 2019-06-17 2019-10-25 平安科技(深圳)有限公司 Business approval system configuration method, apparatus and storage medium
CN110400116A (en) * 2018-04-24 2019-11-01 优信拍(北京)信息科技有限公司 A kind of processing method based on enterprise's office circulation examination & approval, apparatus and system
CN111090478A (en) * 2019-12-20 2020-05-01 金蝶软件(中国)有限公司 ERP system business approval flow configuration method and related device
CN111598533A (en) * 2020-05-06 2020-08-28 北京金山云网络技术有限公司 Process approval processing method and device, electronic equipment and storage medium
CN111949258A (en) * 2020-08-14 2020-11-17 工银科技有限公司 Approval process construction method, device and system
CN112036736A (en) * 2020-08-28 2020-12-04 杭州指令集智能科技有限公司 Workflow creating method and device
CN112527250A (en) * 2020-11-18 2021-03-19 温州市易能软件有限公司 Software development platform based on visualization

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130332873A1 (en) * 2012-06-12 2013-12-12 Qvera, Llc Health Information Mapping System With Graphical Editor
US20160350683A1 (en) * 2015-06-01 2016-12-01 Cisco Technology, Inc. Business process modeling based on network traffic
CN110400116A (en) * 2018-04-24 2019-11-01 优信拍(北京)信息科技有限公司 A kind of processing method based on enterprise's office circulation examination & approval, apparatus and system
CN109784829A (en) * 2018-12-11 2019-05-21 平安科技(深圳)有限公司 Approval process Dynamic Configuration, device, computer equipment and storage medium
CN110377269A (en) * 2019-06-17 2019-10-25 平安科技(深圳)有限公司 Business approval system configuration method, apparatus and storage medium
CN111090478A (en) * 2019-12-20 2020-05-01 金蝶软件(中国)有限公司 ERP system business approval flow configuration method and related device
CN111598533A (en) * 2020-05-06 2020-08-28 北京金山云网络技术有限公司 Process approval processing method and device, electronic equipment and storage medium
CN111949258A (en) * 2020-08-14 2020-11-17 工银科技有限公司 Approval process construction method, device and system
CN112036736A (en) * 2020-08-28 2020-12-04 杭州指令集智能科技有限公司 Workflow creating method and device
CN112527250A (en) * 2020-11-18 2021-03-19 温州市易能软件有限公司 Software development platform based on visualization

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115422414A (en) * 2022-10-11 2022-12-02 广州盛祺信息科技股份有限公司 Visual configuration method for approval process
CN115422414B (en) * 2022-10-11 2023-07-11 广州盛祺信息科技股份有限公司 Visual configuration method for approval process

Similar Documents

Publication Publication Date Title
US9026984B2 (en) Integrated design application system
US7945907B2 (en) System and method for configuring application programs
US11775262B2 (en) Multi-technology visual integrated data management and analytics development and deployment environment
US11593336B2 (en) Data pipeline branching
US20100287459A1 (en) Reusable business logic across user interface containers
US20130254736A1 (en) Generating a semantic graph that allows a user to intelligently and efficiently connect with people and assets involved in projects
US20230086854A1 (en) Dynamically controlling case model structure using case fragments
US8548967B1 (en) System for visual query and manipulation of configuration management records
CN110865806B (en) Code processing method, device, server and storage medium
Jena et al. Test case creation from UML sequence diagram: a soft computing approach
US20070156742A1 (en) Visual modeling method and apparatus
CN113126864A (en) Visual configuration method and device for approval process
Libal et al. The NAI Suite-Drafting and Reasoning over Legal Texts.
US11928627B2 (en) Workflow manager
CN116579593A (en) Service processing method, device, electronic equipment and computer readable storage medium
US11526895B2 (en) Method and system for implementing a CRM quote and order capture context service
US20210103864A1 (en) Computer System and Method for Facilitating Creation and Management of an Inspection and Test Plan for a Construction Project
US20070156755A1 (en) Data source mapping method and apparatus
CN113806327A (en) Database design method and device and related equipment
JP6662153B2 (en) Program creation system
KR102598516B1 (en) Content editing service providing method battery for developing application and apparatus therefor
Agarwal et al. Usability evaluation of component based software system using software metrics
CN113656022A (en) Software development method and device, computer equipment and storage medium
AU2014203609A1 (en) Method and apparatus for managing corporate data
CN114240343A (en) Workflow list configuration method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210716

WD01 Invention patent application deemed withdrawn after publication