edit
This commit is contained in:
@ -271,25 +271,9 @@
|
||||
<nz-divider></nz-divider>
|
||||
<sv-container col="3" class="mt16">
|
||||
<sv-title>服务评级</sv-title>
|
||||
<sv label="服务评级">
|
||||
<nz-rate [ngModel]="2" nzDisabled></nz-rate>
|
||||
<sv [label]="item.evaluateType" *ngFor="let item of billEvaluateList">
|
||||
<nz-rate [ngModel]="item.evaluateFraction" nzDisabled></nz-rate>
|
||||
</sv>
|
||||
<sv label="运输效率">
|
||||
<nz-rate [ngModel]="2" nzDisabled></nz-rate>
|
||||
</sv>
|
||||
<sv label="运输安全">
|
||||
<nz-rate [ngModel]="2" nzDisabled></nz-rate>
|
||||
</sv>
|
||||
<sv label="服务质量">
|
||||
<nz-rate [ngModel]="2" nzDisabled></nz-rate>
|
||||
</sv>
|
||||
<sv label="客户满意度">
|
||||
<nz-rate [ngModel]="2" nzDisabled></nz-rate>
|
||||
</sv>
|
||||
<sv label="车辆整洁程度">
|
||||
<nz-rate [ngModel]="2" nzDisabled></nz-rate>
|
||||
</sv>
|
||||
|
||||
</sv-container>
|
||||
|
||||
<sv-container col="3" class="mt16">
|
||||
|
||||
@ -53,6 +53,7 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
|
||||
@ViewChild('rejectedDriverModal', { static: false })
|
||||
rejectedDriverModal!: any;
|
||||
adressCodeList: any = [];
|
||||
billEvaluateList: any = [];
|
||||
approvalOpinion = '';
|
||||
|
||||
isEditUser = false;
|
||||
@ -125,6 +126,16 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
|
||||
this.carList = res;
|
||||
}
|
||||
});
|
||||
// 获取评价信息
|
||||
this.service
|
||||
.request(this.service.$api_get_driver_billEvaluate, { passiveUserId: this.route.snapshot.params.id }, 'POST', false)
|
||||
.subscribe(res => {
|
||||
if (res) {
|
||||
this.billEvaluateList = res;
|
||||
console.log(this.billEvaluateList);
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/** 启用/冻结司机 */
|
||||
|
||||
Reference in New Issue
Block a user