diff --git a/src/views/userManage/registerManage.vue b/src/views/userManage/registerManage.vue index f77adf7..31dceec 100644 --- a/src/views/userManage/registerManage.vue +++ b/src/views/userManage/registerManage.vue @@ -681,25 +681,27 @@ export default { }, showImgViewer(row) { - this.certFileUrl = - this.BASE_URL + - "/udiwms/image/register/file/getImage?type=image2&name="; - this.imgList = []; - previewImage({ - imageUrl: row.filePath, - certFileUrl: this.certFileUrl, - }).then((response) => { - if (response.code === 20000) { - this.imgList = response.data; - } - console.log(this.imgList); - this.imgViewerVisible = true; - }); - const m = (e) => { - e.preventDefault(); - }; - document.body.style.overflow = "hidden"; - document.addEventListener("touchmove", m, false); // 禁止页面滑动 + let newWindow = window.open(); + newWindow.document.write(row.filePath) + // this.certFileUrl = + // this.BASE_URL + + // "/udiwms/image/register/file/getImage?type=image2&name="; + // this.imgList = []; + // previewImage({ + // imageUrl: row.filePath, + // certFileUrl: this.certFileUrl, + // }).then((response) => { + // if (response.code === 20000) { + // this.imgList = response.data; + // } + // console.log(this.imgList); + // this.imgViewerVisible = true; + // }); + // const m = (e) => { + // e.preventDefault(); + // }; + // document.body.style.overflow = "hidden"; + // document.addEventListener("touchmove", m, false); // 禁止页面滑动 }, closeImgViewer() { this.imgViewerVisible = false;