Browse Source

2026-05-06

外部链接路径调整
master
fengyuan_yang 2 months ago
parent
commit
a54c606835
  1. 2
      src/views/modules/qc/FQCResultEntry.vue
  2. 2
      src/views/modules/qc/IPQCResultEntry.vue
  3. 2
      src/views/modules/qc/IQCResultEntry.vue
  4. 2
      src/views/modules/qc/OQCResultEntry.vue
  5. 2
      src/views/modules/qc/sopListComponent.vue
  6. 2
      src/views/modules/yieldReport/com_produce_report_normal.vue
  7. 3
      static/config/index-prod.js
  8. 3
      static/config/index-qa.js
  9. 3
      static/config/index-uat.js
  10. 3
      static/config/index.js

2
src/views/modules/qc/FQCResultEntry.vue

@ -3659,7 +3659,7 @@
this.$message.error('物料号不能为空') this.$message.error('物料号不能为空')
return false 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}` const targetUrl = `${baseUrl}/${partNo}`
window.open(targetUrl, '_blank') window.open(targetUrl, '_blank')
}, },

2
src/views/modules/qc/IPQCResultEntry.vue

@ -3623,7 +3623,7 @@
this.$message.error('物料号不能为空') this.$message.error('物料号不能为空')
return false 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}` const targetUrl = `${baseUrl}/${partNo}`
window.open(targetUrl, '_blank') window.open(targetUrl, '_blank')
}, },

2
src/views/modules/qc/IQCResultEntry.vue

@ -2834,7 +2834,7 @@
this.$message.error('物料号不能为空') this.$message.error('物料号不能为空')
return false 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}` const targetUrl = `${baseUrl}/${partNo}`
window.open(targetUrl, '_blank') window.open(targetUrl, '_blank')
}, },

2
src/views/modules/qc/OQCResultEntry.vue

@ -2493,7 +2493,7 @@
this.$message.error('物料号不能为空') this.$message.error('物料号不能为空')
return false 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}` const targetUrl = `${baseUrl}/${partNo}`
window.open(targetUrl, '_blank') window.open(targetUrl, '_blank')
}, },

2
src/views/modules/qc/sopListComponent.vue

@ -235,7 +235,7 @@ export default {
this.$message.warning('请先选择物料') this.$message.warning('请先选择物料')
return false 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}` const targetUrl = `${baseUrl}/${this.partNo}`
window.open(targetUrl, '_blank') window.open(targetUrl, '_blank')
}, },

2
src/views/modules/yieldReport/com_produce_report_normal.vue

@ -5591,7 +5591,7 @@ export default {
} }
// URL // 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}`; const targetUrl = `${baseUrl}/${partNo}`;
// //

3
static/config/index-prod.js

@ -14,4 +14,7 @@
// 工艺参数URL配置 // 工艺参数URL配置
window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData'; window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData';
// 物料SOP外部链接URL配置
window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialSop';
})(); })();

3
static/config/index-qa.js

@ -14,4 +14,7 @@
// 工艺参数URL配置 // 工艺参数URL配置
window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData'; window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData';
// 物料SOP外部链接URL配置
window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialSop';
})(); })();

3
static/config/index-uat.js

@ -14,4 +14,7 @@
// 工艺参数URL配置 // 工艺参数URL配置
window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData'; window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData';
// 物料SOP外部链接URL配置
window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialSop';
})(); })();

3
static/config/index.js

@ -15,4 +15,7 @@
// 工艺参数URL配置 // 工艺参数URL配置
window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData'; window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData';
// 物料SOP外部链接URL配置
window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialSop';
})(); })();
Loading…
Cancel
Save