CN111369138A - A method and device for generating a job form - Google Patents

A method and device for generating a job form Download PDF

Info

Publication number
CN111369138A
CN111369138A CN202010139033.XA CN202010139033A CN111369138A CN 111369138 A CN111369138 A CN 111369138A CN 202010139033 A CN202010139033 A CN 202010139033A CN 111369138 A CN111369138 A CN 111369138A
Authority
CN
China
Prior art keywords
stage
current
field
target field
process stage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010139033.XA
Other languages
Chinese (zh)
Inventor
张军伟
罗孟龙
费振华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Supcon Technology Co Ltd
Original Assignee
Zhejiang Supcon Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Supcon Technology Co Ltd filed Critical Zhejiang Supcon Technology Co Ltd
Priority to CN202010139033.XA priority Critical patent/CN111369138A/en
Publication of CN111369138A publication Critical patent/CN111369138A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种作业表单的生成方法及装置,包括:获取目标字段表中的目标字段;获取字段属性表中的目标字段的属性;获取字段流程表中的目标字段的流程阶段数;根据目标字段、目标字段的属性以及目标字段的流程阶段数生成作业表单。本发明根据目标字段表、字段属性表以及字段流程表可以生成带有流程控制的作业表单且操作简单。

Figure 202010139033

This invention discloses a method and apparatus for generating a work form, comprising: obtaining a target field from a target field table; obtaining attributes of the target field from a field attribute table; obtaining the process stage number of the target field from a field process table; and generating a work form based on the target field, the attributes of the target field, and the process stage number of the target field. This invention can generate work forms with process control based on the target field table, the field attribute table, and the field process table, and the operation is simple.

Figure 202010139033

Description

一种作业表单的生成方法及装置A method and device for generating a job form

技术领域technical field

本发明涉及计算机技术领域,特别涉及一种作业表单的生成方法及装置。The present invention relates to the field of computer technology, and in particular, to a method and device for generating a work form.

背景技术Background technique

在安全作业中,作业表单用于给进行安全作业的作业员提供正确的指标,并记录下整个安全作业的信息与流程。目前对安全作业的作业表单生成一般是在线上的系统通过在线控件拖拽,再加上业务流程管理(Business Process Management,BMP)的流程设计器,才能实现作业的流转。像这种传统方式只能在线上进行操作而且还需要编写脚本来实现作业表单控件元素与数据的绑定以及作业流程图的绘制,还有作业特定阶段内的触发事件,对于无编程经验的用户来说操作复杂且实用难度大。当前有基于EXCEL生成作业表单的方法,只是简单生成一个作业表单,缺少流程控制。In the safety operation, the job form is used to provide the correct indicators for the safety operation operator, and to record the information and process of the entire safety operation. At present, job forms for safety operations are generally generated by online systems through drag-and-drop of online controls, coupled with the process designer of business process management (BMP), to realize the flow of jobs. Such traditional methods can only be operated online, and scripts need to be written to realize the binding of job form control elements and data, the drawing of job flow charts, and the trigger events in specific stages of the job. For users without programming experience It is complicated and practically difficult to operate. There is currently a method for generating a job form based on EXCEL, but it simply generates a job form and lacks process control.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明提供一种作业表单的生成方法及装置。该方法及装置可以生成带有流程控制的作业表单。In view of this, the present invention provides a method and device for generating a work form. The method and device can generate a job form with flow control.

为了实现上述发明目的,本发明提供以下技术方案:In order to achieve the above-mentioned purpose of the invention, the present invention provides the following technical solutions:

本发明第一方面公开了一种作业表单的生成方法,包括:A first aspect of the present invention discloses a method for generating a job form, including:

获取目标字段表中的目标字段;Get the target field in the target field table;

获取字段属性表中的所述目标字段的属性;Obtain the attribute of the target field in the field attribute table;

获取字段流程表中的所述目标字段的流程阶段数;Obtain the number of process stages of the target field in the field process table;

根据所述目标字段、所述目标字段的属性以及所述目标字段的流程阶段数生成作业表单。A job form is generated according to the target field, the attributes of the target field, and the number of process stages of the target field.

可选的,所述获取字段属性表中的所述目标字段的属性,包括:Optionally, the attribute of the target field in the obtained field attribute table includes:

获取字段属性表中的所述目标字段的字段名称、字段类型、字段绑定的数据源、输入源、是否必填、键值、标识、宽度、新建是否显示、首页是否显示、默认选项权限、字段名长度、填充位置以及是否自动填充中的至少一个属性。Obtain the field name, field type, data source bound to the field, input source, whether it is required, key value, logo, width, whether to display the newly created, whether to display the home page, default option permissions, At least one of the field name length, padding position, and whether to auto-fill.

可选的,所述根据所述目标字段、所述目标字段的属性以及所述目标字段的流程阶段数生成作业表单,包括:Optionally, generating a job form according to the target field, the attribute of the target field, and the number of process stages of the target field includes:

根据所述目标字段生成所述作业表单中的元素名;generating an element name in the job form according to the target field;

根据所述目标字段的属性生成所述作业表单中与所述元素名对应的输入框;generating an input box corresponding to the element name in the job form according to the attribute of the target field;

将所述输入框的填写顺序权限设置为与所述目标字段的流程阶段数匹配的顺序权限;Setting the filling order authority of the input box to the order authority matching the number of process stages of the target field;

将所述输入框的填写人员权限设置为与所述目标字段的流程阶段数匹配的人员权限。Set the personnel authority for filling in the input box to the personnel authority matching the number of process stages of the target field.

可选的,该方法还包括:Optionally, the method further includes:

根据所述流程阶段数确定各个流程阶段的顺序与各个流程阶段的填写人员,将各个流程阶段中的第一个流程阶段确定为当前流程阶段,将生成的所述作业表单确定为当前作业表单;Determine the sequence of each process stage and the filling personnel of each process stage according to the number of process stages, determine the first process stage in each process stage as the current process stage, and determine the generated job form as the current job form;

将当前作业表单发送至当前流程阶段的填写人员;Send the current job form to the person filling in the current process stage;

接收当前流程阶段的填写人员输入的信息并将所述输入的信息填入当前作业表单中;Receive the information entered by the filling personnel in the current process stage and fill in the entered information into the current job form;

确定当前流程阶段是否是各个流程阶段中的最后一个流程阶段,如果不是,则将当前流程阶段的下一流程阶段确定为当前流程阶段,返回执行所述将当前作业表单发送至当前流程阶段的填写人员的步骤;如果是,则将当前作业表单进行保存。Determine whether the current process stage is the last process stage in each process stage, if not, determine the next process stage of the current process stage as the current process stage, and return to execute the fill in the sending the current job form to the current process stage Person's steps; if so, save the current job form.

可选的,该方法还包括:Optionally, the method further includes:

根据所述流程阶段数确定各个流程阶段的顺序与各个流程阶段的填写人员,将各个流程阶段中的第一个流程阶段确定为当前流程阶段,将生成的所述作业表单确定为当前作业表单;Determine the sequence of each process stage and the filling personnel of each process stage according to the number of process stages, determine the first process stage in each process stage as the current process stage, and determine the generated job form as the current job form;

