This commit is contained in:
Taric Xin
2022-02-21 13:07:35 +08:00
parent 5f87986be5
commit f5f682b2ed
12 changed files with 19 additions and 55 deletions

View File

@ -10,22 +10,14 @@
*/ */
import { NgModule, Type } from '@angular/core'; import { NgModule, Type } from '@angular/core';
import { SharedModule } from '@shared'; import { InsuranceTableModule, SharedModule } from '@shared';
import { insuranceManagementListComponent } from './components/list/list.component'; import { insuranceManagementListComponent } from './components/list/list.component';
import { insuranceManagementSetComponent } from './components/set/set.component'; import { insuranceManagementSetComponent } from './components/set/set.component';
import { InsuranceManagementRoutingModule } from './insurance-management-routing.module'; import { InsuranceManagementRoutingModule } from './insurance-management-routing.module';
const COMPONENTS: Type<void>[] = [ const COMPONENTS: Type<void>[] = [insuranceManagementListComponent, insuranceManagementSetComponent];
insuranceManagementListComponent,
insuranceManagementSetComponent,
];
@NgModule({ @NgModule({
imports: [ imports: [SharedModule, InsuranceManagementRoutingModule, InsuranceTableModule],
SharedModule, declarations: COMPONENTS
InsuranceManagementRoutingModule,
],
declarations: COMPONENTS,
}) })
export class InsuranceManagementModule { } export class InsuranceManagementModule {}

View File

@ -20,7 +20,7 @@
<dt>正面照</dt> <dt>正面照</dt>
<dd>示例</dd> <dd>示例</dd>
</dl> </dl>
<div class="pa"><img height="104" src="/assets/images/eg01.png" /></div> <div class="pa"><img height="104" src="./assets/images/usercenter/certificate-demo-front.png" /></div>
</div> </div>
</ng-template> </ng-template>
<ng-template sf-template="tipsB" let-me let-ui="ui" let-schema="schema"> <ng-template sf-template="tipsB" let-me let-ui="ui" let-schema="schema">
@ -29,7 +29,7 @@
<dt>背面照</dt> <dt>背面照</dt>
<dd>示例</dd> <dd>示例</dd>
</dl> </dl>
<div class="pa"><img height="104" src="/assets/images/eg02.png" /></div> <div class="pa"><img height="104" src="./assets/images/usercenter/certificate-demo-back.png" /></div>
</div> </div>
</ng-template> </ng-template>
</sf> </sf>

View File

@ -10,7 +10,7 @@
<dt>正面照</dt> <dt>正面照</dt>
<dd>示例</dd> <dd>示例</dd>
</dl> </dl>
<div class="pa"><img height="104" src="/assets/images/eg01.png" /></div> <div class="pa"><img height="104" src="./assets/images/usercenter/certificate-demo-front.png" /></div>
</div> </div>
</ng-template> </ng-template>
<ng-template sf-template="tipsB" let-me let-ui="ui" let-schema="schema"> <ng-template sf-template="tipsB" let-me let-ui="ui" let-schema="schema">
@ -19,7 +19,7 @@
<dt>背面照</dt> <dt>背面照</dt>
<dd>示例</dd> <dd>示例</dd>
</dl> </dl>
<div class="pa"><img height="104" src="/assets/images/eg02.png" /></div> <div class="pa"><img height="104" src="./assets/images/usercenter/certificate-demo-back.png" /></div>
</div> </div>
</ng-template> </ng-template>
</sf> </sf>

View File

@ -9,7 +9,7 @@
<dt>正面照</dt> <dt>正面照</dt>
<dd>示例</dd> <dd>示例</dd>
</dl> </dl>
<div class="pa"><img height="104" src="/assets/images/eg01.png" /></div> <div class="pa"><img height="104" src="./assets/images/usercenter/certificate-demo-front.png" /></div>
</div> </div>
</ng-template> </ng-template>
<ng-template sf-template="tipsB" let-me let-ui="ui" let-schema="schema"> <ng-template sf-template="tipsB" let-me let-ui="ui" let-schema="schema">
@ -18,7 +18,7 @@
<dt>背面照</dt> <dt>背面照</dt>
<dd>示例</dd> <dd>示例</dd>
</dl> </dl>
<div class="pa"><img height="104" src="/assets/images/eg02.png" /></div> <div class="pa"><img height="104" src="./assets/images/usercenter/certificate-demo-back.png" /></div>
</div> </div>
</ng-template> </ng-template>
</sf> </sf>

View File

@ -1,23 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ImageListComponent } from './imagelist.component';
describe('ImageListComponent', () => {
let component: ImageListComponent;
let fixture: ComponentFixture<ImageListComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ImageListComponent],
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ImageListComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -15,18 +15,15 @@ import { NzInputNumberModule } from 'ng-zorro-antd/input-number';
import { NzTableModule } from 'ng-zorro-antd/table'; import { NzTableModule } from 'ng-zorro-antd/table';
import { InsuranceTableComponent } from './insurance-table.component'; import { InsuranceTableComponent } from './insurance-table.component';
import { NzPopconfirmModule } from 'ng-zorro-antd/popconfirm'; import { NzPopconfirmModule } from 'ng-zorro-antd/popconfirm';
import { SHARED_ZORRO_MODULES } from '../../shared-zorro.module'; import { NzInputModule } from 'ng-zorro-antd/input';
import { SHARED_DELON_MODULES } from '../../shared-delon.module'; import { DelonFormModule } from '@delon/form';
const COMPONENTS = [InsuranceTableComponent,]; import { NzButtonModule } from 'ng-zorro-antd/button';
const COMPONENTSs = [ const COMPONENTS = [InsuranceTableComponent];
NzTableModule, const MODULES = [NzTableModule, NzInputNumberModule, NzPopconfirmModule, NzInputModule, NzButtonModule, DelonFormModule];
NzInputNumberModule,
NzPopconfirmModule,
];
@NgModule({ @NgModule({
declarations: COMPONENTS, declarations: COMPONENTS,
imports: [CommonModule, FormsModule,COMPONENTSs,SHARED_ZORRO_MODULES, SHARED_DELON_MODULES], imports: [CommonModule, FormsModule, ...MODULES],
exports: COMPONENTS exports: COMPONENTS
}) })
export class InsuranceTableModule {} export class InsuranceTableModule {}

View File

@ -37,7 +37,6 @@ import { ImageListModule } from './components/imagelist';
import { DictSelectComponent } from './components/dict-select'; import { DictSelectComponent } from './components/dict-select';
import { PipeModule } from './pipes'; import { PipeModule } from './pipes';
import { AccountDetailComponent } from './components/account-detail/account-detail.component'; import { AccountDetailComponent } from './components/account-detail/account-detail.component';
import { InsuranceTableModule } from './components/insurance-table';
const MODULES = [ const MODULES = [
AddressModule, AddressModule,
@ -52,7 +51,6 @@ const MODULES = [
AmapModule, AmapModule,
ImageListModule, ImageListModule,
PipeModule, PipeModule,
InsuranceTableModule,
...PRO_SHARED_MODULES ...PRO_SHARED_MODULES
]; ];
// #endregion // #endregion

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 336 KiB