CN115221840A - PDM system-oriented business document structured dynamic form configuration method - Google Patents

PDM system-oriented business document structured dynamic form configuration method Download PDF

Info

Publication number
CN115221840A
CN115221840A CN202210812754.1A CN202210812754A CN115221840A CN 115221840 A CN115221840 A CN 115221840A CN 202210812754 A CN202210812754 A CN 202210812754A CN 115221840 A CN115221840 A CN 115221840A
Authority
CN
China
Prior art keywords
control
document
name
template
title
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
CN202210812754.1A
Other languages
Chinese (zh)
Inventor
杨松贵
周芹
柏东森
杜星锋
汪俞华
赵仁圆
王志康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Witsoft Technology Co Ltd
Original Assignee
Nanjing Witsoft 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 Nanjing Witsoft Technology Co Ltd filed Critical Nanjing Witsoft Technology Co Ltd
Priority to CN202210812754.1A priority Critical patent/CN115221840A/en
Publication of CN115221840A publication Critical patent/CN115221840A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention provides a PDM system-oriented business document structured dynamic form configuration method, which realizes the universalization and differentiation requirements of users by dynamically configuring a structured form template to carry out interface configuration, data source configuration and online programming of template content elements. The dynamic configuration structured mode enables data information to be accurately transmitted to a downstream system, reduces manual processing time, improves efficiency and accuracy of business documentation, reduces system construction and maintenance cost of enterprises, and improves enterprise competitiveness.

Description