将当前作业表单发送至当前流程阶段的填写人员;Send the current job form to the person filling in the current process stage;

接收当前流程阶段的填写人员输入的信息并将所述输入的信息填入当前作业表单中;Receive the information entered by the filling personnel in the current process stage and fill in the entered information into the current job form;

确定当前流程阶段是否需要审批,如果需要审批,则将输入信息后的当前作业表单发送至当前流程阶段的审批人员,获得所述审批人员输入的审批信息并将所述审批信息填入当前作业表单中;Determine whether approval is required in the current process stage, and if approval is required, send the current job form after inputting the information to the approver in the current process stage, obtain the approval information input by the approver and fill in the approval information into the current job form middle;

根据所述审批信息确定当前流程阶段是否审批通过,如果审批通过,则确定当前流程阶段是否是各个流程阶段中的最后一个流程阶段,如果不是最后一个流程阶段,则将当前流程阶段的下一流程阶段确定为当前流程阶段,返回执行所述将当前作业表单发送至当前流程阶段的填写人员的步骤;如果是最后一个流程阶段,则将当前作业表单进行保存;According to the approval information, it is determined whether the current process stage has been approved. If the approval is passed, it is determined whether the current process stage is the last process stage in each process stage. If it is not the last process stage, the next process stage of the current process stage is determined The stage is determined as the current process stage, and returns to execute the step of sending the current job form to the filling personnel of the current process stage; if it is the last process stage, then save the current job form;

如果审批不通过,则将当前作业表单进行保存;If the approval fails, save the current job form;

如果不需要审批,则执行所述确定当前流程阶段是否是各个流程阶段中的最后一个流程阶段的步骤。If no approval is required, the step of determining whether the current flow stage is the last flow stage of the respective flow stages is performed.

本发明第二方面公开了一种作业表单的生成的装置,所述装置包括:目标字段获取单元、属性获取单元、流程阶段数获取单元以及作业表单生成单元,A second aspect of the present invention discloses an apparatus for generating a job form, the apparatus comprising: a target field obtaining unit, an attribute obtaining unit, a process stage number obtaining unit, and a job form generating unit,

所述目标字段获取单元,用于获取目标字段表中的目标字段;The target field obtaining unit is used to obtain the target field in the target field table;

所述属性获取单元,用于获取字段属性表中的所述目标字段的属性;The attribute obtaining unit is used to obtain the attribute of the target field in the field attribute table;

所述流程阶段数获取单元,用于获取字段流程表中的所述目标字段的流程阶段数;The process stage number acquisition unit is used to acquire the process stage number of the target field in the field process table;

所述作业表单生成单元,用于根据所述目标字段、所述目标字段的属性以及所述目标字段的流程阶段数生成作业表单。The job form generating unit is configured to generate a job form according to the target field, the attribute of the target field and the number of process stages of the target field.

可选的,所述目标字段获取单元具体用于:Optionally, the target field obtaining unit is specifically used for:

获取字段属性表中的所述目标字段的字段名称、字段类型、字段绑定的数据源、输入源、是否必填、键值、标识、宽度、新建是否显示、首页是否显示、默认选项权限、字段名长度、填充位置以及是否自动填充中的至少一个属性。Obtain the field name, field type, data source bound to the field, input source, whether it is required, key value, logo, width, whether to display the newly created, whether to display the home page, default option permissions, At least one of the field name length, padding position, and whether to auto-fill.

可选的,所述作业表单生成单元包括:元素名生成子单元、输入框生成子单元、顺序权限设置单元以及人员权限设置单元,Optionally, the job form generation unit includes: an element name generation subunit, an input box generation subunit, a sequence authority setting unit, and a personnel authority setting unit,

所述元素名生成子单元,用于根据所述目标字段生成所述作业表单中的元素名;The element name generating subunit is used to generate the element name in the job form according to the target field;

所述输入框生成子单元,用于根据所述目标字段的属性生成所述作业表单中与所述元素名对应的输入框;The input box generating subunit is configured to generate an input box corresponding to the element name in the job form according to the attribute of the target field;

所述顺序权限设置单元,用于将所述输入框的填写顺序权限设置为与所述目标字段的流程阶段数匹配的顺序权限;The sequence permission setting unit is used to set the filling sequence permission of the input box to the sequence permission matching the number of process stages of the target field;

所述人员权限设置单元,用于将所述输入框的填写人员权限设置为与所述目标字段的流程阶段数匹配的人员权限。The personnel authority setting unit is configured to set the personnel authority for filling in the input box to the personnel authority matching the number of process stages of the target field.

可选的,所述装置还包括:第一流程确定单元、第一发送单元、第一接收单元和第一最后流程阶段确定单元,Optionally, the device further includes: a first process determining unit, a first sending unit, a first receiving unit, and a first final process stage determining unit,

所述第一流程确定单元,用于根据所述流程阶段数确定各个流程阶段的顺序与各个流程阶段的填写人员,将各个流程阶段中的第一个流程阶段确定为当前流程阶段,将生成的所述作业表单确定为当前作业表单;The first process determination unit is used to determine the sequence of each process stage and the filling personnel of each process stage according to the number of process stages, determine the first process stage in each process stage as the current process stage, and generate the The job form is determined as the current job form;

所述第一发送单元,用于将当前作业表单发送至当前流程阶段的填写人员;The first sending unit is used to send the current job form to the filling personnel in the current process stage;

所述第一接收单元,用于接收当前流程阶段的填写人员输入的信息并将所述输入的信息填入当前作业表单中;The first receiving unit is configured to receive the information input by the filling personnel in the current process stage and fill in the input information into the current job form;

第一最后流程阶段确定单元,用于确定当前流程阶段是否是各个流程阶段中的最后一个流程阶段,如果不是,则将当前流程阶段的下一流程阶段确定为当前流程阶段,返回触发第一发送单元;如果是,则将当前作业表单进行保存。The first final process stage determination unit is used to determine whether the current process stage is the last process stage in each process stage, if not, determine the next process stage of the current process stage as the current process stage, and return to trigger the first transmission unit; if so, save the current job form.

可选的,所述装置还包括:第二流程确定单元、第二发送单元、第二接收单元、审批确定单元、审批通过确定单元和第二最后流程阶段确定单元,Optionally, the device further includes: a second process determination unit, a second sending unit, a second receiving unit, an approval determination unit, an approval approval determination unit, and a second final process stage determination unit,

所述第二流程确定单元,用于根据所述流程阶段数确定各个流程阶段的顺序与各个流程阶段的填写人员,将各个流程阶段中的第一个流程阶段确定为当前流程阶段,将生成的所述作业表单确定为当前作业表单;The second process determination unit is used to determine the sequence of each process stage and the filling personnel of each process stage according to the number of process stages, determine the first process stage in each process stage as the current process stage, and generate the The job form is determined as the current job form;

所述第二发送单元,用于将当前作业表单发送至当前流程阶段的填写人员;The second sending unit is used to send the current job form to the filling personnel in the current process stage;

所述第二接收单元,用于接收当前流程阶段的填写人员输入的信息并将所述输入的信息填入当前作业表单中;The second receiving unit is configured to receive the information input by the filling personnel in the current process stage and fill in the input information into the current job form;

