|
|
@ -45,7 +45,7 @@ export default function HeadmasterHome() { |
|
|
|
|
|
|
|
|
|
|
|
const schoolName = !!schoolId |
|
|
|
const schoolName = !!schoolId |
|
|
|
? !!school_name ? decodeURIComponent(school_name) : '' |
|
|
|
? !!school_name ? decodeURIComponent(school_name) : '' |
|
|
|
: authentication?.user?.organization_name; |
|
|
|
: `Hiệu trưởng ${authentication?.user?.fullname||''} ${authentication?.user?.organization_name}`; |
|
|
|
const id = !!schoolId ? schoolId : authentication?.user?.organization_id; |
|
|
|
const id = !!schoolId ? schoolId : authentication?.user?.organization_id; |
|
|
|
|
|
|
|
|
|
|
|
const changeSemester = (item) => { |
|
|
|
const changeSemester = (item) => { |
|
|
@ -197,13 +197,15 @@ export default function HeadmasterHome() { |
|
|
|
<div className="container-page-header container-page-sidebar"> |
|
|
|
<div className="container-page-header container-page-sidebar"> |
|
|
|
<div className="headmaster-home-container bg-main-img"> |
|
|
|
<div className="headmaster-home-container bg-main-img"> |
|
|
|
<div className="headmaster-home-left-side"> |
|
|
|
<div className="headmaster-home-left-side"> |
|
|
|
<div style={{ display: 'flex', justifyContent: 'flex-end', alignItems: 'center' }}> |
|
|
|
{authentication.user.role ==='supper_admin' &&( |
|
|
|
<PrimaryButton style={{ alignSelf: "center", justifyContent:'flex end', marginRight:30 }} onClick={()=>{ |
|
|
|
<div style={{ display: 'flex', justifyContent: 'flex-end', alignItems: 'center' }}> |
|
|
|
history.goBack() |
|
|
|
<PrimaryButton style={{ alignSelf: "center", justifyContent:'flex end', marginRight:30 }} onClick={()=>{ |
|
|
|
}}> |
|
|
|
history.goBack() |
|
|
|
Quay lại |
|
|
|
}}> |
|
|
|
</PrimaryButton> |
|
|
|
Quay lại |
|
|
|
</div> |
|
|
|
</PrimaryButton> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
)} |
|
|
|
<div className="headmaster-home-overview"> |
|
|
|
<div className="headmaster-home-overview"> |
|
|
|
<p className="headmaster-home-overview-title"> |
|
|
|
<p className="headmaster-home-overview-title"> |
|
|
|
Mức độ hoàn thành của trường |
|
|
|
Mức độ hoàn thành của trường |
|
|
|