Browse Source

关闭打印

dev
刘向辉 3 years ago
parent
commit
cb7d054c22
  1. 3
      src/app/pages/left-domain/left-domain.component.ts

3
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) {

Loading…
Cancel
Save