diff --git a/src/view/register/index.js b/src/view/register/index.js index 46b59ed..8a12a43 100644 --- a/src/view/register/index.js +++ b/src/view/register/index.js @@ -29,6 +29,7 @@ const Register = ({ activeLogin }) => { familyName: null, nationalId: null, birthDate: null, + sex: null, grade: null, schoolName: null, city: null, @@ -49,7 +50,7 @@ const Register = ({ activeLogin }) => { motherPhoneNumber: null, motherJobAddress: null, motherJobPhoneNumber: null, - + familyNumber: null, address: null, homePhoneNumber: null, @@ -65,6 +66,10 @@ const Register = ({ activeLogin }) => { title: 'نام خانوادگی', value: userInfo.familyName }, + { + title: 'جنسیت', + value: userInfo.sex + }, { title: 'کد ملی', value: userInfo.nationalId @@ -327,10 +332,13 @@ const Register = ({ activeLogin }) => {
+
- - + + + +
@@ -362,14 +370,15 @@ const Register = ({ activeLogin }) => {

اطلاعات هویتی دانش آموز را با دقت تکمیل و عکس مدارک را بارگزاری نمایید

- + - - + + +
@@ -388,11 +397,12 @@ const Register = ({ activeLogin }) => { ...prevState, name: document.getElementById('Login-box-form-item-input-name0').value, nationalId: document.getElementById('Login-box-form-item-input-name1').value, - familyName: document.getElementById('Login-box-form-item-input-name2').value, - birthDate: document.getElementById('Login-box-form-item-input-name3').value, - schoolName: document.getElementById('Login-box-form-item-input-name4').value, - city: document.getElementById('Login-box-form-item-input-name5').value, - state: document.getElementById('Login-box-form-item-input-name6').value, + sex: document.getElementById('Login-box-form-item-input-name2').value, + familyName: document.getElementById('Login-box-form-item-input-name3').value, + birthDate: document.getElementById('Login-box-form-item-input-name4').value, + schoolName: document.getElementById('Login-box-form-item-input-name5').value, + city: document.getElementById('Login-box-form-item-input-name6').value, + state: document.getElementById('Login-box-form-item-input-name7').value, @@ -638,7 +648,7 @@ const Register = ({ activeLogin }) => {

مشخصات دانش آموز

{ - finalViewInfo.slice(0,7).map(item => ( + finalViewInfo.slice(0,8).map(item => (

{item.title}

:

{item.value}

@@ -648,7 +658,7 @@ const Register = ({ activeLogin }) => {

مشخصات پدر دانش آموز

{ - finalViewInfo.slice(7,15).map(item => ( + finalViewInfo.slice(8,16).map(item => (

{item.title}

:

{item.value}

@@ -658,7 +668,7 @@ const Register = ({ activeLogin }) => {

مشخصات مادر دانش آموز

{ - finalViewInfo.slice(15,23).map(item => ( + finalViewInfo.slice(16,24).map(item => (

{item.title}

:

{item.value}

@@ -668,7 +678,7 @@ const Register = ({ activeLogin }) => {

مشخصات خانواده دانش آموز

{ - finalViewInfo.slice(23,26).map(item => ( + finalViewInfo.slice(24,27).map(item => (

{item.title}

:

{item.value}