车辆对接

This commit is contained in:
wangshiming
2022-01-13 14:46:05 +08:00
parent 4dc7b9490b
commit 4bd3baf238
3 changed files with 17 additions and 15 deletions

View File

@ -1,7 +1,7 @@
<!--
* @Author: your name
* @Date: 2021-12-16 10:19:08
* @LastEditTime: 2022-01-12 18:52:22
* @LastEditTime: 2022-01-13 14:44:29
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\risk-detail\risk-detail.component.html
@ -17,7 +17,7 @@
<!-- [nzExtra]="extraTemplate" -->
<nz-card nzTitle="投诉信息" [nzExtra]="cardTemplate">
<ng-template #cardTemplate>
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="viewEvaluate()" *ngIf="datailList?.complaintStatus == 1">处理</button>
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="viewEvaluate()" *ngIf="complaint?.complaintStatus == 1" [disabled]="complaintStatus">处理</button>
</ng-template>
<h2>投诉单号:{{datailList?.id}}</h2>
<sf #sf [compact]="true" [ui]="ui" [schema]="schema" [button]="'none'" *ngIf="schema" [formData]="datailList">

View File

@ -27,6 +27,7 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
complainantPartyLabel: ''
};
complaint: any;
complaintStatus = false
id: string = '';
constructor(private modal: NzModalService, public service: OrderManagementService, public ar: ActivatedRoute) {
this.id = this.ar.snapshot.params.id;
@ -186,6 +187,7 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
this.service.msgSrv.success('已拒绝!')
this.isVisibleRE = false
this.getDetail(this.id);
this.complaintStatus = true;
} else{
this.service.msgSrv.error(res?.msg)
}
@ -205,7 +207,7 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
this.service.msgSrv.success('已拒绝!')
this.isVisibleRE = false
this.getDetail(this.id);
this.complaintStatus = true;
} else{
this.service.msgSrv.error(res?.msg)
}
@ -226,8 +228,8 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
if(res) {
this.service.msgSrv.success('已通过!')
this.isVisibleRE = false
this.complaintStatus = true;
this.getDetail(this.id);
} else{
this.service.msgSrv.error(res?.msg)
}