From 8f96de7c208bf2126c97b5faee872f18ad885bda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B3=BD=E8=85=BE?= <1178634255@qq.com> Date: Wed, 9 Aug 2023 14:30:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=A4=87=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/userManage/customerManage.vue | 40 +++++++++++++------------ 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/src/views/userManage/customerManage.vue b/src/views/userManage/customerManage.vue index ad1f0d1..943a9e6 100644 --- a/src/views/userManage/customerManage.vue +++ b/src/views/userManage/customerManage.vue @@ -625,25 +625,27 @@ export default { this.getCompanyCertList(); }, 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() {