车辆对接

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)
}

View File

@ -119,19 +119,19 @@ export class OrderManagementComplaintComponent implements OnInit {
this.columns = [
{
title: '投诉单号',
width: '100px',
width: '170px',
className: 'text-center',
render: 'complaintCode'
},
{
title: '运单号',
width: '100px',
width: '170px',
className: 'text-center',
index: 'wayBillCode'
},
{
title: '投诉时间',
width: '100px',
width: '170px',
index: 'complainantTime',
className: 'text-center',
},
@ -140,7 +140,7 @@ export class OrderManagementComplaintComponent implements OnInit {
{
title: '投诉原因',
className: 'text-center',
width: '120px',
width: '170px',
index: 'complaintCauseLabel'
},
{
@ -151,7 +151,7 @@ export class OrderManagementComplaintComponent implements OnInit {
}, {
title: '处理结果',
className: 'text-center',
width: '120px',
width: '170px',
index:'handleResult'
},
{
@ -169,14 +169,14 @@ export class OrderManagementComplaintComponent implements OnInit {
{
title: '操作',
fixed: 'right',
width: '200px',
width: '100px',
className: 'text-left',
buttons: [
{
text: '处理',
click: (_record) => this.viewEvaluate(_record),
iif: (item) => item.complaintStatus == 1
},
// {
// text: '处理',
// click: (_record) => this.viewEvaluate(_record),
// iif: (item) => item.complaintStatus == 1
// },
{
text: '查看',
click: (_record) => this.view(_record),