This commit is contained in:
wangshiming
2022-02-17 15:41:20 +08:00
parent b9495a8753
commit 4a23973789
2 changed files with 11 additions and 9 deletions

View File

@ -634,14 +634,14 @@ export class CarSettleCarauthComponent implements OnInit {
params.certificatePhotoFront = this.detailData.certificatePhotoFront; params.certificatePhotoFront = this.detailData.certificatePhotoFront;
params.certificatePhotoBack = this.detailData.certificatePhotoBack; params.certificatePhotoBack = this.detailData.certificatePhotoBack;
params.roadTransportPhoto = this.detailData.roadTransportPhoto; params.roadTransportPhoto = this.detailData.roadTransportPhoto;
params.carFrontPhotoWatermark = this.sf.value.carFrontPhotoWatermark.data.fullFilePath params.carFrontPhotoWatermark = this.sf.value.carFrontPhotoWatermark?.data?.fullFilePath || this.sf.value.carFrontPhotoWatermark
params.carProtocalWatermark = this.sf.value.carProtocalWatermark.data.fullFilePath params.carProtocalWatermark = this.sf.value.carProtocalWatermark?.data?.fullFilePath || this.sf.value.carProtocalWatermark
params.certificatePhotoBackWatermark = this.sf.value.certificatePhotoBackWatermark.data.fullFilePath params.certificatePhotoBackWatermark = this.sf.value.certificatePhotoBackWatermark?.data?.fullFilePath || this.sf.value.certificatePhotoBackWatermark
params.certificatePhotoFrontWatermark = this.sf.value.certificatePhotoFrontWatermark.data.fullFilePath params.certificatePhotoFrontWatermark = this.sf.value.certificatePhotoFrontWatermark?.data?.fullFilePath || this.sf.value.certificatePhotoFrontWatermark
params.roadTransportPhotoWatermark = this.sf.value.roadTransportPhotoWatermark.data.fullFilePath params.roadTransportPhotoWatermark = this.sf.value.roadTransportPhotoWatermark?.data?.fullFilePath || this.sf.value.roadTransportPhotoWatermark
delete params.titleA; delete params.titleA;
delete params.titleB; delete params.titleB;
this.service.request(this.service.$api_saveUpdateShipperCar, params).subscribe(res => { this.service.request(this.service.$api_addOrUpdateCarLicenseInfo, params).subscribe(res => {
if (res) { if (res) {
this.service.msgSrv.success('添加成功'); this.service.msgSrv.success('添加成功');
this.modal.close(true); this.modal.close(true);

View File

@ -1,10 +1,10 @@
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-11-29 15:22:34 * @Date: 2021-11-29 15:22:34
* @LastEditTime: 2022-01-14 15:02:51 * @LastEditTime : 2022-02-17 15:38:07
* @LastEditors: Please set LastEditors * @LastEditors : Shiming
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \tms-obc-web\src\app\routes\usercenter\services\usercenter.service.ts * @FilePath : \\tms-obc-web\\src\\app\\routes\\vehicle\\services\\vehicle.service.ts
*/ */
import { Injectable, Injector } from '@angular/core'; import { Injectable, Injector } from '@angular/core';
import { _HttpClient } from '@delon/theme'; import { _HttpClient } from '@delon/theme';
@ -64,6 +64,8 @@ export class VehicleService extends BaseService {
$api_recognizeVehicleLicense = '/api/mdc/pbc/hwc/ocr/recognizeVehicleLicense'; $api_recognizeVehicleLicense = '/api/mdc/pbc/hwc/ocr/recognizeVehicleLicense';
// 保存货主车辆关联表 // 保存货主车辆关联表
$api_saveUpdateShipperCar = '/api/mdc/shipperCar/saveUpdateShipperCar'; $api_saveUpdateShipperCar = '/api/mdc/shipperCar/saveUpdateShipperCar';
// 添加车辆信息
$api_addOrUpdateCarLicenseInfo = '/api/mdc/cuc/carLicenseAudit/operate/addOrUpdateCarLicenseInfo';
constructor(public injector: Injector) { constructor(public injector: Injector) {
super(injector); super(injector);
} }