PDM system-oriented business document structured dynamic form configuration method
Technical Field
The invention relates to the field of document data structured processing, in particular to a PDM system-oriented business document structured dynamic form configuration method.
Background
The degree of office automation of industrial enterprises is increasing, and the number of internal electronic documents is also increasing more than ever. In enterprises, business electronic documents are a very critical intellectual asset form, and the electronic document data is different from database data, and cannot be directly transmitted to a downstream system (for example, quality inspection information in technical agreement documents cannot be directly transmitted to a QMS quality management system, party A and party B information, payment information and payment modes in contracts cannot be transmitted to a CRM customer management system and a financial system).
With the rapid development of information technology and the demand of product life cycle information management, the PDM technology starts to gradually enter industrial manufacturing enterprises and is popularized and applied, the PDM is a technology for managing all product-related information (including electronic documents, digital files, database records and the like) and all product-related processes (including work flows and modification flows) on the basis of software, PDM software developed by the information technology is used for realizing the product life cycle information management and is collectively called a PDM manufacturing process data document management system, and the PDM manufacturing process data document management system provides the product life cycle information management and can establish a parallelized collaboration environment for product design and manufacturing within the range of the industrial manufacturing enterprises.
At present, although the PDM manufacturing process data document management system effectively organizes production operation documents such as enterprise production process cards, part blueprints, three-dimensional digifs, cutter lists, quality files, numerical control programs and the like through strengthening documents, drawings and efficient utilization of data, the paperless workshop is realized, the production efficiency is improved, the management of the whole life cycle of products is facilitated, document data is also generally managed in a manual arrangement mode, document contents are arranged and input into a downstream system, and document data is manually arranged.
Disclosure of Invention
In order to solve the above technical problem, the present invention provides a PDM system-oriented service document structured dynamic form configuration method, which includes the following steps:
s1, making a document template, wherein the document template is an enterprise business electronic document template;
the document template comprises the content and the style of the document;
the content of the document includes a section;
the sections are sections or paragraphs of the document content;
s2, creating and setting a template form object in the document management system;
the template form object comprises a document name, a number, a type, a version, a creator, creation time, a modifier, modification time, a life cycle state and a description;
the document management system is a PDM product data management system, and the PDM product data management system is an enterprise product data management platform;
furthermore, the PDM product data management system is windkill software;
s3, developing a document template editor, and loading the developed document template editor through a template object in the PDM product data management system;
the document template editor comprises chapter names, basic type controls, advanced type controls, layout type controls, form editing areas, control attribute editing areas, component event editing areas, document template modules with labels and document template downloading modules with labels;
the chapter name is used to define a chapter or paragraph of the document template;
the basic class control comprises a control value and a control attribute;
the advanced class control comprises a control value and a control attribute;
the layout class control comprises a control value and a control attribute;
the basic class controls comprise a single-row input control, a multi-row input control, a digital input control, a radio frame group control, a multi-selection frame group control, a pull-down selection control, a search frame control, a cascade selection control, a date selection control, a file uploading control, a picture uploading control, a parting line control, a text control, a rich text control and a button control;
the attributes of the single-row input control comprise an internal name, a father internal name, a title name, an occupancy prompt, a control grid, a title width, a column minimum width and a maximum input character number;
the attributes of the multi-row input control comprise an internal name, a father internal name, a title name, an occupancy prompt, a control grid, a title width, a column minimum width, a maximum input character number, a minimum row number and a maximum row number;
the attributes of the digital input control comprise an internal name, a father internal name, a title name, an occupation prompt, a control grid, a title width, a column minimum width, a minimum value, a maximum value, a step length and precision;
the attributes of the radio frame group control comprise an internal name, a father internal name, a title name, a control grid, a title width, a default value and a data source option; the data source options comprise static data, a data dictionary and remote data;
the attributes of the multi-box group control comprise an internal name, a father internal name, a title name, a control grid, a title width, a default value, whether multiple lines exist or not and a data source type selection; the data source selection comprises static data, a data dictionary and remote data;
the attributes of the pull-down selection control comprise an internal name, a father internal name, a title name, a control grid, an occupancy prompt, a title width, a column minimum width, a component width, a default value and a data source option; the data source options comprise static data, a data dictionary and remote data;
the attributes of the search box control comprise an internal name, a father internal name, a title name, a control grid, an occupancy prompt, a title width, a column minimum width, a component width, a data interface, a value corresponding to the data interface and a label corresponding to the data interface;
the attributes of the cascade selection control comprise an internal name, a father internal name, a title name, a control grid, an occupancy prompt, a title width, a column minimum width, a component width, a default value and a data source option; the data source options comprise static data, a data dictionary and remote data;
the attributes of the date selection control comprise an internal name, a parent internal name, a title name, a control grid, an occupancy prompt, a title width, a column minimum width, a component width, a default value, a time type and a time format;
the attributes of the file uploading control comprise an internal name, a father internal name, a title name, a control grid, a title width, a character size, button characters and a maximum uploading number;
the attributes of the picture uploading control comprise an internal name, a father internal name, a title name, a control grid, a title width, a file size and a maximum uploading number;
the attributes of the parting line control comprise an internal name, a father internal name, a control grid, a demonstration text and a text position;
the attributes of the text control comprise an internal name, a father internal name, a control grid, a title name, text content, line height, font size, an alignment mode and font color;
the properties of the rich text control comprise an internal name, a father internal name, a control grid, a title name, a title width and a default value;
the attributes of the button control comprise an internal name, a father internal name, a title name, a button type and a control grid; the button type includes a background display type of the button;
the advanced class control comprises a table control and a paging table control;
the attributes of the form control comprise an internal name, a father internal name, a title name, a maximum height, a fixed first few columns, an imported EXCEL, an exported EXCEL, column management and row management; the column management comprises column addition, column deletion and column modification; the line management comprises line addition, line deletion and line modification;
the attributes of the paging table control comprise an internal name, a father internal name, a title name, a maximum height, a fixed first few columns, an imported EXCEL, an exported EXCEL, a column management, a row management, paging and the number of displays of each page; the column management comprises column addition, column deletion and column modification; the line management comprises line addition, line deletion and line modification;
the layout class control comprises a grouping header control and a copy group control;
the attributes of the grouped title controls comprise internal names, father internal names, control grids, title names and alignment modes;
the attribute of the copy group control comprises an internal name, a father internal name and a title name;
the form editing area is used for displaying the positions where the basic type control, the advanced type control and the layout type control are placed;
the control attribute editing area is used for editing the attribute of the selected control;
the component event editing area is used for realizing the data service logic of the service form by code programming aiming at the currently selected control;
the document template uploading module with the label is used for uploading the document template with the label and storing the uploaded document template with the label into a memory;
the document template downloading module with the label is used for downloading the document template with the label;
s4, in the PDM product data management system, editing a template form by adopting a document template editor according to a document template;
s41, calling the loaded document template editor through a PDM product data management system, and popping up the document template editor;
s42, the document template editor creates chapters based on the form objects in the PDM product data management system, wherein each chapter comprises a form editing area;
s43, placing the control at a corresponding position of the form editing area in a control dragging mode, setting a property value of the control in a control property editing area, and writing a code for realizing the business form data business logic in a component event editing area according to actual needs;
s5, storing the template form in a document template editor, generating and creating a JSON document, and storing the created JSON document in a memory;
the JSON document comprises attributes, chapters, control values, control attributes and component events of the document;
the template form is stored as the JSON document, and compared with a mode of creating a database table, when the data of the business form is displayed, the method has the advantages that not only are few resources occupied, but also the operation efficiency can be improved;
s6, filling the internal name of the form control in the corresponding position of the document template on the document template manufactured in the step S1 to manufacture the document template with the data label;
s7, uploading the document template with the data tag manufactured in the step S6 to a memory through a document template uploading module with the tag, and establishing a one-to-one corresponding relation between the form template and the document template with the tag; finally, the creation and the relation binding of the form template and the document template with the label are completed;
s8, starting the template form object in the PDM product data management system, starting and issuing the template form object compiled in the step S2 by the PDM product data management system, and generating the template form into a usable state;
the PDM product data management system starts and publishes a template form object, and the template form is generated to be in an available state, so that the PDM product data management system has the existing function;
s9, creating a document instance object in the PDM product data management system based on the template form object of the available state of the S8;
creating a document instance object based on the available state template form object in the PDM product data management system is the existing function of the PDM product data management system;
s10, starting a document instance editor based on the document instance object created in the step S9;
the document instance editor loads the JSON document manufactured in the step S5 to generate an interface for displaying and filling document contents, wherein the interface displays the title name of the control edited in the document template editor and the input frame or the selection frame or the drop-down frame of the control value;
s11, filling corresponding contents in an input box of a control value of an interface for displaying and filling document contents, which is generated by a document instance editor;
the page also comprises a business logic module, wherein the business logic module is used for executing codes which are compiled by the component event editing area according to actual needs and realize business form data business logic, and carrying out data filling on corresponding control value input boxes;
the business logic module executes the written codes for realizing the business logic of the business form data for the control values, and fills data generated by the codes for executing the business logic of the business form data in the corresponding control values;
s12, storing data input or generated by the document instance editor in real time, storing the input or generated data into a JSON document, generating a complete instance document, and storing the instance document into a memory;
s13, issuing an instance document in a PDM product data management system, analyzing the JSON document by the instance document, analyzing the attribute, the chapter, the control value, the control attribute and the component event of the JSON document, loading the control value according to the title name in the control attribute, and generating a printable electronic instance document according to a document template with a label;
the formats of the printable electronic instance document include PDF, WORD, EXCEL.
(1) Compared with the prior art, the invention has the following beneficial effects: according to the dynamic form configuration method, the interface configuration, the data source configuration and the online programming mode of the template content elements are carried out through the dynamic configuration of the structured form template, so that the generalization and differentiation requirements of users are realized, the data content of the structured form template supports import and export for multiplexing, and the content of the form template is quickly multiplexed based on the creation of the template form object service document. The dynamic configuration structural mode enables data information to be accurately transmitted to a downstream system, reduces manual processing time, improves efficiency and accuracy of business documentation, reduces construction and maintenance cost of enterprise systems, and improves enterprise competitiveness;
(2) In order to improve the readability of form information, self-defined chapter maintenance is provided in a template form, form elements can be self-defined in each chapter form page, layout self-defined adjustment can be performed on display positions and the like by dragging and dropping the form elements into the form pages, data import and export of form objects support data, rapid multiplexing of similar forms or cross-product library or cross-server forms is facilitated, the form data is structurally stored, manual data carding and importing are not needed, the accuracy and the efficiency of data maintenance are improved, the enterprise cost investment is reduced, convenience is provided for multiplexing of the form data by the structured form data, the labor cost is reduced, and the enterprise competitiveness is improved;
(3) The online programming design of the template form can be flexibly adjusted to meet the differentiation requirements of users, the online programming adopts a lightweight design, various heavy IDE (integrated drive electronics) do not need to be installed, various libraries of packages do not need to be configured, the operation is more convenient, the cross-system and cross-section maintenance is supported, and the use experience of customers is improved;
the method has the advantages that the business documents are created to quickly multiplex the form templates, the design burden is removed for users through the automatically set page typesetting format, the consistency of document layout is ensured, the uniformity of compiling standards is realized, and the efficiency and the accuracy of compiling the documents are improved.
Drawings
Fig. 1 is a schematic flow chart of embodiment 1 of the present invention.
Detailed Description
In order to make the objects, structures, features and functions of the present invention more comprehensible in detail, embodiments thereof are described below.
Embodiment 1, as shown in fig. 1, a method for configuring a service document structured dynamic form for a PDM system includes the following steps:
s1, making a document template, wherein the document template is an enterprise business electronic document template;
the document template comprises the content and the style of the document;
the content of the document includes a section;
a chapter is a section or paragraph of the document content.
S2, creating and setting a template form object in the document management system;
the template form object comprises a document name, a number, a type, a version, a creator, a creation time, a modifier, a modification time, a life cycle state and a description;
the document management system is a PDM product data management system, the PDM product data management system is an enterprise product data management platform, and is an existing software product, the function of creating and setting the template form single object is the prior art, the invention does not make innovation on the technology of creating and setting the template form single object, the invention only calls the function of creating and setting the template form single object, and the technical scheme of creating and setting the template form single object is not described again;
in the embodiment, the PDM product data management system is windkill software; the Windchill software is a CPC product of a PTC company, is a set of integrated application software, and is used for managing the whole life cycle of products and processes.
S3, developing a document template editor, and loading the developed document template editor through a template object in the PDM product data management system;
the document template editor comprises chapter names, basic type controls, advanced type controls, layout type controls, form editing areas, control attribute editing areas, component event editing areas, document template modules with labels and document template downloading modules with labels;
the chapter name is used to define a chapter or paragraph of the document template;
the basic class control comprises a control value and a control attribute;
the advanced class control comprises a control value and a control attribute;
the layout class control comprises a control value and a control attribute;
the basic class controls comprise a single-row input control, a multi-row input control, a digital input control, a radio frame group control, a multi-selection frame group control, a pull-down selection control, a search frame control, a cascade selection control, a date selection control, a file uploading control, a picture uploading control, a parting line control, a text control, a rich text control and a button control;
the attributes of the single-row input control comprise an internal name, a father internal name, a title name, an occupancy prompt, a control grid, a title width, a column minimum width and a maximum input character number;
the attributes of the multi-row input control comprise an internal name, a father internal name, a title name, an occupancy prompt, a control grid, a title width, a column minimum width, a maximum input character number, a minimum row number and a maximum row number;
the attributes of the digital input control comprise an internal name, a father internal name, a title name, an occupancy prompt, a control grid, a title width, a column minimum width, a minimum value, a maximum value, a step length and precision;
the attributes of the radio frame group control comprise an internal name, a father internal name, a title name, a control grid, a title width, a default value and a data source option; the data source options comprise static data, a data dictionary and remote data;
the attributes of the multi-box group control comprise an internal name, a father internal name, a title name, a control grid, a title width, a default value, whether multiple lines exist or not and a data source type selection; the data source selection comprises static data, a data dictionary and remote data;
the attributes of the pull-down selection control comprise an internal name, a father internal name, a title name, a control grid, an occupancy prompt, a title width, a column minimum width, a component width, a default value and a data source option; the data source options comprise static data, a data dictionary and remote data;
the attributes of the search box control comprise an internal name, a father internal name, a title name, a control grid, an occupancy prompt, a title width, a column minimum width, a component width, a data interface, a value corresponding to the data interface and a label corresponding to the data interface;
the attributes of the cascade selection control comprise an internal name, a father internal name, a title name, a control grid, an occupancy prompt, a title width, a column minimum width, a component width, a default value and a data source option; the data source options comprise static data, a data dictionary and remote data;
the attributes of the date selection control comprise an internal name, a parent internal name, a title name, a control grid, a position occupying prompt, a title width, a column minimum width, a component width, a default value, a time type and a time format;
the attributes of the file uploading control comprise an internal name, a father internal name, a title name, a control grid, a title width, a character size, button characters and a maximum uploading number;
the attributes of the picture uploading control comprise an internal name, a father internal name, a title name, a control grid, a title width, a file size and a maximum uploading number;
the attributes of the parting line control comprise an internal name, a father internal name, a control grid, a demonstration text and a text position;
the attributes of the text control comprise an internal name, a father internal name, a control grid, a title name, text content, line height, font size, an alignment mode and font color;
the properties of the rich text control comprise an internal name, a father internal name, a control grid, a title name, a title width and a default value;
the attributes of the button control comprise an internal name, a father internal name, a title name, a button type and a control grid; the button type includes a background display type of the button;
the advanced class control comprises a table control and a paging table control;
the attributes of the form control comprise an internal name, a father internal name, a title name, a maximum height, a fixed first few columns, an imported EXCEL, an exported EXCEL, column management and row management; column management includes column addition, column deletion, and column modification; the row management comprises row addition, row deletion and row modification;
the attributes of the paging table control comprise an internal name, a father internal name, a title name, a maximum height, fixed first columns, imported EXCEL, exported EXCEL, column management, row management, paging and the number of displayed pages; column management includes column addition, column deletion, and column modification; the row management comprises row addition, row deletion and row modification;
the layout class control comprises a grouping header control and a copy group control;
the attributes of the grouped title controls comprise internal names, parent internal names, control grids, title names and alignment modes;
the attribute of the copy group control comprises an internal name, a father internal name and a title name;
the form editing area is used for displaying the positions of the basic type control, the advanced type control and the layout type control;
the control attribute editing area is used for editing the attribute of the selected control;
the component event editing area is used for realizing the data service logic of the service form by code programming aiming at the currently selected control;
the document template uploading module with the label is used for uploading the document template with the label and storing the uploaded document template with the label into the memory;
the document template downloading module with the label is used for downloading the document template with the label.
S4, in the PDM product data management system, editing a template form by adopting a document template editor according to a document template;
firstly, calling a loaded document template editor through a PDM product data management system, and popping up the document template editor;
then, the document template editor creates chapters based on the form objects in the PDM product data management system, wherein each chapter comprises a form editing area;
and finally, placing the control at a corresponding position of the form editing area in a control dragging mode, setting the attribute value of the control in a control attribute editing area, and writing a code for realizing the business form data business logic in a component event editing area according to actual needs.
S5, saving the template form in the document template editor, generating and creating a JSON document, and storing the created JSON document in a memory;
the JSON document comprises attributes, chapters, control values, control attributes and component events of the document;
JSON (JavaScript Object Notification) is a lightweight data exchange format; the reading and writing of people are easy, and data exchange can be carried out among multiple languages; meanwhile, the machine is easy to analyze and generate;
the template form is stored as the JSON document, and compared with a mode of creating a database table, the method not only occupies less resources when displaying the business form data, but also can improve the operation efficiency.
And S6, filling the internal names of the form controls in the corresponding positions of the document template on the document template manufactured in the step S1 to manufacture the document template with the data tags.
S7, uploading the document template with the data tag manufactured in the step S6 to a memory through a document template uploading module with the tag, and establishing a one-to-one corresponding relation between the form template and the document template with the tag; and finally, creating the form template and the document template with the label and binding the relationship.
And S8, starting the template form object in the PDM product data management system, starting and issuing the template form object compiled in the step S2 by the PDM product data management system, and generating the template form into a usable state.
The PDM product data management system starts and publishes the template form object, and the generation of the template form into the available state is the existing function of the PDM product data management system, the invention only calls the function, and does not innovate the function, and the technical principle and the implementation method for starting and publishing the template form object and generating the template form into the available state for the PDM product data management system are not described again;
s9, creating a document instance object in the PDM product data management system based on the template form object of the available state of the S8;
the principle and technical scheme of the PDM product data management system based on the template form object of the available state are not described in detail herein.
S10, starting a document instance editor based on the document instance object created in the step S9;
and the document instance editor loads the JSON document manufactured in the step S5 to generate an interface for displaying and filling the document content, wherein the interface displays the title name of the edited control in the document template editor and the input frame or the selection frame or the drop-down frame of the control value.
S11, filling corresponding contents in an input box of a control value of an interface for displaying and filling document contents, which is generated by a document instance editor;
the page also comprises a business logic module, wherein the business logic module is used for executing codes which are compiled by the component event editing area according to actual needs and are used for realizing the business logic of the business form data, and data filling is carried out on the corresponding control value input boxes;
and for the control values with service logic, the service logic module executes the written codes for realizing the service logic of the service form data, and fills data generated by the codes for executing the service logic of the service form data in the corresponding control values.
And S12, storing the data input or generated by the document instance editor in real time, storing the input or generated data into the JSON document, generating a complete instance document, and storing the instance document into a memory.
S13, issuing instance documents in a PDM product data management system, analyzing JSON documents by the instance documents, analyzing attributes, chapters, control values, control attributes and component events of the JSON documents, loading the control values according to the title names in the control attributes, and generating printable electronic instance documents according to the document templates with labels;
formats for printable electronic instance documents include PDF, WORD, EXCEL.
The present invention has been described in relation to the above embodiments, which are only exemplary of the implementation of the present invention. It should be noted that the disclosed embodiments do not limit the scope of the invention. Rather, it is intended that all such modifications and variations be included within the spirit and scope of this invention.

