From a54c60683570719580032754d29a91d679bd9ffd Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Wed, 6 May 2026 14:25:00 +0800 Subject: [PATCH] =?UTF-8?q?2026-05-06=20=E5=A4=96=E9=83=A8=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E8=B7=AF=E5=BE=84=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/qc/FQCResultEntry.vue | 2 +- src/views/modules/qc/IPQCResultEntry.vue | 2 +- src/views/modules/qc/IQCResultEntry.vue | 2 +- src/views/modules/qc/OQCResultEntry.vue | 2 +- src/views/modules/qc/sopListComponent.vue | 2 +- src/views/modules/yieldReport/com_produce_report_normal.vue | 2 +- static/config/index-prod.js | 3 +++ static/config/index-qa.js | 3 +++ static/config/index-uat.js | 3 +++ static/config/index.js | 3 +++ 10 files changed, 18 insertions(+), 6 deletions(-) diff --git a/src/views/modules/qc/FQCResultEntry.vue b/src/views/modules/qc/FQCResultEntry.vue index b63fcc7..4f4dbfc 100644 --- a/src/views/modules/qc/FQCResultEntry.vue +++ b/src/views/modules/qc/FQCResultEntry.vue @@ -3659,7 +3659,7 @@ this.$message.error('物料号不能为空') return false } - const baseUrl = window.SITE_CONFIG['processDataUrl'] || 'http://pdm.bt.in/#/public/processData' + const baseUrl = window.SITE_CONFIG['materialSopUrl'] || 'http://pdm.bt.in/#/public/materialSop' const targetUrl = `${baseUrl}/${partNo}` window.open(targetUrl, '_blank') }, diff --git a/src/views/modules/qc/IPQCResultEntry.vue b/src/views/modules/qc/IPQCResultEntry.vue index 814ccd8..6a58824 100644 --- a/src/views/modules/qc/IPQCResultEntry.vue +++ b/src/views/modules/qc/IPQCResultEntry.vue @@ -3623,7 +3623,7 @@ this.$message.error('物料号不能为空') return false } - const baseUrl = window.SITE_CONFIG['processDataUrl'] || 'http://pdm.bt.in/#/public/processData' + const baseUrl = window.SITE_CONFIG['materialSopUrl'] || 'http://pdm.bt.in/#/public/materialSop' const targetUrl = `${baseUrl}/${partNo}` window.open(targetUrl, '_blank') }, diff --git a/src/views/modules/qc/IQCResultEntry.vue b/src/views/modules/qc/IQCResultEntry.vue index 3268cb6..6795d58 100644 --- a/src/views/modules/qc/IQCResultEntry.vue +++ b/src/views/modules/qc/IQCResultEntry.vue @@ -2834,7 +2834,7 @@ this.$message.error('物料号不能为空') return false } - const baseUrl = window.SITE_CONFIG['processDataUrl'] || 'http://pdm.bt.in/#/public/processData' + const baseUrl = window.SITE_CONFIG['materialSopUrl'] || 'http://pdm.bt.in/#/public/materialSop' const targetUrl = `${baseUrl}/${partNo}` window.open(targetUrl, '_blank') }, diff --git a/src/views/modules/qc/OQCResultEntry.vue b/src/views/modules/qc/OQCResultEntry.vue index dc369e6..c0ac0e8 100644 --- a/src/views/modules/qc/OQCResultEntry.vue +++ b/src/views/modules/qc/OQCResultEntry.vue @@ -2493,7 +2493,7 @@ this.$message.error('物料号不能为空') return false } - const baseUrl = window.SITE_CONFIG['processDataUrl'] || 'http://pdm.bt.in/#/public/processData' + const baseUrl = window.SITE_CONFIG['materialSopUrl'] || 'http://pdm.bt.in/#/public/materialSop' const targetUrl = `${baseUrl}/${partNo}` window.open(targetUrl, '_blank') }, diff --git a/src/views/modules/qc/sopListComponent.vue b/src/views/modules/qc/sopListComponent.vue index c7b4a2a..a44f32f 100644 --- a/src/views/modules/qc/sopListComponent.vue +++ b/src/views/modules/qc/sopListComponent.vue @@ -235,7 +235,7 @@ export default { this.$message.warning('请先选择物料') return false } - const baseUrl = window.SITE_CONFIG['processDataUrl'] || 'http://pdm.bt.in/#/public/processData' + const baseUrl = window.SITE_CONFIG['materialSopUrl'] || 'http://pdm.bt.in/#/public/materialSop' const targetUrl = `${baseUrl}/${this.partNo}` window.open(targetUrl, '_blank') }, diff --git a/src/views/modules/yieldReport/com_produce_report_normal.vue b/src/views/modules/yieldReport/com_produce_report_normal.vue index 2067ef5..aa6af76 100644 --- a/src/views/modules/yieldReport/com_produce_report_normal.vue +++ b/src/views/modules/yieldReport/com_produce_report_normal.vue @@ -5591,7 +5591,7 @@ export default { } // 从配置文件获取URL并拼接参数 - const baseUrl = window.SITE_CONFIG['processDataUrl'] || 'http://pdm.bt.in/#/public/processData'; + const baseUrl = window.SITE_CONFIG['materialSopUrl'] || 'http://pdm.bt.in/#/public/materialSop'; const targetUrl = `${baseUrl}/${partNo}`; // 在新窗口打开 diff --git a/static/config/index-prod.js b/static/config/index-prod.js index 9c72a33..339ec43 100644 --- a/static/config/index-prod.js +++ b/static/config/index-prod.js @@ -14,4 +14,7 @@ // 工艺参数URL配置 window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData'; + + // 物料SOP外部链接URL配置 + window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialSop'; })(); diff --git a/static/config/index-qa.js b/static/config/index-qa.js index 7e544cb..d0bd134 100644 --- a/static/config/index-qa.js +++ b/static/config/index-qa.js @@ -14,4 +14,7 @@ // 工艺参数URL配置 window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData'; + + // 物料SOP外部链接URL配置 + window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialSop'; })(); diff --git a/static/config/index-uat.js b/static/config/index-uat.js index 5baca49..40d970c 100644 --- a/static/config/index-uat.js +++ b/static/config/index-uat.js @@ -14,4 +14,7 @@ // 工艺参数URL配置 window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData'; + + // 物料SOP外部链接URL配置 + window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialSop'; })(); diff --git a/static/config/index.js b/static/config/index.js index 48e5b8e..2c7f625 100644 --- a/static/config/index.js +++ b/static/config/index.js @@ -15,4 +15,7 @@ // 工艺参数URL配置 window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData'; + // 物料SOP外部链接URL配置 + window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialSop'; + })();