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'; + })();