@idsoftsource/initial-process 0.1.9 → 0.2.1
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.
|
@@ -2385,9 +2385,6 @@ class UserDocumentService {
|
|
|
2385
2385
|
params: this.buildParams(query),
|
|
2386
2386
|
});
|
|
2387
2387
|
}
|
|
2388
|
-
/* ==============================
|
|
2389
|
-
PARAM BUILDER
|
|
2390
|
-
============================== */
|
|
2391
2388
|
buildParams(query) {
|
|
2392
2389
|
let params = new HttpParams();
|
|
2393
2390
|
if (!query)
|
|
@@ -5197,7 +5194,11 @@ class RoleSelectComponent {
|
|
|
5197
5194
|
},
|
|
5198
5195
|
error: (err) => console.log('Error', err)
|
|
5199
5196
|
});
|
|
5200
|
-
this.
|
|
5197
|
+
if (this.providerId === '00000000-0000-0000-0000-000000000000') {
|
|
5198
|
+
}
|
|
5199
|
+
else {
|
|
5200
|
+
this.getusermapping();
|
|
5201
|
+
}
|
|
5201
5202
|
}
|
|
5202
5203
|
onYearChange(group) {
|
|
5203
5204
|
this.selectedTab = group;
|
|
@@ -5367,7 +5368,12 @@ class RoleSelectComponent {
|
|
|
5367
5368
|
this.initialJobValue = this.selectedJobValue;
|
|
5368
5369
|
this.fileDataUser = null;
|
|
5369
5370
|
this.saveUserIndustries();
|
|
5370
|
-
this.
|
|
5371
|
+
if (this.providerId === '00000000-0000-0000-0000-000000000000') {
|
|
5372
|
+
this.store.nextStep();
|
|
5373
|
+
}
|
|
5374
|
+
else {
|
|
5375
|
+
this.saveProviderUserMapping();
|
|
5376
|
+
}
|
|
5371
5377
|
});
|
|
5372
5378
|
}
|
|
5373
5379
|
saveProviderUserMapping() {
|
|
@@ -5397,11 +5403,9 @@ class RoleSelectComponent {
|
|
|
5397
5403
|
this.showLoader = true;
|
|
5398
5404
|
let apiCall$;
|
|
5399
5405
|
if (!this.isMappingCreated) {
|
|
5400
|
-
// 🆕 FIRST TIME → POST
|
|
5401
5406
|
apiCall$ = this.provideruser.createProviderUserMapping(model);
|
|
5402
5407
|
}
|
|
5403
5408
|
else if (this.previousEmployeeType !== currentEmployeeType) {
|
|
5404
|
-
// 🔁 SECOND TIME → PUT
|
|
5405
5409
|
apiCall$ = this.provideruser.updateProviderUserMapping(model);
|
|
5406
5410
|
}
|
|
5407
5411
|
else {
|