From d7945393356d8423a721f279b4ef96238ebe7109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E7=8F=AE=E5=AE=87?= Date: Fri, 26 Jan 2024 16:47:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=BB=BA=E5=8F=B0=E7=AB=99=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E9=A2=84=E5=8A=A0=E8=BD=BD=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/spectrumAnalysis/index.vue | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/views/spectrumAnalysis/index.vue b/src/views/spectrumAnalysis/index.vue index 53e9a26..27a0005 100644 --- a/src/views/spectrumAnalysis/index.vue +++ b/src/views/spectrumAnalysis/index.vue @@ -624,6 +624,20 @@ export default { getAction('/spectrumAnalysis/initValue', params) } ) + willAddList + .filter(({ sampleType, inputFileName }) => sampleType == 'C' && inputFileName !== this.sampleData.inputFileName) + .forEach( + ({ inputFileName: sampleFileName, gasFileName, detFileName, qcFileName, dbName, sampleId, analyst }) => { + const params = { + sampleId, + dbName, + analyst: analyst ? analyst : null, + sampleFileName, + detFileName, + } + getAction('/selfStation/initValue', params) + } + ) }, // 加载选中的样本