CN110750973A - Dynamic template configuration method and system - Google Patents
Dynamic template configuration method and system Download PDFInfo
- Publication number
- CN110750973A CN110750973A CN201910824371.4A CN201910824371A CN110750973A CN 110750973 A CN110750973 A CN 110750973A CN 201910824371 A CN201910824371 A CN 201910824371A CN 110750973 A CN110750973 A CN 110750973A
- Authority
- CN
- China
- Prior art keywords
- configuring
- template
- code
- data table
- panel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000006872 improvement Effects 0.000 description 5
- 238000004590 computer program Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009849 deactivation Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The application discloses a dynamic template configuration method and a system, wherein the method comprises the following steps: configuring one or more data tables; configuring table field definitions of each data table; configuring template definition; configuring one or more panels comprised by the template; associating each panel with a corresponding data table; configuring the table field attribute of each data table; wherein all configurations and the associations are performed through a foreground page. The invention enables efficient and accurate dynamic configuration of templates.
Description
Technical Field
The present application relates to the field of electrical digital data processing, and in particular, to a method and system for dynamic template configuration.
Background
At present, the problems of slow and inaccurate form template configuration exist in various templates of large enterprises, particularly hospitals.
Disclosure of Invention
In order to overcome the defects in the prior art, the technical problem to be solved by the invention is to provide a dynamic template configuration method and a dynamic template configuration system, which can efficiently and accurately dynamically configure a template.
To solve the above technical problem, according to a first aspect of the present invention, there is provided a dynamic template configuration method, including:
configuring one or more data tables;
configuring table field definitions of each data table;
configuring template definition;
configuring one or more panels comprised by the template;
associating each panel with a corresponding data table; and
configuring the table field attribute of each data table;
wherein all configurations and the associations are performed through a foreground page.
As an improvement of the method of the present invention, the configuration table field definition includes adding table fields and/or moving selected table fields up and/or moving selected table fields down.
As another improvement of the method of the present invention, the method further comprises: responding to the situation that a table field needs to be associated with a code table, and configuring a corresponding code table on a foreground page; and configuring the code items of the code table on a foreground page.
As a further improvement of the method according to the invention, the configuration of the panel comprises the configuration of the panel name, the panel code, the name of the associated template, whether to display and/or the display order.
As a further improvement of the method of the present invention, configuring the data table corresponding to each panel includes configuring a panel name, a corresponding data table code, a corresponding data table name, a display mode, whether the data table can be edited and/or a display sequence.
As another improvement of the method of the invention, configuring the table field attributes of each data table comprises respectively listing all the table fields of each data table and configuring the attributes of each table field as required.
As a further refinement of the method of the present invention, the table field attributes include one or more of: display order, whether to display, whether to edit, whether to fill in, and whether to list the display.
To solve the above technical problem, according to a second aspect of the present invention, there is provided a dynamic template configuration system, including:
the data table configuration module is used for configuring one or more data tables;
the table field definition configuration module is used for configuring the table field definitions of the data tables;
the template definition configuration module is used for configuring template definitions;
a panel configuration module for configuring one or more panels comprised by the template;
the association module is used for associating each panel with the corresponding data table; and
the table field attribute configuration module is used for configuring the table field attribute of each data table;
wherein all configurations and the associations are performed through a foreground page.
To solve the above technical problem, the tangible computer readable medium of the present invention includes computer program code for executing the dynamic template configuration method of the present invention.
To solve the above technical problem, the present invention provides an apparatus, comprising at least one processor; and at least one memory including computer program code, the at least one memory and the computer program code configured to, with the at least one processor, cause the apparatus to perform at least some of the steps of the dynamic template configuration method of the present invention.
The invention can realize the dynamic generation of the table and the table field through the function of the foreground page without building the table in the database, thereby more efficiently and accurately completing the generation of some templates.
Other features and advantages of the present invention will become more apparent from the detailed description of the embodiments of the present invention when taken in conjunction with the accompanying drawings.
Drawings
FIG. 1 is a flow chart of an embodiment of a method according to the present invention.
FIG. 2 is a schematic diagram of an embodiment of a system according to the present invention.
For the sake of clarity, the figures are schematic and simplified drawings, which only show details which are necessary for understanding the invention and other details are omitted.
Detailed Description
Embodiments and examples of the present invention will be described in detail below with reference to the accompanying drawings.
The scope of applicability of the present invention will become apparent from the detailed description given hereinafter. It should be understood, however, that the detailed description and the specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only.
FIG. 1 shows a flow diagram of one embodiment of a dynamic template configuration method in accordance with the present invention.
In step S102, one or more data tables are configured on the foreground page, including configuring data table flags, data table names, keywords, whether there is an attachment (i.e., whether to upload a document), and the like. Here, a data table named "item basic information" is provided as an example, and the data table flag may be plm _ proj _ basic fo, for example.
In step S104, the table field definitions included in the respective data tables are arranged on the front page. The table field definitions include, but are not limited to, the name, flag, type, length, decimal place, category, code table name, code table flag, whether padding is necessary for each table field. Configuration table field definitions may include adding table fields, moving selected table fields up, and/or moving selected table fields down. The user clicks the "add" button to add and define a table field. For example, an "item grounding information" data table may contain table fields for item number, item name, start date, end date, item principal, item status, item level, whether disabled, and the like.
In step S106, if it is determined that one or more table fields need to be associated with a code table, i.e. the code table name and code table flag defined by the table field are not empty, the corresponding code table is configured on the foreground page. Code table configuration includes configuring code table flags, code table names, encoding rules, code dictionary level, whether code entries are repeatable, etc. And then configuring code items of the code table on the foreground page, wherein the code items comprise configuration codes and code items. For example, if a deactivation table field requires an associated code table, its corresponding code and code entry may be: 1, is; 2, no. The table fields are associated with the upper code table before being displayed as drop-down boxes in the following template. If no table field requires an association code table, the process proceeds directly from step S104 to step S108.
In step S108, the template definition is configured in the foreground page, including configuration template code, template name, template application scope, and the like. Configuration here may include functions of adding templates, modifying templates, deleting templates, querying templates, etc.
In step S110, one or more panels, i.e. tab pages, included in the template are configured in the foreground page, including adding panels and configuring panel names, panel codes, names of the templates, whether to display and/or display order of the panels. The added panels may also be modified or deleted.
In step S120, each panel is associated with a corresponding data table in the foreground page, including adding association records such as panel name, corresponding data table code, corresponding data table name, display mode, whether it is editable and/or display order. The added association record may also be modified or deleted to modify or delete the association between the panel and the data table.
In step S122, configuring the table field attribute of each data table in the foreground page, including respectively listing all the table fields of each data table and configuring the attribute of each table field as required. Table field attributes include, for example, but are not limited to: display order, whether to display, whether to edit, whether to fill in, and whether to list the display. "display or not" means whether or not the corresponding table field is displayed in the template, "display or not list display" means whether or not the corresponding table field is displayed with the display type of the list, and the display type may further include form display. In an embodiment, the step further includes checking corresponding table field attributes of all table fields of the corresponding data table when receiving an instruction of "whether to display" or "select all" of the table field attributes, so as to improve the configuration speed.
At this point, the configuration of one template is completed. The plurality of additional panels may be dynamically configured as desired according to the above steps. After the template configuration is completed, template codes are added into the menu configuration path, and then the page effect (background code implementation) of the configured template can be displayed through the acceptance of a foreground page.
FIG. 2 shows a schematic structural diagram of an embodiment of a dynamic template configuration system according to the present invention. The system comprises: a data table configuration module 202 for configuring one or more data tables; a table field definition configuration module 204, configured to configure the table field definitions of the data tables; a template definition configuration module 206 for configuring the template definition; a panel configuration module 208 for configuring one or more panels included in the template; an association module 210 for associating each panel with a corresponding data table; and a table field attribute configuration module 212 for configuring the table field attributes of each data table; wherein all configurations and the associations are performed through a foreground page.
The particular features, structures, or characteristics of the various embodiments described herein may be combined as suitable in one or more embodiments of the invention. Additionally, in some cases, the order of steps depicted in the flowcharts and/or in the pipelined process may be modified, as appropriate, and need not be performed exactly in the order depicted. In addition, various aspects of the invention may be implemented using software, hardware, firmware, or a combination thereof, and/or other computer implemented modules or devices that perform the described functions. Software implementations of the present invention may include executable code stored in a computer readable medium and executed by one or more processors. The computer readable medium may include a computer hard drive, ROM, RAM, flash memory, portable computer storage media such as CD-ROM, DVD-ROM, flash drives, and/or other devices, for example, having a Universal Serial Bus (USB) interface, and/or any other suitable tangible or non-transitory computer readable medium or computer memory on which executable code may be stored and executed by a processor. The present invention may be used in conjunction with any suitable operating system.
As used herein, the singular forms "a", "an" and "the" include plural references (i.e., have the meaning "at least one"), unless the context clearly dictates otherwise. It will be further understood that the terms "has," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups thereof. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
The foregoing describes some preferred embodiments of the present invention, but it should be emphasized that the invention is not limited to these embodiments, but can be implemented in other ways within the scope of the inventive subject matter. Various modifications and alterations of this invention will become apparent to those skilled in the art without departing from the spirit and scope of this invention.
Claims (10)
1. A method for dynamic template configuration, the method comprising:
configuring one or more data tables;
configuring table field definitions of each data table;
configuring template definition;
configuring one or more panels comprised by the template;
associating each panel with a corresponding data table; and
configuring the table field attribute of each data table;
wherein all configurations and the associations are performed through a foreground page.
2. The method of claim 1, wherein configuring the table field definition comprises adding a table field and/or moving up a selected table field and/or moving down a selected table field.
3. The method of claim 1, further comprising:
responding to the situation that a table field needs to be associated with a code table, and configuring a corresponding code table on a foreground page; and
and configuring the code items of the code table in a foreground page.
4. The method of claim 1, wherein configuring the panel comprises configuring a panel name, a panel code, a name of the associated template, whether to display and/or an order of displaying.
5. The method of claim 1, wherein configuring the corresponding data table of each panel comprises configuring a panel name, a corresponding data table code, a corresponding data table name, a display mode, whether the data table is editable and/or a display sequence.
6. The method of claim 1, wherein configuring the table field attributes of each data table comprises listing all table fields of each data table separately and configuring the attributes of each table field as needed.
7. The method of claim 6, wherein the table field attributes comprise one or more of: display order, whether to display, whether to edit, whether to fill in, and whether to list the display.
8. The method of claim 6, further comprising:
in response to receiving an instruction to select one of the table field attributes, the corresponding table field attributes of all table fields of the corresponding data table are checked.
9. The method of claim 1, wherein the table field definition comprises one or more of: name, flag, type, length, decimal place, category, code table name, code table flag, whether padding is necessary.
10. A dynamic template configuration system, the system comprising:
the data table configuration module is used for configuring one or more data tables;
the table field definition configuration module is used for configuring the table field definitions of the data tables;
the template definition configuration module is used for configuring template definitions;
a panel configuration module for configuring one or more panels comprised by the template;
the association module is used for associating each panel with the corresponding data table; and
the table field attribute configuration module is used for configuring the table field attribute of each data table;
wherein all configurations and the associations are performed through a foreground page.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910824371.4A CN110750973A (en) | 2019-09-02 | 2019-09-02 | Dynamic template configuration method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910824371.4A CN110750973A (en) | 2019-09-02 | 2019-09-02 | Dynamic template configuration method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110750973A true CN110750973A (en) | 2020-02-04 |
Family
ID=69275968
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910824371.4A Pending CN110750973A (en) | 2019-09-02 | 2019-09-02 | Dynamic template configuration method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110750973A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111444697A (en) * | 2020-03-27 | 2020-07-24 | 中南大学 | Method and device for acquiring normalized document based on dynamic template |
CN112507135A (en) * | 2020-12-17 | 2021-03-16 | 深圳市一号互联科技有限公司 | Visual knowledge graph query template construction method, device, system and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102368261A (en) * | 2011-10-14 | 2012-03-07 | 成都勤智数码科技有限公司 | Expandable running maintenance report generation method |
CN103927353A (en) * | 2014-04-10 | 2014-07-16 | 北京网秦天下科技有限公司 | Method and device for generating service tables |
CN104052626A (en) * | 2014-07-02 | 2014-09-17 | 大唐移动通信设备有限公司 | Method, device and system for configuring network element data |
CN104866598A (en) * | 2015-06-01 | 2015-08-26 | 北京理工大学 | Heterogeneous database integrating method based on configurable templates |
CN106709232A (en) * | 2016-11-09 | 2017-05-24 | 洛阳晶云信息科技有限公司 | Display method used for electronic medical record system, data entry method used for electronic medical record system, and medical record template revision method used for electronic medical record system |
CN108228762A (en) * | 2017-12-25 | 2018-06-29 | 石化盈科信息技术有限责任公司 | For the method and system of primary database common template to be configured |
-
2019
- 2019-09-02 CN CN201910824371.4A patent/CN110750973A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102368261A (en) * | 2011-10-14 | 2012-03-07 | 成都勤智数码科技有限公司 | Expandable running maintenance report generation method |
CN103927353A (en) * | 2014-04-10 | 2014-07-16 | 北京网秦天下科技有限公司 | Method and device for generating service tables |
CN104052626A (en) * | 2014-07-02 | 2014-09-17 | 大唐移动通信设备有限公司 | Method, device and system for configuring network element data |
CN104866598A (en) * | 2015-06-01 | 2015-08-26 | 北京理工大学 | Heterogeneous database integrating method based on configurable templates |
CN106709232A (en) * | 2016-11-09 | 2017-05-24 | 洛阳晶云信息科技有限公司 | Display method used for electronic medical record system, data entry method used for electronic medical record system, and medical record template revision method used for electronic medical record system |
CN108228762A (en) * | 2017-12-25 | 2018-06-29 | 石化盈科信息技术有限责任公司 | For the method and system of primary database common template to be configured |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111444697A (en) * | 2020-03-27 | 2020-07-24 | 中南大学 | Method and device for acquiring normalized document based on dynamic template |
CN111444697B (en) * | 2020-03-27 | 2022-04-26 | 中南大学 | Method and device for acquiring normalized document based on dynamic template |
CN112507135A (en) * | 2020-12-17 | 2021-03-16 | 深圳市一号互联科技有限公司 | Visual knowledge graph query template construction method, device, system and storage medium |
CN112507135B (en) * | 2020-12-17 | 2021-11-16 | 深圳市一号互联科技有限公司 | Knowledge graph query template construction method, device, system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111177231A (en) | Report generation method and report generation device | |
CN111324609B (en) | Knowledge graph construction method and device, electronic equipment and storage medium | |
CN106021394A (en) | Website construction method and apparatus | |
WO2019242164A1 (en) | Document management method and apparatus, computer device and storage medium | |
CN109213480B (en) | Method, storage medium, equipment and system for developing background management page | |
WO2019153514A1 (en) | Service system dynamic generation method and apparatus, computer device, and storage medium | |
CN110109981B (en) | Information display method and device for work queue, computer equipment and storage medium | |
CN102122245A (en) | Method and system for generating configuration item setting interface | |
CN112748923A (en) | Method and device for creating visual billboard, electronic equipment and storage medium | |
KR20170071494A (en) | Reorganizing and presenting data fields with erroneous inputs | |
CN114282129A (en) | Information system page generation method, system, electronic equipment and storage medium | |
CN110750973A (en) | Dynamic template configuration method and system | |
CN112800730A (en) | Report form filling method and device | |
AU2015202463B2 (en) | Capturing specific information based on field information associated with a document class | |
CN110308907B (en) | Data conversion method and device, storage medium and electronic equipment | |
US20130231973A1 (en) | Business analysis design support device, business analysis design support method and non-transitory computer-readable medium containing business analysis design support program | |
CN110609981A (en) | Text processing method and device, electronic equipment and computer readable storage medium | |
CN108536715B (en) | Preview page generation method, device, equipment and storage medium | |
CN114647735A (en) | Relation graph display method, medium and display device | |
CN114168119B (en) | Code file editing method, device, electronic equipment and storage medium | |
CN115114280A (en) | Report generation processing method, device and equipment | |
CN111273913B (en) | Method and device for outputting application program interface data represented by specifications | |
CN113486642A (en) | Bidding notice generation method and device | |
CN102567305B (en) | The page of resolving in layout relevant documentation is quoted | |
CN106569785B (en) | Method and device for generating job form |
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 |
Application publication date: 20200204 |