{ "fields": [{ "__config__": { "label": "", "showLabel": true, "changeTag": true, "labelWidth": 1, "tag": "el-button", "tagIcon": "button", "span": 21, "layout": "colFormItem", "document": "https://element.eleme.cn/#/zh-CN/component/button", "formId": 101, "renderKey": "1011613805763485" }, "__slot__": { "default": "员工管理》新增角色" }, "type": "text", "icon": "el-icon-user-solid", "round": false, "size": "medium", "plain": false, "circle": false, "disabled": false, "__vModel__": "field101" }, { "__config__": { "label": "角色名称", "labelWidth": null, "showLabel": true, "changeTag": true, "tag": "el-input", "tagIcon": "input", "required": true, "layout": "colFormItem", "span": 13, "document": "https://element.eleme.cn/#/zh-CN/component/input", "regList": [], "formId": 102, "renderKey": "1021613805837891" }, "__slot__": { "prepend": "", "append": "" }, "placeholder": "请输入角色名称", "style": { "width": "100%" }, "clearable": true, "prefix-icon": "", "suffix-icon": "", "maxlength": null, "show-word-limit": false, "readonly": false, "disabled": false, "__vModel__": "field102" }, { "__config__": { "label": "角色编号", "labelWidth": null, "showLabel": true, "changeTag": true, "tag": "el-input", "tagIcon": "input", "required": true, "layout": "colFormItem", "span": 13, "document": "https://element.eleme.cn/#/zh-CN/component/input", "regList": [], "formId": 103, "renderKey": "1031613805865036" }, "__slot__": { "prepend": "", "append": "" }, "placeholder": "请输入角色编号", "style": { "width": "100%" }, "clearable": true, "prefix-icon": "", "suffix-icon": "", "maxlength": null, "show-word-limit": false, "readonly": false, "disabled": false, "__vModel__": "field103" }, { "__config__": { "label": "角色备注", "labelWidth": null, "showLabel": true, "changeTag": true, "tag": "el-input", "tagIcon": "input", "required": false, "layout": "colFormItem", "span": 13, "document": "https://element.eleme.cn/#/zh-CN/component/input", "regList": [], "formId": 104, "renderKey": "1041613805894636" }, "__slot__": { "prepend": "", "append": "" }, "placeholder": "请输入角色备注", "style": { "width": "100%" }, "clearable": true, "prefix-icon": "", "suffix-icon": "", "maxlength": null, "show-word-limit": false, "readonly": false, "disabled": false, "__vModel__": "field104" }, { "__config__": { "label": "菜单权限", "url": "https://www.fastmock.site/mock/f8d7a54fb1e60561e2f720d5a810009d/fg/cascaderList", "method": "get", "dataPath": "list", "dataConsumer": "options", "showLabel": true, "labelWidth": null, "tag": "el-cascader", "tagIcon": "cascader", "layout": "colFormItem", "defaultValue": [], "dataType": "dynamic", "span": 13, "required": true, "regList": [], "changeTag": true, "document": "https://element.eleme.cn/#/zh-CN/component/cascader", "formId": 105, "renderKey": "1051613805913726" }, "options": [{ "id": 1, "value": 1, "label": "动态选项1", "children": [{ "id": 2, "value": 2, "label": "动态选项1-1" }] }], "placeholder": "请选择菜单权限", "style": { "width": "100%" }, "props": { "props": { "multiple": false, "label": "label", "value": "value", "children": "children" } }, "show-all-levels": true, "disabled": false, "clearable": true, "filterable": false, "separator": "/", "__vModel__": "field105" }, { "__config__": { "layout": "rowFormItem", "tagIcon": "row", "layoutTree": true, "document": "https://element.eleme.cn/#/zh-CN/component/layout#row-attributes", "span": 13, "formId": 111, "renderKey": "1111613813548097", "componentName": "row111", "children": [{ "__config__": { "label": "", "showLabel": true, "changeTag": true, "labelWidth": null, "tag": "el-button", "tagIcon": "button", "span": 4, "layout": "colFormItem", "document": "https://element.eleme.cn/#/zh-CN/component/button", "formId": 106, "renderKey": "1061613805933260" }, "__slot__": { "default": "确定" }, "type": "primary", "icon": "el-icon-check", "round": false, "size": "mini", "plain": false, "circle": false, "disabled": false, "__vModel__": "field106" }, { "__config__": { "label": "", "showLabel": true, "changeTag": true, "labelWidth": 100, "tag": "el-button", "tagIcon": "button", "span": 4, "layout": "colFormItem", "document": "https://element.eleme.cn/#/zh-CN/component/button", "formId": 107, "renderKey": "1071613805968382" }, "__slot__": { "default": "取消" }, "type": "danger", "icon": "el-icon-close", "round": false, "size": "mini", "plain": false, "circle": false, "disabled": false, "__vModel__": "field107" }] }, "type": "default", "justify": "start", "align": "top" }], "formRef": "elForm", "formModel": "formData", "size": "mini", "labelPosition": "left", "labelWidth": 100, "formRules": "rules", "gutter": 10, "disabled": false, "span": 13, "formBtns": true }