Browse Source

单位id在上传图片时的获取

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

3
src/app/pages/left-domain/left-domain.component.ts

@ -126,7 +126,8 @@ export class LeftDomainComponent implements OnInit {
return
}
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 url = DataManager.getResPath_facilityProperty(institutionKey, buildingKey.getBuildingID(), item.getType(), item.getID(), null)
ServeManager.instance.openFileSelect(file, url, (name: string, path: string) => { //上传

Loading…
Cancel
Save