|
|
@ -29,6 +29,7 @@ const Register = ({ activeLogin }) => { |
|
|
|
familyName: null, |
|
|
|
familyName: null, |
|
|
|
nationalId: null, |
|
|
|
nationalId: null, |
|
|
|
birthDate: null, |
|
|
|
birthDate: null, |
|
|
|
|
|
|
|
sex: null, |
|
|
|
grade: null, |
|
|
|
grade: null, |
|
|
|
schoolName: null, |
|
|
|
schoolName: null, |
|
|
|
city: null, |
|
|
|
city: null, |
|
|
@ -49,7 +50,7 @@ const Register = ({ activeLogin }) => { |
|
|
|
motherPhoneNumber: null, |
|
|
|
motherPhoneNumber: null, |
|
|
|
motherJobAddress: null, |
|
|
|
motherJobAddress: null, |
|
|
|
motherJobPhoneNumber: null, |
|
|
|
motherJobPhoneNumber: null, |
|
|
|
|
|
|
|
|
|
|
|
familyNumber: null, |
|
|
|
familyNumber: null, |
|
|
|
address: null, |
|
|
|
address: null, |
|
|
|
homePhoneNumber: null, |
|
|
|
homePhoneNumber: null, |
|
|
@ -65,6 +66,10 @@ const Register = ({ activeLogin }) => { |
|
|
|
title: 'نام خانوادگی', |
|
|
|
title: 'نام خانوادگی', |
|
|
|
value: userInfo.familyName |
|
|
|
value: userInfo.familyName |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
title: 'جنسیت', |
|
|
|
|
|
|
|
value: userInfo.sex |
|
|
|
|
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: 'کد ملی', |
|
|
|
title: 'کد ملی', |
|
|
|
value: userInfo.nationalId |
|
|
|
value: userInfo.nationalId |
|
|
@ -327,10 +332,13 @@ const Register = ({ activeLogin }) => { |
|
|
|
<div className="ml-2"> |
|
|
|
<div className="ml-2"> |
|
|
|
<Input title="نام" borderType="rounded" gapSize="8" direction='rtl' id={0} /> |
|
|
|
<Input title="نام" borderType="rounded" gapSize="8" direction='rtl' id={0} /> |
|
|
|
<Input title="کدملی" borderType="rounded" gapSize="12" id={1} type='number' /> |
|
|
|
<Input title="کدملی" borderType="rounded" gapSize="12" id={1} type='number' /> |
|
|
|
|
|
|
|
<Input title="جنسیت" borderType="rounded" gapSize="16" id={2} /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className="mr-2"> |
|
|
|
<div className="mr-2"> |
|
|
|
<Input title="نام خانوادگی" borderType="rounded" id={2} direction='rtl' /> |
|
|
|
<Input title="نام خانوادگی" borderType="rounded" id={3} direction='rtl' /> |
|
|
|
<Input title="تاریخ تولد" borderType="rounded" gapSize="16" id={3} type='number' /> |
|
|
|
<Input title="تاریخ تولد" borderType="rounded" gapSize="16" id={4} type='number' /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className="w-3/5 flex justify-center"> |
|
|
|
<div className="w-3/5 flex justify-center"> |
|
|
@ -362,14 +370,15 @@ const Register = ({ activeLogin }) => { |
|
|
|
<p className="font-bold text-gray-300 text-sm">اطلاعات هویتی دانش آموز را با دقت تکمیل و عکس مدارک را بارگزاری نمایید</p> |
|
|
|
<p className="font-bold text-gray-300 text-sm">اطلاعات هویتی دانش آموز را با دقت تکمیل و عکس مدارک را بارگزاری نمایید</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className="flex justify-between items-center"> |
|
|
|
<div className="flex justify-between items-center"> |
|
|
|
<Input title="نام مدرسه" borderType="rounded" gapSize="20" direction='rtl' id={4} /> |
|
|
|
<Input title="نام مدرسه" borderType="rounded" gapSize="20" direction='rtl' id={5} /> |
|
|
|
<select className="bg-white border border-solid border-gray-200 w-full px-3 rounded text-gray-400 outline-red52 mx-2 h-12 mt-6"> |
|
|
|
<select className="bg-white border border-solid border-gray-200 w-full px-3 rounded text-gray-400 outline-red52 mx-2 h-12 mt-6"> |
|
|
|
{grades.map((item) => ( |
|
|
|
{grades.map((item) => ( |
|
|
|
<option key={`Grade__${item.id}`}>{item.title}</option> |
|
|
|
<option key={`Grade__${item.id}`}>{item.title}</option> |
|
|
|
))} |
|
|
|
))} |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
<Input title="شهر" borderType="rounded" gapSize="8" direction='rtl' id={5} /> |
|
|
|
<Input title="شهر" borderType="rounded" gapSize="8" direction='rtl' id={6} /> |
|
|
|
<Input title="منطقه" borderType="rounded" gapSize="12" id={6} type='number' /> |
|
|
|
<Input title="منطقه" borderType="rounded" gapSize="12" id={7} type='number' /> |
|
|
|
|
|
|
|
<Input title="استان" borderType="rounded" gapSize="12" id={8} type='number' /> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className="flex pt-10 justify-end"> |
|
|
|
<div className="flex pt-10 justify-end"> |
|
|
@ -388,11 +397,12 @@ const Register = ({ activeLogin }) => { |
|
|
|
...prevState, |
|
|
|
...prevState, |
|
|
|
name: document.getElementById('Login-box-form-item-input-name0').value, |
|
|
|
name: document.getElementById('Login-box-form-item-input-name0').value, |
|
|
|
nationalId: document.getElementById('Login-box-form-item-input-name1').value, |
|
|
|
nationalId: document.getElementById('Login-box-form-item-input-name1').value, |
|
|
|
familyName: document.getElementById('Login-box-form-item-input-name2').value, |
|
|
|
sex: document.getElementById('Login-box-form-item-input-name2').value, |
|
|
|
birthDate: document.getElementById('Login-box-form-item-input-name3').value, |
|
|
|
familyName: document.getElementById('Login-box-form-item-input-name3').value, |
|
|
|
schoolName: document.getElementById('Login-box-form-item-input-name4').value, |
|
|
|
birthDate: document.getElementById('Login-box-form-item-input-name4').value, |
|
|
|
city: document.getElementById('Login-box-form-item-input-name5').value, |
|
|
|
schoolName: document.getElementById('Login-box-form-item-input-name5').value, |
|
|
|
state: document.getElementById('Login-box-form-item-input-name6').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 }) => { |
|
|
|
<div className="flex flex-col border-b border-solid border-gray-300 leading-7 pb-6"> |
|
|
|
<div className="flex flex-col border-b border-solid border-gray-300 leading-7 pb-6"> |
|
|
|
<h1 className="font-bold mb-2 text-lg">مشخصات دانش آموز</h1> |
|
|
|
<h1 className="font-bold mb-2 text-lg">مشخصات دانش آموز</h1> |
|
|
|
{ |
|
|
|
{ |
|
|
|
finalViewInfo.slice(0,7).map(item => ( |
|
|
|
finalViewInfo.slice(0,8).map(item => ( |
|
|
|
<div className="flex items-center"> |
|
|
|
<div className="flex items-center"> |
|
|
|
<h3 className="text-red26 font-bold">{item.title}</h3> : <p className="mr-2 text-red52">{item.value}</p> |
|
|
|
<h3 className="text-red26 font-bold">{item.title}</h3> : <p className="mr-2 text-red52">{item.value}</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -648,7 +658,7 @@ const Register = ({ activeLogin }) => { |
|
|
|
<div className="flex flex-col border-b border-solid border-gray-300 leading-7 py-6"> |
|
|
|
<div className="flex flex-col border-b border-solid border-gray-300 leading-7 py-6"> |
|
|
|
<h1 className="font-bold mb-2 text-lg">مشخصات پدر دانش آموز</h1> |
|
|
|
<h1 className="font-bold mb-2 text-lg">مشخصات پدر دانش آموز</h1> |
|
|
|
{ |
|
|
|
{ |
|
|
|
finalViewInfo.slice(7,15).map(item => ( |
|
|
|
finalViewInfo.slice(8,16).map(item => ( |
|
|
|
<div className="flex items-center"> |
|
|
|
<div className="flex items-center"> |
|
|
|
<h3 className="text-red26 font-bold">{item.title}</h3> : <p className="mr-2 text-red52">{item.value}</p> |
|
|
|
<h3 className="text-red26 font-bold">{item.title}</h3> : <p className="mr-2 text-red52">{item.value}</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -658,7 +668,7 @@ const Register = ({ activeLogin }) => { |
|
|
|
<div className="flex flex-col border-b border-solid border-gray-300 leading-7 py-6"> |
|
|
|
<div className="flex flex-col border-b border-solid border-gray-300 leading-7 py-6"> |
|
|
|
<h1 className="font-bold mb-2 text-lg">مشخصات مادر دانش آموز</h1> |
|
|
|
<h1 className="font-bold mb-2 text-lg">مشخصات مادر دانش آموز</h1> |
|
|
|
{ |
|
|
|
{ |
|
|
|
finalViewInfo.slice(15,23).map(item => ( |
|
|
|
finalViewInfo.slice(16,24).map(item => ( |
|
|
|
<div className="flex items-center"> |
|
|
|
<div className="flex items-center"> |
|
|
|
<h3 className="text-red26 font-bold">{item.title}</h3> : <p className="mr-2 text-red52">{item.value}</p> |
|
|
|
<h3 className="text-red26 font-bold">{item.title}</h3> : <p className="mr-2 text-red52">{item.value}</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -668,7 +678,7 @@ const Register = ({ activeLogin }) => { |
|
|
|
<div className="flex flex-col border-b border-solid border-gray-300 leading-7 py-6"> |
|
|
|
<div className="flex flex-col border-b border-solid border-gray-300 leading-7 py-6"> |
|
|
|
<h1 className="font-bold mb-2 text-lg">مشخصات خانواده دانش آموز</h1> |
|
|
|
<h1 className="font-bold mb-2 text-lg">مشخصات خانواده دانش آموز</h1> |
|
|
|
{ |
|
|
|
{ |
|
|
|
finalViewInfo.slice(23,26).map(item => ( |
|
|
|
finalViewInfo.slice(24,27).map(item => ( |
|
|
|
<div className="flex items-center"> |
|
|
|
<div className="flex items-center"> |
|
|
|
<h3 className="text-red26 font-bold">{item.title}</h3> : <p className="mr-2 text-red52">{item.value}</p> |
|
|
|
<h3 className="text-red26 font-bold">{item.title}</h3> : <p className="mr-2 text-red52">{item.value}</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|