Browse Source

2026-07-08

优化
master
fengyuan_yang 3 weeks ago
parent
commit
b64ef0d4d3
  1. 4
      src/views/modules/qc/FQCResultEntry.vue
  2. 4
      src/views/modules/qc/IPQCResultEntry.vue
  3. 4
      src/views/modules/qc/IQCResultEntry.vue
  4. 4
      src/views/modules/qc/OQCResultEntry.vue
  5. 4
      src/views/modules/qc/sopListComponent.vue
  6. 4
      src/views/modules/yieldReport/com_produce_report_normal.vue
  7. 2
      static/config/index-prod.js
  8. 2
      static/config/index-qa.js
  9. 2
      static/config/index-uat.js
  10. 2
      static/config/index.js

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

@ -3704,8 +3704,8 @@
this.$message.error('物料号不能为空') this.$message.error('物料号不能为空')
return false 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') window.open(targetUrl, '_blank')
}, },

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

@ -3668,8 +3668,8 @@
this.$message.error('物料号不能为空') this.$message.error('物料号不能为空')
return false 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') window.open(targetUrl, '_blank')
}, },

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

@ -2879,8 +2879,8 @@
this.$message.error('物料号不能为空') this.$message.error('物料号不能为空')
return false 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') window.open(targetUrl, '_blank')
}, },

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

@ -2539,8 +2539,8 @@
this.$message.error('物料号不能为空') this.$message.error('物料号不能为空')
return false 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') window.open(targetUrl, '_blank')
}, },

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

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

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

@ -5586,8 +5586,8 @@ export default {
} }
// URL // 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'); window.open(targetUrl, '_blank');

2
static/config/index-prod.js

@ -16,5 +16,5 @@
window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData'; window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData';
// 物料SOP外部链接URL配置 // 物料SOP外部链接URL配置
window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialSop';
window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialDocs';
})(); })();

2
static/config/index-qa.js

@ -16,5 +16,5 @@
window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData'; window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData';
// 物料SOP外部链接URL配置 // 物料SOP外部链接URL配置
window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialSop';
window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialDocs';
})(); })();

2
static/config/index-uat.js

@ -16,5 +16,5 @@
window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData'; window.SITE_CONFIG['processDataUrl'] = 'http://pdm.bt.in/#/public/processData';
// 物料SOP外部链接URL配置 // 物料SOP外部链接URL配置
window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialSop';
window.SITE_CONFIG['materialSopUrl'] = 'http://pdm.bt.in/#/public/materialDocs';
})(); })();

2
static/config/index.js

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