This commit is contained in:
wangshiming
2022-04-28 20:26:30 +08:00
parent 6cc12ff451
commit 2aeaa09e14
112 changed files with 339 additions and 339 deletions

View File

@ -735,7 +735,7 @@ export class CarSettleCarauthComponent implements OnInit {
submitForm() {
const params: any = {
appUserId: this.i.appUserId,
...this.sf.value,
...this.sf?.value,
bindType: this.i.bindType
};
params.carFrontPhoto = this.detailData.carFrontPhoto;

View File

@ -116,11 +116,11 @@ export class VehicleComponentsListEditComponent implements OnInit {
this.modal.destroy();
}
sure() {
console.log(this.sf.value);
console.log(this.sf?.value);
const params ={
carProtocal: this.sf.value.carProtocal,
carProtocalWatermark: this.sf.value.carProtocalWatermark,
carProtocal: this.sf?.value.carProtocal,
carProtocalWatermark: this.sf?.value.carProtocalWatermark,
id: this.i.id
}
this.service.request(this.service.$api_get_upLoadCarProtocal, params).subscribe((res) => {

View File

@ -26,7 +26,7 @@ export class VehicleComponentsListComponent implements OnInit {
*/
get reqParams() {
const params: any = {
...(this.sf && this.sf.value)
...(this.sf && this.sf?.value)
};
if (this.sf?.value.effectiveDate) {
params.effectiveDateStart = this.sf?.value.effectiveDate[0];