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 https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-hrms-dev/src/ui-config/screens/specs/hrms/viewResource/footer.js file
Activate / Deactivate :
Activate and deactivate configurations are present in this https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-hrms-dev/src/ui-config/screens/specs/hrms/viewResource/deactivate-employee.js 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 |
|
|
|
Â