所述审批确定单元,用于确定当前流程阶段是否需要审批,如果需要审批,则将输入信息后的当前作业表单发送至当前流程阶段的审批人员,获得所述审批人员输入的审批信息并将所述审批信息填入当前作业表单中,如果不需要审批,则触发第二最后流程阶段确定单元;The approval determination unit is used to determine whether approval is required in the current process stage, and if approval is required, the current job form after inputting information is sent to the approver in the current process stage, and the approval information input by the approver is obtained and the approval information is entered. The above approval information is filled in the current job form, if no approval is required, the second final process stage determination unit is triggered;

所述审批通过确定单元,用于根据所述审批信息确定当前流程阶段是否审批通过,如果审批通过,则触发第二最后流程阶段确定单元,如果审批不通过,则将当前作业表单进行保存;The approval determination unit is used to determine whether the current process stage is approved according to the approval information, if the approval is approved, the second final process stage determination unit is triggered, and if the approval is not approved, the current job form is saved;

所述第二最后流程阶段确定单元,用于确定当前流程阶段是否是各个流程阶段中的最后一个流程阶段,如果不是最后一个流程阶段,则将当前流程阶段的下一流程阶段确定为当前流程阶段,返回触发第二发送单元;如果是最后一个流程阶段,则将当前作业表单进行保存。The second final process stage determination unit is used to determine whether the current process stage is the last process stage in each process stage, and if it is not the last process stage, then determine the next process stage of the current process stage as the current process stage , return to trigger the second sending unit; if it is the last process stage, save the current job form.

本发明公开的一种作业表单的生成方法及装置,包括:获取目标字段表中的目标字段;获取字段属性表中的目标字段的属性;获取字段流程表中的目标字段的流程阶段数;根据目标字段、目标字段的属性以及目标字段的流程阶段数生成作业表单。本发明通过获取目标字段成为作业表单中的元素,通过获取目标字段的属性定义与对应元素的输入框,通过获取流程阶段数定义每个元素对应的输入框填写权限,生成了带有流程控制的作业表单且操作简单,只需要操作人员预先将目标字段、表字段属性表以及字段流程表填写好上传配置即可。The invention discloses a method and device for generating a job form, comprising: acquiring a target field in a target field table; acquiring the attribute of the target field in a field attribute table; acquiring the process stage number of the target field in the field process table; The target field, the properties of the target field, and the number of process stages of the target field generate the job form. In the present invention, by acquiring the target field to become an element in the job form, by acquiring the attribute definition of the target field and the input box of the corresponding element, and by acquiring the number of process stages to define the filling authority of the input box corresponding to each element, a process control system is generated. The job form is simple and easy to operate. The operator only needs to fill in the target field, table field attribute table and field process table in advance to upload the configuration.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that are required in the description of the embodiments or the prior art.

图1为本发明实施例提供的一种作业表单的生成方法的流程示意图;1 is a schematic flowchart of a method for generating a job form according to an embodiment of the present invention;

图2为本发明实施例提供的一种作业表单的应用的流程示意图;2 is a schematic flowchart of an application of a job form according to an embodiment of the present invention;

图3为本发明实施例提供的另一种作业表单的应用的流程示意图;FIG. 3 is a schematic flowchart of an application of another job form provided by an embodiment of the present invention;

图4为本发明实施例提供的一种作业表单的生成装置的结构示意图;FIG. 4 is a schematic structural diagram of an apparatus for generating a job form according to an embodiment of the present invention;

图5为本发明实施例提供的一种作业表单的示意图;5 is a schematic diagram of a job form provided by an embodiment of the present invention;

图6为本发明实施例提供的一种作业表单填写流程的第一阶段的示意图;6 is a schematic diagram of the first stage of a job form filling process provided by an embodiment of the present invention;

图7为本发明实施例提供的一种作业表单填写流程的第二阶段的示意图;7 is a schematic diagram of a second stage of a job form filling process provided by an embodiment of the present invention;

图8为本发明实施例提供的一种作业表单填写流程的第二阶段中审批的示意图;8 is a schematic diagram of approval in the second stage of a job form filling process provided by an embodiment of the present invention;

图9为本发明实施例提供的一种作业表单填写流程的最后阶段的示意图。FIG. 9 is a schematic diagram of the final stage of a job form filling process provided by an embodiment of the present invention.

具体实施方式Detailed ways

本发明公开了一种作业表单的生成方法及装置,本领域技术人员可以借鉴本文内容,适当修改技术细节实现。特别需要指出的是,所有类似的替换和改动对本领域技术人员来说是显而易见的,它们都被视为包括在本发明。本发明的方法及应用已经通过较佳实施例进行了描述,相关人员明显能在不脱离本发明内容、精神和范围内对本文所述的方法和应用进行改动或适当变更与组合,来实现和应用本发明技术。The present invention discloses a method and device for generating a work form, and those skilled in the art can refer to the content of this document and modify the technical details appropriately to realize it. It should be particularly pointed out that all similar substitutions and modifications are obvious to those skilled in the art, and they are deemed to be included in the present invention. The method and application of the present invention have been described through the preferred embodiments, and it is obvious that relevant persons can make changes or appropriate changes and combinations of the methods and applications described herein without departing from the content, spirit and scope of the present invention to achieve and Apply the technology of the present invention.

本发明实施例提供了一种作业表单的生成方法,如图1所示,包括:An embodiment of the present invention provides a method for generating a job form, as shown in FIG. 1 , including:

步骤S101:获取目标字段表中的目标字段。Step S101: Obtain the target field in the target field table.

需要说明的是,目标字段是预先设定的作业表单中需要填写的元素,例如设备名称、设备编号、维修单位、维修人等。目标字段表是由目标字段组成的表格。It should be noted that the target field is an element that needs to be filled in the preset job form, such as equipment name, equipment number, maintenance unit, maintenance person, etc. The target field table is a table composed of target fields.

目标字段表可以如表1所示:The target field table can be as shown in Table 1:

表1、目标字段表Table 1. Target field table

Figure BDA0002398386090000061
Figure BDA0002398386090000061

表1仅作为本发明实施例的说明,并不对本发明进行限定,在不脱离本发明的实现原理的情况下,均属于本发明的保护范围。Table 1 is only used as the description of the embodiment of the present invention, and does not limit the present invention, and all belong to the protection scope of the present invention without departing from the realization principle of the present invention.

步骤S102:获取字段属性表中的目标字段的属性。Step S102: Obtain the attribute of the target field in the field attribute table.

需要说明的是,目标字段的属性为作业表单中需要填写元素的输入框的属性,字段属性表记录了所有作业表单中需要填写元素的输入框的属性。It should be noted that the attribute of the target field is the attribute of the input box of the element to be filled in in the job form, and the field attribute table records the attribute of the input box of the element to be filled in all the job forms.

可选的,获取字段属性表中的目标字段的属性,包括:Optionally, obtain the attributes of the target field in the field attribute table, including:

