export const modalConfig = {
  formItems: [
    {
      field: 'parentId',
      type: 'elCascader',
      label: '上级部门',
      required: true,
      placeholder: '请选择上级部门',
      options:[]
    },
    {
      field: 'deptName',
      type: 'input',
      label: '部门名称',
      required: true,
      placeholder: '请输入部门名称'
    },
    {
      field: 'orderNum',
      type: 'inputNumber',
      label: '显示排序',
      placeholder: ''
    },
    {
      field: 'leader',
      type: 'input',
      label: '负责人',
      placeholder: '请输入负责人'
    },
    {
      field: 'phone',
      type: 'input',
      label: '联系电话',
      placeholder: '请输入联系电话'
    },
    {
      field: 'email',
      type: 'input',
      label: '邮箱',
      placeholder: '请输入邮箱'
    },
    {
      field: 'status',
      type: 'radio',
      label: '部门状态',
      required: true,
      placeholder: '请选择部门状态',
      options:[
        { label: '正常', value: '0' },
        { label: '停用', value: '1' }
      ]
    },
  ],
  colLayout: { span: 24 },
  itemStyle: {},
  subimitLoding: false, // 主动更新数据
}
