-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fixed app delivery condition * added my microplan screen * changes in the url * changes --------- Co-authored-by: Jagankumar <53823168+jagankumar-egov@users.noreply.github.com>
- Loading branch information
1 parent
bc60ede
commit d297c75
Showing
10 changed files
with
263 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 changes: 100 additions & 0 deletions
100
...web/micro-ui-internals/packages/modules/campaign-manager/src/configs/myMicroplanConfig.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
|
||
|
||
const tenantId = Digit.ULBService.getCurrentTenantId(); | ||
const mdms_context_path = window?.globalConfigs?.getConfig("MDMS_V2_CONTEXT_PATH") || "mdms-v2"; | ||
export const MicroplanCampaignSearchConfig = [ | ||
{ | ||
label: "MICROPLAN_SEARCH", | ||
type: "search", | ||
apiDetails: { | ||
serviceName: "/plan-service/config/_search", | ||
requestParam: { | ||
}, | ||
requestBody: { | ||
"PlanConfigurationSearchCriteria": { | ||
"limit": 10, | ||
"offset": 0, | ||
"tenantId": tenantId, | ||
}, | ||
}, | ||
masterName: "commonUiConfig", | ||
moduleName: "MicroplanCampaignSearchConfig", | ||
minParametersForSearchForm: 0, | ||
tableFormJsonPath: "requestBody.PlanConfigurationSearchCriteria.pagination", | ||
// filterFormJsonPath: "requestBody.MdmsCriteria.customs", | ||
searchFormJsonPath: "requestBody.PlanConfigurationSearchCriteria", | ||
}, | ||
sections: { | ||
search: { | ||
uiConfig: { | ||
formClassName: "custom-both-clear-search", | ||
primaryLabel: "ES_COMMON_SEARCH", | ||
secondaryLabel: "ES_COMMON_CLEAR_SEARCH", | ||
minReqFields: 0, | ||
defaultValues:{ | ||
microplanName: "", | ||
campaignType: "", | ||
}, | ||
fields: [ | ||
{ | ||
label: "NAME_OF_MICROPLAN", | ||
isMandatory: false, | ||
key: "microplanName", | ||
type: "text", | ||
populators: { | ||
name: "microplanName" | ||
}, | ||
}, | ||
// { | ||
// label: "CAMPAIGN_SEARCH_TYPE", | ||
// type: "apidropdown", | ||
// isMandatory: false, | ||
// disable: false, | ||
// populators: { | ||
// optionsCustomStyle: { | ||
// top: "2.3rem", | ||
// }, | ||
// name: "campaignType", | ||
// optionsKey: "code", | ||
// allowMultiSelect: false, | ||
// masterName: "commonUiConfig", | ||
// moduleName: "MyCampaignConfigDrafts", | ||
// customfn: "populateCampaignTypeReqCriteria", | ||
// }, | ||
// }, | ||
], | ||
}, | ||
|
||
show: true, | ||
}, | ||
searchResult: { | ||
uiConfig: { | ||
columns: [ | ||
{ | ||
label: "NAME_OF_MICROPLAN", | ||
jsonPath: "name", | ||
additionalCustomization:true | ||
}, | ||
{ | ||
label:"CAMPAIGN_TYPE", | ||
jsonPath:"additionalDetails.campaignType", | ||
additionalCustomization:true | ||
}, | ||
{ | ||
label:"LAST_MODIFIED_TIME", | ||
jsonPath:"auditDetails.lastModifiedTime", | ||
additionalCustomization:true | ||
}, | ||
], | ||
resultsJsonPath: "PlanConfiguration", | ||
|
||
enableColumnSort: true, | ||
}, | ||
show: true, | ||
}, | ||
|
||
}, | ||
}, | ||
]; | ||
|
||
|
Oops, something went wrong.