获取字段属性表中的目标字段的字段名称、字段类型、字段绑定的数据源、输入源、是否必填、键值、标识、宽度、新建是否显示、首页是否显示、默认选项权限、字段名长度、填充位置以及是否自动填充中的至少一个属性。Get the field name, field type, data source of the field binding, input source, whether it is required, key value, logo, width, whether to display new, whether to display the home page, default option permission, and field name of the target field in the field attribute table At least one property of length, padding position, and whether to auto pad.

字段属性表可以如表2所示:The field attribute table can be as shown in Table 2:

表2、字段属性表Table 2. Field attribute table

Figure BDA0002398386090000071
Figure BDA0002398386090000071

表2仅作为本发明实施例的说明例举出了表1中部分字段的部分属性,并不对本发明进行限定,在不脱离本发明的实现原理的情况下,均属于本发明的保护范围。Table 2 only exemplifies some attributes of some fields in Table 1 as an illustration of the embodiment of the present invention, and does not limit the present invention, and all belong to the protection scope of the present invention without departing from the realization principle of the present invention.

可选的,字段名称定义了输入框的名称,在编程中输入框的名称需要不同以便于计算机的识别。类型定义了输入框输入的内容类型,可以是文本、选项、上传图片等。数据源定义了部分有选项的输入框中的选项的数据来源。是否必填定义了输入框是否必填,在规定必填的输入框中必须填写相应的数据,否则无法进入流程的下一阶段或者完成作业表单。宽度定义了输入框输入的数据长度。填充位置定义了输入框的位置,包括行位置和列位置。默认选项定义了部分有选项的输入框中如果选项没有数据源,则选择由默认选择提供。输入源定义了输入值是手机端输入还是PC端输入。标识是用于标注通用的元素,比如work_time用来标注作业预计开始时间和预计结束时间,根据此条件可以判断作业是否延时开始,延时结束。新建是否显示定义新建作业表单的时候元素是否显示。首页是否显示是防止元素太多,无法在指定的页面显示所有元素,类似摘要信息,把关键元素展示出来。字段名长度是一个表单元素在前端展示包括一个字段名和该字段名对用的值,字段名长度和值的长度作用是一样的,用于指定它在前端显示时的占用的长度。是否自动填充用于常用的属性的默认填充。Optionally, the field name defines the name of the input box. In programming, the name of the input box needs to be different for the computer to recognize. Type defines the type of content entered in the input box, which can be text, options, uploaded images, etc. The data source defines the data source for the options in the partially selected input box. Required or not defines whether the input box is required, and the corresponding data must be filled in the required input box, otherwise it will not be possible to enter the next stage of the process or complete the job form. The width defines the length of the data entered in the input box. Fill position defines the position of the input box, including row position and column position. The default option defines some input boxes with options. If the option has no data source, the selection is provided by the default option. The input source defines whether the input value is a mobile phone input or a PC input. The identifier is used to mark common elements. For example, work_time is used to mark the expected start time and expected end time of the job. According to this condition, it can be judged whether the job starts with a delay and the delay ends. Whether to show new Defines whether the element is shown when creating a new job form. Whether the home page is displayed is to prevent too many elements from being displayed on the specified page. Similar to summary information, it displays key elements. The field name length is a form element displayed on the front end including a field name and the value of the field name pair. The length of the field name and the length of the value are the same, and are used to specify the length occupied when it is displayed on the front end. Whether to autofill the default padding for commonly used properties.

步骤S103:获取字段流程表中的目标字段的流程阶段数。Step S103: Obtain the number of process stages of the target field in the field process table.

需要说明的是,流程阶段数是用于设置输入框的填写权限,包括设置填写的人员权限以及填写的顺序权限。使用对填写权限的限制实现了对作业流程的控制。字段流程表记录了目标字段表中的所有字段对应的流程阶段数。It should be noted that the number of process stages is used to set the filling authority of the input box, including setting the personnel authority for filling in and the order authority for filling in. The control of the job process is realized by using the restriction on the filling authority. The field process table records the number of process stages corresponding to all fields in the target field table.

字段流程表可以如表3所示:The field flow table can be as shown in Table 3:

表3、字段流程表Table 3. Field flow table

Figure BDA0002398386090000081
Figure BDA0002398386090000081

Figure BDA0002398386090000091
Figure BDA0002398386090000091

其中,设备名称、设备编号、作业级别以及备注的流程阶段数为1,为整个作业流程的第一阶段。在作业流程的第一阶段中,作业表单中的元素只有阶段流程数为1的元素对应的输入框可以输入数据,其它的输入框均不能输入数据,且规定这四个元素的输入框只能由发布作业的人员的输入设备进行输入。维修单位、维修人、维修时间、审批人员以及审批意见为流程的第二阶段。维修单位、维修人、维修时间的流程阶段数为2-1,规定了维修单位、维修人、维修时间的输入框只能在流程阶段数为1的元素对应的输入框完成输入后才能输入,且规定这三个元素对应的输入框只能由维修人员的输入设备进行输入。审批人员和审批意见虽然也是第二阶段,但是因为输入框的输入人员不同所以把流程阶段数定义为2-2,规定了审批人员和审批意见的输入框只能在流程阶段数为2-1的元素对应的输入框完成输入后才能输入,且规定这两个个元素对应的输入框只能由审批人员的输入设备进行输入。维修内容描述和维修图片的流程阶段数为3,规定了内容描述和维修图片的输入框只能在流程阶段数为2-2的元素对应的输入框完成输入后才能输入,且规定这两个个元素对应的输入框只能由维修人员的输入设备进行输入。通过流程阶段数,将每个元素的输入框进行输入顺序以及输入人员的限定来实现流程控制。Among them, the number of process stages of equipment name, equipment number, operation level and remarks is 1, which is the first stage of the whole operation process. In the first stage of the job flow, only the input box corresponding to the element whose stage flow number is 1 can input data for the elements in the job form, and other input boxes cannot input data, and the input boxes of these four elements can only be input. Input is made by the input device of the person who posted the job. Maintenance unit, maintenance person, maintenance time, approval personnel and approval opinions are the second stage of the process. The number of process stages of maintenance unit, maintenance person, and maintenance time is 2-1. It is stipulated that the input boxes of maintenance unit, maintenance person, and maintenance time can only be input after the input box corresponding to the element whose process stage number is 1 is completed. And it is stipulated that the input boxes corresponding to these three elements can only be input by the input device of the maintenance personnel. Although the approvers and approval opinions are also the second stage, because the input personnel of the input box are different, the number of process stages is defined as 2-2, which stipulates that the input boxes of the approvers and approval opinions can only be in the process stage number of 2-1 The input boxes corresponding to the elements of the . The number of process stages for maintenance content description and maintenance picture is 3, which stipulates that the input box of content description and maintenance picture can only be input after the input box corresponding to the element whose number of process stages is 2-2 is completed, and it is stipulated that these two The input box corresponding to each element can only be input by the input device of the maintenance personnel. Through the number of process stages, the input order of each element's input box and the limitation of input personnel are used to realize process control.

需要说明的是,流程阶段数可以被输入设备所识别。It should be noted that the number of process stages can be identified by the input device.

步骤S104:根据目标字段、目标字段的属性以及目标字段的流程阶段数生成作业表单。Step S104: Generate a job form according to the target field, the attribute of the target field, and the number of process stages of the target field.

