diff --git a/src/app/app-common.module.ts b/src/app/app-common.module.ts index c84a52d..2d23f50 100644 --- a/src/app/app-common.module.ts +++ b/src/app/app-common.module.ts @@ -55,17 +55,16 @@ import { OrderStatusPipe, OrderPayTypePipe, OrderChildGoodsTypePipe, - OrderRefundStatusPipe + OrderRefundStatusPipe, + OilCardStatusPipe, + OrderOilStatusPipe, + PlatformPipe, + OilTypePipe, + OilPriceTaskStatusPipe, + OilPriceTaskExecutionTypePipe, OilPriceTaskPriceTypePipe } from './pipes'; -import {OilCardStatusPipe} from './pipes'; -import {OilTypePipe} from './pipes/store/oil-type.pipe'; -import {OilPriceTaskStatusPipe} from './pipes/gas-oil-price/oil-price-task-status.pipe'; -import {OilPriceTaskExecutionTypePipe} from './pipes/gas-oil-price/oil-price-task-execution-type.pipe'; -import {OilPriceTaskPriceTypePipe} from './pipes/gas-oil-price/oil-price-task-price-type.pipe'; -import { PlatformPipe } from './pipes/recharge-pipe/platform.pipe'; -import { IntegralTypePipe } from './pipes/integral/integral-type.pipe'; -import { IntegralProductPipe } from './pipes/integral/integral-product.pipe'; -import {OrderOilStatusPipe} from './pipes/order/order-oil-status.pipe'; + + const PIPES = [ TimesPipe, @@ -134,14 +133,12 @@ const PIPES = [ ], declarations: [ ...PIPES, - IntegralTypePipe, - IntegralProductPipe, + ], exports: [ ...PIPES, - IntegralTypePipe, - IntegralProductPipe, + ], }) diff --git a/src/app/pipes/index.ts b/src/app/pipes/index.ts index 300c80a..588c01b 100644 --- a/src/app/pipes/index.ts +++ b/src/app/pipes/index.ts @@ -47,3 +47,9 @@ export * from './order/order-pay-type.pipe'; export * from './order/order-child-goods-type.pipe'; export * from './third-product/product-type.pipe'; export * from './order/order-refund-status.pipe'; +export * from './store/oil-type.pipe'; +export * from './gas-oil-price/oil-price-task-status.pipe'; +export * from './gas-oil-price/oil-price-task-execution-type.pipe'; +export * from './gas-oil-price/oil-price-task-price-type.pipe'; +export * from './integral/integral-type.pipe'; +export * from './integral/integral-product.pipe';