fix bug
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2021-12-28 14:42:03
|
* @Date : 2021-12-28 14:42:03
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-04-13 19:00:48
|
* @LastEditTime : 2022-04-13 19:04:48
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.html
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
@ -248,12 +248,12 @@
|
|||||||
</nz-tab>
|
</nz-tab>
|
||||||
<nz-tab nzTitle="操作日志">
|
<nz-tab nzTitle="操作日志">
|
||||||
<st #logSt [data]="service.$api_get_log_list" [columns]="operateLogColums"
|
<st #logSt [data]="service.$api_get_log_list" [columns]="operateLogColums"
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: logParams ,lazyLoad:true}"
|
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: logParams ,lazyLoad:true}"
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }">
|
[res]="{ reName: { list: 'data.records', total: 'data.total' } }">
|
||||||
<ng-template st-row="operator" let-item>
|
<ng-template st-row="operator" let-item>
|
||||||
{{item?.operator}}/{{item.telephone}}
|
{{item?.operator}}/{{item.telephone}}
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</st>
|
</st>
|
||||||
</nz-tab>
|
</nz-tab>
|
||||||
</nz-tabset>
|
</nz-tabset>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
|
|||||||
@ -4,13 +4,13 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2021-12-28 14:42:03
|
* @Date : 2021-12-28 14:42:03
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-04-13 18:51:46
|
* @LastEditTime : 2022-04-13 19:06:44
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.ts
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||||
import { ActivatedRoute, Router } from '@angular/router';
|
import { ActivatedRoute, Router } from '@angular/router';
|
||||||
import { STColumn } from '@delon/abc/st';
|
import { STColumn, STComponent } from '@delon/abc/st';
|
||||||
import { NzCardComponent } from 'ng-zorro-antd/card';
|
import { NzCardComponent } from 'ng-zorro-antd/card';
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||||
@ -23,6 +23,7 @@ import { OrderManagementService } from '../../services/order-management.service'
|
|||||||
})
|
})
|
||||||
export class OrderManagementVehicleDetailComponent implements OnInit {
|
export class OrderManagementVehicleDetailComponent implements OnInit {
|
||||||
id = this.route.snapshot.params.id;
|
id = this.route.snapshot.params.id;
|
||||||
|
@ViewChild('logSt') logSt!: STComponent;
|
||||||
modalcontent: any;
|
modalcontent: any;
|
||||||
modalTitle: string = '';
|
modalTitle: string = '';
|
||||||
trajectory = 'car';
|
trajectory = 'car';
|
||||||
@ -68,9 +69,7 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
|
|||||||
index: 'paymentStatusLabel'
|
index: 'paymentStatusLabel'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
get logParams() {
|
|
||||||
return { operateObject: this.i?.billCode, operateTypeList: ['3','8'] }
|
|
||||||
}
|
|
||||||
constructor(
|
constructor(
|
||||||
public route: ActivatedRoute,
|
public route: ActivatedRoute,
|
||||||
private msgSrv: NzMessageService,
|
private msgSrv: NzMessageService,
|
||||||
@ -83,7 +82,9 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
|
|||||||
this.initData();
|
this.initData();
|
||||||
this.getTrajectory();
|
this.getTrajectory();
|
||||||
}
|
}
|
||||||
|
get logParams() {
|
||||||
|
return { operateObject: this.i?.billCode, operateTypeList: ['3','8'] }
|
||||||
|
}
|
||||||
initData() {
|
initData() {
|
||||||
this.service.request(this.service.$api_get_getWholeBillDetail, { id: this.id }).subscribe(res => {
|
this.service.request(this.service.$api_get_getWholeBillDetail, { id: this.id }).subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
@ -126,6 +127,9 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
|
|||||||
this.warringList = res
|
this.warringList = res
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
setTimeout(() => {
|
||||||
|
this.logSt.load(1);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
// 取消订单
|
// 取消订单
|
||||||
cancellation() {
|
cancellation() {
|
||||||
|
|||||||
Reference in New Issue
Block a user