可选的,根据目标字段、目标字段的属性以及目标字段的流程阶段数生成作业表单,包括:Optionally, generate a job form according to the target field, the properties of the target field, and the number of process stages of the target field, including:

根据目标字段生成作业表单中的元素名;Generate the element name in the job form based on the target field;

根据目标字段的属性生成作业表单中与元素名对应的输入框;Generate the input box corresponding to the element name in the job form according to the attribute of the target field;

将输入框的填写顺序权限设置为与目标字段的流程阶段数匹配的顺序权限;Set the filling order permission of the input box to the order permission that matches the number of process stages of the target field;

将输入框的填写人员权限设置为与目标字段的流程阶段数匹配的人员权限。Set the Filler permission of the input box to the person permission that matches the number of process stages of the target field.

需要说明的是,最后生成的作业表单可以如表1所示,但作业表单中的各元素对应的输入框都有预先定义的属性以及带有流程阶段数。目标字段表只是个单纯的表格可以自由填写不受属性及流程阶段数约束,所以易于篡改。作业表单中的元素的输入框受到属性及流程阶段数的约束,不易篡改且带有流程控制、事件触发。It should be noted that the finally generated job form can be as shown in Table 1, but the input boxes corresponding to each element in the job form have predefined attributes and the number of process stages. The target field table is just a simple table that can be filled in freely and is not constrained by attributes and the number of process stages, so it is easy to tamper with. The input boxes of elements in the job form are constrained by attributes and the number of process stages, which are not easy to tamper with, and have process control and event triggering.

上述目标字段表、字段属性表以及字段流程表均可以为EXCEL表,上述三个表中的信息为作业表单的配置信息,这三个表即为作业表单的配置表,本发明可以根据配置表生成作业表单。The above-mentioned target field table, field attribute table and field flow table can all be EXCEL tables, and the information in the above-mentioned three tables is the configuration information of the job form, and these three tables are the configuration table of the job form, and the present invention can be based on the configuration table. Generate a job form.

可选的,如图2所示,本发明实施例提供的另一种作业表单的生成方法,在图1所示步骤S104之后,还包括:Optionally, as shown in FIG. 2 , another method for generating a job form provided by an embodiment of the present invention, after step S104 shown in FIG. 1 , further includes:

步骤S201:根据流程阶段数确定各个流程阶段的顺序与各个流程阶段的填写人员,将各个流程阶段中的第一个流程阶段确定为当前流程阶段,将生成的作业表单确定为当前作业表单。Step S201: Determine the sequence of each process stage and the filling personnel of each process stage according to the number of process stages, determine the first process stage in each process stage as the current process stage, and determine the generated job form as the current job form.

步骤S202:将当前作业表单发送至当前流程阶段的填写人员。其中,发送至填写人员是根据作业表单中当前要填写的输入框的流程阶段数决定的。Step S202: Send the current job form to the filling person in the current process stage. Among them, sending to the filling personnel is determined according to the number of process stages of the input box currently to be filled in the job form.

步骤S203:接收当前流程阶段的填写人员输入的信息并将输入的信息填入当前作业表单中。Step S203: Receive the information input by the filling personnel in the current process stage and fill in the input information into the current job form.

步骤S204:确定当前流程阶段是否是各个流程阶段中的最后一个流程阶段。如果是,则进入步骤S205,否则,进入步骤S206。Step S204: Determine whether the current process stage is the last process stage in each process stage. If yes, go to step S205; otherwise, go to step S206.

需要说明的是,确定当前流程阶段是否是各个流程阶段中的最后一个流程阶段,可以根据预先设定的流程阶段数最大值来确定。如设置流程阶段数最大值为5,当前流程阶段数为5时,则确定当前流程阶段为该流程阶段中的最后一个流程阶段。It should be noted that determining whether the current process stage is the last process stage in each process stage may be determined according to a preset maximum number of process stages. For example, when the maximum number of process stages is set to 5 and the number of current process stages is 5, it is determined that the current process stage is the last process stage in the process stage.

步骤S205:将当前作业表单进行保存。Step S205: Save the current job form.

步骤S206:将当前流程阶段的下一流程阶段确定为当前流程阶段并返回执行步骤S202。Step S206: Determine the next flow stage of the current flow stage as the current flow stage and return to step S202.

需要说明的是,图2所示步骤为作业表单生成后的应用步骤。It should be noted that the steps shown in FIG. 2 are application steps after the job form is generated.

可选的,本发明实施例提供的另一种作业表单的生成方法,还包括:Optionally, another method for generating a job form provided by an embodiment of the present invention further includes:

获得审批表中的审批通过率;Obtain the approval pass rate in the approval form;

根据审批通过率和审批意见确定是否进行下一流程。Determine whether to proceed to the next process according to the approval rate and approval comments.

需要说明的是,有些流程阶段考虑到工作难度与危险性,有些阶段需要多个审批人员进行综合考虑后下达审批意见后,在根据审批意见决定是否作业。It should be noted that, in some process stages, the difficulty and danger of the work are considered, and in some stages, multiple approval personnel are required to comprehensively consider and issue approval opinions, and then decide whether to work according to the approval opinions.

如,审批通过率为50%,审批人员为4,审批意见为两个通过,两个不通过。则符合审批通过率50%,可以进行流程的下一阶段。For example, the approval rate is 50%, the number of approvers is 4, and the approval opinions are two approved and two rejected. A 50% approval pass rate is met and the next stage of the process can proceed.

可选的,如图3所示,本发明实施例提供的另一种作业表单的生成方法,在图1所示步骤S104之后,还包括:Optionally, as shown in FIG. 3 , another method for generating a job form provided by an embodiment of the present invention, after step S104 shown in FIG. 1 , further includes:

步骤S301:根据流程阶段数确定各个流程阶段的顺序与各个流程阶段的填写人员,将各个流程阶段中的第一个流程阶段确定为当前流程阶段,将生成的作业表单确定为当前作业表单。Step S301: Determine the sequence of each process stage and the filling personnel of each process stage according to the number of process stages, determine the first process stage in each process stage as the current process stage, and determine the generated job form as the current job form.

步骤S302:将当前作业表单发送至当前流程阶段的填写人员。Step S302: Send the current job form to the filling personnel in the current process stage.

步骤S303:接收当前流程阶段的填写人员输入的信息并将输入的信息填入当前作业表单中。Step S303: Receive the information input by the filling personnel in the current process stage and fill in the input information into the current job form.

步骤S304:确定当前流程阶段是否需要审批。如果是,则进入步骤S305,否则,进入步骤S307。Step S304: Determine whether approval is required in the current process stage. If yes, go to step S305; otherwise, go to step S307.

步骤S305:将输入信息后的当前作业表单发送至当前流程阶段的审批人员,获得审批人员输入的审批信息并将审批信息填入当前作业表单中。Step S305: Send the current job form after inputting the information to the approvers in the current process stage, obtain the approval information input by the approvers, and fill in the approval information into the current job form.

步骤S306:根据审批信息确定当前流程阶段是否审批通过。如果是,则进入步骤S307,否则,进入步骤S308。Step S306: Determine whether the current process stage is approved according to the approval information. If yes, go to step S307, otherwise, go to step S308.

