edit
This commit is contained in:
@ -30,7 +30,7 @@
|
||||
</div>
|
||||
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
|
||||
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading"
|
||||
(click)="st?.load(1)" acl [acl-ability]="['CONTRACT-INDEX-searchDetail']">查询</button>
|
||||
(click)="st?.load(1)" acl [acl-ability]="['CONTRACT-INDEX-searchDetail']">查询</button>
|
||||
<button nz-button (click)="resetSF()">重置</button>
|
||||
<button nz-button nzType="link" (click)="expandToggle()">
|
||||
{{ !_$expand ? '展开' : '收起' }}
|
||||
@ -48,14 +48,15 @@
|
||||
</nz-alert>
|
||||
</div>
|
||||
|
||||
<st #st [data]="service.$api_listDetailed_page" [columns]="columns" [req]="{ params: reqParams }"
|
||||
[loading]="false" [scroll]="{ x: '1200px', y: '370px' }" (change)="stChange($event)">
|
||||
<st #st [data]="service.$api_listDetailed_page" [columns]="columns" [req]="{ params: reqParams }" [loading]="false"
|
||||
[scroll]="{ x: '1200px', y: '370px' }" (change)="stChange($event)">
|
||||
<ng-template st-row="contractCode" let-item let-index="index">
|
||||
<a [routerLink]="'/contract-management/index/detail/' + item.id">{{ item?.contractCode }}</a>
|
||||
<a (click)="service.openURL(item?.contractFilePath)">{{ item?.contractCode }}</a>
|
||||
<!-- <a [routerLink]="'/contract-management/index/detail/' + item.id">{{ item?.contractCode }}</a> -->
|
||||
</ng-template>
|
||||
<ng-template st-row="signingObject" let-item let-index="index">
|
||||
<span *ngIf="item.signingObject == 0"></span>
|
||||
<span></span>
|
||||
<span *ngIf="item.signingObject == 0"></span>
|
||||
<span></span>
|
||||
</ng-template>
|
||||
</st>
|
||||
</nz-card>
|
||||
|
||||
@ -128,7 +128,8 @@ export class OrderManagementBulkeDetailComponent implements OnInit {
|
||||
if(value ==='1'){
|
||||
this.modalTitle = '附件信息';
|
||||
// this.modalcontent = this.i?.contractContent?.contractContent;
|
||||
this.service.reviewPDF(this.i?.contractContent?.contractFilePath)
|
||||
// this.service.reviewPDF(this.i?.contractContent?.contractFilePath)
|
||||
this.service.openURL(this.i?.contractContent?.contractFilePath);
|
||||
}else if(value === '2'){
|
||||
this.modalTitle = '补充协议';
|
||||
this.modalcontent = this.i?.supplementContent?.contractContent;
|
||||
|
||||
@ -24,7 +24,7 @@ import { OrderManagementService } from '../../services/order-management.service'
|
||||
export class OrderManagementVehicleDetailComponent implements OnInit {
|
||||
id = this.route.snapshot.params.id;
|
||||
modalcontent: any;
|
||||
modalTitle:string = '';
|
||||
modalTitle: string = '';
|
||||
trajectory = 'car';
|
||||
mapList: any[] = []; //地图点位数据组
|
||||
pois: any[] = [];
|
||||
@ -55,7 +55,7 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
|
||||
{
|
||||
title: '支付状态',
|
||||
className: 'text-center',
|
||||
index: 'paymentStatusLabel',
|
||||
index: 'paymentStatusLabel'
|
||||
}
|
||||
];
|
||||
constructor(
|
||||
@ -97,15 +97,15 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
|
||||
});
|
||||
this.service.request(this.service.$api_listBillComplianceAbnormalByBillId, { id: this.id }).subscribe(res => {
|
||||
if (res) {
|
||||
console.log('风险详情')
|
||||
console.log(res)
|
||||
this.abnormalList = res
|
||||
console.log('风险详情');
|
||||
console.log(res);
|
||||
this.abnormalList = res;
|
||||
}
|
||||
});
|
||||
this.service.request(this.service.$api_getAbnormalWarningByBillId, { id: this.id }).subscribe(res => {
|
||||
if (res) {
|
||||
console.log('异常预警')
|
||||
console.log(res)
|
||||
console.log('异常预警');
|
||||
console.log(res);
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -132,15 +132,15 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
|
||||
this.router.navigate(['order-management/vehicle-detailChange', this.id]);
|
||||
}
|
||||
agreement(value: any) {
|
||||
if(value ==='1'){
|
||||
this.modalTitle = '附件信息';
|
||||
this.modalcontent = this.i?.contractContent?.contractContent;
|
||||
|
||||
}else if(value === '2'){
|
||||
if (value === '1') {
|
||||
// this.modalTitle = '附件信息';
|
||||
// this.modalcontent = this.i?.contractContent?.contractContent;
|
||||
this.service.openURL(this.i?.contractContent?.contractFilePath);
|
||||
} else if (value === '2') {
|
||||
this.modalTitle = '补充协议';
|
||||
this.modalcontent = this.i?.supplementContent?.contractContent;
|
||||
this.isVisible = true;
|
||||
}
|
||||
this.isVisible = true;
|
||||
}
|
||||
handleCancel() {
|
||||
this.isVisible = false;
|
||||
|
||||
Reference in New Issue
Block a user