|
|
@ -126,7 +126,8 @@ export class LeftDomainComponent implements OnInit { |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
PlanComponent.instance.isShowLoading = true //打开遮罩
|
|
|
|
PlanComponent.instance.isShowLoading = true //打开遮罩
|
|
|
|
let institutionKey = PlanComponent.instance.companyData.id || "ceshi"; //单位id
|
|
|
|
//let institutionKey = PlanComponent.instance.companyData.id || "ceshi"; //单位id
|
|
|
|
|
|
|
|
let institutionKey = DataManager.institutionData_simple.key; |
|
|
|
let buildingKey = PlanComponent.instance.buildingUIItems.find(item => { return item.getBuildingID() == PlanComponent.instance.beforeOneBuildingID }) |
|
|
|
let buildingKey = PlanComponent.instance.buildingUIItems.find(item => { return item.getBuildingID() == PlanComponent.instance.beforeOneBuildingID }) |
|
|
|
let url = DataManager.getResPath_facilityProperty(institutionKey, buildingKey.getBuildingID(), item.getType(), item.getID(), null) |
|
|
|
let url = DataManager.getResPath_facilityProperty(institutionKey, buildingKey.getBuildingID(), item.getType(), item.getID(), null) |
|
|
|
ServeManager.instance.openFileSelect(file, url, (name: string, path: string) => { //上传
|
|
|
|
ServeManager.instance.openFileSelect(file, url, (name: string, path: string) => { //上传
|
|
|
|