|
@@ -150,13 +150,13 @@ export default {
|
|
|
{ type: 'separator', name: 'space', label: 'اطلاعات ضروری', col: 'col-12' },
|
|
{ type: 'separator', name: 'space', label: 'اطلاعات ضروری', col: 'col-12' },
|
|
|
{ type: 'input', name: 'email', label: 'ایمیل', responseKey: 'email', placeholder: ' ', disable: true, col: ' col-md-3 col-12' },
|
|
{ type: 'input', name: 'email', label: 'ایمیل', responseKey: 'email', placeholder: ' ', disable: true, col: ' col-md-3 col-12' },
|
|
|
{ type: 'input', name: 'mobile_number', label: 'تلفن همراه', responseKey: 'mobile_number', placeholder: ' ', disable: true, col: ' col-md-3 col-12' },
|
|
{ type: 'input', name: 'mobile_number', label: 'تلفن همراه', responseKey: 'mobile_number', placeholder: ' ', disable: true, col: ' col-md-3 col-12' },
|
|
|
- { type: 'optionGroupRadio', name: 'is_valid_national_code', label: 'اتباع خارجی', options: [{ label: 'نیستم', value: true }, { label: 'هستم', value: false }], value: true, col: 'col-md-3 col-12' },
|
|
|
|
|
- { type: 'input', name: 'national_code', label: 'کدملی/کد اتباع غیر ایرانی', responseKey: 'national_code', placeholder: ' ', col: ' col-md-3 col-12' },
|
|
|
|
|
|
|
+ { type: 'optionGroupRadio', name: 'is_valid_national_code', label: 'اتباع خارجی', options: [{ label: 'نیستم', value: true }, { label: 'هستم', value: false }], value: true, className: 'require', col: 'col-md-3 col-12' },
|
|
|
|
|
+ { type: 'input', name: 'national_code', label: 'کدملی/کد اتباع غیر ایرانی', responseKey: 'national_code', placeholder: ' ', className: 'require', col: ' col-md-3 col-12' },
|
|
|
{ type: 'separator', name: 'space', label: 'اطلاعات پروفایل', col: 'col-12' },
|
|
{ type: 'separator', name: 'space', label: 'اطلاعات پروفایل', col: 'col-12' },
|
|
|
{ type: 'file', name: 'picture', label: 'عکس پروفایل', responseKey: 'picture', placeholder: ' ', col: ' col-md-3 col-12' },
|
|
{ type: 'file', name: 'picture', label: 'عکس پروفایل', responseKey: 'picture', placeholder: ' ', col: ' col-md-3 col-12' },
|
|
|
{ type: 'separator', name: 'space', size: '0', col: 'col-12' },
|
|
{ type: 'separator', name: 'space', size: '0', col: 'col-12' },
|
|
|
- { type: 'input', name: 'firstname', label: 'نام', responseKey: 'firstname', placeholder: ' ', col: ' col-md-3 col-12' },
|
|
|
|
|
- { type: 'input', name: 'lastname', label: 'نام خانوادگی', responseKey: 'lastname', placeholder: ' ', col: ' col-md-3 col-12' },
|
|
|
|
|
|
|
+ { type: 'input', name: 'firstname', label: 'نام', responseKey: 'firstname', placeholder: ' ', className: 'require', col: ' col-md-3 col-12' },
|
|
|
|
|
+ { type: 'input', name: 'lastname', label: 'نام خانوادگی', responseKey: 'lastname', placeholder: ' ', className: 'require', col: ' col-md-3 col-12' },
|
|
|
{
|
|
{
|
|
|
type: 'select',
|
|
type: 'select',
|
|
|
name: 'gender',
|
|
name: 'gender',
|
|
@@ -164,10 +164,11 @@ export default {
|
|
|
placeholder: ' ',
|
|
placeholder: ' ',
|
|
|
options: Enums.genders,
|
|
options: Enums.genders,
|
|
|
value: null,
|
|
value: null,
|
|
|
|
|
+ className: 'require',
|
|
|
label: 'جنسیت',
|
|
label: 'جنسیت',
|
|
|
col: ' col-md-3 col-12'
|
|
col: ' col-md-3 col-12'
|
|
|
},
|
|
},
|
|
|
- { type: 'date', name: 'birthdate', label: 'تولد', responseKey: 'birthdate', placeholder: ' ', col: ' col-md-3 col-12' },
|
|
|
|
|
|
|
+ { type: 'date', name: 'birthdate', label: 'تولد', responseKey: 'birthdate', placeholder: ' ', className: 'require', col: ' col-md-3 col-12' },
|
|
|
{
|
|
{
|
|
|
type: 'select',
|
|
type: 'select',
|
|
|
name: 'marital_status',
|
|
name: 'marital_status',
|
|
@@ -175,12 +176,13 @@ export default {
|
|
|
placeholder: ' ',
|
|
placeholder: ' ',
|
|
|
options: Enums.maritalStatuses,
|
|
options: Enums.maritalStatuses,
|
|
|
value: null,
|
|
value: null,
|
|
|
|
|
+ className: 'require',
|
|
|
label: 'وضعیت تاهل',
|
|
label: 'وضعیت تاهل',
|
|
|
col: ' col-md-3 col-12'
|
|
col: ' col-md-3 col-12'
|
|
|
},
|
|
},
|
|
|
- { type: 'input', name: 'on_call_mobile_number', label: 'تلفن همراه جهت تماس', responseKey: 'on_call_mobile_number', placeholder: ' ', col: ' col-md-3 col-12' },
|
|
|
|
|
- { type: 'input', name: 'on_social_network_mobile_number', label: 'تلفن همراه جهت شبکه های اجتماعی', responseKey: 'on_social_network_mobile_number', placeholder: ' ', col: ' col-md-3 col-12' },
|
|
|
|
|
- { type: 'input', name: 'phone_number', label: 'تلفن منزل', responseKey: 'phone_number', placeholder: 'با کد شهر وارد شود', col: ' col-md-3 col-12' },
|
|
|
|
|
|
|
+ { type: 'input', name: 'on_call_mobile_number', label: 'تلفن همراه جهت تماس', responseKey: 'on_call_mobile_number', placeholder: ' ', className: 'require', col: ' col-md-3 col-12' },
|
|
|
|
|
+ { type: 'input', name: 'on_social_network_mobile_number', label: 'تلفن همراه جهت شبکه های اجتماعی', responseKey: 'on_social_network_mobile_number', placeholder: ' ', className: 'require', col: ' col-md-3 col-12' },
|
|
|
|
|
+ { type: 'input', name: 'phone_number', label: 'تلفن منزل', responseKey: 'phone_number', placeholder: 'با کد شهر وارد شود', className: 'require', col: ' col-md-3 col-12' },
|
|
|
{
|
|
{
|
|
|
type: 'select',
|
|
type: 'select',
|
|
|
name: 'last_academic_degree',
|
|
name: 'last_academic_degree',
|
|
@@ -188,11 +190,12 @@ export default {
|
|
|
placeholder: ' ',
|
|
placeholder: ' ',
|
|
|
options: Enums.academicDegree,
|
|
options: Enums.academicDegree,
|
|
|
value: null,
|
|
value: null,
|
|
|
|
|
+ className: 'require',
|
|
|
label: 'آخرین مقطع تحصیلی',
|
|
label: 'آخرین مقطع تحصیلی',
|
|
|
col: ' col-md-3 col-12'
|
|
col: ' col-md-3 col-12'
|
|
|
},
|
|
},
|
|
|
- { type: 'input', name: 'last_academic_degree_field', label: 'رشته تحصیلی', responseKey: 'last_academic_degree_field', placeholder: ' ', col: ' col-md-3 col-12' },
|
|
|
|
|
- { type: 'input', name: 'last_academy_name', label: 'نام دانشگاه یا حوزه تحصیلی', responseKey: 'last_academy_name', placeholder: ' ', col: ' col-md-3 col-12' },
|
|
|
|
|
|
|
+ { type: 'input', name: 'last_academic_degree_field', label: 'رشته تحصیلی', responseKey: 'last_academic_degree_field', placeholder: ' ', className: 'require', col: ' col-md-3 col-12' },
|
|
|
|
|
+ { type: 'input', name: 'last_academy_name', label: 'نام دانشگاه یا حوزه تحصیلی', responseKey: 'last_academy_name', placeholder: ' ', className: 'require', col: ' col-md-3 col-12' },
|
|
|
{
|
|
{
|
|
|
type: 'select',
|
|
type: 'select',
|
|
|
name: 'educational_status',
|
|
name: 'educational_status',
|
|
@@ -200,19 +203,20 @@ export default {
|
|
|
placeholder: ' ',
|
|
placeholder: ' ',
|
|
|
options: Enums.educationalStatus,
|
|
options: Enums.educationalStatus,
|
|
|
value: null,
|
|
value: null,
|
|
|
|
|
+ className: 'require',
|
|
|
label: 'وضعیت تحصیلی',
|
|
label: 'وضعیت تحصیلی',
|
|
|
col: ' col-md-3 col-12'
|
|
col: ' col-md-3 col-12'
|
|
|
},
|
|
},
|
|
|
- { type: 'checkbox', name: 'is_abroad_birth_address', placeholder: ' ', label: 'محل تولد خارج از کشور است؟', responseKey: 'is_abroad_birth_address', col: 'col-12' },
|
|
|
|
|
- { type: 'input', name: 'birth_country', label: 'کشور محل تولد', responseKey: 'birth_country', placeholder: ' ', col: 'col-md-4 col-12' },
|
|
|
|
|
- { type: 'input', name: 'birth_province', label: 'استان محل تولد', responseKey: 'birth_province', placeholder: ' ', col: 'col-md-4 col-12' },
|
|
|
|
|
- { type: 'input', name: 'birth_city', label: 'شهر محل تولد', responseKey: 'birth_city', placeholder: ' ', col: 'col-md-4 col-12' },
|
|
|
|
|
- { type: 'checkbox', name: 'is_abroad_living_address', placeholder: ' ', label: 'محل زندگی فعلی خارج از کشور است؟', responseKey: 'is_abroad_living_address', col: 'col-12' },
|
|
|
|
|
- { type: 'input', name: 'living_country', label: 'کشور محل زندگی فعلی', responseKey: 'living_country', placeholder: ' ', col: 'col-md-4 col-12' },
|
|
|
|
|
- { type: 'input', name: 'living_province', label: 'استان محل زندگی فعلی', responseKey: 'living_province', placeholder: ' ', col: 'col-md-4 col-12' },
|
|
|
|
|
- { type: 'input', name: 'living_city', label: 'شهر محل زندگی فعلی', responseKey: 'living_city', placeholder: ' ', col: 'col-md-4 col-12' },
|
|
|
|
|
- { type: 'input', name: 'living_postal_code', label: 'کد پستی محل زندگی', responseKey: 'living_postal_code', placeholder: ' ', col: ' col-md-3 col-12' },
|
|
|
|
|
- { type: 'input', name: 'living_address', label: 'آدرس پستی محل زندگی', responseKey: 'living_address', placeholder: ' ', col: 'col-md-9 col-12' },
|
|
|
|
|
|
|
+ { type: 'checkbox', name: 'is_abroad_birth_address', placeholder: ' ', label: 'محل تولد خارج از کشور است؟', responseKey: 'is_abroad_birth_address', className: 'require', col: 'col-12' },
|
|
|
|
|
+ { type: 'input', name: 'birth_country', label: 'کشور محل تولد', responseKey: 'birth_country', placeholder: ' ', className: 'require', col: 'col-md-4 col-12' },
|
|
|
|
|
+ { type: 'input', name: 'birth_province', label: 'استان محل تولد', responseKey: 'birth_province', placeholder: ' ', className: 'require', col: 'col-md-4 col-12' },
|
|
|
|
|
+ { type: 'input', name: 'birth_city', label: 'شهر محل تولد', responseKey: 'birth_city', placeholder: ' ', className: 'require', col: 'col-md-4 col-12' },
|
|
|
|
|
+ { type: 'checkbox', name: 'is_abroad_living_address', placeholder: ' ', label: 'محل زندگی فعلی خارج از کشور است؟', responseKey: 'is_abroad_living_address', className: 'require', col: 'col-12' },
|
|
|
|
|
+ { type: 'input', name: 'living_country', label: 'کشور محل زندگی فعلی', responseKey: 'living_country', placeholder: ' ', className: 'require', col: 'col-md-4 col-12' },
|
|
|
|
|
+ { type: 'input', name: 'living_province', label: 'استان محل زندگی فعلی', responseKey: 'living_province', placeholder: ' ', className: 'require', col: 'col-md-4 col-12' },
|
|
|
|
|
+ { type: 'input', name: 'living_city', label: 'شهر محل زندگی فعلی', responseKey: 'living_city', placeholder: ' ', className: 'require', col: 'col-md-4 col-12' },
|
|
|
|
|
+ { type: 'input', name: 'living_postal_code', label: 'کد پستی محل زندگی', responseKey: 'living_postal_code', placeholder: ' ', className: 'require', col: ' col-md-3 col-12' },
|
|
|
|
|
+ { type: 'input', name: 'living_address', label: 'آدرس پستی محل زندگی', responseKey: 'living_address', placeholder: ' ', className: 'require', col: 'col-md-9 col-12' },
|
|
|
{ type: 'hidden', name: 'id', responseKey: 'id' }
|
|
{ type: 'hidden', name: 'id', responseKey: 'id' }
|
|
|
]
|
|
]
|
|
|
}),
|
|
}),
|