From cb7d054c22d655a0f112acbccb033a1aa11fec4f Mon Sep 17 00:00:00 2001 From: liuxianghui <519646741@qq.com> Date: Fri, 3 Dec 2021 09:55:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/pages/left-domain/left-domain.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) {