View Employee
View Employee Details
Objective
Provide Employee to view an Existing Employee Information , Edit details , Activate / Deactivate Employee.
Route - https://egov-micro-qa.egovernments.org/employee/hrms/view?employeeID=EMP04&tenantId=pb.amritsar
Technical Implementation Details
Initial page.
Initial MDMS call is being made on page load.
Footer Buttons is configured in this frontend/web/rainmaker/dev-packages/egov-hrms-dev/src/ui-config/screens/specs/hrms/viewResource/footer.js at master · egovernments/frontend file
Activate / Deactivate :
Activate and deactivate configurations are present in this frontend/web/rainmaker/dev-packages/egov-hrms-dev/src/ui-config/screens/specs/hrms/viewResource/deactivate-employee.js at master · egovernments/frontend file
To Activate a Employee following fields should be set to true
set(employeeObject[0], "reActivateEmployee", true);
set(employeeObject[0], "isActive", true);
Similarly for Deactivate
set(employeeObject[0], "isActive", false);
ROLE ACTION MAPPING
API | ROLES | ACTION ID | |
---|---|---|---|
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|