步骤S307:确定当前流程阶段是否是各个流程阶段中的最后一个流程阶段。如果是,则进入步骤S308,如果否则进入步骤S309。Step S307: Determine whether the current flow stage is the last flow stage in each flow stage. If yes, go to step S308, otherwise go to step S309.

步骤S308:将当前作业表单进行保存。Step S308: Save the current job form.

步骤S309:将当前流程阶段的下一流程阶段确定为当前流程阶段并返回执行步骤S302。Step S309: Determine the next flow stage of the current flow stage as the current flow stage and return to step S302.

可选的,在一具体实施例中,生成的作业表单如图5所示。Optionally, in a specific embodiment, the generated job form is shown in FIG. 5 .

可选的,在一具体实施例中,在作业流程的第一阶段,由发布作业的人员对设备名称、设备编号、作业级别以及备注对应的输入进行填写。如图6所示,其中作业级别的输入框为选项输入框,选项有一级、二级以及三级。输入框的输入数据类型、输入框长度、输入框位置等属性均根据字段数据表进行设置。Optionally, in a specific embodiment, in the first stage of the job flow, the person who issues the job fills in the input corresponding to the equipment name, equipment number, job level and remarks. As shown in Figure 6, the input box of the job level is an option input box, and the options include first-level, second-level and third-level options. Attributes such as the input data type, input box length, and input box position of the input box are set according to the field data table.

在作业流程的第二阶段,由维修人员接收作业任务并对维修单位、维修人以及维修时间进行填写,如图7所示。因为第二阶段具有审批过程,所以在维修人源填写完后发送至审批人员,审批人员对审批人员以及审批意见进行填写,如图8所示。In the second stage of the operation process, the maintenance personnel receive the operation task and fill in the maintenance unit, maintenance person and maintenance time, as shown in Figure 7. Because the second stage has an approval process, after filling in the maintenance personnel source, it is sent to the approver, and the approver fills in the approver and approval comments, as shown in Figure 8.

在作业流程的最后阶段,维修人员完成维修并对维修内容描述进行填写以及上传维修图片,如图9所示。图5至图9中带有三角的输入框均为选择输入框,带有数据源或默认选项。In the final stage of the operation process, the maintenance personnel complete the maintenance and fill in the description of the maintenance content and upload the maintenance pictures, as shown in Figure 9. The input boxes with triangles in Figure 5 to Figure 9 are all selection input boxes with data source or default options.

可选的,本发明实施例提供的另一种作业表单的生成方法,还包括:Optionally, another method for generating a job form provided by an embodiment of the present invention further includes:

完成作业表单的填写后,将作业表单中的所有数据回填至目标字段表中。再将目标字段进行存储。也可以打印目标字段表。After completing the job form, backfill all the data in the job form into the target fields table. Then store the target field. The target field table can also be printed.

可选的,本发明实施例适用于安全作业表单的生成,同样也适用于其它作业表单的生成。Optionally, the embodiment of the present invention is applicable to the generation of the security work form, and is also applicable to the generation of other work forms.

需要说明的是,上述举的实施例是较为简单的例子,在实际应用过程中,有更为复杂、流程更多的例子,本发明也同样适用。It should be noted that the above-mentioned embodiments are relatively simple examples, and in the actual application process, there are more complicated examples with more processes, and the present invention is also applicable.

本发明实施例公开的一种作业表单的生成方法,包括:获取目标字段表中的目标字段;获取字段属性表中的目标字段的属性;获取字段流程表中的目标字段的流程阶段数;根据目标字段、目标字段的属性以及目标字段的流程阶段数生成作业表单。本发明通过获取目标字段成为作业表单中的元素,通过获取目标字段的属性定义与对应元素的输入框,通过获取流程阶段数定义每个元素对应的输入框填写权限,生成了带有流程控制的作业表单且操作简单,只需要操作人员预先将目标字段、表字段属性表以及字段流程表填写好上传配置即可,使用门槛低。A method for generating a job form disclosed in an embodiment of the present invention includes: acquiring a target field in a target field table; acquiring the attribute of the target field in a field attribute table; acquiring the number of process stages of the target field in the field process table; The target field, the properties of the target field, and the number of process stages of the target field generate the job form. In the present invention, by acquiring the target field to become an element in the job form, by acquiring the attribute definition of the target field and the input box of the corresponding element, and by acquiring the number of process stages to define the filling authority of the input box corresponding to each element, a process control system is generated. The job form is simple and easy to operate. The operator only needs to fill in the target field, table field attribute table and field process table in advance to upload the configuration, and the threshold for use is low.

基于上述公开的作业表单生成方法,本发明实施例还公开了一种作业表单的生成的装置。如图4所示,该装置包括:目标字段获取单元401、属性获取单元402、流程阶段数获取单元403以及作业表单生成单元404,Based on the method for generating a job form disclosed above, an embodiment of the present invention further discloses an apparatus for generating a job form. As shown in FIG. 4 , the device includes: a target field acquisition unit 401, an attribute acquisition unit 402, a process stage number acquisition unit 403, and a job form generation unit 404,

目标字段获取单元401,用于获取目标字段表中的目标字段;A target field obtaining unit 401, used for obtaining the target field in the target field table;

属性获取单元402,用于获取字段属性表中的目标字段的属性;an attribute obtaining unit 402, used for obtaining the attribute of the target field in the field attribute table;

流程阶段数获取单元403,用于获取字段流程表中的目标字段的流程阶段数;The number of process stages acquisition unit 403 is used to acquire the number of process stages of the target field in the field process table;

作业表单生成单元404,用于根据目标字段、目标字段的属性以及目标字段的流程阶段数生成作业表单。The job form generating unit 404 is configured to generate a job form according to the target field, the attribute of the target field, and the number of process stages of the target field.

可选的,目标字段获取单元401具体用于:Optionally, the target field obtaining unit 401 is specifically configured to:

获取字段属性表中的目标字段的字段名称、字段类型、字段绑定的数据源、输入源、是否必填、键值、标识、宽度、新建是否显示、首页是否显示、默认选项权限、字段名长度、填充位置以及是否自动填充中的至少一个属性。Get the field name, field type, data source of the field binding, input source, whether it is required, key value, logo, width, whether to display new, whether to display the home page, default option permission, and field name of the target field in the field attribute table At least one property of length, padding position, and whether to auto pad.

可选的,作业表单生成单元404包括:元素名生成子单元、输入框生成子单元、顺序权限设置单元以及人员权限设置单元,Optionally, the job form generation unit 404 includes: an element name generation subunit, an input box generation subunit, a sequence authority setting unit, and a personnel authority setting unit,

元素名生成子单元,用于根据目标字段生成作业表单中的元素名;The element name generation subunit is used to generate the element name in the job form according to the target field;

输入框生成子单元,用于根据目标字段的属性生成作业表单中与元素名对应的输入框;The input box generation subunit is used to generate the input box corresponding to the element name in the job form according to the attribute of the target field;

顺序权限设置单元,用于将输入框的填写顺序权限设置为与目标字段的流程阶段数匹配的顺序权限;The sequence permission setting unit is used to set the filling sequence permission of the input box to the sequence permission matching the number of process stages of the target field;

