CN109801034A - Visible process list configuration method, device, computer equipment and storage medium - Google Patents
Visible process list configuration method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109801034A CN109801034A CN201811532697.1A CN201811532697A CN109801034A CN 109801034 A CN109801034 A CN 109801034A CN 201811532697 A CN201811532697 A CN 201811532697A CN 109801034 A CN109801034 A CN 109801034A
- Authority
- CN
- China
- Prior art keywords
- flow chart
- state node
- terminal
- premise
- node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
This application discloses a kind of visible process list configuration method, device, computer equipment and storage mediums, wherein, method includes: the flow chart generation request that server receiving terminal is sent, wherein the flow chart, which generates request, carries the location information that the corresponding state node of the flow chart is in the process;Whether the premise data for judging that the terminal is submitted is complete, and the premise data is data needed for generating the flow chart;If the premise all information, according to the value of M/N, to judge the stage locating for the state node, wherein the state node is the m-th state node in the process, the process has N number of state node;According to stage locating for preset state node and flow chart parameter corresponding relationship, the flow chart parameter to match with the m-th state node is automatically generated;The flow chart parameter is sent to the terminal.To have fast, efficient technical effect.
Description
Technical field
This application involves computer field is arrived, a kind of visible process list configuration method, device, meter are especially related to
Calculate machine equipment and storage medium.
Background technique
Do work (such as electronic flow list) with no paper at all at present by big well-established, wherein be applied to leave request examination & approval,
The processes such as scheme examination & approval, loan examination & approval can use a series of flow chart mostly, and the flow chart of different flow nodes is respectively not
It is identical, have the characteristics that different.For example, each not phase of the font of the flow chart of different flow nodes, font color, background color
Together, to intuitively distinguish flow chart and its locating node.But the prior art is to carry out increase stream to a certain process
Journey list, deletes flow chart at modification process list, needs to modify to the respective code of mobile terminal, later further according to phase
It answers code to generate corresponding form parameters (font, font color, background color etc.) in mobile terminal, that is, needs more more complex
The step of, it can also occupy the calculation power of mobile terminal.
Summary of the invention
The main purpose of the application is to provide a kind of visible process list configuration method, device, computer equipment and deposit
Storage media, it is intended to fast, efficiently product process list.
In order to achieve the above-mentioned object of the invention, the application proposes a kind of visible process list configuration method, comprising:
The flow chart that server receiving terminal is sent generates request, carries wherein the flow chart generates request
State the location information that the corresponding state node of flow chart is in the process;
Whether the premise data for judging that the terminal is submitted is complete, and the premise data is needed for generating the flow chart
Data;
If the premise all information, according to the value of M/N, to judge the stage locating for the state node, wherein the shape
State node is the m-th state node in the process, and the process has N number of state node, the value of the M and the N
It is obtained from the location information that the flow chart status node is in the process;
According to stage locating for preset state node and flow chart parameter corresponding relationship, automatically generate and the m-th
The flow chart parameter that state node matches;
The flow chart parameter is sent to the terminal.
Further, whether the premise data for judging that the terminal is submitted is complete, and the premise data is generation institute
Before the step of stating data needed for flow chart, comprising:
Judge whether the terminal has the permission for generating the flow chart;
If not having the permission, refuses the request Concurrency and go out prompting message;
If having the permission, the instruction of " whether the premise data for judging that the terminal is submitted is complete " is generated.
Further, the flow chart generates request and carries the flow chart generic information, the judgement
The step of whether the premise data that the terminal is submitted is complete, and the premise data is data needed for generating the flow chart,
Include:
The preset flow chart generic and the premise data corresponding relationship are inquired, according to the flow chart
Generic obtains and generates the premise data information that the flow chart should have;
Whether the premise data for judging that the terminal is submitted is consistent with the premise data information;
If the premise data that the terminal is submitted is consistent with the premise data information, determine what the terminal was submitted
Premise all information;
If the premise data that the terminal is submitted is not met with the premise data information, determine what the terminal was submitted
Premise data is not complete.
Further, if the premise all information, according to the value of M/N, to judge rank locating for the state node
Section, wherein the state node is the m-th state node in the process, the process has the step of N number of state node
Suddenly, comprising:
If the value of M/N less than 1/3, determines that the state node is in the first stage;
If the value of M/N determines that the state node is in second stage less than 2/3 and more than or equal to 1/3;
If the value of M/N is more than or equal to 2/3, determine that the state node is in the phase III.
Further, the stage according to locating for preset state node and flow chart parameter corresponding relationship, it is automatic raw
The step of at the flow chart parameter to match with the m-th state node, comprising:
If the m-th state node is in the first stage, the first color is set by the font color;
If the m-th state node is in second stage, second of color is set by the font color;
If the m-th state node is in the phase III, the third color is set by the font color.
Further, the flow chart generation request for receiving terminal and sending, wherein the flow chart generates request
Before the step of carrying the location information that the corresponding state node of the flow chart is in the process, comprising:
Receive by administrator input modify to the state node in the process, delete or it is increased first finger
It enables;
According to first instruction, the state node of the process is modified, deletes or increased.
Further, the flow chart generation request for receiving terminal and sending, wherein the flow chart generates request
Before the step of carrying the location information that the corresponding state node of the flow chart is in the process, comprising:
What reception was inputted by administrator, it is corresponding with the flow chart parameter to the stage locating for the preset state node
The second instruction that relationship is modified;
According to second instruction, it is corresponding with the flow chart parameter to modify the stage locating for the preset state node
Relationship.
The application provides a kind of visible process list configuration device, comprising:
Flow chart generates request reception unit, and the flow chart for receiving terminal transmission generates request, wherein described
Flow chart generates request and carries the location information that the corresponding state node of the flow chart is in the process;
Premise data judging unit, whether the premise data for judging that the terminal is submitted is complete, the premise data
For data needed for the generation flow chart;
Stage judging unit locating for state node, if the premise all information is used for, according to the value of M/N, to judge
The stage locating for state node is stated, wherein the state node is the m-th state node in the process, the process has
The value of N number of state node, the M and the N are in the position in the process from the flow chart status node and believe
It is obtained in breath;
Flow chart parameter generating unit, it is corresponding with flow chart parameter for the stage according to locating for preset state node
Relationship automatically generates the flow chart parameter to match with the m-th state node;
The flow chart parameter is sent to the terminal by flow chart parameter transmission unit.
The application provides a kind of computer equipment, including memory and processor, and the memory is stored with computer journey
The step of sequence, the processor realizes any of the above-described the method when executing the computer program.
The application provides a kind of computer readable storage medium, is stored thereon with computer program, the computer program
The step of method described in any of the above embodiments is realized when being executed by processor.
Visible process list configuration method, device, computer equipment and the storage medium of the application, by judging state
Stage locating for node automatically generates flow chart parameter on the server, then the flow chart parameter is sent to terminal, from
And avoid not via server and only operate cumbersomely in list modification by terminal, there is fast, efficient technology effect
Fruit.
Detailed description of the invention
Fig. 1 is the flow diagram of the visible process list configuration method of one embodiment of the application;
Fig. 2 is the structural schematic block diagram of the visible process list configuration device of one embodiment of the application;
Fig. 3 is the structural schematic block diagram of the computer equipment of one embodiment of the application.
The application purpose is realized, the embodiments will be further described with reference to the accompanying drawings for functional characteristics and advantage.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Referring to Fig.1, the embodiment of the present application provides a kind of visible process list configuration method, comprising steps of
The flow chart that S1, server receiving terminal are sent generates request, carries wherein the flow chart generates request
There is the corresponding state node of the flow chart to be in the location information in the process;
Whether S2, the premise data for judging that the terminal is submitted are complete, and the premise data is to generate the flow chart
Required data;
If S3, the premise all information, according to the value of M/N, to judge the stage locating for the state node, wherein described
State node is the m-th state node in the process, and the process has N number of state node, the M and N's
Value is obtained from the location information that the flow chart status node is in the process;
S4, the stage according to locating for preset state node and flow chart parameter corresponding relationship, automatically generate and the M
The flow chart parameter that a state node matches;
S5, the flow chart parameter is sent to the terminal.
As described in above-mentioned steps S1, the flow chart that server receiving terminal is sent generates request, wherein the flow table
Single generate requests to carry the location information that the corresponding state node of the flow chart is in the process.Flow chart is
Refer to the list generated under the different conditions node of a process.The terminal includes fixed terminal or mobile terminal, preferably
Mobile terminal.Wherein, flow chart generates request and can send in first state node of the process, can also be in centre
It is sent when state node.
As described in above-mentioned steps S2, whether the premise data for judging that the terminal is submitted is complete, and the premise data is made a living
At data needed for the flow chart.When generating the flow chart and need premise data, such as generating loan list, it should provide
Creditor's information (such as identity card);When generating sick leave list, should provide case history is proved.When the premise data that the terminal is submitted
When complete, next step is just carried out.Wherein, the premise data judge premise data that the terminal is submitted it is whether complete it
Before, it is submitted by the terminal;Alternatively, while whether the premise data for judging that the terminal is submitted complete, by the terminal
It submits.
As described in above-mentioned steps S3, if the premise all information, according to the value of M/N, to judge the state node institute
In place's stage, wherein the state node is the m-th state node in the process, the process has N number of state node,
The value of the M and N is obtained from the location information that the flow chart status node is in the process.Pass through
M/N calculates which that the flow chart status node is located at the process in stage.
As described in above-mentioned steps S4, according to stage locating for preset state node and flow chart parameter corresponding relationship, certainly
It is dynamic to generate the flow chart parameter to match with the m-th state node.Due to the important journey of the flow chart of different phase
Degree is different, it is possible to which the flow chart parameter by including at least the font color of Status Name is distinguish.Such as it provides a loan
In flow chart, when the rigid incipient stage, a possibility that loan transaction is completed, is not high, therefore significance level is lower, can be with black
Font is shown;When later stage, it can be shown with fonts such as red.
As described in above-mentioned steps S5, the flow chart parameter is sent to the terminal.Before as described in step, automatically
Generate the flow chart parameter to match with the state node.Therefore the terminal only need to be according to the flow chart parameter
Produce flow chart.
In one embodiment, whether the premise data for judging that the terminal is submitted is complete, the premise data
Before step S2 for data needed for the generation flow chart, comprising:
S11, judge whether the terminal has the permission for generating the flow chart;
If S12, not having the permission, refuses the request Concurrency and go out prompting message;
If S13, there is the permission, the instruction of " whether the premise data for judging that the terminal is submitted is complete " is generated.
As described above, realizing permission judgement.If the terminal does not have flow chart to generate permission, need not carry out subsequent
Judgement, directly refuses the request Concurrency and goes out prompting message.Wherein judge whether the terminal has and generates the flow chart
The method of permission include: the terminal authorization data that prestore of inquiry, judge the terminal intrinsic code (such as machine code,
Or software version number) whether there is the permission for generating the flow chart;Alternatively, the user right data that inquiry prestores, sentence
Whether the user of the open close excessively described terminal landing has the permission for generating the flow chart.For example, prompting message can be " power
Limit is insufficient, whether correct please verify account number cipher ", " whether insufficient permission, PLSCONFM select wrong flow chart " etc., to remind end
Hold corresponding user right insufficient.
In one embodiment, the flow chart generates request and carries the flow chart generic information,
Whether the premise data for judging that the terminal is submitted is complete, and the premise data is data needed for generating the flow chart
Step S2, comprising:
S201, the preset flow chart generic of inquiry and the premise data corresponding relationship, according to the stream
Journey list generic obtains and generates the premise data information that the flow chart should have;
Whether S202, the premise data for judging that the terminal is submitted are consistent with the premise data information;
If the premise data that S203, the terminal are submitted is consistent with the premise data information, the terminal is determined
The premise all information of submission;
If the premise data that S204, the terminal are submitted is not met with the premise data information, the terminal is determined
The premise data of submission is not complete.
As described above, whether realize the premise data for judging that the terminal is submitted complete.Different classes of flow chart
Premise data it is also different, it is whether complete that the premise data for judging that the terminal is submitted should be corresponded to accordingly.Such as salary can be borrowed
It includes loan personnel identity information that the premise data of flow chart, which is preset as, loan personnel take in proof, loan personnel's unit is believed
Breath;The premise data of sick leave list is preset as certificate for sick leave.Judge again premise data that the terminal is submitted whether with it is described
Premise data information is consistent, if complying fully with, determines complete;If thering is one not meet, determine incomplete.
In one embodiment, if the premise all information, according to the value of M/N, to judge the state section
In the point locating stage, wherein the state node is the m-th state node in the process, the process has N number of state
The value of node, the M and N is obtained from the location information that the flow chart status node is in the process
Step S3, comprising:
If the value of S301, M/N less than 1/3, determine that the state node is in the first stage;
If the value of S302, M/N determine that the state node is in second stage less than 2/3 and more than or equal to 1/3;
If the value of S303, M/N are more than or equal to 2/3, determine that the state node is in the phase III.
As described above, according to the value of M/N, to judge the stage locating for the state node.Wherein the state node is place
In the m-th state node of the process, the process has N number of state node.M/N is compared with 1/3,2/3, it can be with
Judge that the state node is in first stage of the process, second stage, which in the phase III in stage.In turn,
Different form parameters can be transferred according to different phase.
In one embodiment, the stage according to locating for preset state node pass corresponding with flow chart parameter
System, automatically generates the step S4 of the flow chart parameter to match with the m-th state node, comprising:
If S401, the m-th state node are in the first stage, the first color is set by the font color;
If S402, the m-th state node are in second stage, second of color is set by the font color;
If S403, the m-th state node are in the phase III, the third color is set by the font color.
As described above, realizing the stage according to locating for state node, different font colors is set.Wherein, the first stage,
Second stage, the importance of phase III successively improve, therefore the first preferred color, second of color, the third color
Boldness successively improves.Such as the first color is black, second of color is green, the third color is red.
In one embodiment, the flow chart generation request for receiving terminal and sending, wherein the flow chart
Generation request carries the corresponding state node of the flow chart and is in front of the step S1 of the location information in the process,
Include:
S01, it receives and is modified, deleted or increased the to the state node in the process by what administrator inputted
One instruction;
S02, it is instructed according to described first, modifies, deletes or increase the state node of the process.
As described in above-mentioned steps S01-S02, modification, deletion or the state node for increasing the process are realized.Process
State node sometimes for modification, deletion or increase, at this time using administrator right, modify in server, delete
Remove or increase operation.Such as process X has n flow nodes altogether, should wherein increase the flow nodes audited now,
The first instruction for increasing state node can be inputted by administrator, so that flow nodes are become n+1.The wherein administrator
Refer to the account for having modification authority to server.
In one embodiment, the flow chart generation request for receiving terminal and sending, wherein the flow chart
Generation request carries the corresponding state node of the flow chart and is in front of the step S1 of the location information in the process,
Include:
S03, reception are inputted by administrator, to stage locating for the preset state node and the flow chart parameter
The second instruction that corresponding relationship is modified;
S04, it is instructed according to described second, modifies stage locating for the preset state node and the flow chart parameter
Corresponding relationship.
The parameter that the flow chart should have is modified as described above, realizing.Stage locating for state node and the stream
Journey form parameters corresponding relationship is preset, but can be modified on the server to it by administrator right.Such as the
The font color in one stage is black, the font color of first stage can be become blue according to administrator right.To play
Unified modification corresponding relationship, and avoid the prior art when needing to modify parameter corresponding relationship, it needs to adjust code in terminal
The shortcomings that modification.
The visible process list configuration method of the application, by judging the stage locating for state node, on the server certainly
Dynamic product process form parameters, then the flow chart parameter is sent to terminal, so as to avoid not via server and only
Operate cumbersomely in list modification by terminal, there is fast, efficient technical effect.
Referring to Fig. 2, the embodiment of the present application provides a kind of visible process list configuration device, comprising:
Flow chart generates request reception unit 10, and the flow chart for receiving terminal transmission generates request, wherein institute
It states flow chart generation request and carries the location information that the corresponding state node of the flow chart is in the process;
Premise data judging unit 20, whether the premise data for judging that the terminal is submitted is complete, the premise money
Material is data needed for the generation flow chart;
Stage judging unit 30 locating for state node, if the premise all information is used for, according to the value of M/N, to judge
Stage locating for the state node, wherein the state node is the m-th state node in the process, the process tool
There is N number of state node, the value of the M and N is in the position in the process from the flow chart status node
It is obtained in information;
Flow chart parameter generating unit 40, for the stage according to locating for preset state node and flow chart parameter pair
It should be related to, automatically generate the flow chart parameter to match with the m-th state node;
The flow chart parameter is sent to the terminal by flow chart parameter transmission unit 50.
As described in said units 10, the flow chart that server receiving terminal is sent generates request, wherein the flow table
Single generate requests to carry the location information that the corresponding state node of the flow chart is in the process.Flow chart is
Refer to the list generated under the different conditions node of a process.The terminal includes fixed terminal or mobile terminal, preferably
Mobile terminal.Wherein, flow chart generates request and can send in first state node of the process, can also be in centre
It is sent when state node.
As described in said units 20, whether the premise data for judging that the terminal is submitted is complete, and the premise data is made a living
At data needed for the flow chart.When generating the flow chart and need premise data, such as generating loan list, it should provide
Creditor's information (such as identity card);When generating sick leave list, should provide case history is proved.When the premise data that the terminal is submitted
When complete, next step is just carried out.Wherein, the premise data judge premise data that the terminal is submitted it is whether complete it
Before, it is submitted by the terminal;Alternatively, while whether the premise data for judging that the terminal is submitted complete, by the terminal
It submits.
As described in said units 30, if the premise all information, according to the value of M/N, to judge the state node institute
In place's stage, wherein the state node is the m-th state node in the process, the process has N number of state node,
The value of the M and N is obtained from the location information that the flow chart status node is in the process.Pass through
M/N calculates which that the flow chart status node is located at the process in stage.
As described in said units 40, according to stage locating for preset state node and flow chart parameter corresponding relationship, certainly
It is dynamic to generate the flow chart parameter to match with the m-th state node.Due to the important journey of the flow chart of different phase
Degree is different, it is possible to which the flow chart parameter by including at least the font color of Status Name is distinguish.Such as it provides a loan
In flow chart, when the rigid incipient stage, a possibility that loan transaction is completed, is not high, therefore significance level is lower, can be with black
Font is shown;When later stage, it can be shown with fonts such as red.
As described in said units 50, the flow chart parameter is sent to the terminal.Before as described in step, automatically
Generate the flow chart parameter to match with the state node.Therefore the terminal only need to be according to the flow chart parameter
Produce flow chart.
In one embodiment, described device, comprising:
Permission judging unit, for judging whether the terminal has the permission for generating the flow chart;
Refuse unit, if refusing the request Concurrency for not having the permission and going out prompting message;
Instruction generation unit " judges whether is premise data that the terminal is submitted if generating for having the permission
It is complete " instruction.
As described above, realizing permission judgement.If the terminal does not have flow chart to generate permission, need not carry out subsequent
Judgement, directly refuses the request Concurrency and goes out prompting message.Wherein judge whether the terminal has and generates the flow chart
The method of permission include: the terminal authorization data that prestore of inquiry, judge the terminal intrinsic code (such as machine code,
Or software version number) whether there is the permission for generating the flow chart;Alternatively, the user right data that inquiry prestores, sentence
Whether the user of the open close excessively described terminal landing has the permission for generating the flow chart.For example, prompting message can be " power
Limit is insufficient, whether correct please verify account number cipher ", " whether insufficient permission, PLSCONFM select wrong flow chart " etc., to remind end
Hold corresponding user right insufficient.
In one embodiment, the premise data judging unit 20, comprising:
The premise data information that has obtains subelement, for inquire the preset flow chart generic with it is described
Premise data corresponding relationship obtains according to the flow chart generic and generates the premise money that the flow chart should have
Expect information;
The whether complete subelement of premise data, for judging whether premise data that the terminal is submitted provides with the premise
Material information is consistent;
Complete judgement subelement, if the premise data for the terminal to be submitted is consistent with the premise data information,
Then determine the premise all information that the terminal is submitted;
Incomplete judgement subelement, if the premise data for the terminal to be submitted is not inconsistent with the premise data information
It closes, then the premise data for determining that the terminal is submitted is not complete.
As described above, whether realize the premise data for judging that the terminal is submitted complete.Different classes of flow chart
Premise data it is also different, it is whether complete that the premise data for judging that the terminal is submitted should be corresponded to accordingly.Such as salary can be borrowed
It includes loan personnel identity information that the premise data of flow chart, which is preset as, loan personnel take in proof, loan personnel's unit is believed
Breath;The premise data of sick leave list is preset as certificate for sick leave.Judge again premise data that the terminal is submitted whether with it is described
Premise data information is consistent, if complying fully with, determines complete;If thering is one not meet, determine incomplete.
In one embodiment, stage judging unit 30 locating for the state node, comprising:
First stage judgment sub-unit, if the value for M/N less than 1/3, determines that the state node is in the first rank
Section;
Second stage judgment sub-unit, if the value for M/N determines the state section less than 2/3 and more than or equal to 1/3
Point is in second stage;
Phase III judgment sub-unit determines that the state node is in the if the value for M/N is more than or equal to 2/3
Three stages.
As described above, according to the value of M/N, to judge the stage locating for the state node.Wherein the state node is place
In the m-th state node of the process, the process has N number of state node, and the value of the M and the N is from the process
It is obtained in the location information that list status node is in the process.M/N is compared with 1/3,2/3, can be sentenced
It is disconnected go out the state node be in first stage of the process, second stage, which in the phase III in stage.In turn, may be used
According to different phase, and transfer different form parameters.
In one embodiment, the flow chart parameter generating unit 40, comprising:
Subelement is arranged in the first color, if the first stage is in for the m-th state node, by the font face
Color is set as the first color;
Subelement is arranged in second of color, if second stage is in for the m-th state node, by the font face
Color is set as second of color;
Subelement is arranged in the third color, if the phase III is in for the m-th state node, by the font face
Color is set as the third color.
As described above, realizing the stage according to locating for state node, different font colors is set.Wherein, the first stage,
Second stage, the importance of phase III successively improve, therefore the first preferred color, second of color, the third color
Boldness successively improves.Such as the first color is black, second of color is green, the third color is red.
In one embodiment, described device, comprising:
First instruction receiving unit, for receiving repairing to the state node in the process by administrator's input
Change, delete or it is increased first instruction;
State node processing unit, for modifying, deleting or increasing the state of the process according to first instruction
Node.
As described in above-mentioned steps S01-S02, modification, deletion or the state node for increasing the process are realized.Process
State node sometimes for modification, deletion or increase, at this time using administrator right, modify in server, delete
Remove or increase operation.Such as process X has n flow nodes altogether, should wherein increase the flow nodes audited now,
The first instruction for increasing state node can be inputted by administrator, so that flow nodes are become n+1.The wherein administrator
Refer to the account for having modification authority to server.
In one embodiment, described device, comprising:
Second instruction receiving unit, for receiving by administrator's input, to the stage locating for the preset state node
The second instruction modified with the flow chart parameter corresponding relationship;
Unit is modified, for modifying stage locating for the preset state node and the stream according to second instruction
Journey form parameters corresponding relationship.
The parameter that the flow chart should have is modified as described above, realizing.Stage locating for state node and the stream
Journey form parameters corresponding relationship is preset, but can be modified on the server to it by administrator right.Such as the
The font color in one stage is black, the font color of first stage can be become blue according to administrator right.To play
Unified modification corresponding relationship, and avoid the prior art when needing to modify parameter corresponding relationship, it needs to adjust code in terminal
The shortcomings that modification.
The visible process list configuration device of the application, by judging the stage locating for state node, on the server certainly
Dynamic product process form parameters, then the flow chart parameter is sent to terminal, so as to avoid not via server and only
Operate cumbersomely in list modification by terminal, there is fast, efficient technical effect.
Referring to Fig. 3, a kind of computer equipment is also provided in the embodiment of the present invention, which can be server,
Its internal structure can be as shown in the figure.The computer equipment includes that the processor, memory, network connected by system bus connects
Mouth and database.Wherein, the processor of the Computer Design is for providing calculating and control ability.The storage of the computer equipment
Device includes non-volatile memory medium, built-in storage.The non-volatile memory medium be stored with operating system, computer program and
Database.The internal memory provides environment for the operation of operating system and computer program in non-volatile memory medium.The meter
The database of machine equipment is calculated for data used in stored visualisation flow chart configuration method.The network interface of the computer equipment
For being communicated with external terminal by network connection.To realize a kind of visualization stream when the computer program is executed by processor
Journey list configuration method.
Above-mentioned processor executes above-mentioned visible process list configuration method, comprising: the stream that server receiving terminal is sent
Journey list generates request, wherein flow chart generation request carries the corresponding state node of the flow chart and is in institute
State the location information in process;Whether the premise data for judging that the terminal is submitted is complete, and the premise data is described in generation
Data needed for flow chart;If the premise all information, according to the value of M/N, to judge the stage locating for the state node,
Described in state node be the m-th state node in the process, the process have N number of state node, the M and institute
The value for stating N is obtained from the location information that the flow chart status node is in the process;According to preset shape
Stage locating for state node and flow chart parameter corresponding relationship, automatically generate the process to match with the m-th state node
Form parameters;The flow chart parameter is sent to the terminal.
In one embodiment, whether the premise data for judging that the terminal is submitted is complete, the premise data
Before the step of for data needed for generating the flow chart, comprising: judge whether the terminal has and generate the flow table
Single permission;If not having the permission, refuses the request Concurrency and go out prompting message;If having the permission, generate
The instruction of " whether the premise data for judging that the terminal is submitted is complete ".
In one embodiment, the flow chart generates request and carries the flow chart generic information,
Whether the premise data for judging that the terminal is submitted is complete, and the premise data is data needed for generating the flow chart
The step of, comprising: the preset flow chart generic of inquiry and the premise data corresponding relationship, according to the process
List generic obtains and generates the premise data information that the flow chart should have;Judge the premise that the terminal is submitted
Whether data is consistent with the premise data information;If premise data and the premise data information phase that the terminal is submitted
Meet, then determines the premise all information that the terminal is submitted;If premise data and the premise data that the terminal is submitted
Information is not met, then the premise data for determining that the terminal is submitted is not complete.
In one embodiment, if the premise all information, according to the value of M/N, to judge the state section
In the point locating stage, wherein the state node is the m-th state node in the process, the process has N number of state
The value of node, the M and N is obtained from the location information that the flow chart status node is in the process
The step of, comprising: if the value of M/N less than 1/3, determines that the state node is in the first stage;If the value of M/N is less than 2/3
And be more than or equal to 1/3, then determine that the state node is in second stage;If the value of M/N be more than or equal to 2/3, determine described in
State node is in the phase III.
In one embodiment, the stage according to locating for preset state node pass corresponding with flow chart parameter
The step of being, automatically generating the flow chart parameter to match with the m-th state node, comprising: if the m-th state
Node is in the first stage, sets the first color for the font color;If the m-th state node is in second-order
Section, sets second of color for the font color;If the m-th state node is in the phase III, by the font
Color is set as the third color.
In one embodiment, the flow chart generation request for receiving terminal and sending, wherein the flow chart
Before generating the step of request carries the location information that the corresponding state node of the flow chart is in the process, packet
Include: receive by administrator input modify to the state node in the process, delete or it is increased first instruct;Root
According to first instruction, the state node of the process is modified, deletes or increased.
In one embodiment, the flow chart generation request for receiving terminal and sending, wherein the flow chart
Before generating the step of request carries the location information that the corresponding state node of the flow chart is in the process, packet
It includes: what reception was inputted by administrator, to stage locating for the preset state node and the flow chart parameter corresponding relationship
The second instruction modified;According to second instruction, stage locating for the preset state node and the process are modified
Form parameters corresponding relationship.
It will be understood by those skilled in the art that structure shown in figure, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme.
The computer equipment of the application automatically generates flow table by judging the stage locating for state node on the server
One-parameter, then the flow chart parameter is sent to terminal, so as to avoid only table is not carried out by terminal via server
It is operated cumbersomely in single modification, there is fast, efficient technical effect.
One embodiment of the application also provides a kind of computer readable storage medium, is stored thereon with computer program, calculates
Visible process list configuration method is realized when machine program is executed by processor, comprising: the process that server receiving terminal is sent
List generates request, wherein the flow chart, which generates request, carries the corresponding state node of the flow chart in described
Location information in process;Whether the premise data for judging that the terminal is submitted is complete, and the premise data is to generate the stream
Data needed for journey list;If the premise all information, according to the value of M/N, to judge the stage locating for the state node, wherein
The state node be the m-th state node in the process, the process have N number of state node, the M with it is described
The value of N is obtained from the location information that the flow chart status node is in the process;According to preset state
Stage locating for node and flow chart parameter corresponding relationship, automatically generate the flow table to match with the m-th state node
One-parameter;The flow chart parameter is sent to the terminal.
In one embodiment, whether the premise data for judging that the terminal is submitted is complete, the premise data
Before the step of for data needed for generating the flow chart, comprising: judge whether the terminal has and generate the flow table
Single permission;If not having the permission, refuses the request Concurrency and go out prompting message;If having the permission, generate
The instruction of " whether the premise data for judging that the terminal is submitted is complete ".
In one embodiment, the flow chart generates request and carries the flow chart generic information,
Whether the premise data for judging that the terminal is submitted is complete, and the premise data is data needed for generating the flow chart
The step of, comprising: the preset flow chart generic of inquiry and the premise data corresponding relationship, according to the process
List generic obtains and generates the premise data information that the flow chart should have;Judge the premise that the terminal is submitted
Whether data is consistent with the premise data information;If premise data and the premise data information phase that the terminal is submitted
Meet, then determines the premise all information that the terminal is submitted;If premise data and the premise data that the terminal is submitted
Information is not met, then the premise data for determining that the terminal is submitted is not complete.
In one embodiment, if the premise all information, according to the value of M/N, to judge the state section
In the point locating stage, wherein the state node is the m-th state node in the process, the process has N number of state
The value of node, the M and N is obtained from the location information that the flow chart status node is in the process
The step of, comprising: if the value of M/N less than 1/3, determines that the state node is in the first stage;If the value of M/N is less than 2/3
And be more than or equal to 1/3, then determine that the state node is in second stage;If the value of M/N be more than or equal to 2/3, determine described in
State node is in the phase III.
In one embodiment, the stage according to locating for preset state node pass corresponding with flow chart parameter
The step of being, automatically generating the flow chart parameter to match with the m-th state node, comprising: if the m-th state
Node is in the first stage, sets the first color for the font color;If the m-th state node is in second-order
Section, sets second of color for the font color;If the m-th state node is in the phase III, by the font
Color is set as the third color.
In one embodiment, the flow chart generation request for receiving terminal and sending, wherein the flow chart
Before generating the step of request carries the location information that the corresponding state node of the flow chart is in the process, packet
Include: receive by administrator input modify to the state node in the process, delete or it is increased first instruct;Root
According to first instruction, the state node of the process is modified, deletes or increased.
In one embodiment, the flow chart generation request for receiving terminal and sending, wherein the flow chart
Before generating the step of request carries the location information that the corresponding state node of the flow chart is in the process, packet
It includes: what reception was inputted by administrator, to stage locating for the preset state node and the flow chart parameter corresponding relationship
The second instruction modified;According to second instruction, stage locating for the preset state node and the process are modified
Form parameters corresponding relationship.
The computer readable storage medium of the application judges the stage locating for state node using passing through, on the server certainly
Dynamic product process form parameters, then the flow chart parameter is sent to terminal, so as to avoid not via server and only
Operate cumbersomely in list modification by terminal, there is fast, efficient technical effect.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
Any reference used in provided herein and embodiment to memory, storage, database or other media,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double speed are according to rate SDRAM (SSRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, device, article or the method that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, device, article or method institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, device of element, article or method.
The foregoing is merely preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all utilizations
Equivalent structure or equivalent flow shift made by present specification and accompanying drawing content is applied directly or indirectly in other correlations
Technical field, similarly include in the scope of patent protection of the application.
Claims (10)
1. a kind of visible process list configuration method characterized by comprising
The flow chart that server receiving terminal is sent generates request, wherein the flow chart, which generates request, carries the stream
Journey list status node is in the location information in the process;
Whether the premise data for judging that the terminal is submitted is complete, and the premise data is money needed for generating the flow chart
Material;
If the premise all information, according to the value of M/N, to judge the stage locating for the state node, wherein the state section
Point is the m-th state node in the process, and the process has N number of state node, and the value of the M and the N is from institute
It states and is obtained in the location information that flow chart status node is in the process;
According to stage locating for preset state node and flow chart parameter corresponding relationship, automatically generate and the m-th state
The flow chart parameter that node matches;
The flow chart parameter is sent to the terminal.
2. visible process list configuration method according to claim 1, which is characterized in that the judgement terminal mentions
Before the step of whether the premise data of friendship is complete, and the premise data is data needed for generating the flow chart, comprising:
Judge whether the terminal has the permission for generating the flow chart;
If not having the permission, refuses the request Concurrency and go out prompting message;
If having the permission, the instruction of " whether the premise data for judging that the terminal is submitted is complete " is generated.
3. visible process list configuration method according to claim 1, which is characterized in that the flow chart generation is asked
It asks and carries the flow chart generic information, whether the premise data for judging that the terminal is submitted is complete, described
The step of premise data is data needed for generating the flow chart, comprising:
The preset flow chart generic and the premise data corresponding relationship are inquired, according to belonging to the flow chart
Classification obtains and generates the premise data information that the flow chart should have;
Whether the premise data for judging that the terminal is submitted is consistent with the premise data information;
If the premise data that the terminal is submitted is consistent with the premise data information, the premise that the terminal is submitted is determined
All information;
If the premise data that the terminal is submitted is not met with the premise data information, the premise that the terminal is submitted is determined
Data is not complete.
4. visible process list configuration method according to claim 1, which is characterized in that if the premise data
It is complete, according to the value of M/N, to judge the stage locating for the state node, wherein the state node is in the process
M-th state node, the process have N number of state node, and the value of the M and the N is from the flow chart status
The step of being obtained in the location information that node is in the process, comprising:
If the value of M/N less than 1/3, determines that the state node is in the first stage;
If the value of M/N determines that the state node is in second stage less than 2/3 and more than or equal to 1/3;
If the value of M/N is more than or equal to 2/3, determine that the state node is in the phase III.
5. visible process list configuration method according to claim 4, which is characterized in that described according to preset state
Stage locating for node and flow chart parameter corresponding relationship, automatically generate the flow table to match with the m-th state node
One-parameter step, comprising:
If the m-th state node is in the first stage, the first color is set by the font color;
If the m-th state node is in second stage, second of color is set by the font color;
If the m-th state node is in the phase III, the third color is set by the font color.
6. visible process list configuration method according to claim 1, which is characterized in that described to receive what terminal was sent
Flow chart generates request, wherein flow chart generation request carries the corresponding state node of the flow chart and is in
Before the step of location information in the process, comprising:
Receive by administrator input modify to the state node in the process, delete or it is increased first instruct;
According to first instruction, the state node of the process is modified, deletes or increased.
7. visible process list configuration method according to claim 1, which is characterized in that described to receive what terminal was sent
Flow chart generates request, wherein flow chart generation request carries the corresponding state node of the flow chart and is in
Before the step of location information in the process, comprising:
What reception was inputted by administrator, to stage locating for the preset state node and the flow chart parameter corresponding relationship
The second instruction modified;
According to second instruction, the pass corresponding with the flow chart parameter of stage locating for the preset state node is modified
System.
8. a kind of visible process list configuration device characterized by comprising
Flow chart generates request reception unit, and the flow chart for receiving terminal transmission generates request, wherein the process
List generates request and carries the location information that the corresponding state node of the flow chart is in the process;
Premise data judging unit, whether the premise data for judging that the terminal is submitted is complete, and the premise data is made a living
At data needed for the flow chart;
Stage judging unit locating for state node, if the premise all information is used for, according to the value of M/N, to judge the shape
In the stage locating for state node, wherein the state node is the m-th state node in the process, the process has N number of
The value of state node, the M and the N are in the location information in the process from the flow chart status node
It obtains;
Flow chart parameter generating unit, for the pass corresponding with flow chart parameter of the stage according to locating for preset state node
System, automatically generates the flow chart parameter to match with the m-th state node;
The flow chart parameter is sent to the terminal by flow chart parameter transmission unit.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811532697.1A CN109801034A (en) | 2018-12-14 | 2018-12-14 | Visible process list configuration method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811532697.1A CN109801034A (en) | 2018-12-14 | 2018-12-14 | Visible process list configuration method, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109801034A true CN109801034A (en) | 2019-05-24 |
Family
ID=66556747
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811532697.1A Pending CN109801034A (en) | 2018-12-14 | 2018-12-14 | Visible process list configuration method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109801034A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105607907A (en) * | 2015-12-21 | 2016-05-25 | 用友网络科技股份有限公司 | Model-driven control system with workflow engine dynamically switched |
CN106649233A (en) * | 2016-11-17 | 2017-05-10 | 中交第二航务工程局有限公司 | Method and system for processing user-defined worksheet of mobile device |
CN106934587A (en) * | 2015-12-30 | 2017-07-07 | 远光软件股份有限公司 | A kind of data processing method and device |
-
2018
- 2018-12-14 CN CN201811532697.1A patent/CN109801034A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105607907A (en) * | 2015-12-21 | 2016-05-25 | 用友网络科技股份有限公司 | Model-driven control system with workflow engine dynamically switched |
CN106934587A (en) * | 2015-12-30 | 2017-07-07 | 远光软件股份有限公司 | A kind of data processing method and device |
CN106649233A (en) * | 2016-11-17 | 2017-05-10 | 中交第二航务工程局有限公司 | Method and system for processing user-defined worksheet of mobile device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104391934B (en) | Data verification method and device | |
CN109992285B (en) | Independent updating method and device for block chain code block and electronic equipment | |
TWI727281B (en) | Block chain-based data processing method and device, and electronic equipment | |
CN110223040B (en) | Project management method and device, electronic equipment and storage medium | |
WO2020199796A1 (en) | Hotel management method and apparatus, and blockchain node server | |
CN109726229A (en) | A kind of block chain date storage method and device | |
CN111382164B (en) | Service processing method based on block chain network | |
CN109493072A (en) | A method of the privacy contract protection based on alliance's block chain | |
TW202022753A (en) | Invoice creating method and device based on block chain and electronic device | |
CN110351182A (en) | E-mail sending method, device, equipment and computer readable storage medium | |
CN113609219A (en) | Method, system, device and storage medium for verifying file based on block chain | |
CN112100635A (en) | Law enforcement return system and method based on intelligent contract and workflow architecture | |
CN105099983A (en) | Authorization method, authority setting method and devices | |
CN109617695A (en) | Voting method, device, electronic equipment and storage medium based on block chain | |
CN107577700A (en) | The processing method and processing device of database disaster tolerance | |
CN107423395A (en) | Navigation data processing system | |
CN110009497A (en) | Decision-making technique and device and electronic equipment based on block chain | |
CN109388923B (en) | Program execution method and device | |
CN109829821A (en) | A kind of abnormal processing method of digital asset address transfer, apparatus and system | |
CN112651716A (en) | Data processing method, device and storage medium | |
CN105141795A (en) | Unlocking method and system for device to be unlocked | |
CN109801034A (en) | Visible process list configuration method, device, computer equipment and storage medium | |
CN114757747B (en) | Automatic processing method and device for electronic purchase data | |
CN110619566A (en) | On-chain pledge asset return system and method through on-chain digital currency settlement | |
CN115936628A (en) | Data auditing method, device, equipment, storage medium and computer program product |
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 |