1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
| export namespace LifeRechargeConstants {
| export enum LifePayRateTypeEnum {
| '默认话费折扣' = 10,
| '默认电费折扣' = 20,
|
| 默认燃气折扣 = 30,
|
| 供应商折扣价 = 40,
| }
|
| export enum LifePayTypeEnum {
| WxPay = 10,
| AliPay = 20,
| }
|
| export enum LifePayOrderTypeEnum {
| 话费订单 = 10,
| 电费订单 = 20,
| 燃气订单 = 30,
| }
|
| export enum LifePayStatusEnum {
| 未支付 = 10,
|
| 已支付 = 20,
|
| 待退款 = 30,
|
| 已退款 = 40,
| }
|
| export enum LifePayOrderStatusEnum {
| 待确认 = 10,
|
| 已失败 = 20,
|
| 已完成 = 30,
| }
|
| export enum IspCode {
| /**中国移动 */
| yidong = 'yidong',
| /**中国电信 */
| dianxin = 'dianxin',
| /**中国联通 */
| liantong = 'liantong',
| }
|
| export const IspCodeText = {
| [IspCode.yidong]: '中国移动',
| [IspCode.dianxin]: '中国电信',
| [IspCode.liantong]: '中国联通',
| };
|
| export enum ElectricType {
| /**国家电网 */
| guowang = 'guowang',
| /**南方电网 */
| nanwang = 'nanwang',
| }
|
| export const ElectricTypeText = {
| [ElectricType.guowang]: '国家电网',
| [ElectricType.nanwang]: '南方电网',
| };
|
| export enum ElectricAccountType {
| /**住宅 */
| house = 'house',
| /**企事业 */
| enterprise = 'enterprise',
| /**店铺 */
| shop = 'shop',
| /**店铺-不建议使用 */
| nanwashopng = 'nanwashopng',
| }
|
| export const ElectricAccountTypeText = {
| [ElectricAccountType.house]: '住宅',
| [ElectricAccountType.enterprise]: '企事业',
| [ElectricAccountType.shop]: '店铺',
| [ElectricAccountType.nanwashopng]: '店铺-不建议使用',
| };
|
| export enum GasOrgCodeEnum {
| 中国燃气 = 'zhong_guo',
| 新奥燃气 = 'xin_ao',
| 华润燃气 = 'hua_run',
| 港华燃气 = 'gang_hua',
| 中燃燃气 = 'zhong_ran',
| 北京燃气 = 'bei_jing',
| }
|
| export const GasOrgCodeEnumText = {
| [GasOrgCodeEnum.中国燃气]: '中国燃气',
| [GasOrgCodeEnum.新奥燃气]: '新奥燃气',
| [GasOrgCodeEnum.华润燃气]: '华润燃气',
| [GasOrgCodeEnum.港华燃气]: '港华燃气',
| [GasOrgCodeEnum.中燃燃气]: '中燃燃气',
| [GasOrgCodeEnum.北京燃气]: '北京燃气',
| };
| }
|
|