vcomply-workflow-engine 6.0.85 → 6.0.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +14 -1
- package/fesm2022/vcomply-workflow-engine.mjs +13 -0
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/workflow-compliance/workflow-compliance.component.d.ts +2 -0
- package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -30954,6 +30954,12 @@ class WorkflowComplianceComponent {
|
|
|
30954
30954
|
this.setFeatureFlags();
|
|
30955
30955
|
this.pickerChanged.emit(false);
|
|
30956
30956
|
this.getInitialData();
|
|
30957
|
+
this.populateRCList();
|
|
30958
|
+
}
|
|
30959
|
+
populateRCList() {
|
|
30960
|
+
if (this.openedFrom === 'RISK_TREATMENT' && this.mode === 'CREATE') {
|
|
30961
|
+
this.getRCList();
|
|
30962
|
+
}
|
|
30957
30963
|
}
|
|
30958
30964
|
setFeatureFlags() {
|
|
30959
30965
|
this.featureFlag_groups = this.feature.isFeatureEnabled('ff_responsibility_groups');
|
|
@@ -30970,6 +30976,9 @@ class WorkflowComplianceComponent {
|
|
|
30970
30976
|
this.getOrganizationDetails();
|
|
30971
30977
|
this.getUserDetails();
|
|
30972
30978
|
this.shortMonth = this.frequencyService.monthArray.map((month) => month.substring(0, 3));
|
|
30979
|
+
if (this.openedFrom === 'RISK_TREATMENT') {
|
|
30980
|
+
this.getRCDetailsinRiskTreatment();
|
|
30981
|
+
}
|
|
30973
30982
|
if (this.mode === 'CREATE') {
|
|
30974
30983
|
this.organizationId = this.authService.getOrganizationId();
|
|
30975
30984
|
this.memberId = this.authService.getMemberId();
|
|
@@ -30988,6 +30997,10 @@ class WorkflowComplianceComponent {
|
|
|
30988
30997
|
this.setResponsibilityName();
|
|
30989
30998
|
this.hideElementsFromMoreOptions.emit(this.hiddenList);
|
|
30990
30999
|
}
|
|
31000
|
+
getRCDetailsinRiskTreatment() {
|
|
31001
|
+
this.responsibilityForm.rc = this.setList(this.responsibilityCentersList, [this.selectedRC], 'item_id');
|
|
31002
|
+
this.moreOptions.RC = true;
|
|
31003
|
+
}
|
|
30991
31004
|
getOrgDetails() {
|
|
30992
31005
|
this.organizationCommonService?.getOrgDetailsInfo()?.subscribe({
|
|
30993
31006
|
next: (res) => {
|