vcomply-workflow-engine 2.9.52 → 2.9.54
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 +6 -5
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.js +2 -2
- package/esm2015/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.js +2 -2
- package/esm2015/lib/workflow-services/responsibility.service.js +4 -4
- package/fesm2015/vcomply-workflow-engine.js +5 -5
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/lib/workflow-services/responsibility.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3312,9 +3312,10 @@
|
|
|
3312
3312
|
var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
|
|
3313
3313
|
return this.http.get(this.env.complianceGet + 'complianceReport/reportById&id=' + objectId, { headers: headers }).pipe(operators.retry(2));
|
|
3314
3314
|
};
|
|
3315
|
-
ResponsibilityService.prototype.addBulkResponsibility = function (entrust_body) {
|
|
3315
|
+
ResponsibilityService.prototype.addBulkResponsibility = function (entrust_body, query) {
|
|
3316
|
+
if (query === void 0) { query = "default"; }
|
|
3316
3317
|
var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
|
|
3317
|
-
return this.http.post(this.env.compliancePost + 'import/create', entrust_body, { headers: headers });
|
|
3318
|
+
return this.http.post(this.env.compliancePost + 'import/create&query=' + query, entrust_body, { headers: headers });
|
|
3318
3319
|
};
|
|
3319
3320
|
ResponsibilityService.prototype.uploadToNode = function (payload, des) {
|
|
3320
3321
|
// const headers = new HttpHeaders().set('token', this.authService.getAuthorizationToken());
|
|
@@ -3359,7 +3360,7 @@
|
|
|
3359
3360
|
};
|
|
3360
3361
|
ResponsibilityService.prototype.fileUpload = function (file) {
|
|
3361
3362
|
var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
|
|
3362
|
-
return this.http.post(this.env.compliancePost + 'file/upload', file, { headers: headers })
|
|
3363
|
+
return this.http.post(this.env.compliancePost + 'file/upload', file, { headers: headers });
|
|
3363
3364
|
};
|
|
3364
3365
|
ResponsibilityService.prototype.getAssessmentCategory = function (payload, program_ids) {
|
|
3365
3366
|
var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
|
|
@@ -14126,7 +14127,7 @@
|
|
|
14126
14127
|
payload.push(obj);
|
|
14127
14128
|
}
|
|
14128
14129
|
});
|
|
14129
|
-
this.responsibilityService.addBulkResponsibility(payload).subscribe(function (res) {
|
|
14130
|
+
this.responsibilityService.addBulkResponsibility(payload, 'single').subscribe(function (res) {
|
|
14130
14131
|
_this.loader = false;
|
|
14131
14132
|
_this.showExcel = false;
|
|
14132
14133
|
_this.showSmiley = true;
|
|
@@ -33805,7 +33806,7 @@
|
|
|
33805
33806
|
}
|
|
33806
33807
|
});
|
|
33807
33808
|
// console.log("payloadpayload",payload, "responsibilityBulkUpload ==>", responsibilityBulkUpload )
|
|
33808
|
-
this.responsibilityService.addBulkResponsibility(payload).subscribe(function (res) {
|
|
33809
|
+
this.responsibilityService.addBulkResponsibility(payload, 'multiple').subscribe(function (res) {
|
|
33809
33810
|
_this.loader = false;
|
|
33810
33811
|
_this.showExcel = false;
|
|
33811
33812
|
_this.showSmiley = true;
|