|
|
|
@ -15,11 +15,12 @@ export class OilUnloadingProcessComponent implements OnInit {
|
|
|
|
|
} |
|
|
|
|
lookImg(url) { |
|
|
|
|
if (url) { |
|
|
|
|
console.log(url) |
|
|
|
|
let dom = document.getElementById(`viewerjs`) |
|
|
|
|
let pObjs = dom.childNodes; |
|
|
|
|
let node = document.createElement("img") |
|
|
|
|
node.style.display = "none"; |
|
|
|
|
node.src = "../../../../assets/images/bgImg.png"; |
|
|
|
|
node.src = url; |
|
|
|
|
node.id = 'img' |
|
|
|
|
dom.appendChild(node) |
|
|
|
|
setTimeout(() => { |
|
|
|
|