Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop

This commit is contained in:
Taric Xin
2022-03-02 17:53:32 +08:00
4 changed files with 21 additions and 12 deletions

View File

@ -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' },

View File

@ -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>

View File

@ -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
) {

View File

@ -244,12 +244,12 @@ export class NetworkFreightComponent implements OnInit {
ui: { placeholder: '请输入' }
},
invoiceTaxRate: {
type: 'string',
type: 'number',
title: '发票税率',
ui: { placeholder: '请输入' }
},
invoiceMaxAmount: {
type: 'string',
type: 'number',
title: '发票面额上限',
ui: { placeholder: '请输入' }
},
@ -366,7 +366,7 @@ export class NetworkFreightComponent implements OnInit {
ui: { placeholder: '请输入' }
},
invoiceTaxRate: {
type: 'string',
type: 'number',
title: '发票税率',
ui: { placeholder: '请输入' }
},