@idsoftsource/initial-process 0.1.9 → 0.2.0
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,12 @@ 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
|
+
this.store.nextStep();
|
|
5199
|
+
}
|
|
5200
|
+
else {
|
|
5201
|
+
this.getusermapping();
|
|
5202
|
+
}
|
|
5201
5203
|
}
|
|
5202
5204
|
onYearChange(group) {
|
|
5203
5205
|
this.selectedTab = group;
|
|
@@ -5367,7 +5369,12 @@ class RoleSelectComponent {
|
|
|
5367
5369
|
this.initialJobValue = this.selectedJobValue;
|
|
5368
5370
|
this.fileDataUser = null;
|
|
5369
5371
|
this.saveUserIndustries();
|
|
5370
|
-
this.
|
|
5372
|
+
if (this.providerId === '00000000-0000-0000-0000-000000000000') {
|
|
5373
|
+
this.store.nextStep();
|
|
5374
|
+
}
|
|
5375
|
+
else {
|
|
5376
|
+
this.saveProviderUserMapping();
|
|
5377
|
+
}
|
|
5371
5378
|
});
|
|
5372
5379
|
}
|
|
5373
5380
|
saveProviderUserMapping() {
|
|
@@ -5397,11 +5404,9 @@ class RoleSelectComponent {
|
|
|
5397
5404
|
this.showLoader = true;
|
|
5398
5405
|
let apiCall$;
|
|
5399
5406
|
if (!this.isMappingCreated) {
|
|
5400
|
-
// 🆕 FIRST TIME → POST
|
|
5401
5407
|
apiCall$ = this.provideruser.createProviderUserMapping(model);
|
|
5402
5408
|
}
|
|
5403
5409
|
else if (this.previousEmployeeType !== currentEmployeeType) {
|
|
5404
|
-
// 🔁 SECOND TIME → PUT
|
|
5405
5410
|
apiCall$ = this.provideruser.updateProviderUserMapping(model);
|
|
5406
5411
|
}
|
|
5407
5412
|
else {
|