From 56623952653e4ce3780852dcdd9cc5b265293562 Mon Sep 17 00:00:00 2001 From: Xu Zhimeng Date: Thu, 20 Feb 2025 14:54:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=87=AA=E5=BB=BA=E5=8F=B0=E7=AB=99Load?= =?UTF-8?q?=20From=20File=E9=87=8D=E6=96=B0=E5=8A=A0=E8=BD=BD=E8=B0=B1?= =?UTF-8?q?=E6=97=B6=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/spectrumAnalysis/index.vue | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/views/spectrumAnalysis/index.vue b/src/views/spectrumAnalysis/index.vue index aee4ee8..1ca8b48 100644 --- a/src/views/spectrumAnalysis/index.vue +++ b/src/views/spectrumAnalysis/index.vue @@ -657,7 +657,9 @@ export default { dbName, analyst: analyst ? analyst : null, sampleFileName, + gasFileName, detFileName, + qcFileName, } getAction('/selfStation/initValue', params) } @@ -1110,20 +1112,20 @@ export default { // 查看软件操作帮助文档 handleHelp() { let docPath = null - let apiBaseUrl = window._CONFIG['onlinePreviewDomainURL'] || "/jeecg-boot"; - if(this.isGamma) { - docPath = `/armd-help/Gamma.pdf`; + let apiBaseUrl = window._CONFIG['onlinePreviewDomainURL'] || '/jeecg-boot' + if (this.isGamma) { + docPath = `/armd-help/Gamma.pdf` } else if (this.isBeta) { - docPath = `/armd-help/Self-Beta-Gamma.pdf`; - } else if(this.isBetaGamma) { - docPath = `/armd-help/Beta-Gamma.pdf`; + docPath = `/armd-help/Self-Beta-Gamma.pdf` + } else if (this.isBetaGamma) { + docPath = `/armd-help/Beta-Gamma.pdf` } - - if(!docPath) { + + if (!docPath) { 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;') },