This commit is contained in:
Taric Xin
2022-03-07 09:31:46 +08:00
parent dabe8ba00e
commit bcb4f3cf56
3 changed files with 8 additions and 7 deletions

View File

@ -301,16 +301,16 @@
</sv-container> </sv-container>
<nz-divider></nz-divider> <nz-divider></nz-divider>
<sv-container col="3" class="mt16"> <sv-container col="3" class="mt-md">
<sv-title>服务评级 <sv-title>服务评级
<ng-container *ngIf="billEvaluateList?.length===0">(暂无评级)</ng-container> <ng-container *ngIf="billEvaluateList?.length===0">(暂无评级)</ng-container>
</sv-title> </sv-title>
<sv [label]="item.evaluateType" *ngFor="let item of billEvaluateList"> <sv [label]="item.evaluateTypeLabel" *ngFor="let item of billEvaluateList">
<nz-rate [ngModel]="item.evaluateFraction" nzDisabled></nz-rate> <nz-rate [ngModel]="item.evaluateFraction" nzDisabled></nz-rate>
</sv> </sv>
</sv-container> </sv-container>
<sv-container col="3" class="mt16"> <sv-container col="3" class="mt-md">
<sv-title>关联企业</sv-title> <sv-title>关联企业</sv-title>
<st #st [columns]="columns" [data]="service.$api_get_driver_projects" size="small" <st #st [columns]="columns" [data]="service.$api_get_driver_projects" size="small"
[req]="{ method: 'POST', allInBody: true, params: {appUserId:route.snapshot.params.id} }" [page]="{ show: false }" [req]="{ method: 'POST', allInBody: true, params: {appUserId:route.snapshot.params.id} }" [page]="{ show: false }"

View File

@ -42,7 +42,7 @@
</div> </div>
</div> </div>
<!-- 数据列表 --> <!-- 数据列表 -->
<st #st [columns]="columns" [data]='service.$api_freight_config_page' [req]="{ process: beforeReq }" <st #st [columns]="columns" [data]='service.$api_freight_config_page' [req]="{ process: beforeReq }" [page]="{}"
[scroll]="{ x: '1200px' }" [loading]="service.http.loading" (change)="stChange($event)"> [scroll]="{ x: '1200px' }" [loading]="service.http.loading" (change)="stChange($event)">
</st> </st>
</nz-card> </nz-card>

View File

@ -51,6 +51,7 @@ export class FreightConfigComponent implements OnInit {
}); });
} }
} }
this.selectedRows = [];
return requestOptions; return requestOptions;
}; };
@ -166,7 +167,7 @@ export class FreightConfigComponent implements OnInit {
} }
exportList() { exportList() {
const params = { listSource: 1, pageSize: -1 }; const params = { listSource: 1, pageSize: -1 };
if (this.sf) { if (this.sf) {
Object.assign(params, { Object.assign(params, {
...this.sf.value ...this.sf.value
@ -282,7 +283,7 @@ export class FreightConfigComponent implements OnInit {
format: item => `${item.contractSurchargeRatio}%` format: item => `${item.contractSurchargeRatio}%`
}, },
{ {
title: '合同单业务量(元)', title: '合同单业务量(元)',
index: 'contractQuota', index: 'contractQuota',
width: 170, width: 170,
type: 'widget', type: 'widget',
@ -290,7 +291,7 @@ export class FreightConfigComponent implements OnInit {
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.contractQuota }) } widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.contractQuota }) }
}, },
{ {
title: '货源单业务量(元)', title: '货源单业务量(元)',
index: 'goodsQuota', index: 'goodsQuota',
width: 170, width: 170,
type: 'widget', type: 'widget',