From b64ef0d4d32e1ebe68a6625035b9d8ba8a6e8cf3 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Wed, 8 Jul 2026 15:35:14 +0800 Subject: [PATCH] =?UTF-8?q?2026-07-08=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/qc/FQCResultEntry.vue | 4 ++-- src/views/modules/qc/IPQCResultEntry.vue | 4 ++-- src/views/modules/qc/IQCResultEntry.vue | 4 ++-- src/views/modules/qc/OQCResultEntry.vue | 4 ++-- src/views/modules/qc/sopListComponent.vue | 4 ++-- src/views/modules/yieldReport/com_produce_report_normal.vue | 4 ++-- static/config/index-prod.js | 2 +- static/config/index-qa.js | 2 +- static/config/index-uat.js | 2 +- static/config/index.js | 2 +- 10 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/views/modules/qc/FQCResultEntry.vue b/src/views/modules/qc/FQCResultEntry.vue index 57ee07e..b990208 100644 --- a/src/views/modules/qc/FQCResultEntry.vue +++ b/src/views/modules/qc/FQCResultEntry.vue @@ -3704,8 +3704,8 @@ this.$message.error('物料号不能为空') return false } - const baseUrl = window.SITE_CONFIG['materialSopUrl'] || 'http://pdm.bt.in/#/public/materialSop' - const targetUrl = `${baseUrl}/${partNo}` + const baseUrl = window.SITE_CONFIG['materialSopUrl'] || 'http://pdm.bt.in/#/public/materialDocs' + const targetUrl = `${baseUrl}/${partNo}/all` window.open(targetUrl, '_blank') }, diff --git a/src/views/modules/qc/IPQCResultEntry.vue b/src/views/modules/qc/IPQCResultEntry.vue index 4d4da0f..aac9d0b 100644 --- a/src/views/modules/qc/IPQCResultEntry.vue +++ b/src/views/modules/qc/IPQCResultEntry.vue @@ -3668,8 +3668,8 @@ this.$message.error('物料号不能为空') return false } - const baseUrl = window.SITE_CONFIG['materialSopUrl'] || 'http://pdm.bt.in/#/public/materialSop' - const targetUrl = `${baseUrl}/${partNo}` + const baseUrl = window.SITE_CONFIG['materialSopUrl'] || 'http://pdm.bt.in/#/public/materialDocs' + const targetUrl = `${baseUrl}/${partNo}/all` window.open(targetUrl, '_blank') }, diff --git a/src/views/modules/qc/IQCResultEntry.vue b/src/views/modules/qc/IQCResultEntry.vue index ded66a6..3fb78e7 100644 --- a/src/views/modules/qc/IQCResultEntry.vue +++ b/src/views/modules/qc/IQCResultEntry.vue @@ -2879,8 +2879,8 @@ this.$message.error('物料号不能为空') return false } - const baseUrl = window.SITE_CONFIG['materialSopUrl'] || 'http://pdm.bt.in/#/public/materialSop' - const targetUrl = `${baseUrl}/${partNo}` + const baseUrl = window.SITE_CONFIG['materialSopUrl'] || 'http://pdm.bt.in/#/public/materialDocs' + const targetUrl = `${baseUrl}/${partNo}/all` window.open(targetUrl, '_blank') }, diff --git a/src/views/modules/qc/OQCResultEntry.vue b/src/views/modules/qc/OQCResultEntry.vue index 0577ca1..da94b03 100644 --- a/src/views/modules/qc/OQCResultEntry.vue +++ b/src/views/modules/qc/OQCResultEntry.vue @@ -2539,8 +2539,8 @@ this.$message.error('物料号不能为空') return false } - const baseUrl = window.SITE_CONFIG['materialSopUrl'] || 'http://pdm.bt.in/#/public/materialSop' - const targetUrl = `${baseUrl}/${partNo}` + const baseUrl = window.SITE_CONFIG['materialSopUrl'] || 'http://pdm.bt.in/#/public/materialDocs' + const targetUrl = `${baseUrl}/${partNo}/all` window.open(targetUrl, '_blank') }, diff --git a/src/views/modules/qc/sopListComponent.vue b/src/views/modules/qc/sopListComponent.vue index a44f32f..3af921d 100644 --- a/src/views/modules/qc/sopListComponent.vue +++ b/src/views/modules/qc/sopListComponent.vue @@ -235,8 +235,8 @@ export default { this.$message.warning('请先选择物料') return false } - const baseUrl = window.SITE_CONFIG['materialSopUrl'] || 'http://pdm.bt.in/#/public/materialSop' - const targetUrl = `${baseUrl}/${this.partNo}` + const baseUrl = window.SITE_CONFIG['materialSopUrl'] || 'http://pdm.bt.in/#/public/materialDocs' + const targetUrl = `${baseUrl}/${this.partNo}/all` 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 b50c679..2f9f1ac 100644 --- a/src/views/modules/yieldReport/com_produce_report_normal.vue +++ b/src/views/modules/yieldReport/com_produce_report_normal.vue @@ -5586,8 +5586,8 @@ export default { } // 从配置文件获取URL并拼接参数 - const baseUrl = window.SITE_CONFIG['materialSopUrl'] || 'http://pdm.bt.in/#/public/materialSop'; - const targetUrl = `${baseUrl}/${partNo}`; + const baseUrl = window.SITE_CONFIG['materialSopUrl'] || 'http://pdm.bt.in/#/public/materialDocs'; + const targetUrl = `${baseUrl}/${partNo}/all`; // 在新窗口打开 window.open(targetUrl, '_blank'); diff --git a/static/config/index-prod.js b/static/config/index-prod.js index 339ec43..087d095 100644 --- a/static/config/index-prod.js +++ b/static/config/index-prod.js @@ -16,5 +16,5 @@ window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData'; // 物料SOP外部链接URL配置 - window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialSop'; + window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialDocs'; })(); diff --git a/static/config/index-qa.js b/static/config/index-qa.js index d0bd134..2cfbbd8 100644 --- a/static/config/index-qa.js +++ b/static/config/index-qa.js @@ -16,5 +16,5 @@ window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData'; // 物料SOP外部链接URL配置 - window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialSop'; + window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialDocs'; })(); diff --git a/static/config/index-uat.js b/static/config/index-uat.js index 40d970c..14cf7e6 100644 --- a/static/config/index-uat.js +++ b/static/config/index-uat.js @@ -16,5 +16,5 @@ window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData'; // 物料SOP外部链接URL配置 - window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialSop'; + window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialDocs'; })(); diff --git a/static/config/index.js b/static/config/index.js index 2c7f625..07ccf2b 100644 --- a/static/config/index.js +++ b/static/config/index.js @@ -16,6 +16,6 @@ window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData'; // 物料SOP外部链接URL配置 - window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialSop'; + window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialDocs'; })();