车辆接口更新
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-18 09:51:21
|
* @Date : 2022-01-18 09:51:21
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-01-25 15:35:06
|
* @LastEditTime : 2022-01-25 16:49:35
|
||||||
* @FilePath : \\tms-obc-web\\proxy.conf.js
|
* @FilePath : \\tms-obc-web\\proxy.conf.js
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -20,7 +20,7 @@ module.exports = {
|
|||||||
// }
|
// }
|
||||||
'//api': {
|
'//api': {
|
||||||
target: {
|
target: {
|
||||||
host: 'tms-api-test.eascs.com',
|
host: 'tms-api-dev.eascs.com',
|
||||||
protocol: 'https:',
|
protocol: 'https:',
|
||||||
port: 443
|
port: 443
|
||||||
},
|
},
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-12 10:52:50
|
* @Date : 2022-01-12 10:52:50
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-01-24 09:53:48
|
* @LastEditTime : 2022-01-25 16:52:29
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk\\bulk.component.html
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk\\bulk.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
@ -200,16 +200,21 @@
|
|||||||
<nz-modal [(nzVisible)]="isVisibleEvaluate" [nzWidth]="600" [nzFooter]="nzModalFooterEvaluate" (nzOnOk)="handleOK()" (nzOnCancel)="handleCancel('2')">
|
<nz-modal [(nzVisible)]="isVisibleEvaluate" [nzWidth]="600" [nzFooter]="nzModalFooterEvaluate" (nzOnOk)="handleOK()" (nzOnCancel)="handleCancel('2')">
|
||||||
<ng-container *nzModalContent>
|
<ng-container *nzModalContent>
|
||||||
<nz-tabset>
|
<nz-tabset>
|
||||||
<nz-tab nzTitle="我的评价">
|
<nz-tab nzTitle="货主评价">
|
||||||
<div>
|
<sv-container col="1" labelWidth="90">
|
||||||
评分: <nz-rate [ngModel]="2.5" nzAllowHalf></nz-rate>
|
<sv [label]="i.evaluateTypeLabel"*ngFor="let i of shipList" >
|
||||||
<div><span>评价内容:</span></div>
|
<nz-rate [ngModel]="i.evaluateFraction" nzDisabled="true"></nz-rate>
|
||||||
</div>
|
</sv>
|
||||||
|
</sv-container>
|
||||||
|
<div *ngIf="shipList.length < 1">暂无评价内容</div>
|
||||||
</nz-tab>
|
</nz-tab>
|
||||||
<nz-tab nzTitle="司机评价">
|
<nz-tab nzTitle="司机评价">
|
||||||
<div>
|
<sv-container col="1" labelWidth="90">
|
||||||
暂无评价内容
|
<sv [label]="i.evaluateTypeLabel"*ngFor="let i of diverList" >
|
||||||
</div>
|
<nz-rate [ngModel]="i.evaluateFraction" nzDisabled="true"></nz-rate>
|
||||||
|
</sv>
|
||||||
|
</sv-container>
|
||||||
|
<div *ngIf="diverList.length < 1">暂无评价内容</div>
|
||||||
</nz-tab>
|
</nz-tab>
|
||||||
</nz-tabset>
|
</nz-tabset>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|||||||
@ -30,6 +30,8 @@ export class OrderManagementBulkComponent implements OnInit {
|
|||||||
changeViewId: any; // 查看运费变更记录id - 用于查看
|
changeViewId: any; // 查看运费变更记录id - 用于查看
|
||||||
ViewCause: any; // 变更运费查看数据
|
ViewCause: any; // 变更运费查看数据
|
||||||
sfViewFormData: any; // 变更运费查看的sf 数据
|
sfViewFormData: any; // 变更运费查看的sf 数据
|
||||||
|
shipList: any; // 货主评价 数据
|
||||||
|
diverList: any; // 司机评价 数据
|
||||||
@ViewChild('st') private readonly st!: STComponent;
|
@ViewChild('st') private readonly st!: STComponent;
|
||||||
@ViewChild('stFloat') private readonly stFloat!: STComponent;
|
@ViewChild('stFloat') private readonly stFloat!: STComponent;
|
||||||
@ViewChild('stFloatView') private readonly stFloatView!: STComponent;
|
@ViewChild('stFloatView') private readonly stFloatView!: STComponent;
|
||||||
@ -635,9 +637,12 @@ export class OrderManagementBulkComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
this.service.request(this.service.$api_getBillEvaluateByShipper, params).subscribe(res => {
|
this.service.request(this.service.$api_getBillEvaluateByShipper, params).subscribe(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
console.log(res.evaluateInfos)
|
||||||
|
this.shipList = res.evaluateInfos
|
||||||
});
|
});
|
||||||
this.service.request(this.service.$api_getBillEvaluateDriverByShipper, params2).subscribe(res => {
|
this.service.request(this.service.$api_getBillEvaluateDriverByShipper, params2).subscribe(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
this.diverList = res.evaluateInfos
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-12 10:52:50
|
* @Date : 2022-01-12 10:52:50
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-01-19 14:39:41
|
* @LastEditTime : 2022-01-25 16:34:30
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle\\vehicle.component.html
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle\\vehicle.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
@ -177,16 +177,21 @@
|
|||||||
<nz-modal [(nzVisible)]="isVisibleEvaluate" [nzWidth]="600" [nzFooter]="nzModalFooterEvaluate" (nzOnCancel)="handleCancel('2')">
|
<nz-modal [(nzVisible)]="isVisibleEvaluate" [nzWidth]="600" [nzFooter]="nzModalFooterEvaluate" (nzOnCancel)="handleCancel('2')">
|
||||||
<ng-container *nzModalContent>
|
<ng-container *nzModalContent>
|
||||||
<nz-tabset>
|
<nz-tabset>
|
||||||
<nz-tab nzTitle="我的评价">
|
<nz-tab nzTitle="货主评价">
|
||||||
<div>
|
<sv-container col="1" labelWidth="90">
|
||||||
评分: <nz-rate [ngModel]="2.5" nzAllowHalf></nz-rate>
|
<sv [label]="i.evaluateTypeLabel"*ngFor="let i of shipList" >
|
||||||
<div><span>评价内容:</span></div>
|
<nz-rate [ngModel]="i.evaluateFraction" nzDisabled="true"></nz-rate>
|
||||||
</div>
|
</sv>
|
||||||
|
</sv-container>
|
||||||
|
<div *ngIf="shipList.length < 1">暂无评价内容</div>
|
||||||
</nz-tab>
|
</nz-tab>
|
||||||
<nz-tab nzTitle="司机评价">
|
<nz-tab nzTitle="司机评价">
|
||||||
<div>
|
<sv-container col="1" labelWidth="90">
|
||||||
暂无评价内容
|
<sv [label]="i.evaluateTypeLabel"*ngFor="let i of diverList" >
|
||||||
</div>
|
<nz-rate [ngModel]="i.evaluateFraction" nzDisabled="true"></nz-rate>
|
||||||
|
</sv>
|
||||||
|
</sv-container>
|
||||||
|
<div *ngIf="diverList.length < 1">暂无评价内容</div>
|
||||||
</nz-tab>
|
</nz-tab>
|
||||||
</nz-tabset>
|
</nz-tabset>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|||||||
@ -29,6 +29,8 @@ export class OrderManagementVehicleComponent implements OnInit {
|
|||||||
changeId: any; // 主页面查看运费变更记录id - 用于运费变更记录
|
changeId: any; // 主页面查看运费变更记录id - 用于运费变更记录
|
||||||
changeViewId: any; // 查看运费变更记录id - 用于查看
|
changeViewId: any; // 查看运费变更记录id - 用于查看
|
||||||
ViewCause: any; // 变更运费查看数据
|
ViewCause: any; // 变更运费查看数据
|
||||||
|
shipList: any; // 货主评价 数据
|
||||||
|
diverList: any; // 司机评价 数据
|
||||||
_$expand = false;
|
_$expand = false;
|
||||||
@ViewChild('st') private readonly st!: STComponent;
|
@ViewChild('st') private readonly st!: STComponent;
|
||||||
@ViewChild('stFloat') private readonly stFloat!: STComponent;
|
@ViewChild('stFloat') private readonly stFloat!: STComponent;
|
||||||
@ -598,9 +600,12 @@ resourceStatus: any;
|
|||||||
}
|
}
|
||||||
this.service.request(this.service.$api_getBillEvaluateByShipper, params).subscribe(res => {
|
this.service.request(this.service.$api_getBillEvaluateByShipper, params).subscribe(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
this.shipList = res.evaluateInfos
|
||||||
|
|
||||||
});
|
});
|
||||||
this.service.request(this.service.$api_getBillEvaluateDriverByShipper, params2).subscribe(res => {
|
this.service.request(this.service.$api_getBillEvaluateDriverByShipper, params2).subscribe(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
this.diverList = res.evaluateInfos
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user