人员权限设置单元,用于将输入框的填写人员权限设置为与目标字段的流程阶段数匹配的人员权限。The personnel authority setting unit is used to set the personnel authority for filling in the input box to the personnel authority matching the number of process stages of the target field.

可选的,该作业表单的生成的装置还包括:第一流程确定单元、第一发送单元、第一接收单元和第一最后流程阶段确定单元,Optionally, the device for generating the job form further includes: a first process determining unit, a first sending unit, a first receiving unit, and a first final process stage determining unit,

第一流程确定单元,用于根据流程阶段数确定各个流程阶段的顺序与各个流程阶段的填写人员,将各个流程阶段中的第一个流程阶段确定为当前流程阶段,将生成的作业表单确定为当前作业表单;The first process determination unit is used to determine the sequence of each process stage and the filling personnel of each process stage according to the number of process stages, determine the first process stage in each process stage as the current process stage, and determine the generated job form as current job form;

第一发送单元,用于将当前作业表单发送至当前流程阶段的填写人员;The first sending unit is used to send the current job form to the filling person in the current process stage;

第一接收单元,用于接收当前流程阶段的填写人员输入的信息并将输入的信息填入当前作业表单中;The first receiving unit is used to receive the information input by the filling personnel of the current process stage and fill in the input information into the current job form;

第一最后流程阶段确定单元,用于确定当前流程阶段是否是各个流程阶段中的最后一个流程阶段,如果不是,则将当前流程阶段的下一流程阶段确定为当前流程阶段,返回触发第一发送单元;如果是,则将当前作业表单进行保存。The first final process stage determination unit is used to determine whether the current process stage is the last process stage in each process stage, if not, determine the next process stage of the current process stage as the current process stage, and return to trigger the first transmission unit; if so, save the current job form.

可选的,该作业表单的生成的装置还包括:第二流程确定单元、第二发送单元、第二接收单元、审批确定单元、审批通过确定单元和第二最后流程阶段确定单元,Optionally, the device for generating the job form further includes: a second process determining unit, a second sending unit, a second receiving unit, an approval determining unit, an approval passing determination unit, and a second final process stage determining unit,

第二流程确定单元,用于根据流程阶段数确定各个流程阶段的顺序与各个流程阶段的填写人员,将各个流程阶段中的第一个流程阶段确定为当前流程阶段,将生成的作业表单确定为当前作业表单;The second process determination unit is used to determine the sequence of each process stage and the filling personnel of each process stage according to the number of process stages, determine the first process stage in each process stage as the current process stage, and determine the generated job form as current job form;

第二发送单元,用于将当前作业表单发送至当前流程阶段的填写人员;The second sending unit is used to send the current job form to the filling person in the current process stage;

第二接收单元,用于接收当前流程阶段的填写人员输入的信息并将输入的信息填入当前作业表单中;The second receiving unit is used to receive the information input by the filling personnel of the current process stage and fill the input information into the current job form;

审批确定单元,用于确定当前流程阶段是否需要审批,如果需要审批,则将输入信息后的当前作业表单发送至当前流程阶段的审批人员,获得审批人员输入的审批信息并将审批信息填入当前作业表单中,如果不需要审批,则触发第二最后流程阶段确定单元;The approval determination unit is used to determine whether approval is required in the current process stage. If approval is required, the current job form after inputting information is sent to the approvers in the current process stage, and the approval information entered by the approvers is obtained and the approval information is filled in the current process. In the job form, if no approval is required, the second final process stage determination unit is triggered;

审批通过确定单元,用于根据审批信息确定当前流程阶段是否审批通过,如果审批通过,则触发第二最后流程阶段确定单元,如果审批不通过,则将当前作业表单进行保存;The approval determination unit is used to determine whether the current process stage is approved according to the approval information. If the approval is approved, the second final process stage determination unit is triggered. If the approval is not approved, the current job form is saved;

第二最后流程阶段确定单元,用于确定当前流程阶段是否是各个流程阶段中的最后一个流程阶段,如果不是最后一个流程阶段,则将当前流程阶段的下一流程阶段确定为当前流程阶段,返回触发第二发送单元;如果是最后一个流程阶段,则将当前作业表单进行保存。The second final process stage determination unit is used to determine whether the current process stage is the last process stage in each process stage, if it is not the last process stage, determine the next process stage of the current process stage as the current process stage, and return Trigger the second sending unit; if it is the last process stage, save the current job form.

需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any such actual relationship or sequence exists. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to the partial descriptions of the method embodiments.

以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (10)

