fix: 自建台站Load From File重新加载谱时报错问题
This commit is contained in:
parent
4e90224756
commit
5662395265
|
@ -657,7 +657,9 @@ export default {
|
||||||
dbName,
|
dbName,
|
||||||
analyst: analyst ? analyst : null,
|
analyst: analyst ? analyst : null,
|
||||||
sampleFileName,
|
sampleFileName,
|
||||||
|
gasFileName,
|
||||||
detFileName,
|
detFileName,
|
||||||
|
qcFileName,
|
||||||
}
|
}
|
||||||
getAction('/selfStation/initValue', params)
|
getAction('/selfStation/initValue', params)
|
||||||
}
|
}
|
||||||
|
@ -1110,20 +1112,20 @@ export default {
|
||||||
// 查看软件操作帮助文档
|
// 查看软件操作帮助文档
|
||||||
handleHelp() {
|
handleHelp() {
|
||||||
let docPath = null
|
let docPath = null
|
||||||
let apiBaseUrl = window._CONFIG['onlinePreviewDomainURL'] || "/jeecg-boot";
|
let apiBaseUrl = window._CONFIG['onlinePreviewDomainURL'] || '/jeecg-boot'
|
||||||
if (this.isGamma) {
|
if (this.isGamma) {
|
||||||
docPath = `/armd-help/Gamma.pdf`;
|
docPath = `/armd-help/Gamma.pdf`
|
||||||
} else if (this.isBeta) {
|
} else if (this.isBeta) {
|
||||||
docPath = `/armd-help/Self-Beta-Gamma.pdf`;
|
docPath = `/armd-help/Self-Beta-Gamma.pdf`
|
||||||
} else if (this.isBetaGamma) {
|
} else if (this.isBetaGamma) {
|
||||||
docPath = `/armd-help/Beta-Gamma.pdf`;
|
docPath = `/armd-help/Beta-Gamma.pdf`
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!docPath) {
|
if (!docPath) {
|
||||||
this.$message.warning('Please load an spectrum first!')
|
this.$message.warning('Please load an spectrum first!')
|
||||||
return ;
|
return
|
||||||
}
|
}
|
||||||
window.open(apiBaseUrl + docPath, '_blank');
|
window.open(apiBaseUrl + docPath, '_blank')
|
||||||
|
|
||||||
console.log('%c [ handleHelp ]-221', 'font-size:13px; background:pink; color:#bf2c9f;')
|
console.log('%c [ handleHelp ]-221', 'font-size:13px; background:pink; color:#bf2c9f;')
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user