Browse Source

【nev-pc】高拍仪优化

ag_report_nev
安虹睿 11 months ago
parent
commit
e928c36e1f
  1. 1
      fe/PC/public/config.js
  2. 1
      fe/PC/src/App.vue
  3. 12
      fe/PC/src/views/rawMaterialManage/quality/InspectRequest.vue

1
fe/PC/public/config.js

@ -29,6 +29,7 @@ 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/index.html'
window.SITE_CONFIG['showGrabimageIframeTest'] = false//登录页调试高拍仪显示按钮 window.SITE_CONFIG['showGrabimageIframeTest'] = false//登录页调试高拍仪显示按钮
window.SITE_CONFIG['grabRegulateIframePage'] = 'http://10.164.230.173:33336/video/index4.html'//高拍仪-iframe内嵌对焦界面 window.SITE_CONFIG['grabRegulateIframePage'] = 'http://10.164.230.173:33336/video/index4.html'//高拍仪-iframe内嵌对焦界面
window.SITE_CONFIG['gpyLoadingTime'] = 6000 //高拍仪加载时间
// 供应商接口地址(如立体库等) // 供应商接口地址(如立体库等)
window.SITE_CONFIG['supplierOuterURL'] = 'http://7e42682n64.goho.co:21171' window.SITE_CONFIG['supplierOuterURL'] = 'http://7e42682n64.goho.co:21171'

1
fe/PC/src/App.vue

@ -24,6 +24,7 @@ localStorage.setItem('company',window.SITE_CONFIG['company'])
localStorage.setItem('largeScreen',window.SITE_CONFIG['largeScreen']) localStorage.setItem('largeScreen',window.SITE_CONFIG['largeScreen'])
localStorage.setItem('padKittingPackUpdate',window.SITE_CONFIG['padKittingPackUpdate']) localStorage.setItem('padKittingPackUpdate',window.SITE_CONFIG['padKittingPackUpdate'])
localStorage.setItem('grabimageURL',window.SITE_CONFIG['grabimageURL']) localStorage.setItem('grabimageURL',window.SITE_CONFIG['grabimageURL'])
localStorage.setItem('gpyLoadingTime',window.SITE_CONFIG['gpyLoadingTime'])
localStorage.setItem('supplierOuterURL',window.SITE_CONFIG['supplierOuterURL']) localStorage.setItem('supplierOuterURL',window.SITE_CONFIG['supplierOuterURL'])
localStorage.setItem('apifoxToken',window.SITE_CONFIG['apifoxToken']) localStorage.setItem('apifoxToken',window.SITE_CONFIG['apifoxToken'])
localStorage.setItem('reportsUrl',window.SITE_CONFIG['reportsUrl']) localStorage.setItem('reportsUrl',window.SITE_CONFIG['reportsUrl'])

12
fe/PC/src/views/rawMaterialManage/quality/InspectRequest.vue

@ -1,5 +1,10 @@
<template> <template>
<div class="page-box InspectNoticePage" v-loading="Loading.appMainLoading"> <div class="page-box InspectNoticePage" v-loading="Loading.appMainLoading">
<!-- 高拍仪调获取base64页面 -->
<iframe v-show="false" id="getGrabimageIframe" :src='getGrabimageIframeUrl' style="z-index:200;background:#fff;width:100px;height:100px;position:fixed;left:0"></iframe>
<!-- 高拍仪调试页面-目的自动对焦 -->
<iframe v-show="false" id="grabRegulateIframePage" :src='grabRegulateIframePage' style="background:#fff;width:200px;height:200px;position:fixed;right:15px;bottom:10px;opacity:0"></iframe>
<tablePagination <tablePagination
:currenButtonData="currenButtonData" :currenButtonData="currenButtonData"
:tableData="tableData" :tableData="tableData"
@ -167,10 +172,6 @@
:modal-append-to-body="false" :modal-append-to-body="false"
:show-close="false" :show-close="false"
> >
<!-- 高拍仪调获取base64页面 -->
<iframe v-show="false" id="getGrabimageIframe" :src='getGrabimageIframeUrl' style="z-index:200;background:#fff;width:100px;height:100px;position:fixed;left:0"></iframe>
<!-- 高拍仪调试页面-目的自动对焦 -->
<iframe v-show="false" id="grabRegulateIframePage" :src='grabRegulateIframePage' style="background:#fff;width:200px;height:200px;position:fixed;right:15px;bottom:10px;opacity:0"></iframe>
<curren-Form <curren-Form
v-loading="gpyLoading" v-loading="gpyLoading"
element-loading-text="正在加载高拍仪" element-loading-text="正在加载高拍仪"
@ -921,9 +922,10 @@ export default {
}) })
this.inspectNoticeDetailsShow = true this.inspectNoticeDetailsShow = true
this.gpyLoading=true this.gpyLoading=true
let _time = localStorage.getItem('gpyLoadingTime') !="undefined" ? localStorage.getItem('gpyLoadingTime') : 5000
setTimeout(()=>{ setTimeout(()=>{
this.gpyLoading=false this.gpyLoading=false
},5000) },Number(_time))
},300) },300)
}, },
// - // -

Loading…
Cancel
Save