From af506542a4b5002aa5d269bc7ea05966ece47d90 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, 31 Jul 2024 17:14:57 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90nev-pc=E3=80=91=E8=B4=A8=E6=A3=80-?= =?UTF-8?q?=E9=AB=98=E6=8B=8D=E4=BB=AA=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/PC/public/config.js | 4 +- fe/PC/src/api/wms-api.js | 8 + fe/PC/src/components/currenForm/index.vue | 45 +++- fe/PC/src/views/login/index.vue | 30 +-- .../quality/InspectRequest.vue | 183 ++++++++++++---- .../quality/InspectRequest_new.vue | 198 +++++++++++++---- .../quality/InspectRequest_old.vue | 205 +++++++++++++----- 7 files changed, 498 insertions(+), 175 deletions(-) diff --git a/fe/PC/public/config.js b/fe/PC/public/config.js index 6c6ad01b3..6e3adc936 100644 --- a/fe/PC/public/config.js +++ b/fe/PC/public/config.js @@ -26,10 +26,10 @@ window.SITE_CONFIG['companyAddress'] = '长春市高新开发区成缘路556号' //pad-kitting组包页面刷新时间(毫秒) window.SITE_CONFIG['padKittingPackUpdate'] = 180000 // 高拍仪获取地址 -window.SITE_CONFIG['grabimageURL'] = 'http://192.168.1.75:33336/video/index.html' +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'] = 6000 //高拍仪加载时间 +window.SITE_CONFIG['gpyLoadingTime'] = 5000 //高拍仪加载时间 // 供应商接口地址(如立体库等) window.SITE_CONFIG['supplierOuterURL'] = 'http://7e42682n64.goho.co:21171' diff --git a/fe/PC/src/api/wms-api.js b/fe/PC/src/api/wms-api.js index 04273149e..29e69f245 100644 --- a/fe/PC/src/api/wms-api.js +++ b/fe/PC/src/api/wms-api.js @@ -809,6 +809,14 @@ export function deliverRequestDelete(id) { }) } +export function getGPYInfo(data) { + return request({ + url: 'http://192.168.1.75:38088/video=grabimage&tid=100', + method: 'post', + data:data + }) +} + // 客户退拆任务-完成 todo // export async function productionRecycleJobComplete(id) { // return request({ diff --git a/fe/PC/src/components/currenForm/index.vue b/fe/PC/src/components/currenForm/index.vue index e59e0278b..03ed1c0b4 100644 --- a/fe/PC/src/components/currenForm/index.vue +++ b/fe/PC/src/components/currenForm/index.vue @@ -426,19 +426,29 @@ {{item.buttonText}} - +
{{item.errorTip}}
- + v-for="(img,img_key) in item.srcList" + :key="img_key" + v-if="item.srcList && item.srcList.length > 0" + class="imgOneBlock" + > + +
{{item.errorTip || '加载失败'}}
+
+ +
+ 暂无数据 + @@ -935,4 +945,15 @@ export default { color: #999 !important; font-weight: normal !important; } +.imgOneBlock{ + display:inline-block; + position:relative; + + .delete-btn{ + position:absolute; + left:-10px; + top:-10px; + padding:3px; + } +} \ No newline at end of file diff --git a/fe/PC/src/views/login/index.vue b/fe/PC/src/views/login/index.vue index 0e0a06324..6de455e3a 100644 --- a/fe/PC/src/views/login/index.vue +++ b/fe/PC/src/views/login/index.vue @@ -1,10 +1,10 @@