Claims (5)

1. The PDM system-oriented business document structured dynamic form configuration method is characterized in that: the method comprises the following steps: s1: making a document template, wherein the document template is an enterprise business electronic document template;
the document template comprises the content and the style of the document;
the content of the document includes a section;
the sections are sections or paragraphs of the document content;
s2: creating and setting a template form object in a document management system;
the template form object comprises a document name, a number, a type, a version, a creator, a creation time, a modifier, a modification time, a life cycle state and a description;
the document management system is a PDM product data management system, and the PDM product data management system is an enterprise product data management platform;
s3: a developed document template editor, which is loaded through a template object in a PDM product data management system;
the document template editor comprises chapter names, basic controls, advanced controls, layout controls, form editing areas, control attribute editing areas, component event editing areas, labeled document template modules and labeled document template downloading modules;
the chapter names are used for defining chapters or paragraphs of the document template;
the basic class control comprises a control value and a control attribute;
the advanced class control comprises a control value and a control attribute;
the layout class control comprises a control value and a control attribute;
the form editing area is used for displaying the positions where the basic type control, the advanced type control and the layout type control are placed;
the control attribute editing area is used for editing the attribute of the selected control;
the component event editing area is used for realizing the data service logic of the service form by code programming aiming at the currently selected control;
the document template uploading module with the label is used for uploading the document template with the label and storing the uploaded document template with the label into the memory;
the document template downloading module with the label is used for downloading the document template with the label;
s4: in a PDM product data management system, a document template editor is adopted to compile a template form according to a document template;
s5: saving the template form in a document template editor, generating and creating a JSON document, and storing the created JSON document in a memory;
the JSON document comprises attributes, chapters, control values, control attributes and component events of the document;
s6: filling the internal name of the form control in the corresponding position of the document template on the document template manufactured in the step S1 to manufacture the document template with the data label;
s7: uploading the document template with the data tag manufactured in the step S6 to a memory through a document template uploading module with the tag, and establishing a one-to-one corresponding relation between the form template and the document template with the tag; finally, the creation and the relation binding of the form template and the document template with the label are completed;
s8: starting a template form object in a PDM product data management system, starting and issuing the template form object compiled in the step S2 by the PDM product data management system, and generating the template form into an available state;
s9: creating a document instance object based on the S8 available state template form object in the PDM product data management system;
s10: starting a document instance editor based on the document instance object created in step S9;
the document instance editor loads the JSON document manufactured in the step S5 to generate an interface for displaying and filling document contents, wherein the interface displays the title name of the control edited in the document template editor and the input frame or the selection frame or the drop-down frame of the control value;
s11: filling corresponding content in an input box of a control value of an interface for displaying and filling document content generated by a document instance editor;
s12: the method comprises the steps that data input or generated by a document instance editor are stored in a JSON document, a complete instance document is generated, and the instance document is stored in a memory;
s13: issuing an instance document in a management system, analyzing the JSON document by the instance document, analyzing the attribute, the chapter, the control value, the control attribute and the component event of the JSON document, loading the control value according to the title name in the control attribute, and generating a printable electronic instance document according to a document template with a label;
the formats of the printable electronic instance document include PDF, WORD, EXCEL.
2. The PDM system oriented business document structured dynamic form configuration method of claim 1, wherein: in S2, the PDM product data management system is Windkill software.
3. The PDM system oriented business document structured dynamic form configuration method of claim 1, wherein: in S3, the basic class control comprises a single-row input control, a multi-row input control, a digital input control, a radio frame group control, a multi-frame group control, a pull-down selection control, a search frame control, a cascade selection control, a date selection control, a file uploading control, a picture uploading control, a parting line control, a text control, a rich text control and a button control;
the attributes of the single-row input control comprise an internal name, a father internal name, a title name, an occupancy prompt, a control grid, a title width, a column minimum width and a maximum input character number;
the attributes of the multi-row input control comprise an internal name, a father internal name, a title name, an occupancy prompt, a control grid, a title width, a column minimum width, a maximum input character number, a minimum row number and a maximum row number;
the properties of the digital input control comprise an internal name, a father internal name, a title name, an occupancy prompt, a control grid, a title width, a column minimum width, a minimum value, a maximum value, a step length and precision;
the attributes of the radio frame group control comprise an internal name, a father internal name, a title name, a control grid, a title width, a default value and a data source option; the data source options comprise static data, a data dictionary and remote data;
the attributes of the multi-box group control comprise an internal name, a father internal name, a title name, a control grid, a title width, a default value, whether multiple lines exist or not and a data source type selection; the data source selection comprises static data, a data dictionary and remote data;
the attributes of the pull-down selection control comprise an internal name, a parent internal name, a title name, a control grid, an occupancy prompt, a title width, a column minimum width, a component width, a default value and a data source option; the data source options comprise static data, a data dictionary and remote data;
the attributes of the search box control comprise an internal name, a father internal name, a title name, a control grid, an occupancy prompt, a title width, a column minimum width, a component width, a data interface, a value corresponding to the data interface and a label corresponding to the data interface;
the attributes of the cascade selection control comprise an internal name, a father internal name, a title name, a control grid, an occupancy prompt, a title width, a column minimum width, a component width, a default value and a data source option; the data source options comprise static data, a data dictionary and remote data;
the attributes of the date selection control comprise an internal name, a parent internal name, a title name, a control grid, an occupancy prompt, a title width, a column minimum width, a component width, a default value, a time type and a time format;
the attributes of the file uploading control comprise an internal name, a father internal name, a title name, a control grid, a title width, a character size, button characters and a maximum uploading number;
the attributes of the picture uploading control comprise an internal name, a father internal name, a title name, a control grid, a title width, a file size and a maximum uploading number;
the attributes of the parting line control comprise an internal name, a father internal name, a control grid, a demonstration text and a text position;
the attributes of the text control comprise an internal name, a father internal name, a control grid, a title name, text content, line height, font size, an alignment mode and font color;
the attributes of the rich text control comprise an internal name, a father internal name, a control grid, a title name, a title width and a default value;
the attributes of the button control comprise an internal name, a father internal name, a title name, a button type and a control grid; the button type includes a background display type of the button;
the advanced type control comprises a table control and a paging table control;
the attributes of the form control comprise an internal name, a father internal name, a title name, a maximum height, a fixed first few columns, an imported EXCEL, an exported EXCEL, column management and row management; the column management comprises column addition, column deletion and column modification; the line management comprises line addition, line deletion and line modification;
the attributes of the paging table control comprise an internal name, a father internal name, a title name, a maximum height, a fixed first few columns, an input EXCEL, an output EXCEL, a column management, a row management, paging, and the number of pages displayed; the column management comprises column addition, column deletion and column modification; the line management comprises line addition, line deletion and line modification;
the layout type control comprises a grouping header control and a copy group control;
the attributes of the grouped title control comprise an internal name, a father internal name, a control grid, a title name and an alignment mode;
the attributes of the copy group control include an internal name, a parent internal name, and a title name.
4. The PDM system oriented business document structured dynamic form configuration method of claim 1, wherein: the substeps involved in step S4 are as follows:
s41: calling the loaded document template editor through a PDM product data management system, and popping up the document template editor;
s42: the document template editor creates chapters based on form objects in the PDM product data management system, wherein each chapter comprises a form editing area;
s43: and placing the control at a corresponding position of the form editing area in a control dragging mode, setting the attribute value of the control in a control attribute editing area, and writing a code for realizing the business form data business logic in a component event editing area according to actual needs.
5. The PDM system oriented business document structured dynamic form configuration method of claim 1, wherein: in S11, the page further includes a service logic module, where the service logic module is configured to execute a code written by the component event editing area according to actual needs to implement service logic of service form data, and perform data filling in a corresponding control value input box.
CN202210812754.1A 2022-07-11 2022-07-11 PDM system-oriented business document structured dynamic form configuration method Pending CN115221840A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210812754.1A CN115221840A (en) 2022-07-11 2022-07-11 PDM system-oriented business document structured dynamic form configuration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210812754.1A CN115221840A (en) 2022-07-11 2022-07-11 PDM system-oriented business document structured dynamic form configuration method

