diff --git a/src/views/inout/DialogCheck.vue b/src/views/inout/DialogCheck.vue index 16edf2f..47d253f 100644 --- a/src/views/inout/DialogCheck.vue +++ b/src/views/inout/DialogCheck.vue @@ -167,12 +167,12 @@ 预览: - - - 文件预览 - - + + + + + + @@ -341,10 +341,10 @@ export default { }, - toViewCompanyCert() { - this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name="; - window.open(this.certFileUrl + this.inputQuery.filePath); - }, + // toViewCompanyCert() { + // this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name="; + // window.open(this.certFileUrl + this.inputQuery.filePath); + // }, }, filters: {}, mounted() { diff --git a/src/views/inout/IoDeliveryAuditOrder.vue b/src/views/inout/IoDeliveryAuditOrder.vue index 44f0376..7792e32 100644 --- a/src/views/inout/IoDeliveryAuditOrder.vue +++ b/src/views/inout/IoDeliveryAuditOrder.vue @@ -320,7 +320,7 @@ 预览 + + { + if (response.code === 20000) { + debugger + 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; + const m = (e) => { e.preventDefault() }; + document.body.style.overflow = 'auto'; + document.removeEventListener("touchmove", m, true); }, + invChange() { this.filterQuery.action = null; this.getBusType();