新增话费支付类型

pull/1/head
袁野 3 years ago
parent 5c37ed9bd9
commit 3a74fc8cdf
  1. 19
      src/app/pipes/recharge-pay-type.pipe.ts

@ -0,0 +1,19 @@
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'rechargePayType'
})
export class RechargePayTypePipe implements PipeTransform {
transform(value: number): string {
switch (value) {
case 1:
return '微信';
case 2:
return '工会卡';
case 3:
return '积分';
}
}
}
Loading…
Cancel
Save