Browse Source

[完善]卸油流程具体图片查看

dev
邵佳豪 3 years ago
parent
commit
32529c63db
  1. 3
      src/app/pages/oil-unloading-process/oil-unloading-process.component.ts

3
src/app/pages/oil-unloading-process/oil-unloading-process.component.ts

@ -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(() => {

Loading…
Cancel
Save