vcomply-workflow-engine 2.6.82 → 2.6.83
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/bundles/vcomply-workflow-engine.umd.js +9 -2
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.js +10 -3
- package/fesm2015/vcomply-workflow-engine.js +9 -2
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/lib/workflow-compliance/workflow-compliance.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3172,7 +3172,6 @@
|
|
|
3172
3172
|
this.checkpointCount = 0;
|
|
3173
3173
|
this.isGroupAssigned = false;
|
|
3174
3174
|
this.unsubscribe = new rxjs.Subject();
|
|
3175
|
-
this.systemResponsibilityList = [];
|
|
3176
3175
|
this.unSubscribeProgram = new rxjs.Subject();
|
|
3177
3176
|
this.authService.getUserInfo().subscribe(function (res) {
|
|
3178
3177
|
var complianceSubmodule = res.roleActions[res.roleActions.findIndex(function (ele) { return ele.moduleName == 'compliance'; })].subModule;
|
|
@@ -3688,6 +3687,7 @@
|
|
|
3688
3687
|
_this.isEntrust = res.isGroupAssignTo ? true : false;
|
|
3689
3688
|
var linkage = res === null || res === void 0 ? void 0 : res.linkedProgramDetails;
|
|
3690
3689
|
linkage.push(res === null || res === void 0 ? void 0 : res.programDetails);
|
|
3690
|
+
var systemResData = _this.systemResponsibilityList['data'].filter(function (e) { return e.name == res.report_name; });
|
|
3691
3691
|
_this.responsibilityForm = {
|
|
3692
3692
|
assignors: {
|
|
3693
3693
|
enable: false,
|
|
@@ -3736,7 +3736,10 @@
|
|
|
3736
3736
|
assuranceList: _this.setList(_this.assuranceCategoriesList, testPlanCategory, 'category_id'),
|
|
3737
3737
|
requiresAuditList: _this.setList(_this.assuranceRequiresAuditList, requiredAuditCategoryId, 'category_id'),
|
|
3738
3738
|
riskClass: res === null || res === void 0 ? void 0 : res.risk_class,
|
|
3739
|
-
riskMatrix: res === null || res === void 0 ? void 0 : res.risk_matrix_data
|
|
3739
|
+
riskMatrix: res === null || res === void 0 ? void 0 : res.risk_matrix_data,
|
|
3740
|
+
responsibility_type: res === null || res === void 0 ? void 0 : res.responsibility_type,
|
|
3741
|
+
systemResponsibilities: systemResData,
|
|
3742
|
+
systemResponsibilies: systemResData,
|
|
3740
3743
|
};
|
|
3741
3744
|
_this.selectedProgram = ((_t = res === null || res === void 0 ? void 0 : res.programDetails) === null || _t === void 0 ? void 0 : _t.category_id) ? res.programDetails : undefined;
|
|
3742
3745
|
if ((_u = _this.selectedProgram) === null || _u === void 0 ? void 0 : _u._id) {
|
|
@@ -3810,6 +3813,10 @@
|
|
|
3810
3813
|
_this.refreshAllLists();
|
|
3811
3814
|
}
|
|
3812
3815
|
_this.getEditMoreOptions(res);
|
|
3816
|
+
if (res === null || res === void 0 ? void 0 : res.responsibility_type) {
|
|
3817
|
+
_this.hideElementsFromMoreOptions.emit(['FORMATE_EVIDENCE', 'ASSESSMENT', 'CHECKPOINTS', 'CHECKPOINTS_NEW', 'RISK_CLASSIFICATION', 'REVIEWER', 'OVERSEER', 'ASSURANCE', 'REQUIRES_AUDIT']);
|
|
3818
|
+
_this.responsibilityForm.responsibility_type = 1;
|
|
3819
|
+
}
|
|
3813
3820
|
}
|
|
3814
3821
|
}, function (err) {
|
|
3815
3822
|
_this.uiKitService.isLoader = false;
|