Publications (1)

Publication Number Publication Date
CN115221840A true CN115221840A (en) 2022-10-21

Family

ID=83612032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210812754.1A Pending CN115221840A (en) 2022-07-11 2022-07-11 PDM system-oriented business document structured dynamic form configuration method

Country Status (1)

Country Link
CN (1) CN115221840A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115758500A (en) * 2022-11-11 2023-03-07 南京维拓科技股份有限公司 Off-line mode design method in industrial design process

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101169716A (en) * 2007-11-30 2008-04-30 清华大学 Emulated procedure information modeling and maintenance method based on product structural tree
US20140337507A1 (en) * 2013-05-09 2014-11-13 Telefonaktiebolaget L M Ericsson (Publ) Method and Apparatus for Providing Network Applications Monitoring
US20170228356A1 (en) * 2014-10-13 2017-08-10 Kim Seng Kee System Generator Module for Electronic Document and Electronic File
CN111431664A (en) * 2020-03-10 2020-07-17 浪潮通用软件有限公司 Dispatching data packet download method and device based on JSON data protocol
CN113986158A (en) * 2021-10-25 2022-01-28 深圳奥哲网络科技有限公司 Printing method, printing designer, and computer-readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101169716A (en) * 2007-11-30 2008-04-30 清华大学 Emulated procedure information modeling and maintenance method based on product structural tree
US20140337507A1 (en) * 2013-05-09 2014-11-13 Telefonaktiebolaget L M Ericsson (Publ) Method and Apparatus for Providing Network Applications Monitoring
US20170228356A1 (en) * 2014-10-13 2017-08-10 Kim Seng Kee System Generator Module for Electronic Document and Electronic File
CN111431664A (en) * 2020-03-10 2020-07-17 浪潮通用软件有限公司 Dispatching data packet download method and device based on JSON data protocol
CN113986158A (en) * 2021-10-25 2022-01-28 深圳奥哲网络科技有限公司 Printing method, printing designer, and computer-readable storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
孙德磊;: "PDM系统在大连机车车辆有限公司的实施与应用", 科技创业家, no. 09, pages 120 - 123 *
心舞如风: "pdm系统表单管理操作指引", pages 1 - 41, Retrieved from the Internet <URL:https://www.docin.com/p-2587800758.heml> *
杜星锋: "基于PLM的产品研发及数据管理系统的设计与实现", 中国优秀硕士学位论文全文数据库信息科技辑 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115758500A (en) * 2022-11-11 2023-03-07 南京维拓科技股份有限公司 Off-line mode design method in industrial design process
CN115758500B (en) * 2022-11-11 2023-10-20 南京维拓科技股份有限公司 Off-line mode design method in industrial design flow

