This commit is contained in:
wangshiming
2022-03-23 14:49:28 +08:00
parent f5f64038c2
commit 5875c8416f
12 changed files with 100 additions and 52 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2021-12-28 14:42:03
* @LastEditors : Shiming
* @LastEditTime : 2022-03-08 14:56:43
* @LastEditTime : 2022-03-23 14:45:58
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@ -23,6 +23,8 @@ import { OrderManagementService } from '../../services/order-management.service'
})
export class OrderManagementVehicleDetailComponent implements OnInit {
id = this.route.snapshot.params.id;
modalcontent: any;
modalTitle:string = '';
trajectory = 'car';
mapList: any[] = []; //地图点位数据组
pois: any[] = [];
@ -124,7 +126,14 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
this.router.navigate(['order-management/vehicle-detailChange', this.id]);
}
agreement(value: any) {
this.imges = this.i?.agreementFilePath;
if(value ==='1'){
this.modalTitle = '附件信息';
this.modalcontent = this.i?.contractContent?.contractContent;
}else if(value === '2'){
this.modalTitle = '补充协议';
this.modalcontent = this.i?.supplementContent?.contractContent;
}
this.isVisible = true;
}
handleCancel() {