From 6e71cdb42563c4028d828f37b33c576c98ae4be5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E8=99=B9=E7=9D=BF?= <297504645@qq.com> Date: Wed, 7 Aug 2024 17:06:45 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90nev-pc=E3=80=91=E9=AB=98=E6=8B=8D?= =?UTF-8?q?=E4=BB=AA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../quality/InspectRequest.vue | 35 +++++++++++++++---- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/fe/PC/src/views/rawMaterialManage/quality/InspectRequest.vue b/fe/PC/src/views/rawMaterialManage/quality/InspectRequest.vue index 6050d713f..dfb367fed 100644 --- a/fe/PC/src/views/rawMaterialManage/quality/InspectRequest.vue +++ b/fe/PC/src/views/rawMaterialManage/quality/InspectRequest.vue @@ -123,7 +123,7 @@ :key="index" > -
+
@@ -171,6 +171,7 @@ :modal="false" :modal-append-to-body="false" :show-close="false" + class="inspectNoticeDetailsPop" > - + + + = 0){ + clearTimeout(_this.gpy_setTimeout) + setTimeout(()=>{ + _this.getGrabimage() + },2000) + return + } + _ids.push(timeId) _this.currentFileBase64 = 'data:image/png;base64,'+result _this.fileBase64List.push(_this.currentFileBase64) _this.inspectNoticeDetailsForm[_this.inspectNoticeDetailsForm.length - 1].srcList = _this.fileBase64List _this.Loading.appMainLoading = false clearTimeout(_this.gpy_setTimeout) - this.isRemoveImageIframe = true + _this.isRemoveImageIframe = true // document.getElementById('getGrabimageIframe').parentNode.removeChild(document.getElementById('getGrabimageIframe')); // window.removeEventListener("message",(()=>{ // this.isRemoveImageIframe = true @@ -833,7 +852,7 @@ export default { _httpNumber++ // this.urlPDF = 'data:application/pdf;base64,'+res.bytes _urls[key] = 'data:application/pdf;base64,'+res.bytes - // 原查看pdf方法 + // 原查看pdf方法isShowGuideBook // this.base64PDF=res.bytes // this.titlePDF = res.fileName // this.isShowPDF = true @@ -1485,7 +1504,9 @@ export default { img.width="300" img.height="300" img.src = URL.createObjectURL(blob) + this.imgListGuideBookViews = [URL.createObjectURL(blob)] var otest = document.getElementById("uploadPictureCardGuideBook") + otest.innerHTML = "" otest.appendChild(img) this.guideBookLoading = false }).catch(err => {