1. A method for generating a job form, comprising:
acquiring a target field in a target field table;
acquiring the attribute of the target field in a field attribute table;
acquiring the number of process stages of the target field in a field process table;
and generating a job form according to the target field, the attribute of the target field and the number of the process stages of the target field.
2. The method of claim 1, wherein obtaining the attributes of the target field in the field attribute table comprises:
and acquiring at least one attribute of a field name, a field type, a data source bound to the field, an input source, whether to fill in the field, a key value, an identification, a width, whether to display a new field, whether to display a home page, a default option permission, a field name length, a filling position and whether to automatically fill in the target field in a field attribute table.
3. The method of claim 1, wherein generating a job form based on the target field, the attributes of the target field, and the number of process stages of the target field comprises:
generating element names in the job form according to the target fields;
generating an input box corresponding to the element name in the job form according to the attribute of the target field;
setting the filling sequence authority of the input box as a sequence authority matched with the process stage number of the target field;
and setting the filling personnel authority of the input box as the personnel authority matched with the flow stage number of the target field.
4. The method of claim 1, further comprising:
determining the sequence of each flow stage and the filling personnel of each flow stage according to the number of the flow stages, determining the first flow stage in each flow stage as the current flow stage, and determining the generated operation form as the current operation form;
sending the current operation form to a filling person in the current flow stage;
receiving information input by a filling person in the current process stage and filling the input information into a current operation form;
determining whether the current flow stage is the last flow stage in each flow stage, if not, determining the next flow stage of the current flow stage as the current flow stage, and returning to the step of executing the step of sending the current job form to the filling staff of the current flow stage; if yes, the current job form is saved.
5. The method of claim 1, further comprising:
determining the sequence of each flow stage and the filling personnel of each flow stage according to the number of the flow stages, determining the first flow stage in each flow stage as the current flow stage, and determining the generated operation form as the current operation form;
sending the current operation form to a filling person in the current flow stage;
receiving information input by a filling person in the current process stage and filling the input information into a current operation form;
determining whether the current process stage needs to be approved, if so, sending the current operation form after information input to an approval staff of the current process stage, obtaining the approval information input by the approval staff and filling the approval information into the current operation form;
determining whether the current process stage passes the examination and approval according to the examination and approval information, if so, determining whether the current process stage is the last process stage in each process stage, if not, determining the next process stage of the current process stage as the current process stage, and returning to execute the step of sending the current operation form to a filling worker of the current process stage; if the last process stage is adopted, the current operation form is saved;
if the examination and approval is not passed, storing the current operation form;
if approval is not required, the step of determining whether the current flow stage is the last flow stage of the flow stages is performed.
6. An apparatus for generation of a job form, the apparatus comprising: a target field acquiring unit, an attribute acquiring unit, a process stage number acquiring unit, and a job form generating unit,
the target field acquiring unit is used for acquiring a target field in a target field table;
the attribute obtaining unit is used for obtaining the attribute of the target field in a field attribute table;
the process stage number acquiring unit is used for acquiring the process stage number of the target field in a field process table;
and the job form generating unit is used for generating a job form according to the target field, the attribute of the target field and the number of the process stages of the target field.
7. The apparatus according to claim 6, wherein the target field obtaining unit is specifically configured to:
and acquiring at least one attribute of a field name, a field type, a data source bound to the field, an input source, whether to fill in the field, a key value, an identification, a width, whether to display a new field, whether to display a home page, a default option permission, a field name length, a filling position and whether to automatically fill in the target field in a field attribute table.
8. The apparatus according to claim 6, wherein the job form generation unit includes: an element name generating subunit, an input box generating subunit, a sequence authority setting unit and a personnel authority setting unit,
the element name generating subunit is configured to generate an element name in the job form according to the target field;
the input box generating subunit is configured to generate an input box corresponding to the element name in the job form according to the attribute of the target field;
the sequence authority setting unit is used for setting the filling sequence authority of the input box as a sequence authority matched with the number of the process stages of the target field;
and the personnel permission setting unit is used for setting the filling personnel permission of the input box as the personnel permission matched with the number of the process stages of the target field.
9. The apparatus of claim 6, further comprising: a first flow determining unit, a first sending unit, a first receiving unit and a first final flow stage determining unit,
the first flow determining unit is used for determining the sequence of each flow stage and the filling personnel of each flow stage according to the number of the flow stages, determining the first flow stage in each flow stage as the current flow stage, and determining the generated job form as the current job form;
the first sending unit is used for sending the current operation form to a filling person in the current process stage;
the first receiving unit is used for receiving information input by a filling person in the current process stage and filling the input information into a current operation form;
a first last flow stage determining unit, configured to determine whether the current flow stage is the last flow stage in each flow stage, if not, determine a next flow stage of the current flow stage as the current flow stage, and return to triggering the first sending unit; if yes, the current job form is saved.
10. The apparatus of claim 6, further comprising: a second process determining unit, a second sending unit, a second receiving unit, an approval determining unit, an approval pass determining unit and a second final process stage determining unit,
the second process determining unit is used for determining the sequence of each process stage and the filling personnel of each process stage according to the number of the process stages, determining the first process stage in each process stage as the current process stage, and determining the generated job form as the current job form;
the second sending unit is used for sending the current operation form to a filling person in the current process stage;
the second receiving unit is used for receiving information input by a filling person in the current process stage and filling the input information into the current operation form;
the examination and approval determining unit is used for determining whether the current process stage needs examination and approval, if so, sending the current operation form after information input to an examination and approval person in the current process stage, obtaining examination and approval information input by the examination and approval person and filling the examination and approval information into the current operation form, and if not, triggering a second final process stage determining unit;
the examination and approval pass determining unit is used for determining whether the current process stage passes examination and approval according to the examination and approval information, if the examination and approval passes, the second last process stage determining unit is triggered, and if the examination and approval does not pass, the current operation form is stored;
the second last process stage determining unit is used for determining whether the current process stage is the last process stage in each process stage, if not, determining the next process stage of the current process stage as the current process stage, and returning to trigger the second sending unit; if the last flow stage is the current flow stage, the current job form is saved.
CN202010139033.XA 2020-03-03 2020-03-03 A method and device for generating a job form Pending CN111369138A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010139033.XA CN111369138A (en) 2020-03-03 2020-03-03 A method and device for generating a job form

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010139033.XA CN111369138A (en) 2020-03-03 2020-03-03 A method and device for generating a job form

Publications (1)

Publication Number Publication Date
CN111369138A true CN111369138A (en) 2020-07-03

Family

ID=71206677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010139033.XA Pending CN111369138A (en) 2020-03-03 2020-03-03 A method and device for generating a job form

Country Status (1)

Country Link
CN (1) CN111369138A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115982171A (en) * 2023-01-11 2023-04-18 上海东普信息科技有限公司 Business form construction method, device, equipment and storage medium
WO2023225459A2 (en) 2022-05-14 2023-11-23 Novozymes A/S Compositions and methods for preventing, treating, supressing and/or eliminating phytopathogenic infestations and infections

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779040A (en) * 2012-06-21 2012-11-14 东莞市微模式软件有限公司 Method and device for generating user-defined form
CN105303362A (en) * 2015-09-17 2016-02-03 哈尔滨工程大学 Web signature process method based on storage process
CN110231936A (en) * 2019-06-21 2019-09-13 北京金山软件有限公司 A kind of application method of mobile terminal flow engine frame and mobile terminal flow engine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779040A (en) * 2012-06-21 2012-11-14 东莞市微模式软件有限公司 Method and device for generating user-defined form
CN105303362A (en) * 2015-09-17 2016-02-03 哈尔滨工程大学 Web signature process method based on storage process
CN110231936A (en) * 2019-06-21 2019-09-13 北京金山软件有限公司 A kind of application method of mobile terminal flow engine frame and mobile terminal flow engine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023225459A2 (en) 2022-05-14 2023-11-23 Novozymes A/S Compositions and methods for preventing, treating, supressing and/or eliminating phytopathogenic infestations and infections
CN115982171A (en) * 2023-01-11 2023-04-18 上海东普信息科技有限公司 Business form construction method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US20210303778A1 (en) Virtual Redaction Service
CA2786386C (en) Computer form action zone summary system and method
US8065527B2 (en) System and method for embedding a written signature into a secure electronic document
US9514117B2 (en) System and method for document tagging templates
US20140298151A1 (en) Creation and distribution of forms
CN110264325A (en) A blockchain-based invoice review method and device
KR102144455B1 (en) Method and apparatus for providing contract management service
WO2019075778A1 (en) Seal management method and device, computer device and storage medium
CN103902517A (en) Separated electronic official document mark remaining and showing method and system
CN104392184B (en) A kind of method of the generation of Multi-stage electronic file voucher and verification
CN111369138A (en) A method and device for generating a job form
JP2009211176A (en) Information processor, information processing method, and information processing program
JP2018506125A (en) Creating a signed electronic document
US9116935B2 (en) Method and system to promote database cost savings
KR20200000310A (en) Official stamp management system and method the same
CN106970780A (en) A kind of data interactive method and device
US8493581B2 (en) Electronic document having authentication function
CN117331477A (en) Three-dimensional model annotation data storage method, device and electronic equipment
JP6086470B2 (en) Application batch creation system
JP5066008B2 (en) Information processing apparatus, information processing method, and program
US20190102371A1 (en) Immigration data management
KR20160067628A (en) System for electronic approval and imaging of drawings and method thereof
JP2016062301A (en) Workflow generation device, workflow generation method, and workflow generation program
JP5660181B2 (en) Workflow system, workflow control method, program, and recording medium.
CN113095051B (en) Method, device, computer equipment and storage medium for generating response mark enterprise report

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200703