VUE-based extensible dynamic component implementation method and device, equipment and medium

A dynamic component and extended dynamic technology, which is applied in the computer field, can solve problems such as insufficient scalability, insufficient functions, and inability to meet user needs, so as to reduce adjustment and modification, improve flexibility and maintainability

Active Publication Date: 2021-03-16
福建亿能达信息技术股份有限公司
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The existing form control types are basically a single type or need to add configuration items for simple type switching. The sca...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • VUE-based extensible dynamic component implementation method and device, equipment and medium
  • VUE-based extensible dynamic component implementation method and device, equipment and medium
  • VUE-based extensible dynamic component implementation method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] Such as figure 1 As shown, this embodiment provides a method for implementing a VUE-based scalable dynamic component, including the following steps:

[0039] S1. Configure the content of the dynamic component: provide a configuration page for maintaining the dynamic component, for the user to configure the corresponding dynamic component, and store the configuration content of the dynamic component in the library; the dynamic component includes an input box, a drop-down box, a radio box, checkboxes, counters and file uploads;

[0040] Wherein, when the dynamic component is a drop-down box, a radio box or a check box, before providing a configuration page for maintaining the dynamic component, it also includes a step of configuring the content of the dictionary table, that is, providing a configuration page for the data dictionary for users Configure the data dictionary, including the option value and the linkage processing rules of the option value; that is, the step o...

Embodiment 2

[0083] Such as Figure 4 As shown, in this embodiment, a VUE-based implementation device for extensible dynamic components is provided, including:

[0084] The data dictionary configuration module is used to provide a data dictionary configuration page for users to configure the data dictionary of drop-down boxes, radio boxes or check boxes, including configuration option values ​​and linkage processing rules for the option values;

[0085] The dynamic component configuration module is used to provide a configuration page for maintaining dynamic components, for users to configure corresponding dynamic components, and store the configuration content of the dynamic components in the warehouse; the dynamic components include input boxes, drop-down boxes, radio boxes, checkboxes, counters and file uploads;

[0086] The dynamic component assembly module is used to call the interface to obtain the configuration content of the dynamic component from the library when the dynamic comp...

Embodiment 3

[0103] This embodiment provides an electronic device, such as Figure 5 As shown, it includes a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, any implementation manner in Embodiment 1 can be realized.

[0104] Since the electronic device introduced in this embodiment is the device used to implement the method in Embodiment 1 of this application, based on the method described in Embodiment 1 of this application, those skilled in the art can understand the electronic device of this embodiment. Specific implementation methods and various variations thereof, so how the electronic device implements the method in the embodiment of the present application will not be described in detail here. As long as a person skilled in the art implements the equipment used by the method in the embodiment of the present application, it all belongs to the protection scope of the present application. ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a VUE-based extensible dynamic component implementation method and device, equipment and a medium, and the method comprises the steps: S1, providing a configuration page for maintaining a dynamic component, enabling a user to configure the corresponding dynamic component, and storing the configuration content of the dynamic component into a database, wherein when the dynamiccomponent is a drop-down box, a single selection box or a check box, a configuration page of a data dictionary is provided for a user to configure the data dictionary, and the configuration page comprises option values and linkage processing rules of the option values; S2, when the dynamic component is initialized, calling an interface to acquire configuration content of the dynamic component from a library, or acquiring a linkage processing rule of the option value, assembling a corresponding control id array into a corresponding control object array, and returning corresponding json data; S3, displaying the dynamic component according to the json data returned by the interface. The dynamic component realized by the invention has the characteristics of flexible expansion and rich functions, so the requirements of users needing customized control can be met.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method, device, device and medium for realizing a VUE-based scalable dynamic component. Background technique [0002] At present, with the development of the times, the front-end technology and framework are constantly updated, and the complexity of page functions and interactions is also increasing. In addition to fixed form items, some form pages sometimes require some users with administrative rights. Options that can be customized to meet user needs in some specific situations require an extensible dynamic component based on configuration. [0003] The existing form control types are basically a single type or need to add configuration items for simple type switching. The scalability is not flexible enough, and the functions are not rich enough, so it cannot meet the needs of users who need some customized controls. Contents of the invention [0004] The techni...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/34G06F8/41G06F16/25
CPCG06F8/44G06F8/34G06F16/25Y02P90/30
Inventor 黄家昌李文集杨辉邱道椿
Owner 福建亿能达信息技术股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products