Similar Documents

Publication Publication Date Title
US5761650A (en) Billing system and method
CN110543303B (en) Visual service platform
KR102038092B1 (en) Apparatus and Method for automatic generation of Electric Design Drawings
WO2005050447A1 (en) Batch processing device
CN108536658B (en) Method and device for generating custom tag data
CN109857670A (en) A kind of test report automatic generation method based on common template
CN110968996A (en) Document making method, device, equipment and storage medium
US20060085744A1 (en) Systems and methods for declaratively controlling the visual state of items in a report
CN115221840A (en) PDM system-oriented business document structured dynamic form configuration method
JPH043247A (en) Enterprise information flow defining method
CN101470865A (en) Quotation information gathering system and method
CN111859053A (en) Data definition method of visual chart and chart library realized by data definition method
CN113760287A (en) Form creating method and device based on JSON structure
US6836763B1 (en) Billing system and method
CN116301856B (en) Design method, device, equipment and medium of visual form designer
CN108595398A (en) The method that artificial intelligence program substitutes person writing&#39;s simulation report
CN116755593A (en) Method for combining or combining information with file aggregation whiteboard for reading and operating
CN116956847A (en) Report management method and device
CN115409014A (en) Document template generation method and device, computer equipment and storage medium
CN112115694B (en) Simulation report generation method and device based on multi-element data structure
CN113177059A (en) Method and device for generating matching platform SQL script
CN114037493A (en) Method and system for generating bidding document
CN114297994A (en) Method, system, device and storage medium for generating parameterized report
CN113254455A (en) Dynamic configuration method and device of database, computer equipment and storage medium
CN113689198A (en) Project file generation method and device, storage medium and terminal equipment

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