fix bug
This commit is contained in:
@ -20,7 +20,7 @@ export class SupplyManagementBulkDetailComponent implements OnInit {
|
||||
logColumns: STColumn[] = [
|
||||
{ title: '内容', index: 'operationContent' },
|
||||
{ title: '操作人', index: 'operator' },
|
||||
{ title: '操作时间', index: ' operatorTimestamp' },
|
||||
{ title: '操作时间', index: 'operatorTimestamp' },
|
||||
];
|
||||
driverColums: STColumn[] = [
|
||||
{ title: '司机姓名', index: 'theme' },
|
||||
|
||||
@ -212,6 +212,10 @@
|
||||
</sv-container>
|
||||
</nz-card>
|
||||
<nz-card nzTitle="操作日志">
|
||||
<st #st [data]="i?.auditRecordList" [columns]="logColumns" [ps]="0" [page]="{ show: false, showSize: false }"> </st>
|
||||
<st #st [data]="service.$api_getOperationLogRecordsList" [columns]="logColumns"
|
||||
[page]="{ show: false, showSize: false }"
|
||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }">
|
||||
</st>
|
||||
</nz-card>
|
||||
</div>
|
||||
|
||||
@ -17,15 +17,15 @@ export class SupplyManagementVehicleDetailComponent implements OnInit {
|
||||
|
||||
id = this.route.snapshot.params.id;
|
||||
i: any;
|
||||
logColumns: STColumn[] = [
|
||||
{ title: '内容', index: 'theme' },
|
||||
{ title: '操作人', index: 'operationUserPhone' },
|
||||
{ title: '操作时间', index: ' createTime' },
|
||||
];
|
||||
serviceType: any = {
|
||||
1: '抢单',
|
||||
2: '指派'
|
||||
}
|
||||
logColumns: STColumn[] = [
|
||||
{ title: '内容', index: 'operationContent' },
|
||||
{ title: '操作人', index: 'operator' },
|
||||
{ title: '操作时间', index: 'operatorTimestamp' },
|
||||
];
|
||||
totalObj: any;
|
||||
attObj: any;
|
||||
status: any = { 1: '待接单', 2: '已接单', 3: '已取消' };
|
||||
@ -50,11 +50,16 @@ export class SupplyManagementVehicleDetailComponent implements OnInit {
|
||||
render: 'price'
|
||||
},
|
||||
];
|
||||
|
||||
get reqParams() {
|
||||
return {
|
||||
operateObject: this.i?.resourceCode,
|
||||
operateType: 4,
|
||||
};
|
||||
}
|
||||
constructor(
|
||||
private route: ActivatedRoute,
|
||||
private msgSrv: NzMessageService,
|
||||
private service: SupplyManagementService,
|
||||
public service: SupplyManagementService,
|
||||
public modal: NzModalService,
|
||||
public router: Router
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user