From c276ce47269cc7b41515b781f59754c3334aabfd Mon Sep 17 00:00:00 2001 From: wangshiming Date: Tue, 4 Jan 2022 11:23:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E8=BE=86=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../services/freight-account.service.ts | 10 +- .../components/vehicle/vehicle.component.ts | 5 + .../modify-rate/modify-rate.component.html | 4 +- .../modify-rate/modify-rate.component.ts | 32 ++--- .../services/order-management.service.ts | 10 +- .../components/vehicle/vehicle.component.ts | 64 +++++++--- .../services/ticket.service.ts | 8 +- .../usercenter/services/usercenter.service.ts | 10 +- .../services/business/shipper-base.service.ts | 116 ++++++++++++------ 9 files changed, 169 insertions(+), 90 deletions(-) diff --git a/src/app/routes/financial-management/services/freight-account.service.ts b/src/app/routes/financial-management/services/freight-account.service.ts index a3478e5c..692df4a1 100644 --- a/src/app/routes/financial-management/services/freight-account.service.ts +++ b/src/app/routes/financial-management/services/freight-account.service.ts @@ -1,13 +1,13 @@ /* * @Author: your name * @Date: 2021-12-30 19:36:30 - * @LastEditTime: 2021-12-31 13:50:41 - * @LastEditors: your name + * @LastEditTime: 2022-01-04 10:34:31 + * @LastEditors: Please set LastEditors * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath: \tms-obc-web\src\app\routes\financial-management\services\freight-account.service.ts */ import { Injectable, Injector } from '@angular/core'; -import { BaseService, ShipperBaseService } from '@shared'; +import { BaseService, EACacheService, ShipperBaseService } from '@shared'; @Injectable({ providedIn: 'root' @@ -57,7 +57,7 @@ export class FreightAccountService extends ShipperBaseService { // 根据费用头ID查询费用单及开票明细 $api_get_cost_detail = '/api/fcc/ficoFeeL/detail'; - constructor(public injector: Injector) { - super(injector); + constructor(public injector: Injector,public eaCacheSrv: EACacheService) { + super(injector, eaCacheSrv); } } diff --git a/src/app/routes/order-management/components/vehicle/vehicle.component.ts b/src/app/routes/order-management/components/vehicle/vehicle.component.ts index 4ed2df1d..7382eefe 100644 --- a/src/app/routes/order-management/components/vehicle/vehicle.component.ts +++ b/src/app/routes/order-management/components/vehicle/vehicle.component.ts @@ -638,6 +638,11 @@ resourceStatus: any; // return false; // } }); + modal.afterClose.subscribe((result) => { + if (result) { + this.st.load(1); + } + }); } /** *修改网络货运人 diff --git a/src/app/routes/order-management/modal/vehicle/modify-rate/modify-rate.component.html b/src/app/routes/order-management/modal/vehicle/modify-rate/modify-rate.component.html index 71ed039e..0bca6cca 100644 --- a/src/app/routes/order-management/modal/vehicle/modify-rate/modify-rate.component.html +++ b/src/app/routes/order-management/modal/vehicle/modify-rate/modify-rate.component.html @@ -1,7 +1,7 @@