iptdevs-design-system 3.1.479 → 3.1.481
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/esm2020/lib/cod-self-managed/cod-form-self-managed/cod-self-managed.component.mjs +1 -8
- package/fesm2015/iptdevs-design-system.mjs +0 -7
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +0 -7
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6641,7 +6641,6 @@ class CodSelfManagedComponent {
|
|
|
6641
6641
|
ngOnInit() {
|
|
6642
6642
|
this.countInitialStep = 1;
|
|
6643
6643
|
this.changeStep(this.currentStep);
|
|
6644
|
-
console.log('init.countInitialStep', this.countInitialStep);
|
|
6645
6644
|
}
|
|
6646
6645
|
ngOnDestroy() {
|
|
6647
6646
|
if (this.subscription) {
|
|
@@ -6650,20 +6649,14 @@ class CodSelfManagedComponent {
|
|
|
6650
6649
|
}
|
|
6651
6650
|
changeStep(step) {
|
|
6652
6651
|
this.currentStep = step;
|
|
6653
|
-
console.log('changeStep.countInitialStep', this.countInitialStep);
|
|
6654
6652
|
const request = {
|
|
6655
6653
|
currentStep: this.currentStep + 1,
|
|
6656
6654
|
user_code: this.baseService.getUserCode(),
|
|
6657
6655
|
count: this.countInitialStep,
|
|
6658
6656
|
token: this.baseService.getUserToken()
|
|
6659
6657
|
};
|
|
6660
|
-
console.log(request);
|
|
6661
6658
|
this.commercialService.updateControlStepsCodSelfManaged(request).subscribe((response) => {
|
|
6662
|
-
console.log(response);
|
|
6663
6659
|
this.countInitialStep = 0;
|
|
6664
|
-
console.log('response.countInitialStep', this.countInitialStep);
|
|
6665
|
-
// if (response.message.code == 1) {
|
|
6666
|
-
// }
|
|
6667
6660
|
});
|
|
6668
6661
|
}
|
|
6669
6662
|
}
|