🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

fzl-form

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fzl-form

魔改了一部分tduck-form-generator

latest
npmnpm
Version
0.0.1
Version published
Weekly downloads
4
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

简介

TDuck 表单生成组件

核心表单组件单独成一个项目, 不使用主项目相关内容,方便快速集成到其他系统

可以复制src/formgen 目录到需要集成的项目 并添加package.json相关依赖

项目结构介绍:

  • api 项目接口相关
  • assets 资源文件 包括svg图 css样式等
  • components 表单核心相关组件
  • lib 依赖库 目前仅包含 tinymce富文本
  • utils 工具

components 组件介绍

BizProjectForm组件

业务表单组件 包含表单基本的业务 从后台数据并处理 如数据结构拼装 如分页和逻辑显示

FormDesign 表单设计器组件

包含表单设计功能组件 拖拽生成等

FormItem表单问题项组件

表单所有支持拖拽生成的组件

GenerateForm 基础表单组件

  • GenerateForm.vue 只包含最基础的功能 根据json生成表单
  • index.vue 上层业务封装 包含主题样式 分页功能处理

使用方式参考项目

FAQs

Package last updated on 20 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts