@csmart/ngc-smart-victim 1.14.6 → 1.14.8
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/smart-victim-detail/smart-victim-detail.component.mjs +6 -2
- package/esm2020/lib/smart-victim.component.mjs +11 -11
- package/fesm2015/csmart-ngc-smart-victim.mjs +15 -11
- package/fesm2015/csmart-ngc-smart-victim.mjs.map +1 -1
- package/fesm2020/csmart-ngc-smart-victim.mjs +15 -11
- package/fesm2020/csmart-ngc-smart-victim.mjs.map +1 -1
- package/package.json +1 -1
@@ -961,7 +961,7 @@ class SmartVictimDetailComponent {
|
|
961
961
|
this.victimForm.reset();
|
962
962
|
}
|
963
963
|
ngOnInit() {
|
964
|
-
console.log('on init 11/
|
964
|
+
console.log('on init 11/8/23');
|
965
965
|
console.log('show offenderId');
|
966
966
|
console.log(this.offenderId);
|
967
967
|
console.log('show staffId');
|
@@ -1564,6 +1564,10 @@ class SmartVictimDetailComponent {
|
|
1564
1564
|
this.victimDetail.genderCode = this.victimForm.value.genderCode;
|
1565
1565
|
this.victimDetail.minorFlag = this.victimForm.value.minorFlag;
|
1566
1566
|
this.victimDetail.homePhone = this.victimForm.value.homePhone;
|
1567
|
+
console.log('this.victimForm.value.homePhone');
|
1568
|
+
console.log(this.victimForm.value.homePhone);
|
1569
|
+
console.log('this.victimDetail.homePhone');
|
1570
|
+
console.log(this.victimDetail.homePhone);
|
1567
1571
|
this.victimDetail.workPhone = this.victimForm.value.workPhone;
|
1568
1572
|
this.victimDetail.cellPhone = this.victimForm.value.cellPhone;
|
1569
1573
|
this.victimDetail.email = this.victimForm.value.email;
|
@@ -1910,16 +1914,16 @@ class NgcSmartVictimComponent {
|
|
1910
1914
|
.subscribe((data) => {
|
1911
1915
|
this.victimListDataSource.data = data;
|
1912
1916
|
this.victims = data;
|
1913
|
-
|
1914
|
-
|
1915
|
-
|
1916
|
-
|
1917
|
-
|
1918
|
-
|
1919
|
-
|
1920
|
-
|
1921
|
-
|
1922
|
-
|
1917
|
+
data.forEach((d) => {
|
1918
|
+
if (d.homePhone == null || d.homePhone == "") {
|
1919
|
+
if (d.cellPhone != null && d.cellPhone != "") {
|
1920
|
+
d.homePhone = d.cellPhone;
|
1921
|
+
}
|
1922
|
+
else {
|
1923
|
+
d.homePhone = d.workPhone;
|
1924
|
+
}
|
1925
|
+
}
|
1926
|
+
});
|
1923
1927
|
console.log("victim data at line 179");
|
1924
1928
|
console.log(this.victims);
|
1925
1929
|
console.log("showListFlag");
|