14 changed files with 309 additions and 82 deletions
@ -1 +1,20 @@ |
|||||||
<p>edit-push-item works!</p> |
<div class="box"> |
||||||
|
<form nz-form [formGroup]="validateForm"> |
||||||
|
<nz-form-item> |
||||||
|
<nz-form-control> |
||||||
|
<nz-select [(ngModel)]="multiplePushValue" formControlName="push" nzPlaceHolder="请选择推送范围" |
||||||
|
nzMode="multiple"> |
||||||
|
<nz-option *ngFor="let item of pushList" [nzValue]="item.id" [nzLabel]="item.displayName"></nz-option> |
||||||
|
</nz-select> |
||||||
|
</nz-form-control> |
||||||
|
</nz-form-item> |
||||||
|
<nz-form-item> |
||||||
|
<nz-form-control> |
||||||
|
<nz-select [(ngModel)]="multipleHandleValue" formControlName="handle" nzPlaceHolder="请选择处置范围" |
||||||
|
nzMode="multiple"> |
||||||
|
<nz-option *ngFor="let item of handleList" [nzValue]="item.id" [nzLabel]="item.displayName"></nz-option> |
||||||
|
</nz-select> |
||||||
|
</nz-form-control> |
||||||
|
</nz-form-item> |
||||||
|
</form> |
||||||
|
</div> |
@ -1,25 +0,0 @@ |
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; |
|
||||||
|
|
||||||
import { EditPushItemComponent } from './edit-push-item.component'; |
|
||||||
|
|
||||||
describe('EditPushItemComponent', () => { |
|
||||||
let component: EditPushItemComponent; |
|
||||||
let fixture: ComponentFixture<EditPushItemComponent>; |
|
||||||
|
|
||||||
beforeEach(async(() => { |
|
||||||
TestBed.configureTestingModule({ |
|
||||||
declarations: [ EditPushItemComponent ] |
|
||||||
}) |
|
||||||
.compileComponents(); |
|
||||||
})); |
|
||||||
|
|
||||||
beforeEach(() => { |
|
||||||
fixture = TestBed.createComponent(EditPushItemComponent); |
|
||||||
component = fixture.componentInstance; |
|
||||||
fixture.detectChanges(); |
|
||||||
}); |
|
||||||
|
|
||||||
it('should create', () => { |
|
||||||
expect(component).toBeTruthy(); |
|
||||||
}); |
|
||||||
}); |
|
@ -0,0 +1,99 @@ |
|||||||
|
{ |
||||||
|
"datas": [ |
||||||
|
{ |
||||||
|
"index": 0, |
||||||
|
"nodes": [ |
||||||
|
{ |
||||||
|
"index": 0, |
||||||
|
"id": 1, |
||||||
|
"name": "333", |
||||||
|
"cameraData": { |
||||||
|
"target": { |
||||||
|
"_isDirty": true, |
||||||
|
"_x": 10.469921166171673, |
||||||
|
"_y": -4.215635415935357, |
||||||
|
"_z": 2.8616421593814403 |
||||||
|
}, |
||||||
|
"beta": 0.9213049244407263, |
||||||
|
"alpha": 0.7991533333147679, |
||||||
|
"radius": 21.332012959053195 |
||||||
|
}, |
||||||
|
"environmentData": [ |
||||||
|
{ |
||||||
|
"markDatas": [], |
||||||
|
"id": 0, |
||||||
|
"buildingId": null, |
||||||
|
"isOutdoor": true, |
||||||
|
"floorId": null, |
||||||
|
"isNow": true |
||||||
|
}, |
||||||
|
{ |
||||||
|
"markDatas": [], |
||||||
|
"id": 1, |
||||||
|
"buildingId": null, |
||||||
|
"isOutdoor": true, |
||||||
|
"floorId": null |
||||||
|
} |
||||||
|
], |
||||||
|
"natureData": { |
||||||
|
"weather": "Sun", |
||||||
|
"temperature": 26, |
||||||
|
"windDirection": "East", |
||||||
|
"windPower": 3 |
||||||
|
}, |
||||||
|
"showZP": false |
||||||
|
}, |
||||||
|
{ |
||||||
|
"index": 0, |
||||||
|
"id": 2, |
||||||
|
"name": "444", |
||||||
|
"cameraData": { |
||||||
|
"target": { |
||||||
|
"_isDirty": true, |
||||||
|
"_x": 10.469921166171673, |
||||||
|
"_y": -4.215635415935357, |
||||||
|
"_z": 2.8616421593814403 |
||||||
|
}, |
||||||
|
"beta": 0.9213049244407263, |
||||||
|
"alpha": 0.7991533333147679, |
||||||
|
"radius": 21.332012959053195 |
||||||
|
}, |
||||||
|
"environmentData": [ |
||||||
|
{ |
||||||
|
"markDatas": [], |
||||||
|
"id": 0, |
||||||
|
"buildingId": null, |
||||||
|
"isOutdoor": true, |
||||||
|
"floorId": null, |
||||||
|
"isNow": true |
||||||
|
}, |
||||||
|
{ |
||||||
|
"markDatas": [], |
||||||
|
"id": 1, |
||||||
|
"buildingId": null, |
||||||
|
"isOutdoor": true, |
||||||
|
"floorId": null |
||||||
|
}, |
||||||
|
{ |
||||||
|
"markDatas": [], |
||||||
|
"id": 2, |
||||||
|
"buildingId": null, |
||||||
|
"isOutdoor": true, |
||||||
|
"floorId": null |
||||||
|
} |
||||||
|
], |
||||||
|
"natureData": { |
||||||
|
"weather": "Sun", |
||||||
|
"temperature": 26, |
||||||
|
"windDirection": "East", |
||||||
|
"windPower": 3 |
||||||
|
}, |
||||||
|
"showZP": false |
||||||
|
} |
||||||
|
], |
||||||
|
"id": 0, |
||||||
|
"name": "111" |
||||||
|
} |
||||||
|
], |
||||||
|
"institutionID": "ceshi" |
||||||
|
} |
Loading…
Reference in new issue