From 70f49fe8b2b2a44edcf981203e3fa0d6bf1be4f3 Mon Sep 17 00:00:00 2001 From: Xu Zhimeng Date: Wed, 31 Jul 2024 17:12:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=BB=BA=E5=8F=B0=E7=AB=99=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E4=B8=A4=E4=B8=AA=E5=BC=B9=E7=AA=97=EF=BC=8C=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E4=BF=9D=E5=AD=98=E8=B0=B1=E5=88=B0DB=E7=9A=84?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/spectrumAnalysis/beta-analysis.vue | 3 +- .../SelfStationConfigUserLibraryModal.vue | 151 ++++++ .../SelfStationNuclideLibraryModal.vue | 458 ++++++++++++++++++ src/views/spectrumAnalysis/index.vue | 21 +- 4 files changed, 627 insertions(+), 6 deletions(-) create mode 100644 src/views/spectrumAnalysis/components/Modals/SelfStation/SelfStationConfigUserLibraryModal.vue create mode 100644 src/views/spectrumAnalysis/components/Modals/SelfStation/SelfStationNuclideLibraryModal.vue diff --git a/src/views/spectrumAnalysis/beta-analysis.vue b/src/views/spectrumAnalysis/beta-analysis.vue index 146e936..dd9462c 100644 --- a/src/views/spectrumAnalysis/beta-analysis.vue +++ b/src/views/spectrumAnalysis/beta-analysis.vue @@ -605,7 +605,6 @@ export default { fileName, }) if (success) { - this.$message.success('Save Success') // 更新缓存中的DetailedInfomation数据 updateSampleData({ inputFileName: fileName, @@ -613,7 +612,7 @@ export default { data: [...result.DetailedInformation], }) } else { - this.$message.error(message) + throw new Error(message) } }, }, diff --git a/src/views/spectrumAnalysis/components/Modals/SelfStation/SelfStationConfigUserLibraryModal.vue b/src/views/spectrumAnalysis/components/Modals/SelfStation/SelfStationConfigUserLibraryModal.vue new file mode 100644 index 0000000..24799f6 --- /dev/null +++ b/src/views/spectrumAnalysis/components/Modals/SelfStation/SelfStationConfigUserLibraryModal.vue @@ -0,0 +1,151 @@ + + + + + diff --git a/src/views/spectrumAnalysis/components/Modals/SelfStation/SelfStationNuclideLibraryModal.vue b/src/views/spectrumAnalysis/components/Modals/SelfStation/SelfStationNuclideLibraryModal.vue new file mode 100644 index 0000000..10bd9eb --- /dev/null +++ b/src/views/spectrumAnalysis/components/Modals/SelfStation/SelfStationNuclideLibraryModal.vue @@ -0,0 +1,458 @@ + + + + + diff --git a/src/views/spectrumAnalysis/index.vue b/src/views/spectrumAnalysis/index.vue index 3300b74..272cbf0 100644 --- a/src/views/spectrumAnalysis/index.vue +++ b/src/views/spectrumAnalysis/index.vue @@ -259,6 +259,8 @@ + +