Search Property
To provide users facility to search properties in the application by providing various search criteria to Create a Water Application.
While creating a New Water Application , it will be created based on the property so to select property we Navigate to this Search / Create property and search for a property and select the required property so that we can create a New Water/Sewerage Application.
Technical Implementation Details:
All the screens are developed under the egov-pt-dev package.
It follows egov-ui framework principles. All the screens have their configuration in the egov-pt dev package folder. Property search configuration listed in the below file.
https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-pt-dev/src/ui-config/screens/specs/pt-common-screens/propertySearch.js
Property Search Table
Objective:
Property search table is created to display the search results in a tabular format. Property search table contains various columns as per product requirements. Table Columns can be configured from the Table component configuration written in source file.
Table has few features like sorting, pagination, table search, rows limit. All these features are configurable. Default no of rows in the table configured as 10.
Here we can select the property which are Active / Approved. once we select
If none of the search criteria matches we can create a new property by Register property Option.
Table body initializes with the Property search page initialization. By default tables are hidden. Once the search operation completed successfully then all the search records formatted into to expected tabular format and supplied to the table by making Table as visible.
Below is the file link.
Create / Register Property,
Provide Citizen/Employee to Create a New Property. User has to provide various information regarding Property Location , Property Built up Information and Owner Information. Once the application registered successfully it goes through various phases based on configuration.
https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-pt-dev/src/ui-config/screens/specs/pt-common-screens/register-property.js
MDMS Requests
{ name: "PropertyType" }, { name: "UsageCategory" }, { name: "PTWorkflow" }
Based on the PTWorkflow
Response Property Created through WNS module will behave in following way
Register New Property states
1 | Current State | Action | Next State | Actors |
2 |
| Initiate | Initiated | CEMP, Citizen |
3 | Initiated | Next | Inworkflow | CEMP, Citizen |
4 | Inworkflow | Back | Initiated | CEMP, Citizen |
5 | Inworkflow | Submit | Approved | CEMP, Citizen |
Once property is created it is approved in the further screens if PTWorkflow
is satisfying this condition
get(payload, "MdmsRes.PropertyTax.PTWorkflow", []).filter(data=> data.enable&&data.businessService).includes("WNS"))
and property object will have same business service from that mdms businessService : data.businessService,
Summary screen
Summary of register property is configured in
Property Create Api
Property is created using /property-services/property/_create
API, the returned data is formatted and dispatched to redux
API Call Role Action mapping:
S.No. | API | Action id | Roles |
---|---|---|---|
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|