From a56f601cc94a589a1d91ef53684220d845fbfc28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E8=99=B9=E7=9D=BF?= <297504645@qq.com> Date: Mon, 5 Aug 2024 16:02:35 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90nev-pc=E3=80=91=E6=8A=A5=E6=A3=80?= =?UTF-8?q?=E5=8D=95=E8=B4=A8=E6=A3=80=E6=8A=A5=E5=91=8A=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E5=85=BC=E5=AE=B9=E5=BC=80=E5=8F=91+form?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E4=B8=BAuploadList=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=85=BC=E5=AE=B9=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/PC/public/config.js | 2 +- fe/PC/src/components/currenForm/index.vue | 2 + .../src/components/currenUploadList/index.vue | 13 +++++- .../quality/InspectRequest.vue | 42 ++++++++++++++----- 4 files changed, 47 insertions(+), 12 deletions(-) diff --git a/fe/PC/public/config.js b/fe/PC/public/config.js index 6e3adc936..0315a687e 100644 --- a/fe/PC/public/config.js +++ b/fe/PC/public/config.js @@ -29,7 +29,7 @@ window.SITE_CONFIG['padKittingPackUpdate'] = 180000 window.SITE_CONFIG['grabimageURL'] = 'http://192.168.1.75:33336/video/index100.html' window.SITE_CONFIG['showGrabimageIframeTest'] = false//登录页调试高拍仪显示按钮 window.SITE_CONFIG['grabRegulateIframePage'] = 'http://10.164.230.173:33336/video/index4.html'//高拍仪-iframe内嵌对焦界面 -window.SITE_CONFIG['gpyLoadingTime'] = 5000 //高拍仪加载时间 +window.SITE_CONFIG['gpyLoadingTime'] = 0 //高拍仪加载时间 // 供应商接口地址(如立体库等) window.SITE_CONFIG['supplierOuterURL'] = 'http://7e42682n64.goho.co:21171' diff --git a/fe/PC/src/components/currenForm/index.vue b/fe/PC/src/components/currenForm/index.vue index 03ed1c0b4..80e93de06 100644 --- a/fe/PC/src/components/currenForm/index.vue +++ b/fe/PC/src/components/currenForm/index.vue @@ -404,6 +404,8 @@ @uploadListView="uploadListView" @changeUpload="changeUpload($event, item)" @handleRemove="handleRemove($event, item.prop)" + :hideFileList="item.hideFileList" + :hideViewBtn="item.hideViewBtn" > diff --git a/fe/PC/src/components/currenUploadList/index.vue b/fe/PC/src/components/currenUploadList/index.vue index e3430abd0..64f6b8c2a 100644 --- a/fe/PC/src/components/currenUploadList/index.vue +++ b/fe/PC/src/components/currenUploadList/index.vue @@ -12,9 +12,10 @@ :limit="limit" :accept="picExt" :auto-upload="false" + :show-file-list="!hideFileList" > 上传 - 查看 + 查看 @@ -33,6 +34,16 @@ export default { return [] } }, + // 隐藏导入列表 + hideFileList: { + type: Boolean, + default: false + }, + // 隐藏查看按钮 + hideViewBtn: { + type: Boolean, + default: false + }, picExt: { type: String, default: "", diff --git a/fe/PC/src/views/rawMaterialManage/quality/InspectRequest.vue b/fe/PC/src/views/rawMaterialManage/quality/InspectRequest.vue index 3202e8cc6..6050d713f 100644 --- a/fe/PC/src/views/rawMaterialManage/quality/InspectRequest.vue +++ b/fe/PC/src/views/rawMaterialManage/quality/InspectRequest.vue @@ -183,6 +183,7 @@ :rules="inspectNoticeDetailsRules" @uploadListView="uploadListView" @submitForm="formClick(arguments)" + @changeUpload="uploadReportImg" >