diff --git a/src/app/pages/left-domain/left-domain.component.ts b/src/app/pages/left-domain/left-domain.component.ts index d71f208..dff46d2 100644 --- a/src/app/pages/left-domain/left-domain.component.ts +++ b/src/app/pages/left-domain/left-domain.component.ts @@ -83,7 +83,6 @@ export class LeftDomainComponent implements OnInit { item.getType() === "JY_YQHSGX" ? list.push(item) : null } }) - console.log("所有设备", list); this.FacilityList = list this.selectFacilityId = null if (this.beforeFence === 3) { //消防设施 @@ -133,7 +132,7 @@ export class LeftDomainComponent implements OnInit { let institutionKey = `${PlanComponent.instance.companyData.id}` || "ceshi"; //单位id console.log(PlanComponent.instance.buildingUIItems, PlanComponent.instance.beforeOneBuildingID); let buildingKey = PlanComponent.instance.buildingUIItems.find(item => { return item.getBuildingID() == PlanComponent.instance.beforeOneBuildingID }) - let url = DataManager.getResPath_facilityProperty(institutionKey, buildingKey? buildingKey.getBuildingID() : "building", item.getType(), item.getID(), null) + let url = DataManager.getResPath_facilityProperty(institutionKey, buildingKey ? buildingKey.getBuildingID() : "building", item.getType(), item.getID(), null) ServeManager.instance.openFileSelect(file, url, (name: string, path: string) => { //上传 item.getPropertyData().img = ObjectsService.getFullPath(path + name) if (this.beforeFence === 5) {