1、入住人员添加字段
This commit is contained in:
@@ -136,12 +136,52 @@ export const modalSchema: FormSchemaGetter = () => [
|
||||
},
|
||||
},
|
||||
{
|
||||
label: '入住员工',
|
||||
fieldName: 'userId',
|
||||
component: "Select",
|
||||
rules: 'selectRequired',
|
||||
formItemClass: 'col-span-2'
|
||||
label: '员工名称',
|
||||
fieldName: 'userName',
|
||||
component: "Input",
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
label: '联系电话',
|
||||
fieldName: 'phone',
|
||||
component: "Input",
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
label: '性别',
|
||||
fieldName: 'gender',
|
||||
component: "Select",
|
||||
componentProps:{
|
||||
options: getDictOptions('sys_user_sex')
|
||||
},
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
label: '身份证号',
|
||||
fieldName: 'idCard',
|
||||
component: "Input",
|
||||
},
|
||||
{
|
||||
label: '邮箱',
|
||||
fieldName: 'email',
|
||||
component: "Input",
|
||||
},
|
||||
{
|
||||
label: '人员状态',
|
||||
fieldName: 'state',
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
options: getDictOptions('wy_rzryzt'),
|
||||
},
|
||||
rules: 'selectRequired'
|
||||
},
|
||||
// {
|
||||
// label: '入住员工',
|
||||
// fieldName: 'userId',
|
||||
// component: "Select",
|
||||
// rules: 'selectRequired',
|
||||
// formItemClass: 'col-span-2'
|
||||
// },
|
||||
{
|
||||
label: '所属单位',
|
||||
fieldName: 'unitId',
|
||||
@@ -182,20 +222,6 @@ export const modalSchema: FormSchemaGetter = () => [
|
||||
},
|
||||
formItemClass: 'col-span-2',
|
||||
},
|
||||
{
|
||||
label: '人员状态',
|
||||
fieldName: 'state',
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
options: getDictOptions('wy_rzryzt'),
|
||||
},
|
||||
rules: 'selectRequired'
|
||||
},
|
||||
{
|
||||
label: '',
|
||||
fieldName: 'time',
|
||||
component: ''
|
||||
},
|
||||
{
|
||||
label: '授权期限',
|
||||
fieldName: 'authTime',
|
||||
|
Reference in New Issue
Block a user