withdrawals.component.ts 1.94 KB
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"
  }
];