|
|
|
@ -60,7 +60,7 @@ export class BasicinfoComponent implements OnInit {
|
|
|
|
|
] //单位类型
|
|
|
|
|
} |
|
|
|
|
uploader:FileUploader = new FileUploader({
|
|
|
|
|
url: `/api/Objects/PlanPlatform/${this.unitinfo.id}`,
|
|
|
|
|
url: `/api/Objects/PlanPlatform/${sessionStorage.getItem('companyId')}`,
|
|
|
|
|
method: "POST",
|
|
|
|
|
itemAlias: "uploadedfile", |
|
|
|
|
removeAfterUpload:true |
|
|
|
@ -885,7 +885,7 @@ export class BasicinfoComponent implements OnInit {
|
|
|
|
|
this.imgsrc = `/api/Objects/PlanPlatform/${this.objectName}?x-oss-process=image/resize,m_fill,h_170,w_299` |
|
|
|
|
this.isspinner = false |
|
|
|
|
this.PartNumberETag = [] |
|
|
|
|
this.file = null |
|
|
|
|
this.uploader.clearQueue(); //清空input控件文件
|
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
//删除具体建筑
|
|
|
|
@ -1108,7 +1108,7 @@ export class BasicinfoComponent implements OnInit {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(item.buildtype == "高层建筑类" || item.buildtype == "地下建筑类" || item.buildtype == "大型城市综合体建筑类" || item.buildtype == "人员密集场所建筑类" || item.buildtype == "古建筑类" || item.buildtype == "仓库堆垛类" || item.buildtype == "隧道类" || item.buildtype == "其他类"){ |
|
|
|
|
if(item.buildtype != "石油化工类" && item.buildtype != "地铁类"){ |
|
|
|
|
this.houses[key].buildingBasicGroups[0].propertyInfos.forEach(item => { |
|
|
|
|
for (const key in value) { |
|
|
|
|
if(item.propertyName == key){ |
|
|
|
|