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 { SharedModule } from '@shared';
import { InsuranceTableModule, SharedModule } from '@shared';
import { insuranceManagementListComponent } from './components/list/list.component';
import { insuranceManagementSetComponent } from './components/set/set.component';
import { InsuranceManagementRoutingModule } from './insurance-management-routing.module';
const COMPONENTS: Type<void>[] = [
insuranceManagementListComponent,
insuranceManagementSetComponent,
];
const COMPONENTS: Type<void>[] = [insuranceManagementListComponent, insuranceManagementSetComponent];
@NgModule({
imports: [
SharedModule,
InsuranceManagementRoutingModule,
],
declarations: COMPONENTS,
imports: [SharedModule, InsuranceManagementRoutingModule, InsuranceTableModule],
declarations: COMPONENTS
})
export class InsuranceManagementModule { }
export class InsuranceManagementModule {}

View File

@ -20,7 +20,7 @@
<dt>正面照</dt>
<dd>示例</dd>
</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>
</ng-template>
<ng-template sf-template="tipsB" let-me let-ui="ui" let-schema="schema">
@ -29,7 +29,7 @@
<dt>背面照</dt>
<dd>示例</dd>
</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>
</ng-template>
</sf>

View File

@ -10,7 +10,7 @@
<dt>正面照</dt>
<dd>示例</dd>
</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>
</ng-template>
<ng-template sf-template="tipsB" let-me let-ui="ui" let-schema="schema">
@ -19,7 +19,7 @@
<dt>背面照</dt>
<dd>示例</dd>
</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>
</ng-template>
</sf>

View File

@ -9,7 +9,7 @@
<dt>正面照</dt>
<dd>示例</dd>
</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>
</ng-template>
<ng-template sf-template="tipsB" let-me let-ui="ui" let-schema="schema">
@ -18,7 +18,7 @@
<dt>背面照</dt>
<dd>示例</dd>
</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>
</ng-template>
</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 { InsuranceTableComponent } from './insurance-table.component';
import { NzPopconfirmModule } from 'ng-zorro-antd/popconfirm';
import { SHARED_ZORRO_MODULES } from '../../shared-zorro.module';
import { SHARED_DELON_MODULES } from '../../shared-delon.module';
const COMPONENTS = [InsuranceTableComponent,];
const COMPONENTSs = [
NzTableModule,
NzInputNumberModule,
NzPopconfirmModule,
];
import { NzInputModule } from 'ng-zorro-antd/input';
import { DelonFormModule } from '@delon/form';
import { NzButtonModule } from 'ng-zorro-antd/button';
const COMPONENTS = [InsuranceTableComponent];
const MODULES = [NzTableModule, NzInputNumberModule, NzPopconfirmModule, NzInputModule, NzButtonModule, DelonFormModule];
@NgModule({
declarations: COMPONENTS,
imports: [CommonModule, FormsModule,COMPONENTSs,SHARED_ZORRO_MODULES, SHARED_DELON_MODULES],
imports: [CommonModule, FormsModule, ...MODULES],
exports: COMPONENTS
})
export class InsuranceTableModule {}

View File

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