车队长列表
This commit is contained in:
@ -0,0 +1,19 @@
|
||||
<!--
|
||||
* @Author: your name
|
||||
* @Date: 2021-12-01 09:25:32
|
||||
* @LastEditTime: 2021-12-01 10:03:18
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
* @FilePath: \tms-obc-web\src\app\routes\supply-goods\components\list\list.component.html
|
||||
-->
|
||||
<page-header-wrapper [title]="''"></page-header-wrapper>
|
||||
<nz-card>
|
||||
<nz-tabset [nzSelectedIndex]="nzSelectedIndex">
|
||||
<nz-tab nzTitle="整车货源">
|
||||
<app-supply-goods-components-list-carload></app-supply-goods-components-list-carload>
|
||||
</nz-tab>
|
||||
<nz-tab nzTitle="大宗货源">
|
||||
|
||||
</nz-tab>
|
||||
</nz-tabset>
|
||||
</nz-card>
|
||||
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* @Author: your name
|
||||
* @Date: 2021-12-01 09:25:32
|
||||
* @LastEditTime: 2021-12-01 09:55:39
|
||||
* @LastEditors: your name
|
||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
* @FilePath: \tms-obc-web\src\app\routes\supply-goods\components\list\list.component.spec.ts
|
||||
*/
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { SupplyGoodsComponentListComponent } from './list.component';
|
||||
|
||||
describe('SupplyGoodsComponentListComponent', () => {
|
||||
let component: SupplyGoodsComponentListComponent;
|
||||
let fixture: ComponentFixture<SupplyGoodsComponentListComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [SupplyGoodsComponentListComponent],
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(SupplyGoodsComponentListComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@ -0,0 +1,22 @@
|
||||
/*
|
||||
* @Author: your name
|
||||
* @Date: 2021-12-01 09:25:32
|
||||
* @LastEditTime: 2021-12-01 09:49:32
|
||||
* @LastEditors: your name
|
||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
* @FilePath: \tms-obc-web\src\app\routes\supply-goods\components\list\list.component.ts
|
||||
*/
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
|
||||
@Component({
|
||||
selector: 'app-supply-goods-components-list',
|
||||
templateUrl: './list.component.html',
|
||||
})
|
||||
export class SupplyGoodsComponentListComponent implements OnInit {
|
||||
constructor(private ar: ActivatedRoute) {}
|
||||
nzSelectedIndex = 0;
|
||||
ngOnInit(): void {
|
||||
this.nzSelectedIndex = this.ar.snapshot.queryParams.nzSelectedIndex;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user