|
|
@ -139,13 +139,18 @@ export class WaitExamineerComponent implements OnInit { |
|
|
|
this.getAlltabledate() |
|
|
|
this.getAlltabledate() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
lookImg(imgUrl) { |
|
|
|
lookImg(imgUrl,type?:boolean) { |
|
|
|
console.log(imgUrl) |
|
|
|
// console.log(imgUrl)
|
|
|
|
let dom = document.getElementById(`viewerjs`) |
|
|
|
let dom = document.getElementById(`viewerjs`) |
|
|
|
let pObjs = dom.childNodes; |
|
|
|
let pObjs = dom.childNodes; |
|
|
|
let node = document.createElement("img") |
|
|
|
let node = document.createElement("img") |
|
|
|
node.style.display = "none"; |
|
|
|
node.style.display = "none"; |
|
|
|
|
|
|
|
if(type){ |
|
|
|
|
|
|
|
let src = imgUrl.split("?")[0] |
|
|
|
|
|
|
|
node.src = src |
|
|
|
|
|
|
|
}else{ |
|
|
|
node.src = "/api/Objects/PlanPlatform/" + imgUrl; |
|
|
|
node.src = "/api/Objects/PlanPlatform/" + imgUrl; |
|
|
|
|
|
|
|
} |
|
|
|
node.id = 'imgxxx' |
|
|
|
node.id = 'imgxxx' |
|
|
|
dom.appendChild(node) |
|
|
|
dom.appendChild(node) |
|
|
|
setTimeout(() => { |
|
|
|
setTimeout(() => { |
|
|
@ -217,7 +222,7 @@ export class WaitExamineerComponent implements OnInit { |
|
|
|
this.differentContentOfBuildingsInfo.childrens.forEach(element => { |
|
|
|
this.differentContentOfBuildingsInfo.childrens.forEach(element => { |
|
|
|
element.difData = resolveDiff(element.childrens) |
|
|
|
element.difData = resolveDiff(element.childrens) |
|
|
|
}); |
|
|
|
}); |
|
|
|
// console.log('建筑信息', this.differentContentOfBuildingsInfo
|
|
|
|
console.log('建筑信息', this.differentContentOfBuildingsInfo) |
|
|
|
//功能分区
|
|
|
|
//功能分区
|
|
|
|
let differentContentOfFunction = JSON.parse(JSON.stringify(differentContent.filter(item => item.propertyName == 'buildings')[0])) |
|
|
|
let differentContentOfFunction = JSON.parse(JSON.stringify(differentContent.filter(item => item.propertyName == 'buildings')[0])) |
|
|
|
this.differentContentOfFunction = [] |
|
|
|
this.differentContentOfFunction = [] |
|
|
|