|
|
|
@ -162,7 +162,7 @@ export class BasicinfoComponent implements OnInit {
|
|
|
|
|
getorganization() { |
|
|
|
|
this.http.get('/api/Organizations').subscribe( |
|
|
|
|
(data: any) => { |
|
|
|
|
this.allorganizing = JSON.parse( JSON.stringify(data) ) |
|
|
|
|
this.allorganizing = data |
|
|
|
|
this.dataSource.data = this.tree.toTree(data); |
|
|
|
|
let _this = this |
|
|
|
|
this.getunitinfo().then((e)=>{ |
|
|
|
@ -1105,7 +1105,7 @@ export class BasicinfoComponent implements OnInit {
|
|
|
|
|
imageUrl: this.imgsrc, |
|
|
|
|
location: this.markerPosition, |
|
|
|
|
modifiedTime: time, |
|
|
|
|
organizationId: this.allorganizing.length? this.allorganizing[0].id : null, |
|
|
|
|
organizationId: this.selectedorganizationid, |
|
|
|
|
organizationName: null, |
|
|
|
|
buildingTypes: [ |
|
|
|
|
{ |
|
|
|
|