CN114816400A - Method, system, intelligent terminal and storage medium for building pages based on JSON configuration - Google Patents
Method, system, intelligent terminal and storage medium for building pages based on JSON configuration Download PDFInfo
- Publication number
- CN114816400A CN114816400A CN202210319289.8A CN202210319289A CN114816400A CN 114816400 A CN114816400 A CN 114816400A CN 202210319289 A CN202210319289 A CN 202210319289A CN 114816400 A CN114816400 A CN 114816400A
- Authority
- CN
- China
- Prior art keywords
- page
- configuration
- json
- building
- module
- 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 74
- 230000003993 interaction Effects 0.000 claims description 7
- 238000011161 development Methods 0.000 abstract description 15
- 230000006870 function Effects 0.000 abstract description 9
- 238000012423 maintenance Methods 0.000 abstract description 5
- 238000012360 testing method Methods 0.000 abstract description 5
- 230000003252 repetitive effect Effects 0.000 abstract description 4
- 230000008569 process Effects 0.000 description 12
- 238000013461 design Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 238000000844 transformation Methods 0.000 description 2
- 238000010200 validation analysis Methods 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/36—Software reuse
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明公开了基于JSON配置搭建页面的方法、系统、智能终端及存储介质,所述方法包括:预先设计后台页面的动态组件,将所述动态组件中的JSON数据进行定义;当所述JSON数据完成定义时,将生成的页面在第一系统进行展示;当所述页面完成在第一系统展示时,若将所述页面运用在第二系统,则使用微前端技术进行嵌入;在所述页面完成展示后,创建配置模块,基于所述配置模块创建页面并配置出展示模块所需的JSON配置。本发明通过页面配置生成JSON,使用生成的JSON生成页面,减少重复性开发,缩短测试时间,达到快速搭建页面的目的,并且也能降低后续的维护成本,而对于需要定制化开发的功能,可以采用传统方式进行开发,并采用微前端的技术将其嵌入。
The invention discloses a method, a system, an intelligent terminal and a storage medium for building a page based on JSON configuration. The method comprises: designing dynamic components of a background page in advance, and defining JSON data in the dynamic components; When the definition is completed, the generated page is displayed in the first system; when the page is displayed in the first system, if the page is used in the second system, the micro-front-end technology is used for embedding; in the page After the display is completed, a configuration module is created, a page is created based on the configuration module, and the JSON configuration required by the display module is configured. The present invention generates JSON through page configuration, uses the generated JSON to generate pages, reduces repetitive development, shortens testing time, achieves the purpose of quickly building pages, and can also reduce subsequent maintenance costs, and for functions that require customized development, it can be Develop in the traditional way and embed it using the technology of micro frontends.
Description
技术领域technical field
本发明涉及IT技术领域,尤其涉及一种基于JSON配置搭建页面的方法、系统、智能终端及存储介质。The invention relates to the field of IT technology, and in particular to a method, system, intelligent terminal and storage medium for building pages based on JSON configuration.
背景技术Background technique
管理后台的前端开发方式主要是使用React/Vue等MVVM框架及其对应的UI组件框架(Element、Antd等)搭建,这类技术降低了管理后台的开发难度和时间,开发者只需要将组件组合搭建出页面、接口联调,就能完成一个后台页面的开发,但管理后台的页面有不少是增删改查类型的,部分页面有着极大的相似度。The front-end development method of the management background is mainly built using MVVM frameworks such as React/Vue and its corresponding UI component frameworks (Element, Antd, etc.). This type of technology reduces the development difficulty and time of the management background. The developer only needs to combine the components. Building a page and interface debugging can complete the development of a background page, but many of the pages in the management background are of the type of addition, deletion, modification, and query, and some pages have great similarity.
然而,在一个后台管理项目的开发过程中,往往包含多个相似页面,但每个页面的开发都需要从头进行,导致开发测试周期较长,并且在后续的维护中也比较麻烦;对于现有的低代码平台来说,页面的生成对其配套的工具依赖性太高,需要定制化的功能就无法完成。However, in the development process of a background management project, there are often multiple similar pages, but the development of each page needs to be carried out from scratch, which leads to a long development and testing cycle, and is also troublesome in subsequent maintenance; for existing For a low-code platform, the generation of the page is too dependent on its supporting tools, and the functions that need to be customized cannot be completed.
因此,现有技术还有待于改进和发展。Therefore, the existing technology still needs to be improved and developed.
发明内容SUMMARY OF THE INVENTION
本发明的主要目的在于提供基于JSON配置搭建页面的方法、系统、智能终端及存储介质,旨在解决现有技术中管理后台前端基础页面重复开发的问题。The main purpose of the present invention is to provide a method, system, intelligent terminal and storage medium for building a page based on JSON configuration, aiming to solve the problem of repeated development of management background front-end basic pages in the prior art.
为实现上述目的,本发明提供一种基于JSON配置搭建页面的方法,所述基于JSON配置搭建页面的方法包括如下步骤:In order to achieve the above object, the present invention provides a method for building a page based on JSON configuration, and the method for building a page based on JSON configuration includes the following steps:
预先设计后台页面的动态组件,将所述动态组件中的JSON数据进行定义;The dynamic component of the background page is designed in advance, and the JSON data in the dynamic component is defined;
当所述JSON数据完成定义时,将生成的页面在第一系统进行展示;When the JSON data is defined, the generated page is displayed in the first system;
当所述页面完成在第一系统展示时,若将所述页面运用在第二系统,则使用微前端技术进行嵌入;When the page is displayed in the first system, if the page is used in the second system, the micro-frontend technology is used for embedding;
在所述页面完成展示后,创建配置模块,基于所述配置模块创建页面并配置出展示模块所需的JSON配置。After the page is displayed, a configuration module is created, a page is created based on the configuration module, and the JSON configuration required by the display module is configured.
可选地,所述的基于JSON配置搭建页面的方法,其中,所述预先设计后台页面的动态组件,将所述动态组件中的JSON数据进行定义,具体包括:Optionally, in the method for building a page based on JSON configuration, wherein the dynamic component of the pre-designed background page is defined, and JSON data in the dynamic component is defined, specifically including:
预先设计后台页面中包含动态表格及动态表单的动态组件;Pre-designed background pages include dynamic forms and dynamic components of dynamic forms;
当设置完成所述动态组件时,定义所述动态组件所需的JSON数据、制定页面数据来源和页面前后端交互的JSON格式。When the dynamic component is set, define the JSON data required by the dynamic component, formulate the source of page data and the JSON format for front-end and back-end interaction of the page.
可选地,所述的基于JSON配置搭建页面的方法,其中,所述动态表格为后台页面数据展示组件,所述动态表单由多个表单项组成,用于表单的提交、重置和校验。Optionally, in the method for building a page based on JSON configuration, wherein the dynamic form is a background page data display component, and the dynamic form is composed of multiple form items, which are used for form submission, reset and verification .
可选地,所述的基于JSON配置搭建页面的方法,其中,所述当所述JSON数据完成定义时,将生成的页面在第一系统进行展示,具体包括:Optionally, the method for building a page based on JSON configuration, wherein when the JSON data is defined, the generated page is displayed in the first system, specifically including:
当完成定义所述JSON数据时,获取URL的查询参数,将所述查询参数作为接口获取所述页面的JSON配置;When completing the definition of the JSON data, obtain the query parameters of the URL, and use the query parameters as an interface to obtain the JSON configuration of the page;
当获取的所述JSON配置进行初始化后,将初始化的配置信息作为动态组件属性在第一系统中展示出所生成的页面。After the acquired JSON configuration is initialized, the generated page is displayed in the first system using the initialized configuration information as a dynamic component attribute.
可选地,所述的基于JSON配置搭建页面的方法,其中,所述当所述页面完成在第一系统展示时,若将所述页面运用在第二系统,则使用微前端技术进行嵌入,具体包括:Optionally, in the method for building a page based on JSON configuration, when the page is displayed in the first system, if the page is used in the second system, the micro-front-end technology is used for embedding, Specifically include:
将当前页面所在的第一系统作为第一子应用,接收所述第一子应用导出的生命周期并供主应用调用;The first system where the current page is located is used as the first sub-application, and the life cycle derived from the first sub-application is received and called by the main application;
当接收所述生命周期时,确认使用所述页面的第二系统作为主应用,并注册第二子应用进行匹配;When receiving the life cycle, confirm that the second system using the page is used as the main application, and register the second sub-application for matching;
当所述第二子应用的路由匹配成功所述第一子应用时,控制所述主应用触发所述第一子应用的生命周期钩子,并传入数据在第二系统中进行页面展示。When the route of the second sub-application is successfully matched to the first sub-application, the main application is controlled to trigger the life cycle hook of the first sub-application, and the incoming data is displayed on the second system.
可选地,所述的基于JSON配置搭建页面的方法,其中,所述基当接收所述生命周期时,确认使用所述页面的系统作为主应用,并注册第二子应用进行匹配,之后还包括:Optionally, in the method for building a page based on JSON configuration, when receiving the life cycle, the base confirms that the system using the page is used as the main application, and registers the second sub-application for matching, and then returns include:
在所述主应用中增加页面菜单和子系统展示容器;所述页面菜单用于切换子应用,所述子系统展示容器用于展示子系统。A page menu and a subsystem display container are added to the main application; the page menu is used to switch sub-applications, and the subsystem display container is used to display the subsystem.
可选地,所述的基于JSON配置搭建页面的方法,其中,所述在所述页面完成展示后,创建配置模块,基于所述配置模块创建页面并配置出展示模块所需的JSON配置,具体包括:Optionally, the method for building a page based on JSON configuration, wherein, after the page is displayed, a configuration module is created, a page is created based on the configuration module, and the JSON configuration required by the display module is configured, specifically include:
在所述页面完成展示后,创建配置模块,基于所述配置模块新建一个页面配置;After the page is displayed, a configuration module is created, and a new page configuration is created based on the configuration module;
当新建完成所述页面配置时,对所述页面配置进行编辑并生成展示模块所需的JSON配置;When the new page configuration is completed, the page configuration is edited and the JSON configuration required by the display module is generated;
在完成页面配置编辑后,保存含有配置信息的页面。After editing the page configuration, save the page with the configuration information.
此外,为实现上述目的,本发明还提供一种智能终端,其中,所述智能终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的基于JSON配置搭建页面的程序,所述基于JSON配置搭建页面的程序被所述处理器执行时实现如上所述的基于JSON配置搭建页面的方法的步骤。In addition, in order to achieve the above purpose, the present invention also provides an intelligent terminal, wherein the intelligent terminal includes: a memory, a processor, and a JSON-based configuration building page stored in the memory and running on the processor When the program for building a page based on JSON configuration is executed by the processor, the steps of the above method for building a page based on JSON configuration are implemented.
此外,为实现上述目的,本发明还提供一种基于JSON配置搭建页面的系统,其中,所述基于JSON配置搭建页面的系统包括:In addition, in order to achieve the above object, the present invention also provides a system for building pages based on JSON configuration, wherein the system for building pages based on JSON configuration includes:
定义模块,用于预先设计后台页面的动态组件,将所述动态组件中的JSON数据进行定义;A definition module is used to design the dynamic components of the background page in advance, and define the JSON data in the dynamic components;
展示模块,用于当所述JSON数据完成定义时,将生成的页面在第一系统进行展示;a display module, used for displaying the generated page in the first system when the JSON data is defined;
接入模块,用于当所述页面完成在第一系统展示时,若将所述页面运用在第二系统,则使用微前端技术进行嵌入;an access module, configured to use micro-front-end technology for embedding when the page is displayed in the first system if the page is used in the second system;
配置模块,用于在所述页面完成展示后,创建配置模块,基于所述配置模块创建页面并配置出展示模块所需的JSON配置。The configuration module is used to create a configuration module after the page is displayed, create a page based on the configuration module, and configure the JSON configuration required by the display module.
此外,为实现上述目的,本发明还提供一种计算机可读存储介质,其中,所述计算机可读存储介质存储有基于JSON配置搭建页面的程序,所述基于JSON配置搭建页面的程序被处理器执行时实现如上所述的基于JSON配置搭建页面的方法的步骤。In addition, in order to achieve the above object, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a program for building a page based on a JSON configuration, and the program for building a page based on a JSON configuration is processed by a processor The steps of implementing the method for building a page based on JSON configuration as described above during execution.
本发明中,预先设计后台页面的动态组件,将所述动态组件中的JSON数据进行定义;当所述JSON数据完成定义时,将生成的页面在第一系统进行展示;当所述页面完成在第一系统展示时,若将所述页面运用在第二系统,则使用微前端技术进行嵌入;在所述页面完成展示后,创建配置模块,基于所述配置模块创建页面并配置出展示模块所需的JSON配置。本发明通过页面配置生成JSON,使用生成的JSON生成页面,减少重复性开发,缩短测试时间,达到快速搭建页面的目的,并且也能降低后续的维护成本,而对于需要定制化开发的功能,可以采用传统方式进行开发,并采用微前端的技术将其嵌入。In the present invention, the dynamic components of the background page are designed in advance, and the JSON data in the dynamic components is defined; when the JSON data is defined, the generated page is displayed in the first system; when the page is completed in the When the first system is displayed, if the page is used in the second system, the micro-front-end technology is used for embedding; after the page is displayed, a configuration module is created, based on the configuration module, the page is created and configured to display all the modules. Required JSON configuration. The present invention generates JSON through page configuration, uses the generated JSON to generate pages, reduces repetitive development, shortens testing time, achieves the purpose of quickly building pages, and can also reduce subsequent maintenance costs, and for functions that require customized development, it can be Develop in the traditional way and embed it using the technology of micro frontends.
附图说明Description of drawings
图1是本发明基于JSON配置搭建页面的方法的较佳实施例的流程图;Fig. 1 is the flow chart of the preferred embodiment of the method for building page based on JSON configuration of the present invention;
图2是本发明基于JSON配置搭建页面的方法的较佳实施例中步骤S10的流程图;Fig. 2 is the flow chart of step S10 in the preferred embodiment of the method for building pages based on JSON configuration of the present invention;
图3是本发明基于JSON配置搭建页面的方法中的创建展示模块流程图;Fig. 3 is the creation display module flow chart in the method for building page based on JSON configuration of the present invention;
图4是本发明基于JSON配置搭建页面的方法的较佳实施例中步骤S20的流程图;Fig. 4 is the flow chart of step S20 in the preferred embodiment of the method for building pages based on JSON configuration of the present invention;
图5是本发明基于JSON配置搭建页面的方法的较佳实施例中强页面展示流程图;5 is a flow chart showing a strong page in a preferred embodiment of the method for building a page based on JSON configuration of the present invention;
图6是本发明基于JSON配置搭建页面的方法的较佳实施例中页面在系统A中展示示意图;6 is a schematic diagram showing a page in the system A in a preferred embodiment of the method for building a page based on JSON configuration of the present invention;
图7是本发明基于JSON配置搭建页面的方法的较佳实施例中步骤S30的流程图;7 is a flowchart of step S30 in the preferred embodiment of the method for building a page based on JSON configuration of the present invention;
图8是本发明基于JSON配置搭建页面的方法的较佳实施例中页面在系统B中展示示意图;FIG. 8 is a schematic diagram of displaying a page in system B in a preferred embodiment of the method for building a page based on JSON configuration of the present invention;
图9是本发明基于JSON配置搭建页面的方法的较佳实施例中步骤S40的流程图;9 is a flowchart of step S40 in the preferred embodiment of the method for building a page based on JSON configuration of the present invention;
图10是本发明基于JSON配置搭建页面的方法的较佳实施例中页面配置流程图;10 is a flow chart of page configuration in a preferred embodiment of the method for building a page based on JSON configuration of the present invention;
图11是本发明基于JSON配置搭建页面的系统的较佳实施例的原理示意图;Fig. 11 is the principle schematic diagram of the preferred embodiment of the system for building pages based on JSON configuration of the present invention;
图12为本发明智能终端的较佳实施例的运行环境示意图。FIG. 12 is a schematic diagram of the operating environment of the preferred embodiment of the smart terminal of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and effects of the present invention clearer and clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
需要说明,若本发明实施例中有涉及方向性指示(诸如上、下、左、右、前、后……),则该方向性指示仅用于解释在某一特定姿态(如附图所示)下各部件之间的相对位置关系、运动情况等,如果该特定姿态发生改变时,则该方向性指示也相应地随之改变。It should be noted that if there are directional indications (such as up, down, left, right, front, back, etc.) involved in the embodiments of the present invention, the directional indications are only used to explain a certain posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication also changes accordingly.
另外,若本发明实施例中有涉及“第一”、“第二”等的描述,则该“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本发明要求的保护范围之内。In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for the purpose of description, and should not be construed as indicating or implying Its relative importance or implicitly indicates the number of technical features indicated. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In addition, the technical solutions between the various embodiments can be combined with each other, but must be based on the realization by those of ordinary skill in the art. When the combination of technical solutions is contradictory or cannot be realized, it should be considered that the combination of such technical solutions does not exist. , is not within the scope of protection required by the present invention.
本发明较佳实施例所述的基于JSON配置搭建页面的方法,如图1所示,所述基于JSON配置搭建页面的方法包括以下步骤:The method for building a page based on JSON configuration according to a preferred embodiment of the present invention, as shown in Figure 1, the method for building a page based on JSON configuration includes the following steps:
步骤S10、预先设计后台页面的动态组件,将所述动态组件中的JSON数据进行定义。Step S10: Pre-design the dynamic components of the background page, and define the JSON data in the dynamic components.
具体的过程请参阅图2,其为本发明提供的基于JSON配置搭建页面的方法中步骤S10的流程图。For the specific process, please refer to FIG. 2 , which is a flowchart of step S10 in the method for building a page based on JSON configuration provided by the present invention.
如图2所示,所述步骤S10包括:As shown in Figure 2, the step S10 includes:
步骤S11、预先设计后台页面中包含动态表格及动态表单的动态组件;Step S11, pre-designing the dynamic components including the dynamic form and the dynamic form in the background page;
步骤S12、当设置完成所述动态组件时,定义所述动态组件所需的JSON数据、制定页面数据来源和页面前后端交互的JSON格式。Step S12, when the dynamic component is set, define the JSON data required by the dynamic component, formulate the source of the page data and the JSON format of the front-end and back-end interaction of the page.
具体地,后台的常规页面一般会包含表格、搜索表单、新增/编辑表单和导出等模块,在所述页面完成创建后,控制所述页面设计出相应的动态组件,方便页面组装使用;表格是后台页面常见的组件,包含列展示、表头过滤、分页排序、数据行操作列的修改、删除及单元格的展示,根据这些功能封装出动态表格组件,对应的表格展示JSON的基础格式为:{{“title”:“字段1”,“field”:“f1”,“hidden”:true,“width”:120,“style”:“”,“link”:“”,“filter”:null,},{“title”:“字段2”,“field”:“f2”,“hidden”:false,“width”:130,“style”:“”,“link”:“http:xxx.com/{id}”,“filter”:null,},{“title”:“字段1”,“field”:“f1”,“style”:“”,“link”:“”,“filter”:[{“title”:“状态1”,“value”:“1”,“default”:true},{“title”:“状态2”,“value”:“2”,}]}};所述title为表头文本,所述field为字段名,所述width为单元格宽度,所述style为单元格自定义样式,所述link为单元格文本链接,所述filter为表头过滤条件。Specifically, the regular pages in the background generally include modules such as forms, search forms, new/edit forms, and exporting. After the pages are created, control the pages to design corresponding dynamic components to facilitate page assembly and use; forms It is a common component of background pages, including column display, header filtering, paging sorting, data row operation column modification, deletion, and cell display. According to these functions, dynamic table components are encapsulated. The corresponding table display JSON The basic format is :{{"title":"field1","field":"f1","hidden":true,"width":120,"style":"","link":"","filter": null, }, {"title":"field2","field":"f2","hidden":false,"width":130,"style":"","link":"http:xxx. com/{id}", "filter": null, }, { "title": "field1", "field": "f1", "style": "", "link": "", "filter" :[{"title":"state1","value":"1","default":true},{"title":"state2","value":"2",}]}}; The title is the header text, the field is the field name, the width is the cell width, the style is the cell custom style, the link is the cell text link, and the filter is the header filter condition .
在本发明的实施例中,在第一系统(系统A)配置模块增加一个页面“xxx管理”,页面类型为表格页面,将所述表格页面加入到展示模块的菜单当中,并配置页面信息;如表格数据源设置,页面通过该配置项请求后台接口获取表格数据,将在页面渲染完成后发起请求,具体如下表所示:In an embodiment of the present invention, a page "xxx management" is added to the configuration module of the first system (system A), the page type is a table page, the table page is added to the menu of the display module, and page information is configured; If the table data source is set, the page requests the background interface to obtain the table data through this configuration item, and the request will be initiated after the page rendering is completed, as shown in the following table:
而表格的展示设置,定义表格需要展示的字段和样式等信息,字段信息与表格数据源设置的接口返回值相关联如下表所示:The display settings of the table define the fields and styles that the table needs to display. The field information is associated with the interface return value set by the table data source, as shown in the following table:
动态表格的基本功能有表单的提交、重置和校验,表单则是有多个表单项组成,所述表单项由表单元素类型、字段名、label标签文本、占位文本和校验规则等组成;使用动态表单组件可以二次封装成搜索组件、新增组件和编辑组件;如图3所示,当设置完成所述动态组件时,先定义所述动态组件所需的JSON数据,对应的JSON数据基础格式为:[{“title”:“字段1”,“type”:“text”,“placeholder”:“模糊查询”,“field”:“s1”,“maxLength”:12,“rules”:[{“type”:“required”,“errorMsg”:“错误提示”,}]},{“title”:“字段2”,“type”:“datepicker”,“placeholder”:“请选择”,“field”:“s2”,“disabled”:true,}],所述title为表单label文本,所述type为表单元素类型,所述placeholder为占位符,所述field为字段名,所述disabled为是否禁止编辑,所述rules为表单校验规则。The basic functions of dynamic forms include form submission, reset, and verification. Forms are composed of multiple form items. The form items include form element type, field name, label text, placeholder text, and validation rules. composition; the use of dynamic form components can be re-encapsulated into search components, new components and editing components; as shown in Figure 3, when the dynamic components are set and completed, the JSON data required by the dynamic components is first defined, and the corresponding The JSON data base format is: [{"title":"field1","type":"text","placeholder":"fuzzy query","field":"s1","maxLength":12,"rules ":[{"type":"required","errorMsg":"Error message",}]},{"title":"
定义完成所述动态组件所需的JSON数据后,还需要制定页面数据来源的JSON格式和页面前后端交互的JSON格式,页面数据来源和页面前后交互都是通过接口获取的,所述页面数据来源的JSON格式和所述页面前后端交互的JSON格式都需要包含接口地址、接口请求方式、接口数据取值和接口固定参数等,而JSON格式的基本格式为:{“api”:“http://xxxx/xxx”},“path_expr”:“$.items”,“method”:“post”,“params”:[{“field”:“id”,“value”:“1”}]},所述api为接口地址,所述path_expr为结果运算符,所述method为请求方式,所述params为接口固定参数;之后将接口配置和组件配置结合构成页面的配置;而表格查询表单设置,定义数据源的查询条件,与数据源设置的接口请求参数相关联,如下表所示:After defining the JSON data required by the dynamic components, it is also necessary to formulate the JSON format of the page data source and the JSON format of the front-end and back-end interaction of the page. The page data source and the front-and-back interaction of the page are obtained through the interface. The JSON format of the interface and the JSON format of the front-end and back-end interaction of the page need to include the interface address, interface request method, interface data value and interface fixed parameters, etc., and the basic format of the JSON format is: {"api":"http:/ /xxxx/xxx"}, "path_expr": "$.items", "method": "post", "params": [{"field": "id", "value": "1"}]}, The api is the interface address, the path_expr is the result operator, the method is the request method, and the params is the interface fixed parameter; then the interface configuration and the component configuration are combined to form the configuration of the page; and the table query form settings, define The query conditions of the data source are associated with the interface request parameters set by the data source, as shown in the following table:
步骤S20、当所述JSON数据完成定义时,将生成的页面在第一系统进行展示。Step S20, when the JSON data is defined, the generated page is displayed in the first system.
具体的过程请参阅图4,其为本发明提供的基于JSON配置搭建页面的方法中步骤S20的流程图。For the specific process, please refer to FIG. 4 , which is a flowchart of step S20 in the method for building a page based on JSON configuration provided by the present invention.
如图4所示,所述步骤S20包括:As shown in Figure 4, the step S20 includes:
步骤S21、当完成定义所述JSON数据时,获取URL的查询参数,将所述查询参数作为接口获取所述页面的JSON配置;Step S21, when completing the definition of the JSON data, obtain the query parameters of the URL, and use the query parameters as an interface to obtain the JSON configuration of the page;
步骤S22、当获取的所述JSON配置进行初始化后,将初始化的配置信息作为动态组件属性在第一系统中展示出所生成的页面。Step S22: After the acquired JSON configuration is initialized, the generated page is displayed in the first system using the initialized configuration information as a dynamic component attribute.
具体地,当完成定义所述JSON数据时,开始展示页面的流程,页面展示的流程如图5所示,打开创建的页面,获取URL上的api查询参数,将所述api查询参数作为参数请求接口获取当前页面的JSON配置;将JSON配置进行初始化,所述JSON配置包括add、delete、export、list、modify等配置,通过配置信息确认需要展示的动态组件,然后将初始化的配置信息作为动态组件属性在第一系统中展示出页面,如图6所示,在第一系统(系统A)展示模块中,点击“xxx管理”的菜单。Specifically, when the definition of the JSON data is completed, the process of displaying the page is started. The process of displaying the page is shown in Figure 5. The created page is opened, the api query parameter on the URL is obtained, and the api query parameter is used as a parameter request The interface obtains the JSON configuration of the current page; initializes the JSON configuration, which includes add, delete, export, list, modify and other configurations, confirm the dynamic components to be displayed through the configuration information, and then use the initialized configuration information as the dynamic components The property displays a page in the first system, as shown in FIG. 6 , in the display module of the first system (system A), click the menu of “xxx management”.
步骤S30、当所述页面完成在第一系统展示时,若将所述页面运用在第二系统,则使用微前端技术进行嵌入。Step S30: When the page is displayed in the first system, if the page is used in the second system, the micro-front-end technology is used for embedding.
具体的过程请参阅图7,其为本发明提供的基于JSON配置搭建页面的方法中步骤S30的流程图。For the specific process, please refer to FIG. 7 , which is a flowchart of step S30 in the method for building a page based on JSON configuration provided by the present invention.
如图7所示,所述步骤S30包括:As shown in Figure 7, the step S30 includes:
步骤S31、将当前页面所在的第一系统作为第一子应用,接收所述第一子应用导出的生命周期并供主应用调用;Step S31, taking the first system where the current page is located as the first sub-application, receiving the life cycle derived from the first sub-application and calling it for the main application;
步骤S32、当接收所述生命周期时,确认使用所述页面的第二系统作为主应用,并注册第二子应用进行匹配;Step S32, when receiving the life cycle, confirm that the second system using the page is used as the main application, and register the second sub-application for matching;
步骤S33、当所述第二子应用的路由匹配成功所述第一子应用时,控制所述主应用触发所述第一子应用的生命周期钩子,并传入数据在第二系统中进行页面展示。Step S33, when the route of the second sub-application is successfully matched to the first sub-application, control the main application to trigger the life cycle hook of the first sub-application, and pass in the data to perform a page in the second system. exhibit.
具体地,在第一系统(例如,系统A)完成了页面展示后,如果需要在其他系统(例如,系统B)中使用,则使用微前端技术嵌入其中,本发明实施例中采用qiankun实现(qiankun是阿里的一个微前端框架,可以将一个负责聚合与切换的主应用与多个相互独自的微应用组合成一个大的前端应用),嵌入的步骤为:首先将系统A作为第一子应用,并导出相应的生命周期钩子,所述生命周期钩子可供主应用调用;然后将需要使用页面的系统B作为主应用,注册第二子应用并配置第二子应用的入口、名称、渲染方法和路由匹配方法;最后当主应用的第二子应用路由匹配上第一子应用时,获取第一子应用资源并触发第一子应用的生命周期钩子以传入token、用户信息等数据;如图8所示,在本发明实施例中需要在系统B中使用“xxx管理”页面,在系统B中,接入微前端方案;在系统B的菜单中增加“xxx管理B”,菜单对应的路径为系统A的“xxx管理”的路径,系统B右侧原有的展示容器id为“pageContainer”,再往右侧添加一个容器“microContainer”,当点击“xxx管理B”菜单,激活微前端的路由匹配规则,隐藏系统B的“pageContainer”,而显示“microContainer”。Specifically, after the first system (for example, system A) completes the display of the page, if it needs to be used in other systems (for example, system B), the micro-front-end technology is used to embed it. In this embodiment of the present invention, qiankun is used to implement ( qiankun is a micro-front-end framework of Ali, which can combine a main application responsible for aggregation and switching with multiple independent micro-applications into a large front-end application). The embedding steps are: first, use system A as the first sub-application , and export the corresponding life cycle hook, which can be called by the main application; then use the system B that needs to use the page as the main application, register the second sub-application and configure the entry, name, rendering method of the second sub-application and route matching method; finally, when the second sub-application route of the main application matches the first sub-application, the first sub-application resource is obtained and the life cycle hook of the first sub-application is triggered to pass in data such as token and user information; as shown in the figure 8, in the embodiment of the present invention, it is necessary to use the "xxx management" page in system B, and in system B, access the micro-front-end solution; add "xxx management B" to the menu of system B, and the path corresponding to the menu It is the path of "xxx management" of system A. The original display container id on the right side of system B is "pageContainer", and then a container "microContainer" is added to the right side. When clicking the "xxx management B" menu, activate the micro-frontend's The route matching rule hides the "pageContainer" of System B and displays "microContainer".
步骤S40、在所述页面完成展示后,创建配置模块,基于所述配置模块创建页面并配置出展示模块所需的JSON配置。Step S40, after the page is displayed, create a configuration module, create a page based on the configuration module, and configure the JSON configuration required by the display module.
具体的过程请参阅图9,其为本发明提供的基于JSON配置搭建页面的方法中步骤S40的流程图。For the specific process, please refer to FIG. 9 , which is a flowchart of step S40 in the method for building a page based on JSON configuration provided by the present invention.
如图9所示,所述步骤S40包括:As shown in Figure 9, the step S40 includes:
步骤S41、在所述页面完成展示后,创建配置模块,基于所述配置模块新建一个页面配置;Step S41, after the page is displayed, create a configuration module, and create a new page configuration based on the configuration module;
步骤S42、当新建完成所述页面配置时,对所述页面配置进行编辑并生成展示模块所需的JSON配置;Step S42, when the new page configuration is completed, edit the page configuration and generate the JSON configuration required by the display module;
步骤S43、在完成页面配置编辑后,保存含有配置信息的页面。Step S43, after completing the page configuration editing, save the page containing the configuration information.
具体地,先将JSON数据按动态组件和功能拆分出多个模块,将页面基础信息(例如,页面标题,页面类型,页面描述)称为基础配置,其他的为页面功能配置,分别有表格配置、新增配置、导出配置等,在页面上按拆分的模块一一展示,分别设计不同的表单,来满足其配置要求,以创建配置模块;如图10所示,开始新建一个页面配置,通过配置页面编辑表单的形式生成JSON配置,若首次编辑未完成JSON配置,则进行修改页面配置,并在修改完成后进行保存配置信息;若首次编辑完成了JSON配置,对所生成的配置信息进行保存,然后往菜单中动态添加一个子菜单,点击可查看新增的页面。Specifically, the JSON data is first divided into multiple modules according to dynamic components and functions, and the basic information of the page (for example, page title, page type, page description) is called the basic configuration, and the other is the page function configuration, and there are tables respectively. Configuration, new configuration, export configuration, etc. are displayed one by one on the page according to the divided modules, and different forms are designed to meet their configuration requirements to create configuration modules; as shown in Figure 10, start to create a new page configuration , generate the JSON configuration in the form of the configuration page editing form. If the JSON configuration is not completed for the first editing, modify the page configuration, and save the configuration information after the modification is completed; if the JSON configuration is completed for the first editing, the generated configuration information Save it, then dynamically add a submenu to the menu, click to view the new page.
进一步地,如图11所示,基于上述基于JSON配置搭建页面的方法,本发明还相应提供了一种基于JSON配置搭建页面的系统,其中,所述基于JSON配置搭建页面的系统包括:Further, as shown in Figure 11, based on the above-mentioned method for building pages based on JSON configuration, the present invention also provides a system for building pages based on JSON configuration, wherein the system for building pages based on JSON configuration includes:
定义模块51,用于预先设计后台页面的动态组件,将所述动态组件中的JSON数据进行定义;The
展示模块52,用于当所述JSON数据完成定义时,将生成的页面在第一系统进行展示;The
接入模块53,当所述页面完成在第一系统展示时,若将所述页面运用在第二系统,则使用微前端技术进行嵌入;The
配置模块54,在所述页面完成展示后,创建配置模块,基于所述配置模块创建页面并配置出展示模块所需的JSON配置。The
本发明创造提供一种基于JSON配置搭建页面的方法,本发明所提供的方法通过预先设计后台页面的动态组件,将所述动态组件中的JSON数据进行定义;当所述JSON数据完成定义时,将生成的页面在第一系统进行展示;当所述页面完成在第一系统展示时,若将所述页面运用在第二系统,则使用微前端技术进行嵌入;在所述页面完成展示后,创建配置模块,基于所述配置模块创建页面并配置出展示模块所需的JSON配置。本发明通过页面配置生成JSON,使用生成的JSON生成页面,减少重复性开发,缩短测试时间,达到快速搭建页面的目的,并且也能降低后续的维护成本,而对于需要定制化开发的功能,可以采用传统方式进行开发,并采用微前端的技术将其嵌入。The present invention creates and provides a method for building a page based on JSON configuration. The method provided by the present invention defines the JSON data in the dynamic component by pre-designing the dynamic component of the background page; when the JSON data is defined, The generated page is displayed in the first system; when the page is displayed in the first system, if the page is used in the second system, the micro-front-end technology is used for embedding; after the page is displayed, Create a configuration module, create a page based on the configuration module, and configure the JSON configuration required by the display module. The present invention generates JSON through page configuration, uses the generated JSON to generate pages, reduces repetitive development, shortens testing time, achieves the purpose of quickly building pages, and can also reduce subsequent maintenance costs, and for functions that require customized development, it can be Develop in the traditional way and embed it using the technology of micro frontends.
进一步地,如图12所示,本发明还相应提供了一种智能终端,所述智能终端包括处理器10、存储器20及显示器30。图11仅示出了智能终端的部分组件,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。Further, as shown in FIG. 12 , the present invention also provides an intelligent terminal correspondingly, and the intelligent terminal includes a
所述存储器20在一些实施例中可以是所述智能终端的内部存储单元,例如智能终端的硬盘或内存。所述存储器20在另一些实施例中也可以是所述智能终端的外部存储设备,例如所述智能终端上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器20还可以既包括所述智能终端的内部存储单元也包括外部存储设备。所述存储器20用于存储安装于所述智能终端的应用软件及各类数据。所述存储器20还可以用于暂时地存储已经输出或者将要输出的数据。在一实施例中,存储器20上存储有基于JSON配置搭建页面的程序40,该基于JSON配置搭建页面的程序40可被处理器10所执行,从而实现本申请中基于JSON配置搭建页面的方法。In some embodiments, the
所述处理器10在一些实施例中可以是一中央处理器(Central Processing Unit,CPU),微处理器或其他数据处理芯片,用于运行所述存储器20中存储的程序代码或处理数据,例如执行所述基于JSON配置搭建页面的方法等。In some embodiments, the
所述显示器30在一些实施例中可以是OLED(Organic Light-Emitting Diode,有机发光二极管)显示器等。所述显示器30用于显示在所述装置的信息以及用于显示可视化的用户界面。所述装置的部件10-30通过系统总线相互通信。The
在一实施例中,当处理器10执行所述存储器20中基于JSON配置搭建页面的程序40时实现以下步骤:In one embodiment, when the
预先设计后台页面的动态组件,将所述动态组件中的JSON数据进行定义;The dynamic component of the background page is designed in advance, and the JSON data in the dynamic component is defined;
当所述JSON数据完成定义时,将生成的页面在第一系统进行展示;When the JSON data is defined, the generated page is displayed in the first system;
当所述页面完成在第一系统展示时,若将所述页面运用在第二系统,则使用微前端技术进行嵌入;When the page is displayed in the first system, if the page is used in the second system, the micro-frontend technology is used for embedding;
在所述页面完成展示后,创建配置模块,基于所述配置模块创建页面并配置出展示模块所需的JSON配置。After the page is displayed, a configuration module is created, a page is created based on the configuration module, and the JSON configuration required by the display module is configured.
其中,所述预先设计后台页面的动态组件,将所述动态组件中的JSON数据进行定义,具体包括:Wherein, in the dynamic component of the pre-designed background page, the JSON data in the dynamic component is defined, specifically including:
预先设计后台页面中包含动态表格及动态表单的动态组件;Pre-designed background pages include dynamic forms and dynamic components of dynamic forms;
当设置完成所述动态组件时,定义所述动态组件所需的JSON数据、制定页面数据来源和页面前后端交互的JSON格式。When the dynamic component is set, define the JSON data required by the dynamic component, formulate the source of page data and the JSON format for front-end and back-end interaction of the page.
其中,所述动态表格为后台页面数据展示组件,所述动态表单由多个表单项组成,用于表单的提交、重置和校验。Wherein, the dynamic form is a background page data display component, and the dynamic form is composed of multiple form items, which are used for form submission, reset and verification.
其中,所述当所述JSON数据完成定义时,将生成的页面在第一系统进行展示,具体包括:Wherein, when the JSON data is defined, the generated page is displayed in the first system, specifically including:
当完成定义所述JSON数据时,获取URL的查询参数,将所述查询参数作为接口获取所述页面的JSON配置;When completing the definition of the JSON data, obtain the query parameters of the URL, and use the query parameters as an interface to obtain the JSON configuration of the page;
当获取的所述JSON配置进行初始化后,将初始化的配置信息作为动态组件属性在第一系统中展示出所生成的页面。After the acquired JSON configuration is initialized, the generated page is displayed in the first system using the initialized configuration information as a dynamic component attribute.
其中,所述当所述页面完成在第一系统展示时,若将所述页面运用在第二系统,则使用微前端技术进行嵌入,具体包括:Wherein, when the page is displayed in the first system, if the page is used in the second system, the micro-front-end technology is used for embedding, which specifically includes:
将当前页面所在的第一系统作为第一子应用,接收所述第一子应用导出的生命周期并供主应用调用;The first system where the current page is located is used as the first sub-application, and the life cycle derived from the first sub-application is received and called by the main application;
当接收所述生命周期时,确认使用所述页面的第二系统作为主应用,并注册第二子应用进行匹配;When receiving the life cycle, confirm that the second system using the page is used as the main application, and register the second sub-application for matching;
当所述第二子应用的路由匹配成功所述第一子应用时,控制所述主应用触发所述第一子应用的生命周期钩子,并传入数据在第二系统中进行页面展示。When the route of the second sub-application is successfully matched to the first sub-application, the main application is controlled to trigger the life cycle hook of the first sub-application, and the incoming data is displayed on the second system.
其中,所述基当接收所述生命周期时,确认使用所述页面的系统作为主应用,并注册第二子应用进行匹配,之后还包括:Wherein, when receiving the life cycle, the base confirms that the system using the page is used as the main application, and registers the second sub-application for matching, and then further includes:
在所述主应用中增加页面菜单和子系统展示容器;所述页面菜单用于切换子应用,所述子系统展示容器用于展示子系统。A page menu and a subsystem display container are added to the main application; the page menu is used to switch sub-applications, and the subsystem display container is used to display the subsystem.
其中,所述在所述页面完成展示后,创建配置模块,基于所述配置模块创建页面并配置出展示模块所需的JSON配置,具体包括:Wherein, after the page is displayed, a configuration module is created, a page is created based on the configuration module, and the JSON configuration required by the display module is configured, specifically including:
在所述页面完成展示后,创建配置模块,基于所述配置模块新建一个页面配置;After the page is displayed, a configuration module is created, and a new page configuration is created based on the configuration module;
当新建完成所述页面配置时,对所述页面配置进行编辑并生成展示模块所需的JSON配置;When the new page configuration is completed, the page configuration is edited and the JSON configuration required by the display module is generated;
在完成页面配置编辑后,保存含有配置信息的页面。After editing the page configuration, save the page with the configuration information.
本发明还提供一种计算机可读存储介质,其中,所述存储介质存储有基于JSON配置搭建页面的程序,所述基于JSON配置搭建页面的程序被处理器执行时实现如上所述的基于JSON配置搭建页面的方法的步骤。The present invention also provides a computer-readable storage medium, wherein the storage medium stores a program for building a page based on a JSON configuration, and when the program for building a page based on a JSON configuration is executed by a processor, the above JSON-based configuration is implemented The steps of how to build a page.
综上所述,本发明提供一种基于JSON配置搭建页面的方法及相关设备,所述方法包括:预先设计后台页面的动态组件,将所述动态组件中的JSON数据进行定义;当所述JSON数据完成定义时,将生成的页面在第一系统进行展示;当所述页面完成在第一系统展示时,若将所述页面运用在第二系统,则使用微前端技术进行嵌入;在所述页面完成展示后,创建配置模块,基于所述配置模块创建页面并配置出展示模块所需的JSON配置。本发明通过页面配置生成JSON,使用生成的JSON生成页面,减少重复性开发,缩短测试时间,达到快速搭建页面的目的,并且也能降低后续的维护成本,而对于需要定制化开发的功能,可以采用传统方式进行开发,并采用微前端的技术将其嵌入。In summary, the present invention provides a method and related equipment for building a page based on JSON configuration. The method includes: pre-designing a dynamic component of a background page, and defining JSON data in the dynamic component; When the data is defined, the generated page is displayed in the first system; when the page is displayed in the first system, if the page is used in the second system, the micro-front-end technology is used for embedding; in the After the page is displayed, a configuration module is created, a page is created based on the configuration module, and the JSON configuration required by the display module is configured. The present invention generates JSON through page configuration, uses the generated JSON to generate pages, reduces repetitive development, shortens testing time, achieves the purpose of quickly building pages, and can also reduce subsequent maintenance costs, and for functions that require customized development, it can be Develop in the traditional way and embed it using the technology of micro frontends.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
当然,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关硬件(如处理器,智能赛车等)来完成,所述的程序可存储于一计算机可读取的存储介质中,所述程序在执行时可包括如上述各方法实施例的流程。其中所述的存储介质可为存储器、磁碟、光盘等。Of course, those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware (such as processors, intelligent racing cars, etc.) through a computer program, and the programs can be stored in a In a computer-readable storage medium, when the program is executed, it may include the processes of the foregoing method embodiments. The storage medium may be a memory, a magnetic disk, an optical disk, or the like.
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。It should be understood that the application of the present invention is not limited to the above examples. For those of ordinary skill in the art, improvements or transformations can be made according to the above descriptions, and all these improvements and transformations should belong to the protection scope of the appended claims of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210319289.8A CN114816400A (en) | 2022-03-29 | 2022-03-29 | Method, system, intelligent terminal and storage medium for building pages based on JSON configuration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210319289.8A CN114816400A (en) | 2022-03-29 | 2022-03-29 | Method, system, intelligent terminal and storage medium for building pages based on JSON configuration |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114816400A true CN114816400A (en) | 2022-07-29 |
Family
ID=82530579
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210319289.8A Pending CN114816400A (en) | 2022-03-29 | 2022-03-29 | Method, system, intelligent terminal and storage medium for building pages based on JSON configuration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114816400A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113254237A (en) * | 2021-06-11 | 2021-08-13 | 海尔数字科技(青岛)有限公司 | Front-end application calling method, device, storage medium and program product |
AU2021103693A4 (en) * | 2021-06-29 | 2021-09-09 | Brightgreen Pty Ltd | System and method for managing product options and stock keeping unit codes using schemas |
CN113986226A (en) * | 2021-12-28 | 2022-01-28 | 中国电子科技网络信息安全有限公司 | Micro front end architecture based on qiankun and Web Component and construction method thereof |
CN114139090A (en) * | 2021-11-30 | 2022-03-04 | 北京航天云路有限公司 | Method for configuring and dynamically generating form page |
-
2022
- 2022-03-29 CN CN202210319289.8A patent/CN114816400A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113254237A (en) * | 2021-06-11 | 2021-08-13 | 海尔数字科技(青岛)有限公司 | Front-end application calling method, device, storage medium and program product |
AU2021103693A4 (en) * | 2021-06-29 | 2021-09-09 | Brightgreen Pty Ltd | System and method for managing product options and stock keeping unit codes using schemas |
CN114139090A (en) * | 2021-11-30 | 2022-03-04 | 北京航天云路有限公司 | Method for configuring and dynamically generating form page |
CN113986226A (en) * | 2021-12-28 | 2022-01-28 | 中国电子科技网络信息安全有限公司 | Micro front end architecture based on qiankun and Web Component and construction method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112099768B (en) | Business process processing method and device and computer readable storage medium | |
CN108427731B (en) | Page code processing method and device, terminal equipment and medium | |
CN111045655A (en) | Page rendering method and device, rendering server and storage medium | |
US11620444B2 (en) | Providing action associated with event detected within communication | |
CN111026670B (en) | Test case generation method, test case generation device and storage medium | |
US11366704B2 (en) | Configurable analytics for microservices performance analysis | |
CN111475162A (en) | Page generating method, device, server and storage medium | |
CN110941779A (en) | Page loading method and device, storage medium and electronic equipment | |
CN114327374A (en) | Business process generation method, device and computer equipment | |
CN114090671A (en) | Data import method and device, electronic equipment and storage medium | |
CN107562459B (en) | Management system, interface generating/displaying/operating method, medium, and terminal | |
CN110069248A (en) | Call method, device, equipment and the computer readable storage medium of interface data | |
CN113268500B (en) | Service processing method and device and electronic equipment | |
CN116009847A (en) | Code generation method, device, electronic equipment and storage medium | |
CN113420041A (en) | Data processing method, device, equipment and medium in distributed database | |
CN110704394A (en) | Report configuration modification method and device | |
CN116108235B (en) | Path acquisition method and device for tree structure and processing equipment | |
CN114816400A (en) | Method, system, intelligent terminal and storage medium for building pages based on JSON configuration | |
CN113485686B (en) | Information system program generation method and device, electronic equipment and storage medium | |
US8539496B1 (en) | Method and apparatus for configuring network systems implementing diverse platforms to perform business tasks | |
CN106687999B (en) | Generating a set of instructions implementing rules designed to update objects specified according to an application data model | |
CN111124386B (en) | Animation event processing method, device, equipment and storage medium based on Unity | |
CN114706580A (en) | Front-end webpage development method and device, storage medium and electronic equipment | |
CN114371848A (en) | Page joint debugging method, device, equipment and storage medium | |
JP4708685B2 (en) | CLI command input method / program / program recording medium / device, data recording 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 |