Measurement

Overview

This module helps in taking the measurement, for an accepted contract

This module has 5 associated screens :

  1. Create

  2. Inbox

  3. Edit

  4. View

  5. Search

Module enablement configuration

  1. Set module code as "Measurement" in Module.js of Measurement Module. Refer https://github.com/egovernments/works-mdms-data/blob/DEV/data/pg/tenant/citymodule.json

{
        "module": "Measurement",
        "code": "Measurement",
        "active": true,
        "order": 13,
        "tenants": [
            {
                "code": "pg.cityb"
            },
            {
                "code": "pg.cityc"
            },
            {
                "code": "pg.citya"
            }
        ]
}
  1. Enable Module in App.js. Update the object ‘enabledModules’. Use the code “Measurement”. This code should match with the code of the cityModule.json, mentioned above.

Role-action mapping

S.No

API

Action ID

Roles

2

to be updated

37

MB_CREATOR

3

to be updated

38

MB_VERIFIER

5

to be updated

104

MB_APPROVER

6

/egov-hrms/employees/_search

4

EMPLOYEE_COMMON

8

/inbox/v2/_search

65

EMPLOYEE_COMMON

S.No

Screen

Navigation URL

LeftIcon Updates

Roles

2

to be updated

{
      "id": 59,
      "name": "MEASUREMENT",
      "url": "url",
      "displayName": "MEASUREMENT Inbox",
      "orderNumber": 2,
      "parentModule": "",
      "enabled": true,
      "serviceCode": "ATTENDENCEMGMT",
      "code": "null",
      "navigationURL": "/works-ui/employee/measurement/inbox",
      "path": "4MEASUREMENT.Inbox",
      "leftIcon": "dynamic:AttendanceIcon"
}

Document Configuration

https://github.com/egovernments/egov-mdms-data/commit/85761f2c82ced17a0259e077f6b82355e62ce35c

Screen configuration

S.No

Screen

Configuration

1

Search

to be updated

2

Inbox

to be updated

Localization Configuration and Modules

TenantID

Module

statea

rainmaker-measurement

Workflow Configuration

UI Component Name

Business Service

WorkflowActions

MB

Custom Components

  1. MeasureTable:

This is the main component that handles the Logic for capturing the measurement for SOR / NONSOR based on the given processed Line items from the Estimate.

The same component has been used in the Detailed estimate which captures the detailed measurement information

The same component has the capability to be used in both create and view screens.

  1. MeasureCard:

    This component handles the logic of the inner table present inside the MeasureTable.

Last updated

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.