Giter Club home page Giter Club logo

jui-form's Introduction

一个强大的自定义表单系统,基本可以解决企业业务中90%的表单提交

持续更新中,力图解决100%的表单业务

对于一些erp,mes这样的系统,重复的开发表单是个非常繁琐的事情,其中涉及非常多的重复劳动。正是如此, 这个开源表单系统旨在为大家提供一款基本完全靠配置就可以生成自己所需要的表单页面,其中包括验证和一些交互的配置。

jui-form

props 类型 是否必填 说明
modelValue Object 表单域的值
schemas Array 配置所需要的表单shemas, 核心配置
labelWidth Number, String 标签项的宽度
validateConfig Object 表单验证的一些配置
事件
event 参数 触发条件
submit { error: array, formModel: Object } 表单提交触发
reset null 表单重置是触发
changeItem { name: String, value: any, formModel: Object } 表单某一项值改变是触发
可使用方法
  • setValue(name: String, value: any): 设置某个表单项目的值
  • setShow(name: Array | String): 设置显示某些表单项
  • setHide(name: Array | String): 设置隐藏某些表单项
schema
props 类型 是否必填 说明
label String 表单的label
field String 表单的所对应字段
component String 表达的类型,如input, checklist
defaultValue any 默认的值
hide Boolean 是否隐藏
itemProps Boolean 对应表单的配置属性

...文档持续完善中

jui-form's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.