{
"form": {
"labelCol": 6,
"wrapperCol": 12
},
"schema": {
"type": "object",
"properties": {
"job": {
"type": "void",
"x-component": "Card",
"x-component-props": {
"title": "员工信息"
},
"x-designable-id": "m0dueq9kf8a",
"x-index": 0,
"name": "job",
"properties": {
"username": {
"type": "string",
"title": "姓名",
"x-decorator": "FormItem",
"x-component": "Input",
"x-component-props": {
"maxLength": 20,
"showCount": true,
"placeholder": "请输入姓名"
},
"x-validator": [],
"x-decorator-props": {},
"x-designable-id": "cwr3pezmfio",
"x-index": 0,
"name": "username",
"x-reactions": {
"dependencies": [
{
"property": "value",
"type": "any"
}
],
"fulfill": {
"state": {
"decoratorProps": "{{{\n labelCol:6,\n offset: 4\n}}}"
}
}
}
},
"level": {
"title": "级别",
"x-decorator": "FormItem",
"x-component": "TreeSelect",
"x-validator": [],
"x-component-props": {},
"x-decorator-props": {},
"x-designable-id": "u60bf7e0eys",
"x-index": 1,
"name": "level",
"enum": [
{
"label": "初级",
"value": "1"
},
{
"label": "高级",
"value": "2"
},
{
"label": "专家",
"value": "3"
}
]
},
"formSubmit": {
"type": "void",
"x-component": "FormButtonGroup.FormItem",
"x-validator": [],
"x-component-props": {},
"x-designable-id": "formSubmit",
"properties": {
"submit": {
"type": "void",
"x-component": "Submit",
"x-component-props": {
"type": "primary",
"children": "提交"
},
"x-validator": [],
"x-designable-id": "submit",
"x-index": 0
},
"reset": {
"type": "void",
"x-component": "Reset",
"x-component-props": {
"type": "default",
"children": "重置",
"className": "ml8"
},
"x-designable-id": "reset",
"x-index": 1
}
},
"x-index": 3
}
}
}
},
"x-designable-id": "mdwzm7d2lq9"
}
}