Просмотр исходного кода

added list-all-loans component as main comonent for loan editing.

tags/2.037
Patrick Sun 4 лет назад
Родитель
Сommit
3813d79c37
5 измененных файлов: 44 добавлений и 1 удалений
  1. +3
    -1
      src/app/app.module.ts
  2. +1
    -0
      src/app/list-all-loans/list-all-loans.component.html
  3. +0
    -0
      src/app/list-all-loans/list-all-loans.component.scss
  4. +25
    -0
      src/app/list-all-loans/list-all-loans.component.spec.ts
  5. +15
    -0
      src/app/list-all-loans/list-all-loans.component.ts

+ 3
- 1
src/app/app.module.ts Просмотреть файл

@@ -50,6 +50,7 @@ import { ChartAmountOfLoansComponent } from './chart-amount-of-loans/chart-amoun
import { ChartPastYearMonthlyPerformanceComponent } from './chart-past-year-monthly-performance/chart-past-year-monthly-performance.component';
import { ChartRecentTenLoansComponent } from './chart-recent-ten-loans/chart-recent-ten-loans.component';
import { ChartTopBrokersComponent } from './chart-top-brokers/chart-top-brokers.component';
import { ListAllLoansComponent } from './list-all-loans/list-all-loans.component';



@@ -72,7 +73,8 @@ import { ChartTopBrokersComponent } from './chart-top-brokers/chart-top-brokers.
ChartAmountOfLoansComponent,
ChartPastYearMonthlyPerformanceComponent,
ChartRecentTenLoansComponent,
ChartTopBrokersComponent
ChartTopBrokersComponent,
ListAllLoansComponent
],
imports: [
BrowserModule,

+ 1
- 0
src/app/list-all-loans/list-all-loans.component.html Просмотреть файл

@@ -0,0 +1 @@
<p>list-all-loans works!</p>

+ 0
- 0
src/app/list-all-loans/list-all-loans.component.scss Просмотреть файл


+ 25
- 0
src/app/list-all-loans/list-all-loans.component.spec.ts Просмотреть файл

@@ -0,0 +1,25 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { ListAllLoansComponent } from './list-all-loans.component';

describe('ListAllLoansComponent', () => {
let component: ListAllLoansComponent;
let fixture: ComponentFixture<ListAllLoansComponent>;

beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ ListAllLoansComponent ]
})
.compileComponents();
});

beforeEach(() => {
fixture = TestBed.createComponent(ListAllLoansComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});

+ 15
- 0
src/app/list-all-loans/list-all-loans.component.ts Просмотреть файл

@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'app-list-all-loans',
templateUrl: './list-all-loans.component.html',
styleUrls: ['./list-all-loans.component.scss']
})
export class ListAllLoansComponent implements OnInit {

constructor() { }

ngOnInit(): void {
}

}

Загрузка…
Отмена
Сохранить