Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table Structure

  • MUIDataTable is used to implement Table component.

  • Every columns are entry given as an Object

...

Once the data is fetched using egov-searcher/bill-genie/billswithaddranduser/_get API, the returned data is formatted and dispatched to redux

functionhttps://github.com/egovernments/frontend/blob/80c5bff5b0869ba44f1626fabe4a5a6133afa558/web/rainmaker/dev-packages/egov-abg-dev/src/ui-config/screens/specs/abg/groupBillResource/functions.js

...

As we can see from the image above, the data is put to specific path inside props.

...

Table component now fetches the data from its props as shown below.

...

Api Used :

  1.   egov-mdms-service/v1/_search,

  2. egov-searcher/bill-genie/billswithaddranduser/_get

 

ROLE ACTION MAPPING

S.NO

API

ROLES

ACTION ID

1

egov-mdms-service/v1/_search

SUPERUSER , LOA_CREATOR , WO_CREATOR , AE_CREATOR , WORKS_MASTER_CREATOR

954

2

egov-searcher/bill-genie/billswithaddranduser/_get

SUPERUSER , EMPLOYEE , CITIZEN

1804