Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a form designer, which comprises a business form designer and an IT form designer, wherein the business form designer is in communication connection with the IT form designer, the business form designer comprises a business form template module, a business control module, a task module, an online checking module, a test module and an auditing module, the business form template module is used for generating a business form template and the operation of the corresponding business form template, the business control module is used for binding business data and establishing the action relationship among all controls of the business control module, the task module is used for issuing a task to the IT form designer and sending the business form template to the IT form designer, the online checking module is used for checking the IT form template sent by the IT form designer online, the test module is used for simulating and filling the IT form template sent by the IT form designer, the auditing module is used for proposing a problem to the IT form with the problem and returning the problem to the IT form designer;
the IT form designer comprises a receiving module, a form instance database table generating module, an IT control module, a maintenance module and a submission module, wherein the receiving module is used for receiving tasks issued by the task module and corresponding business form templates, the form instance database table generating module generates a form instance database table according to the business control module and correspondingly generates the IT form templates, the IT control module establishes a mapping relation and a binding relation between fields of the form instance database table and the IT control module according to the business control module, the maintenance module is used for establishing the mapping relation between the IT control module and the business control module, and the submission module is used for submitting the IT form templates to business management personnel for checking, testing and auditing.
Furthermore, the business form template module comprises a template newly-built module, a template editing module, a template deleting module, a template changing module, a template cancelling module, a template browsing module, a template searching module and a template publishing module.
Further, the service control module includes a static control, a device selection box, a basic information display box, a design value display box, a measurement value collection box, a collection time scale box, a historical measurement value source box, a historical measurement value display box, and a measurement value check box.
Further, the IT control module performs behavior script configuration according to the control type of the service control module.
Furthermore, the IT control module constructs static texts, images and tables corresponding to the static controls, the IT control module is constructed into a text box and a selection button corresponding to the equipment selection box, the IT control module is constructed into a text box corresponding to the basic information display box, the IT control module is constructed into a text box corresponding to the design value display box, the IT control module is constructed into a numerical value box corresponding to the measurement value acquisition box, the IT control module constructs a date frame corresponding to a quantity acquisition time mark frame, the IT control module is constructed into a date frame corresponding to a historical time scale frame, the IT control module is constructed into a date frame corresponding to a historical measurement value display frame, the IT control module is constructed into a numerical value box corresponding to the historical measurement value display box, and the IT control module is constructed into a text box corresponding to the measurement value check box.
Further, the business form designer and the IT form designer communicate and are in data connection through the form server.
Furthermore, the form designer further comprises a version manager, and the version manager is used for performing version management on the business form template and the IT form template, so that statistics is facilitated.
The invention has the beneficial effects that:
1. compared with the traditional mode that the business management personnel collects and provides the business data for the IT personnel to design the form template, the invention customizes the form control and the related form template through the business management personnel, the business personnel is more familiar with the corresponding business data, and the error in the form is easier to find out, thus being beneficial to improving the working efficiency and the data management.
2. The invention defines the rule of the table to acquire key business data and general data from the unidirectional public database based on the form template, is beneficial to unifying the data and updating the data, and can automatically complete the statistical work of the form data.
3. The invention is in favor of the integral change unification of data and reduces the repeatability and the statistic confusion of data through the linkage of the business form designer and the IT form designer after the business change or the business form version change.
Detailed Description
The invention is further illustrated below with reference to fig. 1.
The form designer of the embodiment comprises a business form designer and an IT form designer, the business form designer is in communication connection with the IT form designer, the business form designer and the IT form designer are in communication and data connection through a form server, the form server comprises an IT form engine, a public data collector and a public database, and the business form designer comprises a business form template module, a business control module, a task module, an online checking module, a testing module and an auditing module.
The IT form designer comprises a receiving module, a form instance database table generating module, an IT control module, a maintenance module and a submitting module.
The business management personnel are responsible for the design of the business form template and mainly comprise the following steps: 1) initiating new construction and change of a business form template through a business form designer, mainly generating operation of the business form template and a corresponding business form template through a business form template module, and designing a business form template prototype by using simple tools such as Office and the like; 2) designing a model of a business control module, binding business data through the business control module and establishing an action relation among all controls of the business control module; 3) configuring a form data set, transmitting data of the form data set to an IT form engine of a form server, and then storing the data in the IT form engine into a public database by a public data collector; 4) the method comprises the following steps of issuing a task of an IT form template design to IT personnel, issuing the task to an IT form designer through a task module and sending a business form template to the IT form designer; 5) checking an IT form template submitted by an IT person, and checking the IT form template through an online checking module; 6) testing whether an IT form template designed by an IT person meets the requirement, and performing simulation filling on the IT form template sent by an IT form designer through a testing module; 7) checking an IT form designed by an IT person, proposing a problem to the IT form with the problem through a checking module and returning the problem to an IT form designer; 8) and finally, if the IT form template meets the requirements, issuing the confirmed IT form template.
After the business management personnel finish the design of the business form, the business management personnel submit the business form to IT personnel to continue to finish the design work of an IT form template, and the method comprises the following steps: 1) receiving a business form template submitted by a business manager, and receiving a task issued by a task module and a corresponding business form template through a receiving module; 2) generating a form instance database table and an IT form template, generating the form instance database table according to the business control module through a form instance database table generating module, and correspondingly generating the IT form template; 3) defining the layout and the style of the IT form control, and performing the corresponding layout and the style of the IT form control by IT personnel according to requirements; 4) establishing a mapping relation between an IT control and a business control and a binding relation between the IT control and a form instance database table, and establishing a mapping relation and a binding relation between a form instance database table field and an IT control module through an IT control module according to the business control module; 5) performing behavior script configuration through the IT control module according to the control type of the service control module; 6) establishing a mapping relation between an IT control module and a business control module through a maintenance module; 7) and submitting the IT form template to the service management personnel through the submission module for the service management personnel to check, test and verify. The IT form template of the IT form designer is uploaded to an IT form engine, data in the IT form engine is stored into a public database by a public data collector, business management personnel only read and acquire corresponding IT form template data from the IT form engine through the business form designer, and the IT form engine acquires the data from the public database.
And completing the design of the form template through the form designer, and performing the operation of the form instance after the form template is issued to the form server.
The business form template module comprises a template newly-built module, a template editing module, a template deleting module, a template changing module, a template invalidation module, a template browsing module, a template searching module and a template publishing module.
Wherein, the new module of template is used for newly-built form template, includes: a) selecting a service form group; b) automatically generating a service form number; c) inputting the name, description and valid period of the business form; d) setting an applicable service range, and selecting service items, service flows and service activities; e) setting an applicable organization range, and selecting units, departments and posts; f) support the copying/pasting of form templates.
The template editing module is used for editing a form template (draft) and editing a form which is initiated to be established or changed but is not issued, wherein the form belongs to the draft and the edition of the draft does not belong to the change.
The template deletion module is used for deleting a form template (draft), the established but unpublished form belongs to the draft, the draft is allowed to be deleted, and the deleted business form does not need to support recovery.
The template changing module is used for changing the form template, has the similar function as editing aiming at the issued service form, and initiates the change but is not issued and is also in a draft state.
The template invalidation module is used for invalidating the form template, invalidating the issued business form to indicate that the validity period of the business form is over, and automatically invalidating the form according to the validity period of the form.
The template browsing module is used for browsing the form template and providing a business form directory browsing mode according to groups.
The template searching module is used for searching the form template, fuzzy searching is carried out according to key words, or accurate searching is carried out according to fields such as the state of a business form and the name of the form.
The template publishing module is used for publishing the form template and publishing the newly-built and changed business form in the draft state. After the form is released, a service manager can access the form through a related task page to fill and report the form example, release a service form template, and a version manager of a form designer automatically distributes the version number to the form, so that statistics is facilitated.
The business control module comprises a static control, a device selection box, a basic information display box, a design value display box, a measured value acquisition box, an acquisition time scale box, a historical measured value source box, a historical measured value display box and a measured value check box. It should be noted that, in the embodiment, the control included in the service control module is not specifically described herein, because the service control is designed for the relevant service of the power system.
The IT control module is corresponding to a static control to construct a static text, an image and a table, the IT control module is corresponding to an equipment selection frame to construct a text box and a selection button, the IT control module is corresponding to a basic information display frame to construct a text box, the IT control module is corresponding to a design value display frame to construct a text box, the IT control module is corresponding to a measurement value acquisition frame to construct a data box, the IT control module is corresponding to a measurement acquisition time scale frame to construct a date box, the IT control module is corresponding to a history measurement value display frame to construct a data box, and the IT control module is corresponding to a measurement value check box to construct a text box.
The form designer of the embodiment manages the data definition of the form and the mutual constraint relation of other modules of the system, and meets the following functional effects:
1. form template definitions are managed. And defining a form template based on a standard business data configuration scheme, and describing key business data configuration, data input and calculation rules of intermediate data. Compared with the traditional mode that business data are collected and provided for IT personnel to design a form template by business management personnel, in the embodiment, through self-defining of the form control and the related form template by the business management personnel, the business personnel are more familiar with the corresponding business data, errors appearing in the form can be found out more easily, the improvement of the working efficiency and the data management are facilitated, meanwhile, the business personnel participate and confirm in the whole process during form design, the understanding of the form design is clearer, the problem of repeated entry of the form data is solved, and the consistency of the data is facilitated.
2. The actual business form definition is managed. Based on the form template, an actual business form is generated, a rule that the form acquires key business data and general data from a one-way public database is defined, unification of the data and updating of the data are facilitated, and statistical work of form data can be automatically completed.
3. Through the linkage of the business form designer and the IT form designer, when the business is changed or the version of the business form is changed, the whole change unification of the data is facilitated, and the repeatability and the statistic confusion of the data are reduced.
The above description is only a preferred embodiment of the present invention, the present invention is not limited to the above embodiment, and there may be some slight structural changes in the implementation, and if there are various changes or modifications to the present invention without departing from the spirit and scope of the present invention, and within the claims and equivalent technical scope of the present invention, the present invention is also intended to include those changes and modifications.