车辆对接
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Author: your name
|
||||||
* @Date: 2021-12-16 10:19:08
|
* @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
|
* @LastEditors: Please set LastEditors
|
||||||
* @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\order-management\components\risk-detail\risk-detail.component.html
|
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\risk-detail\risk-detail.component.html
|
||||||
@ -17,7 +17,7 @@
|
|||||||
<!-- [nzExtra]="extraTemplate" -->
|
<!-- [nzExtra]="extraTemplate" -->
|
||||||
<nz-card nzTitle="投诉信息" [nzExtra]="cardTemplate">
|
<nz-card nzTitle="投诉信息" [nzExtra]="cardTemplate">
|
||||||
<ng-template #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>
|
</ng-template>
|
||||||
<h2>投诉单号:{{datailList?.id}}</h2>
|
<h2>投诉单号:{{datailList?.id}}</h2>
|
||||||
<sf #sf [compact]="true" [ui]="ui" [schema]="schema" [button]="'none'" *ngIf="schema" [formData]="datailList">
|
<sf #sf [compact]="true" [ui]="ui" [schema]="schema" [button]="'none'" *ngIf="schema" [formData]="datailList">
|
||||||
|
|||||||
@ -27,6 +27,7 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
|||||||
complainantPartyLabel: ''
|
complainantPartyLabel: ''
|
||||||
};
|
};
|
||||||
complaint: any;
|
complaint: any;
|
||||||
|
complaintStatus = false
|
||||||
id: string = '';
|
id: string = '';
|
||||||
constructor(private modal: NzModalService, public service: OrderManagementService, public ar: ActivatedRoute) {
|
constructor(private modal: NzModalService, public service: OrderManagementService, public ar: ActivatedRoute) {
|
||||||
this.id = this.ar.snapshot.params.id;
|
this.id = this.ar.snapshot.params.id;
|
||||||
@ -186,6 +187,7 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
|||||||
this.service.msgSrv.success('已拒绝!')
|
this.service.msgSrv.success('已拒绝!')
|
||||||
this.isVisibleRE = false
|
this.isVisibleRE = false
|
||||||
this.getDetail(this.id);
|
this.getDetail(this.id);
|
||||||
|
this.complaintStatus = true;
|
||||||
} else{
|
} else{
|
||||||
this.service.msgSrv.error(res?.msg)
|
this.service.msgSrv.error(res?.msg)
|
||||||
}
|
}
|
||||||
@ -205,7 +207,7 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
|||||||
this.service.msgSrv.success('已拒绝!')
|
this.service.msgSrv.success('已拒绝!')
|
||||||
this.isVisibleRE = false
|
this.isVisibleRE = false
|
||||||
this.getDetail(this.id);
|
this.getDetail(this.id);
|
||||||
|
this.complaintStatus = true;
|
||||||
} else{
|
} else{
|
||||||
this.service.msgSrv.error(res?.msg)
|
this.service.msgSrv.error(res?.msg)
|
||||||
}
|
}
|
||||||
@ -226,8 +228,8 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
|||||||
if(res) {
|
if(res) {
|
||||||
this.service.msgSrv.success('已通过!')
|
this.service.msgSrv.success('已通过!')
|
||||||
this.isVisibleRE = false
|
this.isVisibleRE = false
|
||||||
|
this.complaintStatus = true;
|
||||||
this.getDetail(this.id);
|
this.getDetail(this.id);
|
||||||
|
|
||||||
} else{
|
} else{
|
||||||
this.service.msgSrv.error(res?.msg)
|
this.service.msgSrv.error(res?.msg)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -119,19 +119,19 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
this.columns = [
|
this.columns = [
|
||||||
{
|
{
|
||||||
title: '投诉单号',
|
title: '投诉单号',
|
||||||
width: '100px',
|
width: '170px',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
render: 'complaintCode'
|
render: 'complaintCode'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '运单号',
|
title: '运单号',
|
||||||
width: '100px',
|
width: '170px',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
index: 'wayBillCode'
|
index: 'wayBillCode'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '投诉时间',
|
title: '投诉时间',
|
||||||
width: '100px',
|
width: '170px',
|
||||||
index: 'complainantTime',
|
index: 'complainantTime',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
},
|
},
|
||||||
@ -140,7 +140,7 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
{
|
{
|
||||||
title: '投诉原因',
|
title: '投诉原因',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
width: '120px',
|
width: '170px',
|
||||||
index: 'complaintCauseLabel'
|
index: 'complaintCauseLabel'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -151,7 +151,7 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
}, {
|
}, {
|
||||||
title: '处理结果',
|
title: '处理结果',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
width: '120px',
|
width: '170px',
|
||||||
index:'handleResult'
|
index:'handleResult'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -169,14 +169,14 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
width: '200px',
|
width: '100px',
|
||||||
className: 'text-left',
|
className: 'text-left',
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
// {
|
||||||
text: '处理',
|
// text: '处理',
|
||||||
click: (_record) => this.viewEvaluate(_record),
|
// click: (_record) => this.viewEvaluate(_record),
|
||||||
iif: (item) => item.complaintStatus == 1
|
// iif: (item) => item.complaintStatus == 1
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
text: '查看',
|
text: '查看',
|
||||||
click: (_record) => this.view(_record),
|
click: (_record) => this.view(_record),
|
||||||
|
|||||||
Reference in New Issue
Block a user