CN106202025A - A kind of OA workflow list method for customizing - Google Patents
A kind of OA workflow list method for customizing Download PDFInfo
- Publication number
- CN106202025A CN106202025A CN201610580471.3A CN201610580471A CN106202025A CN 106202025 A CN106202025 A CN 106202025A CN 201610580471 A CN201610580471 A CN 201610580471A CN 106202025 A CN106202025 A CN 106202025A
- Authority
- CN
- China
- Prior art keywords
- control
- workflow
- list
- attribute
- customization
- 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
- 238000000034 method Methods 0.000 title claims abstract description 144
- 230000008569 process Effects 0.000 claims abstract description 41
- 238000012545 processing Methods 0.000 claims abstract description 15
- 238000013461 design Methods 0.000 claims description 3
- 230000007704 transition Effects 0.000 description 8
- 230000006870 function Effects 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000000151 deposition Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000004744 fabric Substances 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- HNPWTDUZIXAJSA-UHFFFAOYSA-N 5,5-dimethyl-2-(3-methylbutanoyl)cyclohexane-1,3-dione Chemical compound CC(C)CC(=O)C1C(=O)CC(C)(C)CC1=O HNPWTDUZIXAJSA-UHFFFAOYSA-N 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 230000009329 sexual behaviour Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000005303 weighing Methods 0.000 description 1
- 238000013396 workstream Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
- G06F40/18—Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/183—Tabulation, i.e. one-dimensional positioning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/10—Office automation; Time management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Business, Economics & Management (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Artificial Intelligence (AREA)
- Health & Medical Sciences (AREA)
- Strategic Management (AREA)
- Human Resources & Organizations (AREA)
- Entrepreneurship & Innovation (AREA)
- General Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Marketing (AREA)
- Economics (AREA)
- Data Mining & Analysis (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of OA workflow list method for customizing, including: in the form editing district of browser, choose in workflow, without the process step of editing and processing by choosing default step control;By choosing the operation in default layout control, it is that the process step chosen carries out tabular process;By choosing the operation in default attribute control, carry out corresponding editing and processing for the table element in the process step that tabular processes;By repetition selecting step control until choosing the final step of workflow, to complete the customization of workflow list.Flow custom and form customization are combined by the method that the present invention provides, and achieve the customization of OA workflow list with settling at one go so that customization procedure simplifies, and customizes in hgher efficiency;And the method eliminates the use of multinomial professional software instrument in prior art, effectively reduces customization operations threshold, practicality is higher.
Description
Technical field
The present invention relates to mobile office technical field, particularly to a kind of OA workflow list method for customizing.
Background technology
Office automation (Office Automation is called for short " OA ") is by modern office and computer network functions
A kind of novel working way combined, along with the application of the Internet is more and more universal, office automation also receives extensively
General application.
Currently marketed OA workflow list method for customizing, mostly uses flow process, list the most individually to customize, completes
After again Integration Mode realize, complex operation, customization procedure efficiency is low, and above-mentioned customization procedure mostly need specialty software work
Having (such as flash, PC program etc.), and outfit is compared professional and just can be completed, operation threshold is high.
Summary of the invention
In order to solve operation complexity in existing OA workflow list customization procedure, customization efficiency is low, and operation threshold is high
Problem, embodiments provides a kind of OA workflow list method for customizing.Described technical scheme is as follows:
Embodiments providing a kind of OA workflow list method for customizing, described method includes:
In the form editing district of browser, choose in workflow by choosing default step control, the most compiled
The process step processed;
By choosing the operation in default layout control, it is that the process step chosen carries out tabular process;
By choosing the operation in default attribute control, carry out for the table element in the process step that tabular processes
Corresponding editing and processing;
Repeat to choose described step control until choosing the final step of workflow, to complete workflow list
Customization.
In the OA workflow list method for customizing that the embodiment of the present invention is above-mentioned, described step control, described layout control
Part, described attribute control are based on HTML (Hyper Text Markup Language is called for short " Html ") 5
The control of design.
In the OA workflow list method for customizing that the embodiment of the present invention is above-mentioned, described layout control includes: a line two
Row operation or a line three row operation.
In the OA workflow list method for customizing that the embodiment of the present invention is above-mentioned, described attribute control includes: single file literary composition
This operation, multiline text operation, drop-down list operation, the operation of multiselect frame, date select operation, current time operation, applicant
Operation, department select operation, current user operation, current door operation, date of birth operation, presently held office and duty operation, sex behaviour
Make, describe at least one in operation.
In the OA workflow list method for customizing that the embodiment of the present invention is above-mentioned, described method also includes:
The described step control chosen carrying out the first attribute customization arrange, described first attribute customization setting includes: mark
Topic arrange, selected state arrange, handler arrange at least one.
In the OA workflow list method for customizing that the embodiment of the present invention is above-mentioned, described method also includes:
The described attribute control chosen carrying out the second attribute customization arrange, described second attribute customization setting includes: mark
Topic arranges, describe arrange, whether must fill out settings, control size is arranged, character length is arranged, sequence number setting, during default value arranges
At least one.
In the OA workflow list method for customizing that the embodiment of the present invention is above-mentioned, described method also includes:
The workflow list customized carries out list setting, and described list arranges and includes: the title of flow chart sets
Put, the description setting of flow chart, in flow process classification setting at least one.
In the OA workflow list method for customizing that the embodiment of the present invention is above-mentioned, described form editing district prestores work
The beginning step of flow process.
In the OA workflow list method for customizing that the embodiment of the present invention is above-mentioned, described method also includes:
The workflow list that will have customized, resolves to the workflow list of preset format;
Workflow list after being resolved by default workflow engine is stored in data base, adjusts for employee
With.
In the OA workflow list method for customizing that the embodiment of the present invention is above-mentioned, described preset format is extensible markup
Language (Extensible Markup Language is called for short " xml ").
The technical scheme that the embodiment of the present invention provides has the benefit that
By the form editing district at browser, choose in workflow by choosing default step control, without
The process step of editing and processing;Then by choosing the operation in default layout control, it is that the process step chosen is carried out
Tabular processes;Then by choosing the operation in default attribute control, for the form in the process step that tabular processes
Element carries out corresponding editing and processing;Finally by repetition selecting step control until choosing the final step of workflow,
To complete the customization of workflow list.Flow custom and form customization are integrated by so this OA workflow list method for customizing
Together, the customization of OA workflow list is achieved with settling at one go so that customization procedure simplifies, and customizes in hgher efficiency;And
And the method is carried out in a browser, and coordinate several preset control, eliminate multinomial professional software work in prior art
The use of tool, effectively reduces customization operations threshold, and practicality is higher.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make
Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for
From the point of view of those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of OA workflow list method for customizing flow chart that the embodiment of the present invention one provides;
Fig. 2 is a kind of OA workflow list method for customizing flow chart that the embodiment of the present invention two provides.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Embodiment one
Embodiments providing a kind of OA workflow list method for customizing, see Fig. 1, the method includes:
Step S11, in the form editing district of browser, chooses in workflow by choosing default step control,
Process step without editing and processing.
In the present embodiment, the customization of OA workflow list is carried out in a browser, and coordinates multiple default
Control (including: step control, layout control, attribute control), eliminates various specialties in existing flow chart customization procedure
The use of software tool, effectively reduces the threshold of flow chart customization operations so that it is practicality is higher.
Step S12, by choosing the operation in default layout control, is that the process step chosen is carried out at tabular
Reason.
It should be noted that flow chart generally comprises flow process and list two parts, in the present embodiment, pre-by choosing
If step control, realize choosing of process step, if this process step has list, then can pass through layout control
Part, it is achieved this process step is carried out tabular process.
Step S13, by choosing the operation in default attribute control, for the form in the process step that tabular processes
Element carries out corresponding editing and processing.
In the present embodiment, by attribute control, realize the form after tabular is processed and carry out table element editor,
Form it into a custom form the most available.
Step S14, repetition selecting step control is until choosing the final step of workflow, to complete flow process chart
Single customization.
In the present embodiment, by repeating selecting step control, it is possible to achieve the customization to workflow, coordinate and choose cloth
Office's control and attribute control, it is possible to achieve to the form customization in process step, and then realize the customization of whole flow chart.
The embodiment of the present invention, by the form editing district of browser, chooses work by choosing default step control
In flow process, without the process step of editing and processing;Then by choosing the operation in default layout control, it is the stream chosen
Journey step carries out tabular process;Then by choosing the operation in default attribute control, the flow process step processed for tabular
Table element in Zhou carries out corresponding editing and processing;Finally by repeating selecting step control until choosing workflow
Final step, to complete the customization of workflow list.So this OA workflow list method for customizing is by flow custom and table
Single customization combines, and achieves the customization of OA workflow list with settling at one go so that customization procedure simplifies, customization effect
Rate is higher;And the method is carried out in a browser, and coordinate several preset control, eliminate in prior art multinomial specially
The use of industry software tool, effectively reduces customization operations threshold, and practicality is higher.
Embodiment two
Embodiments providing a kind of OA workflow list method for customizing, see Fig. 2, the method includes:
Step S21, in the form editing district of browser, chooses in workflow by choosing default step control,
Process step without editing and processing.
In the present embodiment, the customization of OA workflow list is carried out in a browser, and coordinates multiple default
Control (including: step control, layout control, attribute control), eliminates various specialties in existing flow chart customization procedure
The use of software tool, effectively reduces the threshold of flow chart customization operations so that it is practicality is higher.
It should be noted that be preset with the beginning step of workflow in form editing district, i.e. when customizing workflow,
Have only to start from second step.
In actual applications, can be arranged on the left of browser page by default control, form editing district is arranged on clear
Looking in the middle of the device page, the attribute customization of control is arranged and list arranges and is arranged on the right side of browser page.
The concrete operations of step S21 are described as follows: pull control on step control hurdle, left side to form editing district, Zhi Nengfang
Under starting step (this starts step is that form editing district presets), between multiple step controls, can arbitrarily drag conversion position
Put, multiple in order to prevent step name from weighing, after default name step, increase a random number, and acquiescence chooses this attribute control
Part, supports that the deletion of step and attribute are arranged simultaneously.
Being implemented as follows of step S21: " next step an examination & approval " element can be set in step control, by means of
The draggable dragging event of jQueryUI, pulls next step examination & approval step control element < div class=" drags
First_layoutui-draggable " type=" row1line1 " lang=" next step examination & approval " title=" next step examine
Criticize "><em class="i_ico ico_01"></em>next step examination & approval</div>
According to type=row1line1, call tag element needed for increase step control event, the generation step page
Note: in the element of bz_id class pattern, increase a self-defined jbr_name attribute, for depositing the warp of step
Do people, add in Lb_name class pattern element two Custom Attributes (next step step of transition-,
Transition_back-back-off procedure), it is used for depositing workflow step and arranges.
Step S22, carries out the first attribute customization and arranges the step control chosen, and the customization setting of this first attribute includes:
Title arrange, selected state arrange, handler arrange at least one.
In actual applications, in form editing region, click chooses step control, right side attribute to arrange tab bar exhibition
Open, the title of step control, selected state, handler's setting can be carried out.
Specifically, selected state is accomplished in that user chooses a certain step, has Lb_ under this step
The transition attribute of the label of name type increases the title of selected step, under the step chosen, there is Lb_ simultaneously
The transition_back attribute of the label of name type increases the step title being currently at selected state, step and step
CSV is used between Zhou;A certain step is chosen in user's cancellation, has the label of Lb_name type under this step
The title of selected step is replaced with by transition attribute sky (process CSV), simultaneously under cancelling the step chosen
The step title being currently at selected state is replaced by the transition_back attribute of the label with Lb_name type
For empty (process CSV).
Handler is accomplished in that user clicks on handler and increases button, eject enterprise customer (type=0),
Department (type=1), user's group (type=2) tree structure, choose, and clicks on and adds button, is selected on selected right side of adding to
In list, then click on confirming button, be currently at the jbr_name that selected state step has the label of bz_id class pattern
The value of attribute changes selected transactor into, and transactor directly uses CSV, composition form such as 1000010049-Zhang San-0,
1000010060-research and development department-1,1000010060-project manager-2 (id-name-type).
Step S23, by choosing the operation in default layout control, is that the process step chosen is carried out at tabular
Reason.
It should be noted that flow chart generally comprises flow process and list two parts, in the present embodiment, pre-by choosing
If step control, realize choosing of process step, if this process step has list, then can pass through layout control
Part, it is achieved this process step is carried out tabular process.
Specifically, layout control may include that a line two row operation or a line three row operation, so can realize various
The process of form types.
Step S24, by choosing the operation in default attribute control, for the form in the process step that tabular processes
Element carries out corresponding editing and processing.
In the present embodiment, by attribute control, realize the form after tabular is processed and carry out table element editor,
Form it into a custom form the most available.
Specifically, attribute control may include that the operation of single file text maninulation, multiline text, drop-down list operation, multiselect frame
Operation, date select operation, current time operation, applicant's operation, department to select operation, current user operation, current department
Operation, date of birth operation, presently held office and duty operation, sex operate, describe at least one in operation.
In the present embodiment, single file text maninulation edits a small amount of text in flow chart, place of such as working overtime;Multirow
Text maninulation fills in the text box of large amount of text information, reason of such as asking for leave in flow chart;Drop-down list operation is used for
Individual event selective listing in flow chart, list of types of such as asking for leave;The multiselect frame operation multinomial selection in flow chart,
Such as hobby;Date selects operation text box of the selection of Time of Day in the flow chart, such as ask for leave beginning time
Between, ask for leave the end time etc.;Current time operation loads the text box of current time, such as flow chart in flow chart
Application time;Applicant's operation applicant's text box in flow chart, acquiescence loads present application user;Department selects
Operation department in flow chart selects, and acquiescence loads all departments of active user enterprise;Current user operation is used for
Flow chart loads the text box of active user, such as current approver;Current door operation loads in flow chart
The text box of active user affiliated function;Date of birth operation loads the literary composition of the date of birth of active user in flow chart
This frame;Presently held office and duty operation loads the text box of the presently held office and duty of active user in flow chart;Sex operation is used for flowing
Journey list loads the text box of the sex of active user;Operation some explanation to flow chart in flow chart is described
Word, such as workflow explanation.
In actual applications, the operating instruction of above-mentioned steps S24 is as follows: pull control on attribute control hurdle, left side to specifying
In step, placement location can be in layout control, it is also possible to be outside layout control, and acquiescence chooses this attribute control, props up simultaneously
Deletion and the attribute of holding control are arranged.
The realization of above-mentioned steps S24 is described as follows: by means of the draggable dragging event of JqueryUI, according to pulling
Type type of attribute control is different, generates corresponding tag element, on the page as a example by single file text:
1, attribute control regions tag element
< div class=" drags drag " type=" text " lang=" single file text " title=" single file text "
><em class="i_ico ico_06"></em>single file text</div>
2, it is drawn to the control element that step control generates
< input name=" txt201621164159181 " wapid=" text box " type=" text " maxLength
=" 15 " sortNumber=" 1 " value=" test " dbtype=" vchar " showType=" 1 " desc=" "/>
3, pull single file text and call event
functionfun_text(){
Time=Times ();
D_text=$ ("<input/>");
D_text.attr (" type ": " text ", " name ": " txt "+Time, " wapid ": " text box ", "
sortNumber":"1","maxlength":"30","dbtype":"vchar","showType":"1","desc":""});
Fun_usual (" text box ");
Dinpdiv.append(D_text,D_em);
$(".D_inp").removeClass("D_active");
Ddiv.addClass("D_active");
}。
Step S25, carries out the second attribute customization and arranges the attribute control chosen, and the customization setting of this second attribute includes:
Title is arranged, description is arranged, whether must fill out setting, control size is arranged, character length is arranged, sequence number is arranged, default value setting
In at least one.
Applying in reality, at editing area, click chooses attribute control, right side attribute to arrange tab bar expansion, can
Carry out title, description, whether must fill out, the attribute such as control size, character length, sequence number, default value is arranged.
It should be noted that in step S21-S25 of the present embodiment, step control, layout control, attribute control are
Based on Html5 design control so that this OA workflow list method for customizing can compatible most browser, use model
Enclose wide, practical.
Step S26, repetition selecting step control is until choosing the final step of workflow, to complete flow process chart
Single customization.
In the present embodiment, by repeating selecting step control, it is possible to achieve the customization to workflow, coordinate and choose cloth
Office's control and attribute control, it is possible to achieve to the form customization in process step, and then realize the customization of whole flow chart.
Step S27, carries out list setting to the workflow list customized, and this list arranges and includes: flow chart
In title setting, the description setting of flow chart, flow process classification setting at least one.
In actual applications, above-mentioned steps S27 can be accomplished in that
On the right side of click, the list in tab label is arranged.
Now can the title of setting procedure list, describe, and select flow process classification, additionally can select flow chart
User of service's (selection mode with select process step transactor consistent), the top label in form editing region increases by one
Whether jbr_name attribute, for storing the user of service of this list, increases an isalluser attribute simultaneously, for storing
Select whole people to use, if selecting user of service when user customizes, then the user of service of selection is assigned to jbr_name and belongs to
Property, separate with comma between personnel, as follows, if selecting whole people to use, then iaalluser=iaalluser, empty simultaneously
The value of jbr_name attribute.
< div class=" drops_contui-droppable ui-sortable " jbr_name="
Remaining-0,1000010067-Wu Yuan Yuan-0,1000010063-grandson Dong Dong-the 0,1000010062-of rising of 1000010065-seals big
Big-0 " isalluser=" " >.
For some particular form, it is provided that self-defined js Scripting Edition frame, complete some function with this script.
Step S28, the workflow list that will have customized, resolve to the workflow list of preset format.
In the present embodiment, this preset format is xml.
Step S29, the workflow list after being resolved by default workflow engine is stored in data base, for
Employee calls.
In the present embodiment, mode based on XML+HTML for form definition template and flow definition template customizes, right
In form templat and flow template, by customization html list, then resolve to the xml of correspondence, preserved by workflow engine
To data base.
Specific implementation is as follows:
1, form definition template
1.1, template file form
1.2, generate method
1.2.1<base>node
For describing the base attribute of form templat.As: id attribute represents that id, name attribute of list represents the name of list
Claim, desc attribute represents that list describes information, createuser attribute represents the founder of list, createtime attribute represents
The establishment time of list, modifyuser attribute represent the reviser of list, modifytime attribute represent list modification time,
Eid represents enterprise's numbering etc. of list.
Front end obtains the Name and Description information (if amendment list, obtain list id simultaneously) of flow chart, preserves
Time submit to backstage, backstage obtains enterprise's numbering of founder and time and founder, generates<base>node.
1.2.2<inputs>node
<inputs>node, is mainly described by child node<input>the attribute of form tags or uses
Preserve label value.
Obtain the input label in all type=in form customization region " text ", circulate each label, obtain in label
Name, wapid, type, maxsize, sortNumber, value (corresponding to defaultvalue), readonly,
Fixedvalue, checknull property value, it (if page-tag exists, is then corresponding that each label splices following character string
Value, is otherwise provided as sky), wherein dbtype is defaulted as sky, and showType is defaulted as 1
< input name=" t1 " wapid=" " type=" text " maxsize=" 15 " sortNumber=" 1 "
Defalutvalue=" test " readonly=" false " dbtype=" " fixedvalue=" #
Currenttime " showType=" 1 " checknull=" true "/>;
Obtain the label of all textarea in form customization region, circulate each label, obtain the name in label,
Wapid, maxsize, sortNumber, readonly, checknull property value, each label splices following character string, its
Middle dbtype is defaulted as sky, and showType is defaulted as 5
< input name=" t1 " wapid=" t1 " type=" textarea " maxsize=" 15 " sortNumber
=" 1 "
Defalutvalue=" test " readonly=" false " dbtype=" " showType=" 5 " checknull
=" true "/>;
Obtain all type=in form customization region " checkbox " label, circulate each label, obtain in label
Name, wapid, sortNumber, readonly, checknull property value, each label splice following character string, its
Middle dbtype is defaulted as sky, and showType is defaulted as 3
< input name=" t1 " wapid=" t1 " type=" checkbox " sortNumber=" 1 " dbtype=" "
ShowType=" 3 " groupname=" csss "/>;
Obtain the label of all select in form customization region, circulate each label, obtain the name in label,
Wapid, sortNumber, groupname property value, each label splices following character string, and wherein dbtype is defaulted as sky,
Type is defaulted as select, showType and is defaulted as 4, obtains all option under select, circulates each option, obtains
Value and the text value of option label, element, the value value in splicing input is constant, and dese takes text value.
< input name=" t1 " wapid=" t1 " type=" select " sortNumber=" 1 " dbtype=" "
ShowType=" 4 " >
<element desc=" 1 years old " value=" 1 "/>
<element desc=" 2 years old " value=" 2 "/>
</input>;
All type=label (during customization, self-defined type property value is label) in acquisition form customization region
Label label, circulates each label, obtains the name of label, wapid, sortNumber property value, and each label splices
Following character string, wherein dbtype is defaulted as sky, and showType is defaulted as 6, and type is defaulted as label
< input name=" t1 " wapid=" t1 " type=" label " sortNumber=" 1 " dbtype=" "
ShowType=" 6 "/>.
1.2.3<flowpermission>node
For describing the corresponding relation of form controls and procedure links.The child node of<flowpermission>node<
Inputelement name=" bookmark name " state_name=" procedure links title " > by link title and tag name
The binding claimed, so that it is determined that whether label can be used in the link of flow process.
Obtain page list editing area all of process step label (.form_view div [type='
Row1line1']), circulate each step, obtaining step title statename, inquire about owning under this step the most respectively
The attribute control (input [type='text'], textarea, input [type='checkbox'], select) of customization,
Title name of acquisition attribute controls tab, the circulation following character string of splicing < inputelement name="
Txt201605271212121 " state_name=" beginning "/>.
1.2.4<htmlform>node
Only preserve list, the most original html source code, obtain form editing region page html source code.
1.2.5<js>node
Preserve custom script, obtain list and the value of custom script textview field in hurdle is set.
2, flow definition template
2.1 template style
2.2 generate method
2.2.1<basic>node
User profile flow process item essential information;
Front end obtains flow chart and arranges middle flow chart title, description, and flow process classification, passes when flow chart preserves
Enter backstage, generate<flowname>testflow</flowname><itemname>ask for leave application</itemname><
Itemdesc>item describes</itemdesc><itemclass>1</itemclass>, remaining attribute WEB module background system
Automatically generate.
2.2.2<flow>node
For describing procedure links definition xml document, workflow jbpm system according to this xml document product process node and
Intermediate links data, document definition form is as follows:
Obtain and carry under form editing region all of step control (.form_view div [type='row1line1'])
There are the label of class pattern Lb_name, obtaining step title (the text value of label), then obtain the Custom Attributes in this label
Transition attribute (next examines step) and transition_back attribute (rollback examination & approval step);
Resolve transition attribute (CSV), next step circulation character string of circulation splicing flow process
<transition to=\""+transitions [ i ] +"\"name=\""+transitions [ i ] +"\"></
transition>";
Resolving transition_back attribute (CSV), circulation splicing flow process rollback character string, owing to jbpm does not props up
Hold and return back to start other rollback to=" the upper link name of link of all to=of special handling herein " _ _ back_+ starts "
Claim the upper link title of " name=" _ _ back_+ ";
If currently processed process step is for starting step, then need to encapsulate<start-state name=" starts ">
</start-state>, other steps encapsulate<state name=" step 21 "></state>, after loop ends Flow process is terminated in splicing<end-state name=" finishes "></end-state>.
2.2.3<itemrole>node
For describing flow process item operating right personnel
Obtaining the isalluser attribute under (.drops_cont) label, if not being empty, then obtaining jbr_name attribute,
Then resolving, each transactor of CSV (10000-xx-0), circulation splicing is similar such as lower node
<role><roleid>10000</roleid><rolename>xx</rolename><roletype>0</
roletype></role>;
Finally encapsulate<itemrole></itemrole>.
2.2.4<staterole>node
For describing the relation that process step is handled between personnel, select for the transactor during workflow
Obtain institute's control (.form_view div [type='row1line1']) in steps in form editing region, open
Except beginning step, circulate each step, first obtaining step title statename, splice following node character string:
<statename>step title/statename>, then there is under obtaining step control the mark of bz_id class pattern
The jbr_name attribute signed, with the mode of flow process user of service resolves, splices following node character string<role><roleid>
10000</roleid><rolename>xx</rolename><roletype>0</roletype></r ole>;
Finally encapsulate<staterole></staterole>.
3, flow chart warehouse-in processes
Web customized module calls workflow engine and preserves flow chart and the method preserving flow process item, first preserves list,
After preserving successfully, the list id of response is copied to the formid attribute of flow definition module basic node, then preserves flow process thing
?.
The embodiment of the present invention, by the form editing district of browser, chooses work by choosing default step control
In flow process, without the process step of editing and processing;Then by choosing the operation in default layout control, it is the stream chosen
Journey step carries out tabular process;Then by choosing the operation in default attribute control, the flow process step processed for tabular
Table element in Zhou carries out corresponding editing and processing;Finally by repeating selecting step control until choosing workflow
Final step, to complete the customization of workflow list.So this OA workflow list method for customizing is by flow custom and table
Single customization combines, and achieves the customization of OA workflow list with settling at one go so that customization procedure simplifies, customization effect
Rate is higher;And the method is carried out in a browser, and coordinate several preset control, eliminate in prior art multinomial specially
The use of industry software tool, effectively reduces customization operations threshold, and practicality is higher.Additionally, the customization of this OA workflow list
Method is based entirely on HTML5 and realizes, and the most most browser of compatibility is applied widely, practical;Also support work
Stream separates with operation system, can use as independent assembly, and the system integration is simple.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can pass through hardware
Completing, it is also possible to instruct relevant hardware by program and complete, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and
Within principle, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.
Claims (10)
1. an OA workflow list method for customizing, it is characterised in that described method includes:
In the form editing district of browser, choose in workflow, without editing and processing by choosing default step control
Process step;
By choosing the operation in default layout control, it is that the process step chosen carries out tabular process;
By choosing the operation in default attribute control, carry out accordingly for the table element in the process step that tabular processes
Editing and processing;
Repeat to choose described step control until choosing the final step of workflow, to complete determining of workflow list
System.
Method the most according to claim 1, it is characterised in that described step control, described layout control, described attribute control
Part is control based on Html5 design.
Method the most according to claim 2, it is characterised in that described layout control includes: a line two row operation or one
Row three row operation.
Method the most according to claim 2, it is characterised in that described attribute control includes: single file text maninulation, compose a piece of writing more
This operation, drop-down list operation, the operation of multiselect frame, date select operation, current time operation, applicant's operation, department to select
In operation, current user operation, current door operation, date of birth operation, presently held office and duty operation, sex operation, description operation
At least one.
Method the most according to claim 1, it is characterised in that described method also includes:
The described step control chosen carrying out the first attribute customization arrange, described first attribute customization setting includes: title sets
Put, selected state arrange, handler arrange at least one.
Method the most according to claim 1, it is characterised in that described method also includes:
The described attribute control chosen carrying out the second attribute customization arrange, described second attribute customization setting includes: title sets
Put, describe setting, whether must fill out setting, control size arrange, character length arrange, sequence number arrange, default value arrange at least
One.
Method the most according to claim 1, it is characterised in that described method also includes:
The workflow list customized carries out list setting, and described list arranges and includes: the title of flow chart is arranged, stream
In the description setting of journey list, flow process classification setting at least one.
8. according to the method described in any one of claim 1-7, it is characterised in that described form editing district prestores workflow
Beginning step.
Method the most according to claim 1, it is characterised in that described method also includes:
The workflow list that will have customized, resolves to the workflow list of preset format;
Workflow list after being resolved by default workflow engine is stored in data base, calls for employee.
Method the most according to claim 9, it is characterised in that described preset format is xml.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610580471.3A CN106202025A (en) | 2016-07-21 | 2016-07-21 | A kind of OA workflow list method for customizing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610580471.3A CN106202025A (en) | 2016-07-21 | 2016-07-21 | A kind of OA workflow list method for customizing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106202025A true CN106202025A (en) | 2016-12-07 |
Family
ID=57492365
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610580471.3A Pending CN106202025A (en) | 2016-07-21 | 2016-07-21 | A kind of OA workflow list method for customizing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106202025A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107463680A (en) * | 2017-08-07 | 2017-12-12 | 山东浪潮通软信息科技有限公司 | A kind of method and device for integrating document |
CN108205744A (en) * | 2016-12-19 | 2018-06-26 | 成都鼎桥通信技术有限公司 | The implementation method and device of work process flow list |
CN108228287A (en) * | 2016-12-15 | 2018-06-29 | 龙芯中科技术有限公司 | The generation method and device of user interface controls based on QT |
CN108319474A (en) * | 2017-01-16 | 2018-07-24 | 腾讯科技(深圳)有限公司 | A kind of page info generation method, device and equipment |
CN109472541A (en) * | 2018-09-03 | 2019-03-15 | 中新网络信息安全股份有限公司 | A kind of Design of Workflow method suitable for enterprise-level OA |
CN109949003A (en) * | 2019-02-28 | 2019-06-28 | 贵阳学院 | A method for managing time limit for government affairs with digital signature technology |
CN110162760A (en) * | 2019-05-23 | 2019-08-23 | 武汉神算云信息科技有限责任公司 | A kind of form customization method based on procedure links |
CN110632878A (en) * | 2019-10-08 | 2019-12-31 | 上海宝阶智能科技有限公司 | Method and device for heterogeneous embedded tabular processing and action flow execution |
CN111090421A (en) * | 2020-03-25 | 2020-05-01 | 绿漫科技有限公司 | System for realizing user-defined form based on visual dragging |
CN113190514A (en) * | 2021-05-10 | 2021-07-30 | 成都微视联软件技术有限公司 | Method for inputting data into electronic document according to priority order |
CN113792534A (en) * | 2021-03-02 | 2021-12-14 | 京东科技控股股份有限公司 | Method and apparatus for processing a flow |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070192678A1 (en) * | 2004-03-26 | 2007-08-16 | Tang Weng S | Forms development platform |
CN101957936A (en) * | 2009-07-15 | 2011-01-26 | 深圳市艾派应用系统有限公司 | Method and system for implementing workflow form |
CN102841791A (en) * | 2012-07-12 | 2012-12-26 | 上海高洁信息科技股份有限公司 | Method and system for generating online form |
-
2016
- 2016-07-21 CN CN201610580471.3A patent/CN106202025A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070192678A1 (en) * | 2004-03-26 | 2007-08-16 | Tang Weng S | Forms development platform |
CN101957936A (en) * | 2009-07-15 | 2011-01-26 | 深圳市艾派应用系统有限公司 | Method and system for implementing workflow form |
CN102841791A (en) * | 2012-07-12 | 2012-12-26 | 上海高洁信息科技股份有限公司 | Method and system for generating online form |
Non-Patent Citations (3)
Title |
---|
严俊兰等: "基于XML表单的Web工作流管理系统设计", 《长沙大学学报》 * |
周婷婷等: "基于工作流的办公自动化系统研究与设计", 《工业控制计算机》 * |
廖斌 等: "基于Web工作流表单的设计与实现", 《科学技术与工程》 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108228287A (en) * | 2016-12-15 | 2018-06-29 | 龙芯中科技术有限公司 | The generation method and device of user interface controls based on QT |
CN108205744A (en) * | 2016-12-19 | 2018-06-26 | 成都鼎桥通信技术有限公司 | The implementation method and device of work process flow list |
CN108319474B (en) * | 2017-01-16 | 2021-10-15 | 腾讯科技(深圳)有限公司 | Page information generation method, device and equipment |
CN108319474A (en) * | 2017-01-16 | 2018-07-24 | 腾讯科技(深圳)有限公司 | A kind of page info generation method, device and equipment |
CN107463680A (en) * | 2017-08-07 | 2017-12-12 | 山东浪潮通软信息科技有限公司 | A kind of method and device for integrating document |
CN109472541A (en) * | 2018-09-03 | 2019-03-15 | 中新网络信息安全股份有限公司 | A kind of Design of Workflow method suitable for enterprise-level OA |
CN109949003A (en) * | 2019-02-28 | 2019-06-28 | 贵阳学院 | A method for managing time limit for government affairs with digital signature technology |
CN110162760A (en) * | 2019-05-23 | 2019-08-23 | 武汉神算云信息科技有限责任公司 | A kind of form customization method based on procedure links |
CN110632878A (en) * | 2019-10-08 | 2019-12-31 | 上海宝阶智能科技有限公司 | Method and device for heterogeneous embedded tabular processing and action flow execution |
CN111090421A (en) * | 2020-03-25 | 2020-05-01 | 绿漫科技有限公司 | System for realizing user-defined form based on visual dragging |
CN113792534A (en) * | 2021-03-02 | 2021-12-14 | 京东科技控股股份有限公司 | Method and apparatus for processing a flow |
CN113190514A (en) * | 2021-05-10 | 2021-07-30 | 成都微视联软件技术有限公司 | Method for inputting data into electronic document according to priority order |
CN113190514B (en) * | 2021-05-10 | 2023-04-18 | 成都微视联软件技术有限公司 | Method for inputting data into electronic document according to priority order |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106202025A (en) | A kind of OA workflow list method for customizing | |
US12327093B2 (en) | Executing a process-based software application in a first computing environment and a second computing environment | |
CN107832045B (en) | Method and apparatus for cross programming language interface conversion | |
US11321669B2 (en) | Creating a customized email that includes an action link generated based on form data | |
CN104268072B (en) | Graphical script editor and method for fast developing communication equipment testing script | |
CN114493479B (en) | Enterprise-level workflow engine implementation method and system based on microservice SaaS | |
CN106371825B (en) | A kind of mobile terminal application interface list dynamic creation method and device | |
CN104020997B (en) | Extensible graphical rule application system | |
CN101546260B (en) | Method and device thereof for reconstructing service-oriented applications | |
CN107844297A (en) | A kind of data visualization realizes system and method | |
CN107229665A (en) | A kind of method for page jump and device | |
CN105786526A (en) | Web-based efficient flow chart drawing system and method | |
CN107220036A (en) | A kind of visual development method and system of component and template | |
CN102693127B (en) | Data-driven schema for describing and executing management tasks in a graphical user interface | |
CN104636139A (en) | Visualized cross-platform mobile application development and generation system | |
CN107066618A (en) | Display methods and device after a kind of Webpage conversion | |
WO2006107529A2 (en) | Method and system for aggregating rules for a property associated with a document element | |
CN111324390A (en) | Device and method for realizing APP content configuration and real-time update | |
CN107729228A (en) | Interface test method, device, storage medium and processor | |
CN104657419B (en) | A kind of processing method and system customizing letter paper template | |
CN110297636A (en) | A kind of automatic production of HTML page and parameter management method based on page configuration file, system and device | |
CN109447406A (en) | A kind of method of visioning procedure and the device of visioning procedure | |
CN107678777A (en) | A kind of management method of software document, device and terminal | |
US6438742B1 (en) | Object-oriented system and method for visually generating software applications | |
CN107122171A (en) | Automatically generate the method and system of data manipulation in operation flow |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161207 |
|
RJ01 | Rejection of invention patent application after publication |