CN111858595B - Dynamic configuration method and system for electric power engineering examination record table - Google Patents
Dynamic configuration method and system for electric power engineering examination record table Download PDFInfo
- Publication number
- CN111858595B CN111858595B CN202010709223.0A CN202010709223A CN111858595B CN 111858595 B CN111858595 B CN 111858595B CN 202010709223 A CN202010709223 A CN 202010709223A CN 111858595 B CN111858595 B CN 111858595B
- Authority
- CN
- China
- Prior art keywords
- configuration
- page
- record
- template
- exception
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2365—Ensuring data consistency and integrity
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- Y—GENERAL 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
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/50—Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention belongs to the field of table configuration, and provides a dynamic configuration method and system for an electric power engineering evaluation record table. The dynamic configuration method of the power engineering evaluation record table comprises the steps of giving an initial record table template, and dividing the initial record table template into a view sheet page and a configuration table sheet page; determining fixed display content and content to be filled in a view sheet, and performing # tone on cells in the content to be filled in . Numbering one by one in the form, wherein the number is uniquely associated with a reference number in a sheet page of a configuration table and is used for uniquely determining the filling attribute of a cell where the number is located; configuring each number attribute of a video page in a configuration table sheet page; rendering the information of the configuration of the record form template and the record form template style into a corresponding html tag, finally forming an html page consistent with the original record form template style, and realizing the on-line dynamic configuration of the electric power engineering examination record form.
Description
Technical Field
The invention belongs to the field of table data configuration, and particularly relates to a dynamic configuration method and system for an electric power engineering evaluation record table.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
The quality inspection and acceptance of the electric power engineering are developed in a pure manual and paper filling mode at present, the inspection and acceptance work is complex, and a large amount of manpower and material resources are consumed in the process; meanwhile, the quality acceptance of one power project needs to fill in a plurality of evaluation record tables, and a great deal of repetitive labor exists in the filling process. In addition, the inventor also finds that the checking of the checking result of the checking record table is performed by adopting a pure manual mode according to the quality standard, the accuracy of the result cannot be ensured, and the authenticity of the actual measurement quantity in the field cannot be checked.
Disclosure of Invention
In order to solve the problems, the invention provides a dynamic configuration method and a dynamic configuration system for an electric power engineering examination and evaluation record table, which can realize real-time online compilation and real-time synchronous updating of all examination and evaluation record table templates without changing codes or redeploying.
In order to achieve the purpose, the invention adopts the following technical scheme:
the invention provides a dynamic configuration method for an electric power engineering examination record table.
A dynamic configuration method for an electric power engineering assessment record table comprises the following steps:
giving an initial recording list template, and dividing the initial recording list template into a view sheet page and a configuration list sheet page;
determining fixed display content and content to be filled in a view sheet, and performing # tone on cells in the content to be filled in . Processing the serial numbers one by one, wherein the serial numbers are uniquely associated with the reference serial numbers in the sheet page of the configuration table and are used for uniquely determining the filling attributes of the cells where the serial numbers are located; configuring each number attribute of a video page in a configuration table sheet page;
rendering the information of the configuration of the record form template and the record form template style into a corresponding html tag, finally forming an html page consistent with the original record form template style, and realizing the on-line dynamic configuration of the electric power engineering examination record form.
The invention provides a dynamic configuration system for an electric power engineering examination record table.
A power engineering assessment record table dynamic configuration system comprises:
the template dividing module is used for giving an initial record table template and dividing the initial record table template into a view sheet page and a configuration table sheet page;
an attribute configuration module for determining fixed display contents and contents to be filled in the view sheet page, and making a # tone for cells in the contents to be filled in . Numbering one by one in the form, wherein the number is uniquely associated with a reference number in a sheet page of a configuration table and is used for uniquely determining the filling attribute of a cell where the number is located; configuring each number attribute of a video page in a configuration table sheet page;
and the html page forming module is used for rendering the information of the record form template configuration and the record form template style into a corresponding html label, finally forming an html page consistent with the original record form template style, and realizing the on-line dynamic configuration of the electric power engineering check record form.
A third aspect of the invention provides a computer-readable storage medium.
A computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps in the power engineering assessment record table dynamic configuration method as described above.
A fourth aspect of the invention provides a computer apparatus.
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the dynamic configuration method of the power engineering assessment record table.
Compared with the prior art, the invention has the beneficial effects that:
in the dynamic configuration process of the electric power engineering examination record table, the fixed display content and the content to be filled in the view sheet page are determined, and the # tone of the cell in the content to be filled in is used . Numbering one by one in the form, wherein the number is uniquely associated with a reference number in a sheet page of a configuration table and is used for uniquely determining the filling attribute of a cell where the number is located; configuring each number attribute of a video page in a configuration table sheet page; and rendering the information of the record form template configuration and the record form template style into a corresponding html tag, and finally forming an html page consistent with the original record form template style, so that the online dynamic configuration of the electric power engineering examination record form is realized, all examination record form templates can be compiled online in real time and updated synchronously in real time without changing codes or redeploying, and the efficiency and the accuracy of the record form dynamic configuration are improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, are included to provide a further understanding of the invention, and are included to illustrate an exemplary embodiment of the invention and not to limit the invention.
Fig. 1 is a flowchart of a dynamic configuration method for an electrical engineering evaluation record table according to an embodiment of the present invention.
Detailed Description
The invention is further described with reference to the following figures and examples.
It is to be understood that the following detailed description is exemplary and is intended to provide further explanation of the invention as claimed. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, and it should be understood that when the terms "comprises" and/or "comprising" are used in this specification, they specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof, unless the context clearly indicates otherwise.
Example one
Referring to fig. 1, the method for dynamically configuring the power engineering evaluation record table of the embodiment includes:
(1) Giving an initial recording list template, and dividing the initial recording list template into a view sheet page and a configuration list sheet page;
(2) Determining fixed display contents and contents to be filled in a view sheet page, numbering and processing cells in the contents to be filled one by one in a # { } form, wherein the number is uniquely associated with a reference number in a configuration table sheet page and is used for uniquely determining filling attributes of the cells in which the number is located; and configuring the number attributes of the video page in a configuration table sheet page.
For example: the green circle area is a fixed display part, and the red circle is a data filling part for the user.
In a specific implementation, the method further comprises the following steps: and adjusting the layout style of the record list template. Such as: combining cell, column width, line height, font size, alignment mode and the like, and simultaneously performing border color marking red processing on the part needing to be filled in by the APP to ensure that the whole style is relatively beautiful;
wherein the attribute configuration comprises: reference number, column code, column content, template content, element classification, data format, editable or not, public code, check formula, calculation formula, page variable reference, filling and reporting role, or not, line type and line type character table code.
The attributes function as follows:
reference number: the number value of the filling cell in the associated view sheet page is used for uniquely determining the relevant attribute value of the cell once;
column encoding and data format: column codes are used for uniquely determining attribute codes of the cells and correspond to database table fields; the data format is used for determining a data storage format and corresponds to the type of the table field;
column contents: the configuration filling unit cell is used for initializing the display content and realizing whether the field can be edited again according to the configuration of whether the field can be edited or not;
the content of the model: the template is used for configuring a cell filling specification template, and is used for directly pulling down and selecting a corresponding template to fill in a filling area;
element classification: and indicating to fill the classification of the cell elements, wherein the attribute values comprise the following attributes corresponding to different html display tags: a drop-down input box, a text box, a date box, a drop-down box, a text field, rich text, a tag, and a hyperlink;
whether or not it is editable: the attribute is used for controlling whether the filling unit can be edited or not;
the basic data quote: for data with strong corresponding reusability, after configuration, the configured content in the pull-down input box can be directly selected during filling without manual filling;
public code: corresponding to the public code codes, after configuration, the corresponding filling unit can pull down to select the required attribute value;
the check formula is as follows: for a filling unit filling in numbers, this attribute is used to limit the range of numbers, set with reference to mathematical formulas, such as [ -5,5], (2, 5);
calculating the formula: the method is mainly used for dynamically judging the acceptance qualification of the whole examination and evaluation record table according to the data and the verification rule of each filling unit;
page variable referencing: when the evaluation record table is initially loaded, some information which is maintained in the previous step is brought in by default, such as project names, voltage levels, project manager names and the like;
role filling: the role code configured with the cell filling authority is compared with the current role of a login person of the system during loading, and the filling authority is jointly determined by matching with whether an attribute value can be edited or not;
whether line, line sub-table encoding: the two attributes are combined for use, the requirement of a dynamic table exists in user service, the number of table lines needs to be dynamically and manually expanded according to a field actual scene, the attribute is configured mainly for the requirement, and the line-type sub-table coding is used for generating a sub-association data table script.
(3) Rendering the information of the record form template configuration and the record form template style into a corresponding html tag, finally forming an html page consistent with the original record form template style, and realizing the on-line dynamic configuration of the electric power engineering examination record form.
In the specific implementation, the $ scope service is used for keeping bidirectional synchronization between the content data to be filled and requested by the background and the html page, and the content data to be filled and requested by the background is directly mapped to the html page to be changed.
And dynamically generating an html page of the record table template by using the ng instruction.
And calling an ActiveMQ message queue, and updating the influence data caused by the operation in real time after the user saves or changes the filling record.
Example two
The embodiment provides a power engineering examination and appraisal record table dynamic configuration system, which includes:
the template dividing module is used for giving an initial record table template and dividing the initial record table template into a view sheet page and a configuration table sheet page;
an attribute configuration module for determining a view sFixing display content and filling content in the heet page, and making the cells in the filling with # -tone . Numbering one by one in the form, wherein the number is uniquely associated with a reference number in a sheet page of a configuration table and is used for uniquely determining the filling attribute of a cell where the number is located; configuring each number attribute of a video page in a configuration table sheet page;
and the html page forming module is used for rendering the information of the record form template configuration and the record form template style into a corresponding html tag, finally forming an html page consistent with the original record form template style, and realizing the on-line dynamic configuration of the electric power engineering evaluation record form.
The method comprises the steps that a $ scope service is used for keeping bidirectional synchronization between content data to be filled and requested by a background and an html page, and the content data to be filled and requested by the background is directly mapped to the html page to be changed.
In another embodiment, the system for dynamically configuring the power engineering evaluation record table comprises: the system comprises a display layer, a control layer, a business logic layer, a data service layer and a database;
and displaying the html page in a display layer. The display layer mainly completes the user interaction function. Mainly adopts a page display style of html5+ css3, adopts a technical framework of angularjs + ozlazyload + uiRouter to dynamically load resources, and performs page routing configuration. And the data is submitted and acquired by interacting with the background server in an AJAX request mode.
The system adopts a front-end frame based on Angularjs, combines plug-ins ocLazyLoad and uiRouter to carry out unified allocation and management on resources such as front-end css, font and pictures according to needs, and achieves single-page continuous application. The efficiency of front-end code development is greatly improved while the user experience is improved. AngularJs is a structural framework for designing dynamic web applications and extends the syntax of HTML to allow developers to develop application components more clearly and concisely. The main functions are as follows: data bidirectional binding: the background request data is kept in bidirectional synchronization with the page using a $ scope service, with background request data changes mapped directly to the page for changes. Instruction directive: direct is used to customize commands, which is to customize some labels (elements), attributes (attributes), classes (classes), and comments. And the common components are extracted by using direct, so that the development efficiency is greatly improved. ocLazyLoad is a plug-in to AngularJs for uniform configuration management of front-end resources, such as: js, font, css, pictures, etc. The lazy loading of resources on demand can be achieved in single-page applications, and therefore the problem of unsmooth entry of a page for the first time is solved. uiRouter is an extended plug-in to AngularJs for uniform routing configuration for single-page applications. In the single-page application, each module is composed of an HTMLtemplet and is displayed (different from the traditional jsp multi-page application), and the uiRouter achieves smooth jump among the functions by configuring the HTMLtemplet, the Controller and the resource file of each module.
And dynamically generating a template page by using the ng instruction, and constructing an evaluation record form filling page by using few codes. Compared with jquery splicing page elements, the method has the advantages that the dom is directly added in the html template, so that the code simplicity is greatly enhanced, and too many js codes are not needed.
And separating html display of the view layer from logic processing of js by adopting Angularljs to realize a display layer, a control layer, a service layer and an instruction plug-in at the front end. The display layer is accessed and displayed based on mainstream browsers such as Chrome and Firefox.
The control layer is implemented using the controller of SpringMVC, defines the interface address by tag configuration @ RequestMapping and receives requests.
The system uses a lightweight Web framework, namely SpringMVC, which is based on Java and realizes the request-driven type of the Web MVC design pattern, namely, the idea of the MVC architecture pattern is used, the Web layer is subjected to responsibility decoupling, and a request-response model is used based on the request-driven finger. This framework is completely different from the technical framework of the existing methods. The purpose of using the SpringMVC framework is to simplify development and make the code hierarchy clearer. The upgrade to the 4.0 version is to use the stable version to reduce the existence of system-level bugs and meet the security requirements. When a user requests web service, a Dispatcherservlet Controller is called, the Dispatcherservlet Controller is responsible for distributing the request to each Controller, the user request is mapped to each Controller through HandlerMapping, the Controller calls a service object and returns ModelandView, and the Dispatcherservlet Controller returns a View template to a client browser through rendering.
Wherein, the DispatcterServlet is a front controller configured in a web. Intercepting the matched request, wherein the Servlet intercepting matching rule is defined by the Servlet intercepting matching rule, and distributing the intercepted request to a target Controller for processing according to the corresponding rule.
HandlerMapping is one of the components of the Controller of springMVC, and is responsible for mapping the user's URL and corresponding processing class. Can be understood as a frame assembly.
The system mainly uses a Controller of SpringMVC to realize the response and processing of the user request.
DBTableOjbect returned by dbOper was used as a Model, and a Model with a Spring self-contained was not used.
The system design uses a pure front-end technology to realize View, so that the View layer only needs to return JSONObject.
The system uses a SpringAOP section-oriented mode to perform unified exception handling, uses an annotation @ ExceptionHandler to package an applicationException business exception, and uniformly returns the exception to the foreground after intercepting the exception. The exception here refers to an error exception reported in the system use process, such as a null pointer exception, a database SQL exception, a network exception, an encryption/decryption exception, a type-forced conversion exception, an out-of-memory exception, and the like.
The business logic layer and the data access layer do not intercept the exception in principle, and the exception is encapsulated and then thrown outwards and processed at the control layer. The control layer carries out unified exception processing through the notification label @ controllerservice of the controller, records exception logs, assembles error information and displays the error information in a unified mode in the foreground.
The Service logic layer is composed of a series of services, mainly performs Service processing, each Service is a group of closely associated Service functions, and the Service functions call the data Service layer interface to complete persistence.
The service logic layer mainly realizes the loading of the template contents of the evaluation record table, the loading of the contents of the evaluation record table and the table logic processing service.
The data service layer provides data read-write access and data authority control, and data are converted into Java objects for programs of other layers to call by accessing data sources such as a relational database.
The system adopts a relational database Oracle for storing relevant data such as the styles, contents and the like of the evaluation record table. And all the persistent structured data are stored, and data read-write operation is carried out through a background service JDBC technology.
And calling the ActiveMQ message queue, and updating the influence data caused by the operation in real time after the user saves or changes the filling record, so as to update in real time. ActiveMQ is a product produced by Apache, is the most popular and powerful open source message bus, can be easily embedded into a Spring framework system, and supports high-speed message persistence through JDBC and journal.
The data service layer provides data service and data support for the business logic layer, inherits the DaoOperateUtil class, realizes objectification of the CURD operation of the database, reduces the writing of SQL sentences by developers, and encapsulates the JDBC operation at the same time. And the CURD operation of all the data service layers and the database is performed in a precompilation mode, so that the SQL injection safety problem is prevented.
EXAMPLE III
The present embodiment provides a computer-readable storage medium, on which a computer program is stored, and the program, when executed by a processor, implements the steps in the dynamic configuration method for the power engineering assessment record table according to the first embodiment.
Example four
The embodiment provides a computer device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to implement the steps in the dynamic configuration method of the power engineering assessment record table according to the first embodiment.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (7)
1. A dynamic configuration method for an electric power engineering evaluation record table is characterized by comprising the following steps:
giving an initial recording list template, and dividing the initial recording list template into a view sheet page and a configuration list sheet page;
determining fixed display content and content to be filled in a view sheet page, and performing # tone on cells in the content to be filled in . Numbering one by one in the form, wherein the number is uniquely associated with a reference number in a sheet page of a configuration table and is used for uniquely determining the filling attribute of a cell where the number is located; configuring each number attribute of a video page in a configuration table sheet page; the attribute configuration comprises the following steps: column content, whether the role can be edited and filled;
column contents: the display device is used for initializing display contents of the configuration filling unit cells and realizing whether the fields can be edited again or not according to the configuration of the editable fields;
whether or not it is editable: an attribute for controlling whether the filling cell can be edited;
role filling: the role code configured with the filling authority of the filling unit cell is compared with the current login role of the system during loading, and the filling authority is jointly determined by matching with whether the attribute value can be edited or not;
rendering the information of the configuration of the record form template and the record form template style into a corresponding html tag, finally forming an html page consistent with the original record form template style, and realizing the on-line dynamic configuration of the electric power engineering examination record form; displaying the html page on a display layer, dynamically loading resources by adopting an angularjs + ozlazyload + uiRouter technical framework, and configuring page routing; the $ scope service is used for keeping bidirectional synchronization between the content data to be filled and requested by the background and the html page, and the change of the content data to be filled and requested by the background is directly mapped to the html page to be changed; dynamically generating an html page of a record table template by using the ng instruction; the Controller of SpringMVC is used for realizing the response and processing of the user request;
performing unified exception handling by using a SpringAOP section-oriented mode, packaging application exception service exceptions by using an annotation @ exception handler, and uniformly returning to a foreground after intercepting the exceptions; the business logic layer and the data access layer do not intercept the exception in principle, but throw the exception out after packaging and process the exception at the control layer; the control layer carries out unified exception processing through the notification label @ controlleraddress of the controller, records exception logs, assembles error information and displays the error information in a unified mode in the foreground.
2. The dynamic configuration method for the electric power engineering evaluation record table according to claim 1, further comprising: and adjusting the layout style of the record list template.
3. The dynamic configuration method for the power engineering evaluation record table according to claim 1, wherein the attribute configuration further comprises: reference number, column coding, template content, element classification, data format, public code, check formula, calculation formula, page variable reference, whether to be a line or not and line type word table coding.
4. The dynamic configuration method for the power engineering evaluation record table according to claim 1, characterized in that an ActiveMQ message queue is called, and after the user saves or changes the report-in record, the influence data caused by the operation is updated in real time.
5. A dynamic configuration system for an electric power engineering examination and evaluation record table is characterized by comprising:
the template dividing module is used for giving an initial record table template and dividing the initial record table template into a view sheet page and a configuration table sheet page;
an attribute configuration module for determining fixed display contents and contents to be filled in the view sheet page, and making a # tone for cells in the contents to be filled in . Numbering one by one in the form, wherein the number is uniquely associated with a reference number in a sheet page of a configuration table and is used for uniquely determining the filling attribute of a cell where the number is located; configuring each number attribute of a video page in a configuration table sheet page; the attribute configuration comprises the following steps: column contents, whether the roles can be edited or not and filled in;
column contents: the configuration filling unit cell is used for initializing the display content and realizing whether the field can be edited again according to the configuration of whether the field can be edited or not;
whether or not it is editable: an attribute for controlling whether the filling cell can be edited;
role filling: the role code configured with the filling authority of the filling unit cell is compared with the current login role of the system during loading, and the filling authority is jointly determined by matching with whether the attribute value can be edited or not;
the html page forming module is used for rendering the information of the record form template configuration and the record form template style into a corresponding html tag, finally forming an html page consistent with the original record form template style, and realizing the on-line dynamic configuration of the electric power engineering evaluation record form; displaying the html page on a display layer, dynamically loading resources by adopting an angularjs + ozlazyload + uiRouter technical frame, and configuring page routing; the $ scope service is used for keeping bidirectional synchronization between the content data to be filled and requested by the background and the html page, and the change of the content data to be filled and requested by the background is directly mapped to the html page to be changed; dynamically generating an html page of a record table template by using the ng instruction; the Controller of SpringMVC is used for realizing the response and processing of the user request; performing unified exception handling by using a SpringAOP section-oriented mode, packaging application exception service exceptions by using an annotation @ exception handler, and uniformly returning to a foreground after intercepting the exceptions; the business logic layer and the data access layer do not intercept the exception in principle, but throw the exception out after packaging and process the exception at the control layer; the control layer carries out unified exception processing through the notification label @ controlleraddress of the controller, records exception logs, assembles error information and displays the error information in a unified mode in the foreground.
6. A computer-readable storage medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the steps in the method for dynamically configuring an electrical power engineering assessment record table according to any of claims 1-4.
7. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for dynamically configuring the power engineering assessment record according to any one of claims 1 to 4 when executing the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010709223.0A CN111858595B (en) | 2020-07-22 | 2020-07-22 | Dynamic configuration method and system for electric power engineering examination record table |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010709223.0A CN111858595B (en) | 2020-07-22 | 2020-07-22 | Dynamic configuration method and system for electric power engineering examination record table |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111858595A CN111858595A (en) | 2020-10-30 |
CN111858595B true CN111858595B (en) | 2023-04-11 |
Family
ID=73001948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010709223.0A Active CN111858595B (en) | 2020-07-22 | 2020-07-22 | Dynamic configuration method and system for electric power engineering examination record table |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111858595B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112749537A (en) * | 2021-01-14 | 2021-05-04 | 浙江红极互联网科技有限公司 | Role-based electronic engineering document management method |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8275830B2 (en) * | 2009-01-28 | 2012-09-25 | Headwater Partners I Llc | Device assisted CDR creation, aggregation, mediation and billing |
CN107729005A (en) * | 2017-10-12 | 2018-02-23 | 福建富士通信息软件有限公司 | A kind of visualization business interface Dynamic Configuration based on H5 |
CN108345482B (en) * | 2017-12-29 | 2022-03-15 | 广州品唯软件有限公司 | Dynamic page custom editing method, device, electronic device and storage medium |
CN108305007A (en) * | 2018-02-05 | 2018-07-20 | 深圳市瑞捷建筑工程咨询有限公司 | Engineering construction report-generating method, device and its system, server |
CN110162763A (en) * | 2019-07-18 | 2019-08-23 | 成都希盟泰克科技发展有限公司 | Magnanimity quality tests the optimization method for commenting form data intelligently to be configured and its system |
CN110991157B (en) * | 2019-11-25 | 2023-12-01 | 长江勘测规划设计研究有限责任公司 | Design method of engineering quality assessment system based on electronic document trust technology |
-
2020
- 2020-07-22 CN CN202010709223.0A patent/CN111858595B/en active Active
Non-Patent Citations (2)
Title |
---|
张暑军.AngularJS框架.《基于HTML5的APP开发教程(第2版)》.北京:北京理工大学出版社,2019, * |
马伟青.便捷的HTML扩展.《Web全栈开发进阶之路》.北京:北京航空航天大学出版社,2018, * |
Also Published As
Publication number | Publication date |
---|---|
CN111858595A (en) | 2020-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106371825B (en) | A kind of mobile terminal application interface list dynamic creation method and device | |
CN106708480B (en) | Management platform implementation method and device | |
AU2006287357B2 (en) | Designating, setting and discovering parameters for spreadsheet documents | |
CN111475163A (en) | Method, device and equipment for generating code file of view template and storage medium | |
US20120278700A1 (en) | Filtered Stylesheets | |
CN111126019B (en) | Report generation method and device based on mode customization and electronic equipment | |
US9646103B2 (en) | Client-side template engine and method for constructing a nested DOM module for a website | |
US20130117656A1 (en) | Conversion of web template designs | |
CN108268525A (en) | A kind of report implementation method and device based on Excel template | |
CN106469140A (en) | A kind of report generating system and its method | |
US20160012144A1 (en) | Javascript-based, client-side template driver system | |
CN109710250B (en) | Visualization engine system and method for constructing user interface | |
CN102945287A (en) | Java server page (JSP) data automatic paging java standard tag library (JSTL) label technology and application | |
CN112597750B (en) | Method, editor and medium for designing dynamic detection report template online | |
US20160012551A1 (en) | Apparatus and Application Server for Providing a Service to a User | |
US20160012147A1 (en) | Asynchronous Initialization of Document Object Model (DOM) Modules | |
CN107506190A (en) | XML file amending method and device based on Spring frameworks | |
US20030023639A1 (en) | Application generator for creating web pages | |
CN108664242A (en) | Generate method, apparatus, electronic equipment and the readable storage medium storing program for executing of visualization interface | |
CN111858595B (en) | Dynamic configuration method and system for electric power engineering examination record table | |
US20160012023A1 (en) | Self-Referencing of Running Script Elements in Asynchronously Loaded DOM Modules | |
CN111090976A (en) | Method and device for generating inspection document based on dynamic data | |
CN112287255B (en) | Page construction method and device, computing equipment and computer readable storage medium | |
CN107391175B (en) | Control data configuration method and computer readable storage medium | |
CN114443033A (en) | Page framework display method and device, electronic equipment and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |