cat-qw-lib 0.43.19 → 0.43.20
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/fesm2022/cat-qw-lib.mjs
CHANGED
|
@@ -1333,6 +1333,7 @@ class BaseFormComponent {
|
|
|
1333
1333
|
return this.baseQuery?.getValue();
|
|
1334
1334
|
}
|
|
1335
1335
|
init() {
|
|
1336
|
+
this.formStateService.setIsFormSaved(false);
|
|
1336
1337
|
this.service.initList();
|
|
1337
1338
|
this.baseStore?.setRecordChange(SHARED.EMPTY);
|
|
1338
1339
|
let id = this.activatedRoute ? this.activatedRoute.snapshot.params[SHARED.ID] : '';
|
|
@@ -1409,7 +1410,7 @@ class BaseFormComponent {
|
|
|
1409
1410
|
this.baseStore?.setIsApiValidated(null);
|
|
1410
1411
|
if (this.formStateService) {
|
|
1411
1412
|
console.log("Update");
|
|
1412
|
-
this.formStateService.
|
|
1413
|
+
this.formStateService.setShowConfirmation(false);
|
|
1413
1414
|
}
|
|
1414
1415
|
this.onFormNavigate.emit(response);
|
|
1415
1416
|
},
|
|
@@ -1428,7 +1429,7 @@ class BaseFormComponent {
|
|
|
1428
1429
|
this.baseStore?.setIsApiValidated(null);
|
|
1429
1430
|
if (this.formStateService) {
|
|
1430
1431
|
console.log("Add");
|
|
1431
|
-
this.formStateService.
|
|
1432
|
+
this.formStateService.setShowConfirmation(true);
|
|
1432
1433
|
}
|
|
1433
1434
|
this.onFormNavigate.emit(response);
|
|
1434
1435
|
},
|