Form generation method, form generation device and electronic equipment

The invention discloses a form generation method, a form generation device and electronic equipment, and relates to the field of computers. The form generation method comprises the steps that a user-defined JSON configuration file is obtained, the user-defined JSON configuration file comprises a plu...

Full description

Saved in:
Bibliographic Details
Main Authors YAN TAO, PANG XI, CHEN KAIXUAN, ZENG WEI, GAO ZHAOYA, WANG SHIMENG, WU GUOQIAN
Format Patent
LanguageChinese
English
Published 03.03.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a form generation method, a form generation device and electronic equipment, and relates to the field of computers. The form generation method comprises the steps that a user-defined JSON configuration file is obtained, the user-defined JSON configuration file comprises a plurality of configurable objects, and the configurable objects comprise a plurality of configurable form items; traversing the self-defined JSON configuration file by utilizing a constructor, and generating a virtual form component according to a configurable object; and generating a form based on the virtual form component, and rendering the form in a front-end framework. Through the method, various simple and complex form items are realized, and various different forms can be quickly generated by configuring according to the configuration file; in addition, the JSON configuration file is converted into the virtual form component through the constructor with the specific grammar, various target forms are convenientl
Bibliography:Application Number: CN202211466712