kre-form
Version:
本项目由 Angular8+ 编写的表单设计器和表单应用,所有的配置都是 JSON 结构体组成,PC 端是基于 ANT 组件库封装
55 lines • 1.3 kB
JSON
{
"code": "formtestcode",
"name": "第一个自定义表单",
"type": "",
"fields": [
{
"key": "026e8fd1-6c14-7acf-532d-a161b2cf79fc",
"type": "html",
"templateOptions": {
"description": "教育经历信息",
"label": "",
"placeholder": ""
},
"hooks": {}
},
{
"key": "7b9c1a08-ac57-6d26-b7ba-8126cf9033fe",
"type": "repeat",
"fieldArray": {
"fieldGroup": [
{
"type": "datetime",
"tablecode": "table3-gz",
"key": "table3-gz;end",
"origin": {},
"templateOptions": {
"type": "datetime",
"label": "结束时间"
}
},
{
"key": "2ce348d3-5707-fa3b-d11b-f9df82f82348",
"type": "line"
},
{
"key": "691a0ea4-5c3f-023d-09a5-1512268a81ba",
"type": "html",
"templateOptions": {
"description": "片段文本描述"
}
}
]
},
"tablecode": "table3-gz",
"hooks": {},
"templateOptions": {
"label": "",
"placeholder": ""
},
"defaultValue": []
}
],
"column": "layout-column-2",
"row": "layout-row-1"
}