withdrawals.component.ts
1.94 KB
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
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-withdrawals',
templateUrl: './withdrawals.component.html',
styleUrls: ['./withdrawals.component.scss']
})
export class WithdrawalsComponent implements OnInit {
withdrawDataSOurce = WITHDRAW_DATA;
constructor() { }
ngOnInit() {
}
}
export interface WithdrawDataElement {
withdrawId: string;
userName: string;
amount: number;
accountNo: string;
bankName: string;
remoteIp: string;
status: string;
createTime: string;
executeTime: string;
remark: string;
}
const WITHDRAW_DATA: WithdrawDataElement[] = [
{
withdrawId: "1",
userName: "test",
amount: 1500,
accountNo: "123456789",
bankName: "IBC",
remoteIp: "0.0.0.0",
status: "pending",
createTime: "13-12-1992 00:00:0000",
executeTime: "13-12-1992 00:00:0000",
remark: "withdraw"
},
{
withdrawId: "2",
userName: "test",
amount: 1500,
accountNo: "123456789",
bankName: "IBC",
remoteIp: "0.0.0.0",
status: "pending",
createTime: "13-12-1992 00:00:0000",
executeTime: "13-12-1992 00:00:0000",
remark: "withdraw"
},
{
withdrawId: "3",
userName: "test",
amount: 1500,
accountNo: "123456789",
bankName: "IBC",
remoteIp: "0.0.0.0",
status: "pending",
createTime: "13-12-1992 00:00:0000",
executeTime: "13-12-1992 00:00:0000",
remark: "withdraw"
},
{
withdrawId: "4",
userName: "test",
amount: 1500,
accountNo: "123456789",
bankName: "IBC",
remoteIp: "0.0.0.0",
status: "pending",
createTime: "13-12-1992 00:00:0000",
executeTime: "13-12-1992 00:00:0000",
remark: "withdraw"
},
{
withdrawId: "5",
userName: "test",
amount: 1500,
accountNo: "123456789",
bankName: "IBC",
remoteIp: "0.0.0.0",
status: "pending",
createTime: "13-12-1992 00:00:0000",
executeTime: "13-12-1992 00:00:0000",
remark: "withdraw"
}
];