cat-qw-lib 0.43.22 → 0.43.24
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
|
@@ -1337,7 +1337,7 @@ class BaseFormComponent {
|
|
|
1337
1337
|
return this.baseQuery?.getValue();
|
|
1338
1338
|
}
|
|
1339
1339
|
init() {
|
|
1340
|
-
this.formStateService.setIsFormSaved(
|
|
1340
|
+
this.formStateService.setIsFormSaved(false);
|
|
1341
1341
|
this.service.initList();
|
|
1342
1342
|
this.baseStore?.setRecordChange(SHARED.EMPTY);
|
|
1343
1343
|
let id = this.activatedRoute ? this.activatedRoute.snapshot.params[SHARED.ID] : '';
|
|
@@ -1414,7 +1414,7 @@ class BaseFormComponent {
|
|
|
1414
1414
|
this.baseStore?.setIsApiValidated(null);
|
|
1415
1415
|
if (this.formStateService) {
|
|
1416
1416
|
console.log("Update");
|
|
1417
|
-
this.formStateService.
|
|
1417
|
+
this.formStateService.setIsFormSaved(true);
|
|
1418
1418
|
}
|
|
1419
1419
|
this.onFormNavigate.emit(response);
|
|
1420
1420
|
},
|
|
@@ -1433,7 +1433,7 @@ class BaseFormComponent {
|
|
|
1433
1433
|
this.baseStore?.setIsApiValidated(null);
|
|
1434
1434
|
if (this.formStateService) {
|
|
1435
1435
|
console.log("Add");
|
|
1436
|
-
this.formStateService.
|
|
1436
|
+
this.formStateService.setIsFormSaved(true);
|
|
1437
1437
|
}
|
|
1438
1438
|
this.onFormNavigate.emit(response);
|
|
1439
1439
|
},
|