kre-form
Version:
本项目由 Angular8+ 编写的表单设计器和表单应用,所有的配置都是 JSON 结构体组成,PC 端是基于 ANT 组件库封装
164 lines • 5.4 kB
JSON
[{
"key": "org001",
"title": "纬度1",
"children": [{
"title": "knx",
"key": "0",
"children": [{
"title": "上海",
"key": "1"
}, {
"title": "成都",
"key": "2"
}, {
"title": "北京",
"key": "3"
}]
}]
},
{
"key": "org002",
"title": "纬度2",
"children": [{
"title": "knx",
"key": "0",
"children": [{
"title": "上海",
"key": "1"
}, {
"title": "成都",
"key": "2",
"children": [{
"title": "ISC",
"key": "2.1"
}]
}, {
"title": "北京",
"key": "3",
"children": [{
"title": "CEC",
"key": "3.1"
}]
}]
}]
},
{
"key": "org003",
"title": "纬度3",
"children": [{
"title": "ISC",
"key": "A",
"children": [{
"title": "上海",
"key": "A1"
}, {
"title": "成都",
"key": "A2",
"children": [{
"title": "销售",
"key": "A2.1",
"children": [{
"title": "测试",
"key": "A2.1.1",
"children": [{
"title": "测试",
"key": "A2.1.1.1"
}]
}, {
"title": "测试",
"key": "A2.1.2",
"children": [{
"title": "测试",
"key": "A2.1.2.1"
}]
}, {
"title": "测试",
"key": "A2.1.3",
"expanded": false,
"children": [{
"title": "测试",
"key": "A2.1.3.1"
}]
}]
}]
}]
},
{
"title": "KNX",
"key": "B",
"children": [{
"title": "上海",
"key": "B1"
}, {
"title": "成都",
"key": "B2",
"children": [{
"title": "销售",
"key": "B2.1",
"children": [{
"title": "测试",
"key": "B2.1.1",
"children": [{
"title": "测试",
"key": "B2.1.1.1"
}]
}, {
"title": "测试",
"key": "B2.1.2",
"children": [{
"title": "测试",
"key": "B2.1.2.1"
}]
}, {
"title": "测试",
"key": "B2.1.3",
"expanded": false,
"children": [{
"title": "测试",
"key": "B2.1.3.1"
}]
}]
}]
}]
},
{
"title": "其他",
"key": "C",
"children": [{
"title": "上海",
"key": "C1"
}, {
"title": "成都",
"key": "C2",
"children": [{
"title": "销售",
"key": "C2.1",
"children": [{
"title": "测试",
"key": "C2.1.1",
"children": [{
"title": "测试",
"key": "C2.1.1.1"
}]
}, {
"title": "测试",
"key": "C2.1.2",
"children": [{
"title": "测试",
"key": "C2.1.2.1"
}]
}, {
"title": "测试",
"key": "C2.1.3",
"expanded": false,
"children": [{
"title": "测试",
"key": "C2.1.3.1"
}]
}]
}]
}]
}
]
}
]