组织机构可配置区域、类型、层级

支持cas登录
This commit is contained in:
yaoyn
2024-09-19 15:47:06 +08:00
parent 78b05fc000
commit 54def95458
8 changed files with 377 additions and 260 deletions

View File

@ -4,7 +4,7 @@
@register="registerDrawer"
showFooter
:title="getTitle"
width="45%"
width="50%"
@ok="handleSubmit"
>
<BasicForm @register="registerForm" :style="{ 'margin-right': '10px' }">
@ -112,16 +112,39 @@
defaultValue: 1,
componentProps: {
options: [
{ label: '总部', value: 3, disabled:true },
{ label: '板块', value: 2, disabled:true },
{ label: '公司', value: 1 },
{ label: '部门', value: 0 },
{ label: '部门', value: 0 }
],
onChange: deptTypeChange,
},
required: true,
},
{
field: 'areaId',
label: '行政区域',
component: 'Area',
componentProps: {
placeholder: '请选择行政区域'
},
},
];
const companySchema: FormSchema[] = [
{
field: 'companyLvl',
label: '公司层级',
component: 'RadioButtonGroup',
defaultValue: null,
componentProps: {
options: [
{ label: '三级业务单位', value: 3 },
{ label: '四级项目公司/场站', value: 4 }
],
},
required: false,
},
{
field: 'departmentNature',
label: '公司性质',